I1542
// Generated display declaration:
I1542 = 1542
// Effective Pascal Script type and value:
const I1542: String = '1542';
Example
procedure ScriptEvent(var Value: variant);
var
IssueCode: string;
IssueNum: integer;
begin
IssueCode := I1542; // '1542'
IssueNum := StrToInt(IssueCode); // identifies the result; creates nothing
Value := IssueCode + ':' + IntToStr(IssueNum);
end;
Usage
I1542 is the script-visible String code '1542' for Issue 1542 (Holiday Auto Created).
Meaning and evidence boundary
The route associates the definition with holiday 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 I1542 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 := I1542; // exact text '1542'
Level := GetIssueLevel(1542); // integer API, preferred literal
Level := GetIssueLevel(StrToInt(I1542)); // 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
I1542 is the script-visible String constant '1542' for the fresh-build VxData Issue definition Holiday Auto Created. It records a diagnostic identity for a creation outcome; evaluating or assigning the constant does not create holiday master data.
The generated index displays I1542 = 1542 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
| Property | Default/source value |
|---|---|
| Script type/value | String / '1542' |
Integer Issue.Num after conversion | 1542 |
Fresh-build Issue.Code | 1542 |
| Fresh-build description | Holiday Auto Created |
Fresh-build Issue.Status | 1 — Status_Success |
Fresh-build AdminUrl | /Administration/Holiday |
| Reported entity/outcome | Holiday / auto-created |
Severity discrepancy and live configuration
The introducing v1.15 upgrade inserts Issue 1542 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(1542) 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 holiday data merely because 1542 is supplied.
Usage guidance
- Emit
I1542only after confirmed Holiday creation, not when creation is merely requested or attempted. - Use the String for exact text serialization; use
1542or 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
GetIssueLeveldocuments live severity and the missing-row fallback.InvoiceIssuedocuments one issue persistence lifecycle.Status_Successis the current fresh-build status value 1.
No Delphi or Free Pascal standard-library equivalent exists; this is a Velox-owned scripting identifier.
Created 2026-07-15