Module: repository/rack

Methods

CheckRackBarcodeExist(rackBarcode) → {Boolean}

This function is responsible to check if rack barcode exist in that factory or location factory / location
Parameters:
Name Type Description
rackBarcode String The rack barcode from factory or location * @param {String} rackBarcodeloc factory or location
Returns:
Type
Boolean

createRack(rackBarcode) → {Number}

Parameters:
Name Type Description
rackBarcode String
Returns:
Type
Number

createRack(rackBarcode) → {Number}

Parameters:
Name Type Description
rackBarcode String
Returns:
Type
Number

createRackAndLocation(rackLocation, rackBarcodeName) → {Number}

Parameters:
Name Type Description
rackLocation String
rackBarcodeName String
Returns:
Type
Number

deleteRack(rackBarcode) → {Number}

Parameters:
Name Type Description
rackBarcode String
Returns:
Type
Number

getFabricInRack(rackBarcode) → {Array.<fabricObject>}

This function is responsible to to fetch fabric barcode details associated with rack
Parameters:
Name Type Description
rackBarcode String The rack barcode from warehouse
Returns:
The list fabric barcode details associated with rack module:repository/rack~fabricObject
Type
Array.<fabricObject>

getPalletsInRack(rackBarcode) → {Array.<palletObject>}

Parameters:
Name Type Description
rackBarcode String
Returns:
Type
Array.<palletObject>

getRackAllBarcodeDetails() → {Rack}

Parameters:
Type Description
String
Returns:
Type
Rack

getRackDatabyLocation-factory(rackLocation) → {Rack}

Parameters:
Name Type Description
rackLocation String
Returns:
Type
Rack

validateRack(rackBarcode) → {Rack}

Parameters:
Name Type Description
rackBarcode String
Returns:
Type
Rack

validateRack(rackBarcode) → {Rack}

Parameters:
Name Type Description
rackBarcode String
Returns:
Type
Rack

validateRack(rackBarcode, rackBarcodeloc) → {Rack}

Parameters:
Name Type Description
rackBarcode String
rackBarcodeloc String The rack barcode from factory / location
Returns:
Type
Rack

Type Definitions

fabricObject

Type:
  • Object
Properties:
Name Type Description
fabricObject.poNumber String The po number associated with fabric barcode from warehouse
fabricObject.itemCode String The item code of fabric barcode in warehouse
fabricObject.itemDescription String The item description associated with item code
fabricObject.fabricBarcode String The fabric barcode from rack
fabricObject.fabricLength Number The length of fabric barcode

palletObject

Type:
  • Object
Properties:
Name Type Description
palletObject.barcode String
palletObject.articleNumber String
palletObject.articleName String
palletObject.numberOfPieces Number
palletObject.dateOfManufacturing Number

Methods

CheckRackBarcodeExist(rackBarcode) → {Boolean}

This function is responsible to check if rack barcode exist in that factory or location factory / location
Parameters:
Name Type Description
rackBarcode String The rack barcode from factory or location * @param {String} rackBarcodeloc factory or location
Returns:
Type
Boolean

createRack(rackBarcode) → {Number}

Parameters:
Name Type Description
rackBarcode String
Returns:
Type
Number

createRack(rackBarcode) → {Number}

Parameters:
Name Type Description
rackBarcode String
Returns:
Type
Number

createRackAndLocation(rackLocation, rackBarcodeName) → {Number}

Parameters:
Name Type Description
rackLocation String
rackBarcodeName String
Returns:
Type
Number

deleteRack(rackBarcode) → {Number}

Parameters:
Name Type Description
rackBarcode String
Returns:
Type
Number

getFabricInRack(rackBarcode) → {Array.<fabricObject>}

This function is responsible to to fetch fabric barcode details associated with rack
Parameters:
Name Type Description
rackBarcode String The rack barcode from warehouse
Returns:
The list fabric barcode details associated with rack module:repository/rack~fabricObject
Type
Array.<fabricObject>

getPalletsInRack(rackBarcode) → {Array.<palletObject>}

Parameters:
Name Type Description
rackBarcode String
Returns:
Type
Array.<palletObject>

getRackAllBarcodeDetails() → {Rack}

Parameters:
Type Description
String
Returns:
Type
Rack

getRackDatabyLocation-factory(rackLocation) → {Rack}

Parameters:
Name Type Description
rackLocation String
Returns:
Type
Rack

validateRack(rackBarcode) → {Rack}

Parameters:
Name Type Description
rackBarcode String
Returns:
Type
Rack

validateRack(rackBarcode) → {Rack}

Parameters:
Name Type Description
rackBarcode String
Returns:
Type
Rack

validateRack(rackBarcode, rackBarcodeloc) → {Rack}

Parameters:
Name Type Description
rackBarcode String
rackBarcodeloc String The rack barcode from factory / location
Returns:
Type
Rack

Type Definitions

fabricObject

Type:
  • Object
Properties:
Name Type Description
fabricObject.poNumber String The po number associated with fabric barcode from warehouse
fabricObject.itemCode String The item code of fabric barcode in warehouse
fabricObject.itemDescription String The item description associated with item code
fabricObject.fabricBarcode String The fabric barcode from rack
fabricObject.fabricLength Number The length of fabric barcode

palletObject

Type:
  • Object
Properties:
Name Type Description
palletObject.barcode String
palletObject.articleNumber String
palletObject.articleName String
palletObject.numberOfPieces Number
palletObject.dateOfManufacturing Number