Module: routers/v8/bom

Methods

(static) get/bom/ocNumber/:ocNumber/product() → {Array.<bomProductList>}

Route to return the list of products associated with oc number from finishing bom
Parameters:
Name Type Description
req.params.ocNumber String The oc number
req.params.location String The location
Returns:
The bom product list returned module:routers/v8/bom~bomProductList
Type
Array.<bomProductList>

(static) get/bom/ocNumber/:ocNumber/product/:product/podetails() → {Array.<bomPoDetailsList>}

Route to return the list of bom po details associated with oc number and product from finishing bom
Parameters:
Name Type Description
req.params.ocNumber String The oc number
req.params.product String The product associated with oc number
req.params.location String The location
Returns:
The bom po details list returned module:routers/v8/bom~bomPoDetailsList
Type
Array.<bomPoDetailsList>

Type Definitions

bomPoDetailsList

Type:
  • Object
Properties:
Name Type Description
bomPoDetailsList.poNumber String The po number
bomPoDetailsList.country String The country
bomPoDetailsList.colour String The colour

bomProductList

Type:
  • Object
Properties:
Name Type Description
bomProductList.productCode String The barcode
bomProductList.productDescripton String The quantity