Module: routers/v8/fabwms/racks

Methods

(static) get/fabwms/racks/:rackBarcode() → {Array.<Pallet>}

Route to return the pallets associated with a rack
Parameters:
Name Type Description
req.params.rackBarcode String The rack's barcode
Returns:
An array of pallet entities
Type
Array.<Pallet>

(static) get/fabwms/racks/:rackBarcode/fabric() → {Array.<fabricDetailObject>}

Route to return the fabric associated with a rack
Parameters:
Name Type Description
req.params.rackBarcode String The rack barcode
Returns:
The list fabric details associated with rack module:routers/v8/fabwms/racks~fabricDetailObject
Type
Array.<fabricDetailObject>

(static) post/fabwms/racks/:rackBarcode/fabric/:fabricBarcode() → {fabricBarcodeDetails}

Route to post a fabric to a rack in warehouse
Parameters:
Name Type Description
req.params.rackBarcode String The rack barcode in warehouse
req.params.fabricBarcode String The fabric barcode in warehouse
Returns:
Type
fabricBarcodeDetails

(static) post/fabwms/racks/:rackBarcode/pallets/:palletBarcode() → {Boolean}

Route to post a pallet to a rack
Parameters:
Name Type Description
req.params.rackBarcode String The rack barcode
req.params.palletBarcode String The pallet barcode
Returns:
Type
Boolean

(static) put/fabwms/racks/fabric/:fabricBarcode() → {Boolean}

Route to remove a fabric from a rack in warehouse
Parameters:
Name Type Description
req.params.fabricBarcode String The fabric barcode in warehouse
Returns:
Type
Boolean

(static) put/racks/pallets/:palletBarcode() → {Boolean}

Route to remove a pallet from a rack
Parameters:
Name Type Description
req.params.palletBarcode String The pallet barcode
Returns:
Type
Boolean

Type Definitions

fabricBarcodeDetails

Type:
  • Object
Properties:
Name Type Description
fabricBarcodeDetails.fabricBarcode String The fabric barcode in rack
fabricBarcodeDetails.fabricLength Number The length of fabric barcode

fabricBarcodeDetails

Type:
  • Object
Properties:
Name Type Description
fabricBarcodeDetails.poNumber String The po number associated with fabric barcode
fabricBarcodeDetails.itemCode String The fabric item code associated with fabric barcode
fabricBarcodeDetails.itemDescription String The item description associated with item code
fabricBarcodeDetails.fabricLength Number The total fabric length for fabric barcode

fabricDetailObject

Type:
  • Object
Properties:
Name Type Description
fabricDetailObject.poNumber String The po number associated with fabric barcode
fabricDetailObject.itemCode String The item code associated with fabric barcode
fabricDetailObject.itemDescription String The item description