Open
Description
I have created a classic setup table with an (empty) primary key.
On the setup page, a record with an empty primary key is created in the OnOpenPage
trigger if none exists.
However, the LinterCop rule LC0013
demands NotBlank = true
for this field.
How should this be correctly implemented?
Example from the General Ledger Setup
page:
trigger OnOpenPage()
begin
Rec.Reset();
if not Rec.Get() then begin
Rec.Init();
Rec.Insert();
end;
...
end;
Metadata
Metadata
Assignees
Labels
No labels