Module: repository/fabricBarcode

Methods

createTestFabricBarcode(ocNumber, barcode, rollLength, itemCode, userName)

This method creates a test barcode - will be removed once we migrate FabScan to the new architecture
Parameters:
Name Type Description
ocNumber String The oc number
barcode String The barcode
rollLength Number The roll length
itemCode String The item code
userName String The user name

deleteTestFabricBarcode(ocNumber)

This method deletes the test barcode created
Parameters:
Name Type Description
ocNumber String The oc number

updateRollUtilizedForBarcodes(barcodeList) → {Boolean}

Parameters:
Name Type Description
barcodeList Array.<Object> repository/fabricBarcode~updateBarcodes
Returns:
Type
Boolean

validateBarcode(barcode) → {FabricBarcode}

Parameters:
Name Type Description
barcode String
Returns:
Type
FabricBarcode

Type Definitions

updateBarcodes

Type:
  • Object
Properties:
Name Type Description
updateBarcode.barcode String The barcode
updateBarcode.rollUtilized Number The roll length utilized