Module: routers/v8/bom/product

Methods

(static) get/bom/product/label/labelBarcode/details() → {Array.<labelBarcodeDetails>}

Route to return the size detail based on label barcode
Parameters:
Name Type Description
req.query.ocNumber String The oc number
req.query.productCode String The product code
req.query.poNumber String The po number
req.query.country String The country
req.query.colourCode String The colur code
req.query.labelBarcode String The label barcode
req.query.location String The location
Returns:
The label barcode details returned module:routers/v8/bom/product~labelBarcodeDetails
Type
Array.<labelBarcodeDetails>

(static) post/bom/product/labelBarcode/location/:location() → {boolean}

Route to return the size detail based on label barcode
Parameters:
Name Type Description
req.params.location String The location of barcode scanned
req.body.labelBarcodeList Array.<labelBarcodeData> The list of label barcode module:routers/v8/bom/product~labelBarcodeData
Returns:
The status of update scanned label barcode
Type
boolean

(static) post/bom/product/ocNumber/:ocNumber(poDetails) → {boolean}

Route to post finishing BOM from google sheet
Parameters:
Name Type Description
req.params.ocNumber String The oc number
req.body.location String The location
req.body.merchandiserName String The merchandiser name
req.body.customerName String The customer name (busyer name)
req.body.style String The style
req.body.productCode String The product code
req.body.productDescription String The product description
req.body.deliveryDate String The delivery date
req.body.shipType String The ship type
req.body.remark String The remarks
poDetails Array.<poDetails> The bom PO details module:routers/v8/bom/product~poDetails
Returns:
The bom post status
Type
boolean

Type Definitions

bomSizeDetails

Type:
  • Object
Properties:
Name Type Description
bomSizeDetails.size String The customer name
bomSizeDetails.quantity Number The style number/name
bomSizeDetails.linkedBarcode String The barcode linked associated with size

labelBarcodeData

Type:
  • Object
Properties:
Name Type Description
labelBarcodeData.ocNumber String The oc number
labelBarcodeData.productCode String The product code
labelBarcodeData.poNumber String The po number
labelBarcodeData.country String The country
labelBarcodeData.colourCode String The colour code
labelBarcodeData.barcode String The barcode
labelBarcodeData.quantity String The quantity

labelBarcodeDetails

Type:
  • Object
Properties:
Name Type Description
labelBarcodeDetails.ocNumber String The oc number
labelBarcodeDetails.location String The location
labelBarcodeDetails.merchandiserName String The merchandiser Name
labelBarcodeDetails.customerName String The customer name
labelBarcodeDetails.style String The style
labelBarcodeDetails.productCode String The product code
labelBarcodeDetails.productDescription String The product description
labelBarcodeDetails.shipType String The ship type
labelBarcodeDetails.remarks String The remarks
labelBarcodeDetails.deliveryDate String The delivery date
labelBarcodeDetails.poNumber String The po number
labelBarcodeDetails.shipTo String The ship to
labelBarcodeDetails.colourCode String The colour code
labelBarcodeDetails.packType String The pack type
labelBarcodeDetails.extraPercentage Number The extra percentage
labelBarcodeDetails.poRemarks String The po remarks
labelBarcodeDetails.exfactoryDate String The ex factory date
labelBarcodeDetails.size String The size
labelBarcodeDetails.quantity Number The scanned quantity for present day
labelBarcodeDetails.labelBarcode String The label barcode
labelBarcodeDetails.orderQuantity Number The order quanity associated with size
labelBarcodeDetails.scannedQuantity Number The scanned quanity associated with size

poDetails

Type:
  • Object
Properties:
Name Type Description
poDetails.poNumber String The customer name
poDetails.shipTo String The style number/name
poDetails.colourCode String The fabric shrinkage
poDetails.coinPocket boolean The fit type
poDetails.PackType String The approved consumption
poDetails.extraPercentage Number The location of the factory
poDetails.exfactoryDate String The unique marker google id
poDetails.bomRemark String The size and ratio details
poDetails.bomSizeDetails Array.<bomSizeDetails> The bom size details module:routers/v8/bom/product~bomSizeDetails