Module: routers/v7/fabstitch/batch/:batchNumber/overtime

Methods

(static) post/fabstitch/batch/:batchNumber/overtime() → {boolean}

post overtime details i.e, number of machines, number of helpers, overtime start and end hours
Parameters:
Name Type Description
req.params.batchNumber String The batch number
req.body.location String The location of the batch
req.body.numberOfMachines number The allocated number of machines for over time
req.body.numberOfHelpers number The allocated number of helpers for over time
req.body.startOvertime String The overtime start (hour and minutes) with time format "hh:mm"
req.body.endOvertime String The overtime end (hour and minutes) with time format "hh:mm"
Returns:
return boolean status
Type
boolean

(static) post/fabstitch/batch/:batchNumber/target() → {boolean}

post OC Daily Target Quantity for Batch
Parameters:
Name Type Description
req.params.batchNumber String The batch number
req.body.location String The location of the batch
req.body.ocNumber String The OC Number
req.body.productCode String The product code
req.body.productDescription String The product description
req.body.quantity number target quantity for the OC
Returns:
return boolean status
Type
boolean