Skip to main content

Intf_Tax

Intf_Tax = 41

Example

procedure ScriptEvent(var Value: variant);
begin
if DATA_Interface['Num'].AsInteger = Intf_Tax then
Value := Intf_Tax_String;
end;

Usage

Intf_Tax identifies the Tax operational reference interface by fixed Interface.Num value 41 for scripts, database references and numeric tags.

Value

PropertyValue
Script typeLongInt
Numeric value41
Database rowInterface.Num = 41
Interface codeTax
Module rowNo (IsModule = 0)
Fresh-build defaultActive = 0; IsConfigured = 0

Additional Technical Info

Intf_Tax is the script-visible LongInt identifier for the Tax operational reference interface. Its fixed value is 41, paired with exact code Tax in the Interface table.

The name identifies an interface category. It does not by itself expose Tax 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 41.

Configuration processed by ProcessVeloxTags can replace <!Intf_Tax!> with decimal text 41. 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_Tax_String is 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 Tax 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 41.
  • 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 Interface when 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 41. It preserves category intent while making clear that the number belongs to the Interface key space.

External references

No Delphi or Free Pascal equivalent applies. This identifier and its database meaning are Velox-owned.

Created 2026-07-15