Intf_Voyage
Intf_Voyage = 33
Example
procedure ScriptEvent(var Value: variant);
begin
if DATA_Interface['Num'].AsInteger = Intf_Voyage then
Value := Intf_Voyage_String;
end;
Usage
Intf_Voyage identifies the Voyage operational reference interface by fixed Interface.Num value 33 for scripts, database references and numeric tags.
Value
| Property | Value |
|---|---|
| Script type | LongInt |
| Numeric value | 33 |
| Database row | Interface.Num = 33 |
| Interface code | Voyage |
| Module row | No (IsModule = 0) |
| Fresh-build default | Active = 0; IsConfigured = 0 |
Additional Technical Info
Intf_Voyage is the script-visible LongInt identifier for the Voyage operational reference interface. Its fixed value is 33, paired with exact code Voyage in the Interface table.
The name identifies an interface category. It does not by itself expose Voyage records, select a database operation, execute a module, authenticate a caller or grant permissions.
Implementation
The native constant in vxVeloxEDI.pas, the PascalScript LongInt registration in uPSI_vxVeloxEDI.pas, the gVeloxConstMap entry and the fresh-build database row all use value 33.
Configuration processed by ProcessVeloxTags can replace <!Intf_Voyage!> with decimal text 33. This tag feature reads the in-memory dictionary; it does not query the Interface table.
Behaviour
- Constant access returns an immutable number without loading or validating current database state.
- Use it only where a consumer explicitly accepts an interface number or
InterfaceNum. - Numeric tag expansion emits an unquoted number suitable for the surrounding configuration syntax when that syntax expects one.
Intf_Voyage_Stringis a separately registered String code, not a runtime conversion result.
Edge cases and quirks
- The current seed row is inactive, unconfigured and not a module. The identifier does not enable the Voyage category or prove that related data exists.
- A generic interface key does not establish the accepted operation. Verify the target function, field, relationship or query before passing 33.
- Category identity is not authorization. In particular, an identifier named Application, User, Setting, Mapping, Event or Issue does not bypass the product's normal permissions and validation paths.
- Database state can change independently of the compiled executable; query
Interfacewhen current state matters. - The source/import/tag/database definitions are maintained in parallel. Treat disagreement as mixed product/data versions.
- The String partner is not a numeric tag, and numeric tags are available only for names explicitly entered in
gVeloxConstMap.
Side effects
Reading or comparing the constant has no side effects. Downstream operations retain their own database, audit, security and transaction effects.
Errors
The constant cannot fail. A consumer can reject a reference-interface key, fail to find the deployed row or deny the requested operation. An unknown <!...!> tag raises an invalid-tag exception.
Performance and concurrency
Constant access and in-memory tag lookup are constant-time and thread-safe. Explicit database checks observe mutable shared state and should use the transaction/consistency guarantees required by the operation.
Remarks
Prefer the named constant over literal 33. It preserves category intent while making clear that the number belongs to the Interface key space.
Related entries
Intf_Voyage_String— exact String code for this category.DATA_Interface— dataset for explicit interface-row queries.ProcessTags— expands the supported numeric tag.
External references
No Delphi or Free Pascal equivalent applies. This identifier and its database meaning are Velox-owned.
Created 2026-07-15