PalletEntity
| π Overview: 9 Functions | 4 Getters |
Extends: Entity
π Last updated: 2026-01-13T16:04:12.414Z
π Table of Contents
- βοΈ Functions
- Regular Functions
- createPrintJob (2 params) β
$Success : Boolean - getWorksOrderCollection β
Collection - getTotalQuantity (1 param) β
Integer - getTotalBoxes (1 param) β
Integer - generateQR β
Pictureπ₯οΈ - getStockListBoxObject β
Objectπ₯οΈ - getMigrationRules (1 param) β
$Collection : Collectionπ₯οΈ - syncMigrationSelections (1 param) π₯οΈ
- transfer (1 param) β
Booleanπ₯οΈ
- createPrintJob (2 params) β
- Computed Attributes (Getters/Setters/Query/OrderBy)
- GrossWeightKg π β
Real - HasMigrationID π β
Boolean - NetWeightKg π β
Real - QRObject π β
Object
- GrossWeightKg π β
- Regular Functions
- π Related Items
Functions
Regular Functions
createPrintJob
Function createPrintJob($StaffID : Integer; $PrinterID : Integer) -> $Success : Boolean
Creates a print job for this pallet label and marks pallet as printed
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$StaffID | Integer | - | - |
$PrinterID | Integer | - | - |
Returns: Boolean
getWorksOrderCollection
Function getWorksOrderCollection -> Collection
Returns a collection of distinct works order IDs from all boxes on this pallet
Returns: Collection
getTotalQuantity
Function getTotalQuantity($WorksOrderEntity : Integer) -> Integer
Returns the total quantity of items on this pallet, optionally filtered by works order
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$WorksOrderEntity | Integer | - | - |
Returns: Integer
getTotalBoxes
Function getTotalBoxes($WorksOrderEntity : Integer) -> Integer
Returns the total number of boxes on this pallet, optionally filtered by works order
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$WorksOrderEntity | Integer | - | - |
Returns: Integer
generateQR
[π₯οΈ local]
Function generateQR -> Picture
Generates a QR code picture from the pallet QR object
Returns: Picture
getStockListBoxObject
[π₯οΈ local]
Function getStockListBoxObject -> Object
Returns an object representing this pallet for display in stock list boxes
Returns: Object
getMigrationRules
[π₯οΈ local]
Function getMigrationRules($RemoteEntity : cs.PalletEntity) -> $Collection : Collection
Returns migration rules for syncing pallet data during migration
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$RemoteEntity | cs.PalletEntity | - | - |
Returns: Collection
syncMigrationSelections
[π₯οΈ local]
Function syncMigrationSelections($RemoteEntity : cs.PalletEntity)
Syncs related box label and print job selections during migration (currently commented out)
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$RemoteEntity | cs.PalletEntity | - | - |
transfer
[π₯οΈ local]
Function transfer($ToLocation : Integer) -> Boolean
Transfers this pallet to a new location by moving stock and updating location, within a transaction
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$ToLocation | Integer | - | - |
Returns: Boolean
Computed Attributes (Getters/Setters/Query/OrderBy)
GrossWeightKg
[π get only, π₯οΈ local]
Function get GrossWeightKg -> Real
Returns the total gross weight in kg of all boxes plus 20kg for pallet weight
Returns: Real
HasMigrationID
[π get only, π₯οΈ local]
Function get HasMigrationID -> Boolean
Returns true if this pallet has a valid migration ID
Returns: Boolean
NetWeightKg
[π get only, π₯οΈ local]
Function get NetWeightKg -> Real
Returns the total net weight in kg of all boxes on this pallet
Returns: Real
QRObject
[π get only]
Function get QRObject -> Object
Returns an object containing pallet data for QR code generation
Returns: Object
Related Items
ποΈ Tables
- Pallet - ORDA Entity class for Pallet table
οΏ½ Related Classes
- Pallet - ORDA DataClass class for Pallet table
- PalletSelection - ORDA EntitySelection class for Pallet table
οΏ½ Forms
- %2AMigration - Data source for %2AMigration form
- %2Atest - Data source for %2Atest form
- CancelAdviceNote - Data source for CancelAdviceNote form
- LocationManager - Data source for LocationManager form
- NSKPalletIDs - Data source for NSKPalletIDs form
- OrderDelivery - Data source for OrderDelivery form
- PalletDespatchList - Data source for PalletDespatchList form
- PalletTransfer - Data source for PalletTransfer form
- Warehouse - Data source for Warehouse form
Generated from PalletEntity.4dm