Skip to main content

Type_PickLoadOut_String

Type_PickLoadOut_String = 'PickLoadOut'

Example

procedure ScriptEvent(var Value: variant);
begin
Value := GetOrderTypeNum(Type_PickLoadOut_String); // 3
end;

Usage

Type_PickLoadOut_String provides the exact PickLoadOut text paired with Type_PickLoadOut for the Velox order-type domain.

Value

PropertyValue
Script typeString
Text value'PickLoadOut'
Paired numberType_PickLoadOut = 3
Deprecated numeric aliasOrder_Type_PickLoadOut = 3
Database domainOrder_Type.Num; Order_Hdr.TypeNum
Tag-map entryNo

Additional Technical Info

Type_PickLoadOut_String is the canonical text for the PickLoadOut member of the Velox order-type vocabulary. Its fixed String value is 'PickLoadOut', paired with Type_PickLoadOut.

It selects a domain value; it does not create, load, validate, send, receive, post or change the status of a transaction.

Implementation

Velox declares and registers exact text PickLoadOut. GetOrderTypeNum compares it with Delphi SameText and returns 3; GetOrderTypeCode performs the reverse mapping. The String identifier is not in the Velox tag map.

No reviewed invoice-to-order or ASN-to-order bridge helper returns PickLoadOut. Those helpers cover only the sales/purchase direction pair; scripts must select this warehouse-operation type explicitly when the flow contract requires it.

Database alignment

Fresh-build VxData seeds this exact row in Order_Type. Order_Hdr.TypeNum is a nullable foreign key to that table; Order_Event_Type.TypeNum is a required foreign key used with order status to select event behaviour.

The seed-table code is PickLoadOut and its display description is human-spaced. The code, number and description are separate representations; persist the numeric key in TypeNum and use the exact code only where a code contract calls for it.

Behaviour

Text-to-number conversion is case-insensitive because it uses SameText, but it does not trim: pickloadout is recognised and PickLoadOut is not. Unsupported text returns Null. Number-to-text conversion returns Null for Null or an unsupported number.

The paired numeric value has meaning only inside its order-type domain. Identical integers in party, source, status, shipment or other vocabularies are not interchangeable.

Edge cases and quirks

  • The database description is Pick / Load Out, while the canonical code has no spaces or slash: PickLoadOut.
  • This is an order-type identity, not proof that stock was allocated, picked, loaded, dispatched or decremented.
  • Numeric PascalScript constants do not retain a domain type after evaluation; validate the target field/table contract before assignment.
  • The preferred name is numerically indistinguishable from its deprecated alias after evaluation.
  • A nullable header TypeNum may contain Null even though the seed vocabulary defines this value.
  • The constant does not enforce event configuration, party relationships, lifecycle transitions or business-document validity.

Side effects

Reading or comparing Type_PickLoadOut_String has no database, file, network or shared-state side effect. Converter and bridge helpers, where present, are fixed in-memory mappings.

Errors

Reading the constant does not raise an error. Converter misses return Null; inputs outside the documented String/number contract can still encounter normal PascalScript Variant conversion behaviour. Persisting a value absent from the target type table can fail a database foreign key.

Performance and concurrency

This is immutable compiled metadata. Constant access, fixed converters and fixed bridge lookups are constant-time for practical purposes and do not carry mutable transaction state.

Remarks

Customer/supplier and sales/purchase naming expresses Velox's transaction vocabulary, not a universal accounting or EDI interpretation. Confirm the mapping contract, parties, signs and downstream process independently. The example is source-reviewed and non-destructive.

Related entries

Created 2026-07-15