Skip to main content

I1517

// Generated display declaration:
I1517 = 1517

// Effective Pascal Script type and value:
const I1517: String = '1517';

Example

procedure ScriptEvent(var Value: variant);
var
IssueCode: string;
IssueNum: integer;
begin
IssueCode := I1517; // '1517'
IssueNum := StrToInt(IssueCode); // identifies the result; creates nothing
Value := IssueCode + ':' + IntToStr(IssueNum);
end;

Usage

I1517 is the script-visible String code '1517' for Issue 1517 (Consignee Auto Created).

Meaning and evidence boundary

The route associates the definition with consignee party administration. It is only a stored navigation hint.

The text Auto Created describes the intended event represented by the Issue row. It is not an instruction and is not evidence on its own. A caller should emit this code only after the relevant creation path reports success and should add the new record key, supplied code, creation scope and any defaults that were applied.

The family is sparse. Missing numbers correspond to entities for which no named auto-created member is exposed; gaps are not reserved callable values. Do not calculate I1517 from another issue family or invent constants for absent members.

String versus integer issue parameters

GetIssueLevel, InvoiceIssue and the reusable Scriptlet's local CreateIssue take integer issue numbers even though this constant is String.

TextCode := I1517; // exact text '1517'
Level := GetIssueLevel(1517); // integer API, preferred literal
Level := GetIssueLevel(StrToInt(I1517)); // explicit shared conversion

Do not depend on implicit String-to-integer coercion. The compiled constant converts deterministically; external text needs normal conversion-error handling.

Additional Technical Info

I1517 is the script-visible String constant '1517' for the fresh-build VxData Issue definition Consignee Auto Created. It records a diagnostic identity for a creation outcome; evaluating or assigning the constant does not create consignee party master data.

The generated index displays I1517 = 1517 without quotes. Native source and the Pascal Script import supply digit text. The example was source-reviewed and not executed against VxData or any creation helper.

Declaration and fresh-build definition

PropertyDefault/source value
Script type/valueString / '1517'
Integer Issue.Num after conversion1517
Fresh-build Issue.Code1517
Fresh-build descriptionConsignee Auto Created
Fresh-build Issue.Status1Status_Success
Fresh-build AdminUrl/Administration/PartyConsignee
Reported entity/outcomeConsignee / auto-created

Severity discrepancy and live configuration

The introducing v1.15 upgrade inserts Issue 1517 with status 2/Warning. The current fresh-build Table_Issue.sql defines it as status 1/Success. Source history therefore does not guarantee a customer's live value: upgraded, fresh-built and customised databases can differ. Query or inspect the live Issue row when severity affects map behavior.

GetIssueLevel(1517) reads live Issue.Status and returns 6/Error if the row is absent. That fallback does not recreate the definition or prove the described record was created. The issue queue compares numeric levels; status 1 can be numerically displaced by higher values even though its label is Success.

Creation, logging and persistence boundaries

No representative runtime consumer of this named constant was found at the reviewed product baseline beyond declaration and script registration. Product helpers may create master data through other code paths, but the constant itself contains no function reference or payload.

The reusable Scriptlet's local CreateIssue always calls LogIssue and optionally inserts the supplied number/description into DIssue; it does not query configured severity. The separate InvoiceIssue lifecycle queries severity, queues data and persists later with transaction-status and notification-event effects. Neither API creates consignee party data merely because 1517 is supplied.

Usage guidance

  • Emit I1517 only after confirmed Consignee creation, not when creation is merely requested or attempted.
  • Use the String for exact text serialization; use 1517 or explicit conversion for integer issue APIs.
  • Include the created record key, source code, application/partner scope and applied defaults in the description.
  • Check idempotency and duplicate-detection behavior in the actual creation helper; this constant says nothing about either.
  • Confirm the live Issue severity on systems upgraded from v1.15.
  • Avoid credentials, tokens and unnecessary personal data in diagnostics.

Related entries

No Delphi or Free Pascal standard-library equivalent exists; this is a Velox-owned scripting identifier.

Created 2026-07-15