Methods
(static) post/jobwork/order/ocNumber/:ocNumber() → {boolean}
post job work orders for associate location
Parameters:
| Name | Type | Description |
|---|---|---|
req.params.ocNumber |
String | The oc number |
req.body.location |
String | The location associated with oc number |
req.body.style |
String | The style of job work order |
req.body.customerName |
String | The customer name |
req.body.productCode |
String | The product code |
req.body.productDescription |
String | The product description |
req.body.fitType |
String | The fit type |
req.body.machineSam |
number | The machine sam |
req.body.globalSam |
number | The global sam |
req.body.colourSizeDetails |
Array.<colourSizeDetails> | The colour size details |
Returns:
return boolean status
- Type
- boolean
Type Definitions
colourSizeDetails
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
colourSizeDetails.colourCode |
String | The colour code |
colourSizeDetails.colourDescription |
String | The colour description |
colourSizeDetails.sizeDetails |
Array.<sizeDetails> | The size and quantity details |
colourSizeDetails
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
colourSizeDetails.colourCode |
String | The colour code |
colourSizeDetails.colourDescription |
String | The colour description |
colourSizeDetails.sizeDetails |
Array.<sizeDetails> | The size and quantity details |
jobWorkOrderDetails
Fetch job work orders for associate ocnumber and location
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
jobWorkOrderDetails.ocNumber |
String | The oc number |
jobWorkOrderDetails.location |
String | The location |
jobWorkOrderDetails.style |
String | The style name |
jobWorkOrderDetails.customerName |
String | The buyer name |
jobWorkOrderDetails.productCode |
String | The product code |
jobWorkOrderDetails.productDescription |
String | The product description |
jobWorkOrderDetails.fitType |
String | The fit type |
jobWorkOrderDetails.machineSam |
String | The machine sam |
jobWorkOrderDetails.globalSam |
String | The global |
jobWorkOrderDetails.colourSizeDetails |
Array.<colourSizeDetails> | The list of colour size details |
sizeDetails
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
sizeDetails.size |
String | The size |
sizeDetails.quantity |
number | The quantity associated with size |
sizeDetails
Type:
- Object
Properties:
| Name | Type | Description |
|---|---|---|
sizeDetails.size |
String | The size |
sizeDetails.quantity |
number | The quantity associated with size |