Module: repository/pallet

Methods

assignEntryDateToPallet(barcode) → {Number}

Parameters:
Name Type Description
barcode String
Returns:
Type
Number

assignExitDateToPallet(barcode) → {Number}

Parameters:
Name Type Description
barcode String The pallet barcode
Returns:
Type
Number

assignExitDateToPalletAndContainer(barcode, containerNumber) → {Number}

Parameters:
Name Type Description
barcode String The pallet barcode
containerNumber String
Returns:
Type
Number

associatePalletWithRack(palletBarcode, rackBarcode) → {Number}

Parameters:
Name Type Description
palletBarcode String
rackBarcode String
Returns:
Type
Number

createPallet(barcode, articleNumber, supplierCode, numberOfPieces, dateOfManufacture) → {Number}

Parameters:
Name Type Description
barcode String
articleNumber String
supplierCode Number
numberOfPieces Number
dateOfManufacture Number
Returns:
Type
Number

deletePallet(barcode) → {Number}

Parameters:
Name Type Description
barcode String
Returns:
Type
Number

deletePalletRackAssociationEntry(palletBarcode) → {Number}

Parameters:
Name Type Description
palletBarcode String
Returns:
Type
Number

dissociatePalletFromRack(palletBarcode) → {Number}

Parameters:
Name Type Description
palletBarcode String
Returns:
Type
Number

doesPalletHaveEntryDate(barcode) → {Boolean}

Parameters:
Name Type Description
barcode String The pallet barcode
Returns:
Type
Boolean

doesPalletHaveRackAssociationDate(barcode) → {Boolean}

Parameters:
Name Type Description
barcode String The pallet barcode
Returns:
Type
Boolean

doesPalletHaveRackDissociationDate(barcode) → {Boolean}

Parameters:
Name Type Description
barcode String The pallet barcode
Returns:
Type
Boolean

duplicateAssociationRowForNewRackAssignment(rackBarcode, palletBarcode)

Parameters:
Name Type Description
rackBarcode String
palletBarcode String

getPalletsBasedOnWarehouseEntryDate(fromEntryDate, toEntryDate) → {Array.<palletInformation>}

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:
Type
Array.<palletInformation>

getPalletsBasedOnWarehouseExitDate(fromExitDate, toExitDate) → {Array.<palletInformation>}

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:
Type
Array.<palletInformation>

getPalletsInWarehouse() → {Array.<palletInformation>}

Returns:
Type
Array.<palletInformation>

getPalletsWithArticleNumber(articleNumber) → {Array.<palletInformation>}

Parameters:
Name Type Description
articleNumber String
Returns:
Type
Array.<palletInformation>

getPalletsWithDateOfManufacture(dateOfManufacture) → {Array.<palletInformation>}

Parameters:
Name Type Description
dateOfManufacture Number
Returns:
Type
Array.<palletInformation>

getPalletsWithRackNumber(rackNumber) → {Array.<palletInformation>}

Parameters:
Name Type Description
rackNumber String
Returns:
Type
Array.<palletInformation>

validatePallet(barcode) → {Pallet}

Parameters:
Name Type Description
barcode String
Returns:
Type
Pallet

Type Definitions

palletInformation

Type:
  • Object
Properties:
Name Type Description
palletInformation.barcode String The barcode of the pallet
palletInformation.articleNumber String The article number
palletInformation.numberOfPieces Number The number of pieces in the pallet
palletInformation.dateOfManufacture Number The date of manufacturing the pallet
palletInformation.rackBarcode String The rack the pallet is associated with
palletInformation.rackAssociationDateTime String The rack association date for pallet
palletInformation.rackDissociationDateTime String The last dissociation date of the pallet from a rack
palletInformation.warehouseEntryDateTime String The warehouse entry date
palletInformation.warehouseExitDateTime String The warehouse exit date