Module: routers/v8/fabrack/racks

Methods

(static) get/fabrack/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/fabrack/racks/:rackLocation()

R * Route to Get all rack barcodes from specific locations or factories
Parameters:
Name Type Description
req.params.rackLocation String The rack's barcode

(static) get/fabrack/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) get/fabrack/racks/rackAllBarcodeDetails()

Route to Get all rack barcodes from all locations or factories

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

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

(static) post/fabrack/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
req.params.rackBarcodeloc String The fabric barcode in warehouse
Returns:
Type
fabricBarcodeDetails

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

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

(static) post/fabrack/racks/rackBarcodeGenerate() → {Boolean}

Route to Generate rack barcodes for specific locationy or factory
Parameters:
Name Type Description
req.body.rackBarcodeloc String The rack barcode Location
req.body.rackBarcode String The rack barcode
Returns:
Type
Boolean

(static) put/fabrack/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/fabrack/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

Type Definitions

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