Express router for tracker analytics related routes
Methods
(static) get/analytics/tracker/cutting/product/:product() → {Array.<cuttingDetails>}
Route to return oc tracker cutting details based on oc number and product
Parameters:
| Name |
Type |
Description |
req.param.product |
String
|
The product |
Returns:
The list of cutting details combination of location, ocNumber, itemCode module:routers/v8/analytics/sewing~cuttingDetails
-
Type
-
Array.<cuttingDetails>
(static) get/analytics/tracker/ocNumber/:ocNumber/Details() → {Array.<OcDetails>}
Route to get Details of the ocNumber from the sage
Parameters:
| Name |
Type |
Description |
req.param.ocNumber |
String
|
The oc number to fetch countries from sage |
Returns:
Details of the Oc Number from sage
-
Type
-
Array.<OcDetails>
(static) get/analytics/tracker/poandcountry/product/:product() → {Array.<cuttingDetails>}
Route to return oc tracker cutting details based on oc number and product
Parameters:
| Name |
Type |
Description |
req.param.product |
String
|
The product |
Returns:
The list of cutting details and load detailscombination of location, ocNumber, itemCode module:routers/v8/analytics/sewing~cuttingDetails
-
Type
-
Array.<cuttingDetails>
(static) get/analytics/tracker/product/:product() → {locationOverViewDetails}
Route to return oc tracker details based on oc number and product
Parameters:
| Name |
Type |
Description |
req.param.product |
String
|
The product |
req.query.ocNumber |
String
|
The oc number |
Returns:
-
Type
-
locationOverViewDetails
Type Definitions
cuttingDetails
Type:
Properties:
| Name |
Type |
Description |
cuttingDetails.location |
String
|
The location |
cuttingDetails.quantity |
number
|
The total cut quantity |
cuttingDetails
Type:
Properties:
| Name |
Type |
Description |
cuttingDetails.location |
String
|
The location |
cuttingDetails.locationName |
String
|
The location name |
cuttingDetails.ocNumber |
String
|
The oc number |
cuttingDetails.itemCode |
String
|
The itemCode associated with oc number |
cuttingDetails.itemDescription |
String
|
The item description of item code |
cuttingDetails.sizeDetails |
Array.<sizeDetails>
|
The list of size details |
cuttingDetails.totalQuantity |
number
|
The total quantity in combination of location, ocNumber, itemCode |
cuttingDetails.totalFabricUtilized |
number
|
The total fabric utilized value in combination of location, ocNumber, itemCode |
cuttingDetails
Type:
Properties:
| Name |
Type |
Description |
cuttingDetails.location |
String
|
The location |
cuttingDetails.locationName |
String
|
The location name |
cuttingDetails.ocNumber |
String
|
The oc number |
cuttingDetails.itemCode |
String
|
The itemCode associated with oc number |
cuttingDetails.itemDescription |
String
|
The item description of item code |
cuttingDetails.buyer_po_number |
String
|
The po number of that product |
cuttingDetails.buyer_po_country |
String
|
The Country of that po |
cuttingDetails.sizeDetails |
Array.<sizeDetails>
|
The list of size details |
cuttingDetails.totalQuantity |
number
|
The total quantity in combination of location, ocNumber, itemCode |
cuttingDetails.totalFabricUtilized |
number
|
The total fabric utilized value in combination of location, ocNumber, itemCode |
locationOverViewDetails
Type:
Properties:
| Name |
Type |
Description |
locationOverViewDetails.cuttingDetails |
Array.<cuttingDetails>
|
The cutting details |
locationOverViewDetails.outputDetails |
Array.<outputDetails>
|
The output(dispatch) details |
OcDetails
Type:
Properties:
| Name |
Type |
Description |
OcDetails.ocNumber |
String
|
The oc number |
OcDetails.poNumber |
String
|
The po number |
OcDetails.Country |
String
|
The ship to location |
OcDetails.color |
String
|
The colour |
OcDetails.Size |
String
|
The size |
OcDetails.Order_Qty |
Number
|
The quantity associated with size |
outputDetails
Type:
Properties:
| Name |
Type |
Description |
outputDetails.date |
String
|
The date |
outputDetails.location |
String
|
The location |
outputDetails.locationName |
String
|
The location name |
outputDetails.batchUnique |
number
|
The batch unique number |
outputDetails.batchNumber |
String
|
The batch number |
outputDetails.outputQuantity |
number
|
The batch output quantity |
outputDetails.sewingSamProduced |
number
|
The sewing sam produced |
outputDetails.sewingMachineMinutes |
number
|
The sewing machine minutes |
outputDetails.globalSamProduced |
number
|
The global sam produced |
outputDetails.globalMachineMinutes |
number
|
The global machines |
outputDetails.totalWorkStation |
number
|
The total workstations |
outputDetails.numberOfMachines |
number
|
The number of machines |
outputDetails.sewingSam |
number
|
The sewing sam for combination of oc number and product |
outputDetails.globalSam |
number
|
The global sam for combination of oc number and product |
outputDetails.availableMinutes |
number
|
The available minutes |
outputDetails.DHUPassedQuantity |
number
|
The DHU passed quantity |
outputDetails.DHUReworkedQuantity |
number
|
The DHU reWork quantity |
outputDetails.DHURejectedQuantity |
number
|
The DHU rejected quantity |
sizeDetails
Type:
Properties:
| Name |
Type |
Description |
sizeDetails.size |
String
|
The size |
sizeDetails.orderQuantity |
number
|
The order quantity for size |
sizeDetails.cutQuantity |
number
|
The cut quantity for size |
sizeDetails.DHUPassedQuantity |
number
|
The DHU passed quantity for size |
sizeDetails.dispatchQuantity |
number
|
The dispatch quantity for size |
sizeDetails
Type:
Properties:
| Name |
Type |
Description |
sizeDetails.size |
String
|
The size |
sizeDetails.orderQuantity |
number
|
The order quantity for size |
sizeDetails.cutQuantity |
number
|
The cut quantity for size |
sizeDetails.DHUPassedQuantity |
number
|
The DHU passed quantity for size |
sizeDetails.dispatchQuantity |
number
|
The dispatch quantity for size |
sizeDetails.loadedQuantity |
number
|
The loaded in super market quantity for size |