Order_Response_Changed_String
Order_Response_Changed_String = 'Changed'
Example
procedure ScriptEvent(var Value: variant);
begin
Value := GetOrderResponseStatusNum(Order_Response_Changed_String); // 3
end;
Usage
Order_Response_Changed_String provides the exact Changed text paired with order-response outcome value 3 and recognised by its Velox converter.
Value
| Property | Value |
|---|---|
| Script type | String |
| Exact literal | Changed |
| Numeric partner | 3 |
| Database representation | Order_Response_Status.Description |
| Numeric field | Order_Hdr.ResponseStatusNum |
Additional Technical Info
Order_Response_Changed_String is the canonical script-visible text Changed paired with order-response outcome value Order_Response_Changed = 3. It is a fixed conversion token, not an instruction to change order data.
Implementation
Velox declares and registers the exact string Changed. GetOrderResponseStatusNum uses Delphi SameText, so recognised ASCII text is case-insensitive but is not trimmed. GetOrderResponseStatusCode returns this exact casing for value 3.
The fresh-build Order_Response_Status row 3 stores Changed in Description. The converter is compiled and does not read that table at runtime.
Behaviour
Use Order_Response_Changed_String for canonical order-response outcome output or as input to the matching reverse converter. Different letter casing is recognised; leading or trailing whitespace produces Null.
The String name is not registered in the Velox tag map. Use numeric Order_Response_Changed in an <!...!> configuration tag.
Edge cases and quirks
Changedcan appear in another order status family. The correct converter and target field determine its domain.- Line and response
Changedshare number3and textChanged, but remain distinct identifiers and database domains. - Response number
2meansRejected; line number2meansSame. Do not infer meaning from the number alone. - Direct string comparison may not reproduce the converter's case handling; use the converter when normalising external input.
Side effects
Reading or comparing Order_Response_Changed_String has no I/O or state-changing effect. Conversion does not query or update the database.
Errors
Reading the constant does not raise an error. The converter returns Null for unknown or whitespace-padded text instead of raising a domain-specific exception.
Performance and concurrency
This immutable compiled string and its small fixed mapping require no persistent resource and carry no shared mutable state.
Remarks
The example is source-reviewed and non-destructive. Use the exact constant casing when emitting canonical text.
Related entries
Order_Response_Changedis the paired number.GetOrderResponseStatusNumperforms text-to-number conversion.GetOrderResponseStatusCodeperforms number-to-text conversion.