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/v7/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:
The tracker details combination of location and batch module:routers/v7/analytics/sewing~locationOverViewDetails
- Type
- locationOverViewDetails
Type Definitions
cuttingDetails
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
cuttingDetails.location |
String | The location |
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:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
cuttingDetails.location |
String | The location |
cuttingDetails.quantity |
number | The total cut quantity |
locationOverViewDetails
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
locationOverViewDetails.cuttingDetails |
Array.<cuttingDetails> | The cutting details |
locationOverViewDetails.outputDetails |
Array.<outputDetails> | The output(dispatch) details |
outputDetails
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
outputDetails.date |
String | The date |
outputDetails.location |
String | The location |
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:
- Object
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 |