Order_Type_PickLoadOut
Order_Type_PickLoadOut = 3
Example
procedure ScriptEvent(var Value: variant);
begin
// Existing scripts may still use the compatibility alias.
if Order_Type_PickLoadOut = Type_PickLoadOut then
Value := Type_PickLoadOut_String; // 'PickLoadOut'
end;
Usage
Order_Type_PickLoadOut provides deprecated order-type alias value 3 for compatibility with scripts that predate Type_PickLoadOut.
Value
| Property | Value |
|---|---|
| Script type | LongInt |
| Numeric value | 3 |
| Preferred identifier | Type_PickLoadOut |
| Canonical code | Type_PickLoadOut_String = PickLoadOut |
| Database domain | Order_Type.Num and Order_Hdr.TypeNum |
Additional Technical Info
Order_Type_PickLoadOut is a deprecated compatibility alias for the pick/load-out order type. Its fixed LongInt value is 3, identical to Type_PickLoadOut. Existing scripts can read it, but new or revised scripts should use the Type_* family.
The alias identifies a type; it does not create, validate, route or persist an order.
Implementation
Native source places Order_Type_PickLoadOut in an explicitly deprecated block and gives it value 3. The PascalScript importer retains the LongInt name for backwards compatibility. The preferred Type_PickLoadOut constant is independently registered with the same value.
A fresh VxData database seeds Order_Type row 3 with code PickLoadOut. Current GetOrderTypeNum and GetOrderTypeCode implementations use preferred Type_* constants and String partners, not the deprecated Order_Type_* names.
Behaviour
Reading the alias produces the same integer as Type_PickLoadOut. The runtime integer does not retain which identifier spelling was used. Current deprecation is advisory: registration remains available and does not itself emit a warning.
The Velox constant tag map exposes Type_PickLoadOut, not Order_Type_PickLoadOut. Use <!Type_PickLoadOut!> for a numeric configuration tag.
Edge cases and quirks
- There is no
Order_Type_PickLoadOut_Stringcompatibility constant. UseType_PickLoadOut_Stringfor the canonical code. - Numeric values overlap other order/status families and are not type-safe in PascalScript. Use this domain only for order type fields such as
Order_Hdr.TypeNum. - The generated index does not carry a deprecation flag even though native source marks this alias deprecated; the source-backed warning is therefore in the Markdown body.
- Current source declares no removal version. Do not infer either permanent support or a scheduled removal.
Side effects
Reading or comparing Order_Type_PickLoadOut has no I/O or state-changing side effect. Persistence, routing and event selection belong to the caller and configuration.
Errors
Reading the alias does not raise an error. A value from the wrong domain can select incorrect processing; persistence outside valid Order_Type keys can fail the relevant database constraint.
Performance and concurrency
This is an immutable compiled value. Access is constant-time, allocates no persistent resource and carries no shared mutable state.
Remarks
The example is source-reviewed and non-destructive. When editing an existing script, replace the deprecated name with Type_PickLoadOut; the numeric result remains 3.
Related entries
Type_PickLoadOutis the preferred numeric identifier.Type_PickLoadOut_Stringis the canonical order-type code.GetOrderTypeNumconverts recognised code text to a number.GetOrderTypeCodereturns canonical code text.