Module: repository/fabwms/fabric

Methods

assignExitDateToFabric(fabricBarcode) → {Number}

This function is responsible to update warehouse exit date for fabric barcode from warehouse
Parameters:
Name Type Description
fabricBarcode String The fabric barcode from warehouse
Returns:
Type
Number

associateFabricWithRack(fabricBarcode, rackBarcode) → {Number}

This function is responsible to update rack associate date for fabric barcode from warehouse
Parameters:
Name Type Description
fabricBarcode String The fabric barcode from warehouse
rackBarcode String The rack barcode from warehouse
Returns:
Type
Number

createFabricAndEntryDate(fabricBarcode) → {Number}

This function is responsible to insert fabric barcode from warehouse along with entry date
Parameters:
Name Type Description
fabricBarcode String The fabric barcode from warehouse
Returns:
Type
Number

deleteFabricBarcode(fabricBarcode) → {Number}

This function is responsible to delete fabric barcode from warehouse
Parameters:
Name Type Description
fabricBarcode String The fabric barcode from warehouse
Returns:
Type
Number

dissociateFabricFromRack(fabricBarcode) → {Number}

This function is responsible to update rack dissociate date for fabric barcode from warehouse
Parameters:
Name Type Description
fabricBarcode String The fabric barcode from warehouse
Returns:
Type
Number

doesFabricHaveEntryDate(fabricBarcode) → {Boolean}

This function is responsible to check if entry date exist for fabric barcode from warehouse
Parameters:
Name Type Description
fabricBarcode String The fabric barcode from warehouse
Returns:
Type
Boolean

doesFabricHaveRackAssociationDate(fabricBarcode) → {Boolean}

This function is responsible to check if rack association date exist for fabric barcode from warehouse
Parameters:
Name Type Description
fabricBarcode String The fabric barcode from warehouse
Returns:
Type
Boolean

doesFabricHaveRackDissociationDate(fabricBarcode) → {Boolean}

This function is responsible to check if rack dissociation date exist for fabric barcode from warehouse
Parameters:
Name Type Description
fabricBarcode String The fabric barcode from warehouse
Returns:
Type
Boolean

duplicateAssociationRowForNewRackAssignment(rackBarcode, fabricBarcode) → {Number}

This function is responsible to reAssociate fabric to rack for fabric barcode from warehouse
Parameters:
Name Type Description
rackBarcode String The rack barcode from warehouse
fabricBarcode String The fabric barcode from warehouse
Returns:
Type
Number

getFabricBarcodeDetail(fabricBarcode) → {Array.<fabricBarcodeDetails>}

This function is responsible to get fabric barcode details
Parameters:
Name Type Description
fabricBarcode String The fabric barcode
Returns:
Type
Array.<fabricBarcodeDetails>

getFabricDetailsForAnalytics() → {Array.<fabricDetailsObject>}

This function is responsible to to fetch fabric details for analytics from warehouse
Returns:
The list fabric details associated with rack module:repository/fabwms/fabric~fabricDetailsObject
Type
Array.<fabricDetailsObject>

getFabricDetailsForAnalyticsBasedOnBarcode(fabricBarcode) → {Array.<barcodeFabricDetailsObject>}

This function is responsible to fetch fabric details based on fabric barcode for analytics from warehouse
Parameters:
Name Type Description
fabricBarcode String The fabric barcode associated with fabric roll from warehouse
Returns:
The list fabric details associated with rack module:repository/fabwms/fabric~barcodeFabricDetailsObject
Type
Array.<barcodeFabricDetailsObject>

getFabricDetailsForAnalyticsBasedOnInvoiceNumber(fabricBarcode) → {Array.<barcodeFabricDetailsObject>}

This function is responsible to fetch fabric details based on fabric barcode for analytics from warehouse
Parameters:
Name Type Description
fabricBarcode String The fabric barcode associated with fabric roll from warehouse
Returns:
The list fabric details associated with rack module:repository/fabwms/fabric~barcodeFabricDetailsObject
Type
Array.<barcodeFabricDetailsObject>

getFabricDetailsForAnalyticsBasedOnItemCode(itemCode) → {Array.<itemCodeFabricDetailsObject>}

This function is responsible to fetch fabric details based on item code for analytics from warehouse
Parameters:
Name Type Description
itemCode String The fabric item code associated with fabric barcode from warehouse
Returns:
The list fabric details associated with rack module:repository/fabwms/fabric~itemCodeFabricDetailsObject
Type
Array.<itemCodeFabricDetailsObject>

getFabricDetailsForAnalyticsBasedOnRackNumber(rackNumber) → {Array.<rackNumberFabricDetailsObject>}

This function is responsible to fetch fabric details based on rack number for analytics from warehouse
Parameters:
Name Type Description
rackNumber String The fabric rack number associated with fabric barcode from warehouse
Returns:
The list fabric details associated with rack module:repository/fabwms/fabric~rackNumberFabricDetailsObject
Type
Array.<rackNumberFabricDetailsObject>

getFabricDetailsForAnalyticsBasedOnWareHouseEntry(fromEntryDate, toEntryDate) → {Array.<itemCodeFabricDetailsObject>}

This function is responsible to fetch fabric details based on warehouse entry date
Parameters:
Name Type Description
fromEntryDate String The warehouse from exit date in format of yyyymmdd
toEntryDate String The warehouse to exit date in format of yyyymmdd
Returns:
The list fabric details associated with rack module:repository/fabwms/fabric~itemCodeFabricDetailsObject
Type
Array.<itemCodeFabricDetailsObject>

getFabricDetailsForAnalyticsBasedOnWareHouseExit(fromExitDate, toExitDate) → {Array.<itemCodeFabricDetailsObject>}

This function is responsible to fetch fabric details based on warehouse exit date
Parameters:
Name Type Description
fromExitDate String The warehouse from exit date in format of yyyymmdd
toExitDate String The warehouse to exit date in format of yyyymmdd
Returns:
The list fabric details associated with rack module:repository/fabwms/fabric~itemCodeFabricDetailsObject
Type
Array.<itemCodeFabricDetailsObject>

validateFabric(barcode) → {Fabric}

This function is responsible to validate fabric barcode in warehouse and return rack barcode along with fabric barcode from warehouse
Parameters:
Name Type Description
barcode String The fabric barcode from warehouse
Returns:
Type
Fabric

Type Definitions

barcodeFabricDetailsObject

Type:
  • Object
Properties:
Name Type Description
barcodeFabricDetailsObject.rackNumber String The rack number from warehouse
barcodeFabricDetailsObject.fabricBarcode String The fabric roll barcode
barcodeFabricDetailsObject.mirNumber String The mir number associated with fabric roll
barcodeFabricDetailsObject.itemCode String The fabric item code associated with fabric barcode from warehouse
barcodeFabricDetailsObject.itemDescription String The item description associated with item code
barcodeFabricDetailsObject.fabricLength Number The total fabric length combination of rack number and item code from warehouse
barcodeFabricDetailsObject.mirDate String The mir date in format of dd/mm/yyyy
itemCodeFabricDetailsObject.rackAssociationDateTime String The rack association date and time
itemCodeFabricDetailsObject.rackDissociationDateTime String The rack disassociation date and time
itemCodeFabricDetailsObject.warehouseEntryDateTime String The warehouse entry date and time
itemCodeFabricDetailsObject.warehouseExitDateTime String The warehouse exit date and time

barcodeFabricDetailsObject

Type:
  • Object
Properties:
Name Type Description
barcodeFabricDetailsObject.rackNumber String The rack number from warehouse
barcodeFabricDetailsObject.fabricBarcode String The fabric roll barcode
barcodeFabricDetailsObject.mirNumber String The mir number associated with fabric roll
barcodeFabricDetailsObject.itemCode String The fabric item code associated with fabric barcode from warehouse
barcodeFabricDetailsObject.itemDescription String The item description associated with item code
barcodeFabricDetailsObject.fabricLength Number The total fabric length combination of rack number and item code from warehouse
barcodeFabricDetailsObject.mirDate String The mir date in format of dd/mm/yyyy
itemCodeFabricDetailsObject.rackAssociationDateTime String The rack association date and time
itemCodeFabricDetailsObject.rackDissociationDateTime String The rack disassociation date and time
itemCodeFabricDetailsObject.warehouseEntryDateTime String The warehouse entry date and time
itemCodeFabricDetailsObject.warehouseExitDateTime String The warehouse exit date and time

fabricBarcodeDetails

Type:
  • Object
Properties:
Name Type Description
fabricBarcodeDetails.poNumber String The po number associated with fabric barcode
fabricBarcodeDetails.itemCode String The fabric item code associated with fabric barcode
fabricBarcodeDetails.itemDescription String The item description associated with item code
fabricBarcodeDetails.fabricLength Number The total fabric length for fabric barcode

fabricDetailsObject

Type:
  • Object
Properties:
Name Type Description
fabricDetailsObject.rackNumber String The rack number from warehouse
fabricDetailsObject.itemCode String The fabric item code associated with fabric barcode from warehouse
fabricDetailsObject.itemDescription String The item description associated with item code
fabricDetailsObject.fabricLength Number The total fabric length combination of rack number and item code from warehouse
fabricDetailsObject.mirDate String The mir date in format of dd/mm/yyyy

itemCodeFabricDetailsObject

Type:
  • Object
Properties:
Name Type Description
itemCodeFabricDetailsObject.rackNumber String The rack number from warehouse
itemCodeFabricDetailsObject.fabricBarcode String The fabric roll barcode
itemCodeFabricDetailsObject.mirNumber String The mir number associated with fabric roll
itemCodeFabricDetailsObject.itemCode String The fabric item code associated with fabric barcode from warehouse
itemCodeFabricDetailsObject.itemDescription String The item description associated with item code
itemCodeFabricDetailsObject.fabricLength Number The total fabric length combination of rack number and item code from warehouse
itemCodeFabricDetailsObject.mirDate String The mir date in format of dd/mm/yyyy
itemCodeFabricDetailsObject.rackAssociationDateTime String The rack association date and time
itemCodeFabricDetailsObject.rackDissociationDateTime String The rack disassociation date and time
itemCodeFabricDetailsObject.warehouseEntryDateTime String The warehouse entry date and time
itemCodeFabricDetailsObject.warehouseExitDateTime String The warehouse exit date and time

itemCodeFabricDetailsObject

Type:
  • Object
Properties:
Name Type Description
itemCodeFabricDetailsObject.rackNumber String The rack number from warehouse
itemCodeFabricDetailsObject.fabricBarcode String The fabric roll barcode
itemCodeFabricDetailsObject.mirNumber String The mir number associated with fabric roll
itemCodeFabricDetailsObject.itemCode String The fabric item code associated with fabric barcode from warehouse
itemCodeFabricDetailsObject.itemDescription String The item description associated with item code
itemCodeFabricDetailsObject.fabricLength Number The total fabric length combination of rack number and item code from warehouse
itemCodeFabricDetailsObject.mirDate String The mir date in format of dd/mm/yyyy
itemCodeFabricDetailsObject.rackAssociationDateTime String The rack association date and time
itemCodeFabricDetailsObject.rackDissociationDateTime String The rack disassociation date and time
itemCodeFabricDetailsObject.warehouseEntryDateTime String The warehouse entry date and time
itemCodeFabricDetailsObject.warehouseExitDateTime String The warehouse exit date and time

itemCodeFabricDetailsObject

Type:
  • Object
Properties:
Name Type Description
itemCodeFabricDetailsObject.rackNumber String The rack number from warehouse
itemCodeFabricDetailsObject.fabricBarcode String The fabric roll barcode
itemCodeFabricDetailsObject.mirNumber String The mir number associated with fabric roll
itemCodeFabricDetailsObject.itemCode String The fabric item code associated with fabric barcode from warehouse
itemCodeFabricDetailsObject.itemDescription String The item description associated with item code
itemCodeFabricDetailsObject.fabricLength Number The total fabric length combination of rack number and item code from warehouse
itemCodeFabricDetailsObject.mirDate String The mir date in format of dd/mm/yyyy
itemCodeFabricDetailsObject.rackAssociationDateTime String The rack association date and time
itemCodeFabricDetailsObject.rackDissociationDateTime String The rack disassociation date and time
itemCodeFabricDetailsObject.warehouseEntryDateTime String The warehouse entry date and time
itemCodeFabricDetailsObject.warehouseExitDateTime String The warehouse exit date and time

rackNumberFabricDetailsObject

Type:
  • Object
Properties:
Name Type Description
rackNumberFabricDetailsObject.rackNumber String The rack number from warehouse
rackNumberFabricDetailsObject.fabricBarcode String The fabric roll barcode
rackNumberFabricDetailsObject.mirNumber String The mir number associated with fabric roll
rackNumberFabricDetailsObject.itemCode String The fabric item code associated with fabric barcode from warehouse
rackNumberFabricDetailsObject.itemDescription String The item description associated with item code
rackNumberFabricDetailsObject.fabricLength Number The total fabric length combination of rack number and item code from warehouse
rackNumberFabricDetailsObject.mirDate String The mir date in format of dd/mm/yyyy
itemCodeFabricDetailsObject.rackAssociationDateTime String The rack association date and time
itemCodeFabricDetailsObject.rackDissociationDateTime String The rack disassociation date and time
itemCodeFabricDetailsObject.warehouseEntryDateTime String The warehouse entry date and time
itemCodeFabricDetailsObject.warehouseExitDateTime String The warehouse exit date and time