Module: routers/v7/analytics/warehouse

Express router for warehouse analytics related routes

Methods

(static) get/analytics/warehouse/fabric() → {Array.<fabricDetailsObject>}

Route to get all the fabric details associated with rack from warehouse If item code parameter null or undefined then get fabric details for all item code from wearhouse
Parameters:
Name Type Description
req.query.itemCode String | null The item code associated with fabric barcode from warehouse
req.query.rackNumber String | null The rack number associated with fabric barcode from warehouse
req.query.fabricBarcode String | null The fabric barcode associated with fabric roll from warehouse
req.query.fromEntryDate String | null The warehouse from entry date in format of yyyymmdd
req.query.toEntryDate String | null The warehouse to entry date in format of yyyymmdd
req.query.fromExitDate String | null The warehouse from exit date in format of yyyymmdd
req.query.toExitDate String | null The warehouse to exit date in format of yyyymmdd
Returns:
The list fabric details associated with rack module:routers/v7/analytics/warehouse~fabricDetailsObject
Type
Array.<fabricDetailsObject>

(static) get/analytics/warehouse/pallets() → {Array.<palletInformation>}

Route to get all the pallets associated with a specific article number
Parameters:
Name Type Description
req.query.articleNumber String | null The article number
req.query.dateOfManufacture Number | null The date of manufacture
req.query.rackBarcode String | null The rack barcode
req.query.fromEntryDate String | null The warehouse from entry date in format of yyyymmdd
req.query.toEntryDate String | null The warehouse to entry date in format of yyyymmdd
req.query.fromExitDate String | null The warehouse from exit date in format of yyyymmdd
req.query.toExitDate String | null The warehouse to exit date in format of yyyymmdd
Returns:
Type
Array.<palletInformation>

Type Definitions

fabricDetailsObject

Type:
  • Object
Properties:
Name Type Description
fabricDetailsObject.rackNumber String | null The rack number from warehouse
fabricDetailsObject.fabricBarcode String The fabric barcode associated to fabric roll
fabricDetailsObject.mirNumber String | null The mir number associated to fabric roll
fabricDetailsObject.itemCode String The fabric item code associated with barcode
fabricDetailsObject.itemDescription String The item description associated with item code
fabricDetailsObject.fabricLength Number The total fabric length combination of rack number and item code
fabricDetailsObject.mirDate String | null The mir date in format of dd/mm/yyyy
fabricDetailsObject.rackAssociationDateTime String | null The rack association date and time
fabricDetailsObject.rackDisassociationDateTime String | null The rack disassociation date and time
fabricDetailsObject.warehouseEntryDateTime String | null The warehouse entry date and time
fabricDetailsObject.warehouseExitDateTime String | null The warehouse exit date and time