BoxLabelsEntity
| π Overview: 8 Functions | 19 Getters |
Extends: Entity
π Last updated: 2025-12-10T11:45:22.365Z
π Table of Contents
- βοΈ Functions
- Regular Functions
- getStatesCollection β
Collection - ModifyStatus π₯οΈ
- AddComment (2 params) π₯οΈ
- removeFromPallet β
$Success : Boolean - getNextBoxPacked β
cs.BoxLabelsEntityπ₯οΈ - generateQR β
Pictureπ₯οΈ - getMigrationRules (1 param) β
$Collection : Collectionπ₯οΈ - syncMigrationSelections (1 param) π₯οΈ
- getStatesCollection β
- Computed Attributes (Getters/Setters/Query/OrderBy)
- AdviceNote π β
Integer - BoxNumberColor π β
Integer - BoxNumberDisplay π β
Text - BoxQuantityDisplay π β
Text - CurrentStatus π β
Object - Despatched π π β
Boolean - GrossWeightKg π β
Real - HasMigrationID π β
Boolean - linkedBoxesQuantity π β
Integer - NetWeightKg π β
Real - PackedByDisplay π β
Text - PartBox π π β
Boolean - partBoxSkipped π β
Boolean - PartsFromOtherWorksOrders->$Text π β
Text - RouteCardColor π β
Integer - StatusText π β
Text - TestProduct π β
cs.ProductEntity - toolIsRunning π β
Boolean - totalBoxQuantity π β
Integer
- AdviceNote π β
- Regular Functions
- π Related Items
Functions
Regular Functions
getStatesCollection
Function getStatesCollection -> Collection
Returns collection of possible box label states: In Stock, Not Made, Removed From Stock
Returns: Collection
ModifyStatus
[π₯οΈ local]
Function ModifyStatus
Allows user to modify box status (In Stock/Not Made/Removed) with validation and permission checks
AddComment
[π₯οΈ local]
Function AddComment($Comment : Text; $StaffEntity : cs.StaffEntity)
Adds a timestamped comment to the box labelβs comment history with staff member attribution
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$Comment | Text | - | - |
$StaffEntity | cs.StaffEntity | - | - |
removeFromPallet
Function removeFromPallet -> $Success : Boolean
Returns: Boolean
getNextBoxPacked
[π₯οΈ local]
Function getNextBoxPacked -> cs.BoxLabelsEntity
Returns: cs.BoxLabelsEntity
generateQR
[π₯οΈ local]
Function generateQR -> Picture
Returns: Picture
getMigrationRules
[π₯οΈ local]
Function getMigrationRules($RemoteEntity : cs.BoxLabelsEntity) -> $Collection : Collection
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$RemoteEntity | cs.BoxLabelsEntity | - | - |
Returns: Collection
syncMigrationSelections
[π₯οΈ local]
Function syncMigrationSelections($RemoteEntity : cs.BoxLabelsEntity)
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$RemoteEntity | cs.BoxLabelsEntity | - | - |
Computed Attributes (Getters/Setters/Query/OrderBy)
AdviceNote
[π get only]
Function get AdviceNote -> Integer
Returns: Integer
BoxNumberColor
[π get only]
Function get BoxNumberColor -> Integer
Returns: Integer
BoxNumberDisplay
[π get only]
Function get BoxNumberDisplay -> Text
Returns: Text
BoxQuantityDisplay
[π get only]
Function get BoxQuantityDisplay -> Text
Returns: Text
CurrentStatus
[π get only]
Function get CurrentStatus -> Object
Returns current status with text, background color, and foreground color based on box state
Returns: Object
Despatched
[π get, π query]
Function get Despatched -> Boolean
Function query Despatched($QueryEventObject : Object)
Query Function: Enables querying this property in ORDA query strings (e.g., .query(":1"; $Value) where :1 is the property name).
Query Parameter:
| Name | Type | Description |
|---|---|---|
$QueryEventObject | Object | - |
Returns: Boolean
GrossWeightKg
[π get only, π₯οΈ local]
Function get GrossWeightKg -> Real
Calculates gross weight (net weight + 1kg for packaging: 800g box + 200g bags)
Returns: Real
HasMigrationID
[π get only, π₯οΈ local]
Function get HasMigrationID -> Boolean
Returns: Boolean
linkedBoxesQuantity
[π get only, π₯οΈ local]
Function get linkedBoxesQuantity -> Integer
Returns: Integer
NetWeightKg
[π get only, π₯οΈ local]
Function get NetWeightKg -> Real
Calculates the net weight in kilograms based on part weight and total quantity
Returns: Real
PackedByDisplay
[π get only]
Function get PackedByDisplay -> Text
Returns: Text
PartBox
[π get, π query]
Function get PartBox -> Boolean
Function query PartBox($QueryEventObject : Object)
Query Function: Enables querying this property in ORDA query strings (e.g., .query(":1"; $Value) where :1 is the property name).
Query Parameter:
| Name | Type | Description |
|---|---|---|
$QueryEventObject | Object | - |
Returns: Boolean
partBoxSkipped
[π get only, π₯οΈ local]
Function get partBoxSkipped -> Boolean
Returns: Boolean
PartsFromOtherWorksOrders->$Text {#partsfromotherworksorders->$text}
[π get only]
Function get PartsFromOtherWorksOrders->$Text -> Text
Returns: Text
RouteCardColor
[π get only]
Function get RouteCardColor -> Integer
Returns: Integer
StatusText
[π get only]
Function get StatusText -> Text
Returns: Text
TestProduct
[π get only]
Function get TestProduct -> cs.ProductEntity
Returns: cs.ProductEntity
toolIsRunning
[π get only, π₯οΈ local]
Function get toolIsRunning -> Boolean
Returns: Boolean
totalBoxQuantity
[π get only, π₯οΈ local]
Function get totalBoxQuantity -> Integer
Returns: Integer
Related Items
ποΈ Tables
- BoxLabels - ORDA Entity class for BoxLabels table
οΏ½ Related Classes
- BoxLabels - ORDA DataClass class for BoxLabels table
οΏ½ Forms
- %2Atest - Data source for %2Atest form
- %2Atest1 - Data source for %2Atest1 form
- CancelAdviceNote - Data source for CancelAdviceNote form
- LabelPrinting - Data source for LabelPrinting form
- NSKPalletIDs - Data source for NSKPalletIDs form
- PalletDespatchList - Data source for PalletDespatchList form
- Warehouse - Data source for Warehouse form
Generated from BoxLabelsEntity.4dm