LocationEntity
| ๐ Overview: 6 Functions | 6 Getters |
Extends: Entity
๐ Last updated: 2025-12-10T11:45:23.208Z
๐ Table of Contents
- โ๏ธ Functions
- Regular Functions
- CheckRelated (1 param) โ
Boolean๐ฅ๏ธ - printQRSheet (2 params) ๐ฅ๏ธ
- printLabel (1 param) ๐ฅ๏ธ
- generateQR โ
Picture๐ฅ๏ธ - getStockListboxCollection โ
$StockListboxCollection : Collection๐ฅ๏ธ - removeLocation โ
Boolean๐ฅ๏ธ
- CheckRelated (1 param) โ
- Computed Attributes (Getters/Setters/Query/OrderBy)
- DisplayName ๐ โ
Text - HasStock ๐ โ
Boolean - Level ๐ โ
Integer - ListBoxDisplayName ๐ โ
Text - ListboxMetaExpression ๐ โ
Object - SortOrder ๐ โ
Text
- DisplayName ๐ โ
- Regular Functions
- ๐ Related Items
Functions
Regular Functions
CheckRelated
[๐ฅ๏ธ local]
Function CheckRelated($LocationID : Text) -> Boolean
Returns true if specified LocationID exists anywhere in this locationโs parent hierarchy
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$LocationID | Text | - | - |
Returns: Boolean
printQRSheet
[๐ฅ๏ธ local]
Function printQRSheet($PageSize : Text; $ShowPrintSettings : Boolean)
Prints a QR code sheet for this location using specified page size
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$PageSize | Text | - | - |
$ShowPrintSettings | Boolean | - | - |
printLabel
[๐ฅ๏ธ local]
Function printLabel($ShowPrintSettings : Boolean)
Prints a location barcode label with QR code
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$ShowPrintSettings | Boolean | - | - |
generateQR
[๐ฅ๏ธ local]
Function generateQR -> Picture
Generates QR code picture containing location barcode data as JSON
Returns: Picture
getStockListboxCollection
[๐ฅ๏ธ local]
Function getStockListboxCollection -> $StockListboxCollection : Collection
Returns collection of stock listbox objects for all pallets and material stock at this location
Returns: Collection
removeLocation
[๐ฅ๏ธ local]
Function removeLocation -> Boolean
Deletes this location after validation (no sub-locations, no stock, user confirmation), returns success status
Returns: Boolean
Computed Attributes (Getters/Setters/Query/OrderBy)
DisplayName
[๐ get only, ๐ฅ๏ธ local]
Function get DisplayName -> $DisplayName : Text
Returns full location path with ยป separators (e.g., โWarehouse ยป Aisle 1 ยป Shelf Aโ)
Returns: Text
HasStock
[๐ get only]
Function get HasStock -> Boolean
Returns true if location has any pallets or material stock assigned to it
Returns: Boolean
Level
[๐ get only, ๐ฅ๏ธ local]
Function get Level -> $Level : Integer
Returns hierarchy depth level (0=root, 1=first level, etc.)
Returns: Integer
ListBoxDisplayName
[๐ get only, ๐ฅ๏ธ local]
Function get ListBoxDisplayName -> $ListBoxDisplayName : Text
Returns location name indented with tabs based on hierarchy level for listbox display
Returns: Text
ListboxMetaExpression
[๐ get only, ๐ฅ๏ธ local]
Function get ListboxMetaExpression -> $ListboxMetaExpression : Object
Returns styling object for listbox row (font weight, background color based on hierarchy level)
Returns: Object
SortOrder
[๐ get only, ๐ฅ๏ธ local]
Function get SortOrder -> $SortOrder : Text
Returns tab-delimited hierarchy path for sorting locations in tree structure
Returns: Text
Related Items
๐๏ธ Tables
- Location - ORDA Entity class for Location table
๏ฟฝ Related Classes
- Location - ORDA DataClass class for Location table
๏ฟฝ Forms
- LocationManager - Data source for LocationManager form
Generated from LocationEntity.4dm