mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-07 15:46:55 +01:00
knowledge(appsource): add AL validation guidance
This commit is contained in:
parent
293f9b13e7
commit
e9f870a0f8
22 changed files with 374 additions and 3 deletions
|
|
@ -0,0 +1,13 @@
|
|||
codeunit 50100 "Rental Company Open"
|
||||
{
|
||||
[EventSubscriber(ObjectType::Codeunit, Codeunit::"System Initialization", OnAfterCompanyOpen, '', false, false)]
|
||||
local procedure InitializeRentalSetup()
|
||||
var
|
||||
RentalSetup: Record "Rental Setup";
|
||||
begin
|
||||
if not RentalSetup.Get() then begin
|
||||
RentalSetup.Init();
|
||||
RentalSetup.Insert(true);
|
||||
end;
|
||||
end;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue