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/v8/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 |
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 * @property {String | null} fabricDetailsObject.supplierFabricBarcode The warehouse exit date and time |
palletInformation
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
palletInformation.barcode |
String | The barcode of the pallet |
palletInformation.articleNumber |
String | The article number |
palletInformation.numberOfPieces |
Number | The number of pieces in the pallet |
palletInformation.dateOfManufacture |
Number | The date of manufacturing the pallet |
palletInformation.rackBarcode |
String | The rack the pallet is associated with |
palletInformation.rackAssociationDateTime |
String | The rack association date for pallet |
palletInformation.rackDissociationDateTime |
String | The last dissociation date of the pallet from a rack |
palletInformation.warehouseEntryDateTime |
String | The warehouse entry date |
palletInformation.warehouseExitDateTime |
String | The warehouse exit date |