You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Table 10140, please include the OnBeforeInsert event within the OnInsert trigger of the "Deposit Header" table.
Actual Code:
trigger OnInsert()
begin
GLSetup.Get();
InitInsert();
end;
Required Code with a new event request:
trigger OnInsert()
var IsHandled: Boolean;
begin OnBeforeInsert(Rec, xRec, IsHandled);
if IsHandled then
exit;
GLSetup.Get();
InitInsert();
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeInsert(var DepositHeader: Record "Deposit Header"; xDepositHeader: Record "Deposit Header"; var IsHandled: Boolean)
begin
end;
Additional context
This new event is necessary to enable subscription for implementing custom code and to provide the option to bypass the base code when needed.
The text was updated successfully, but these errors were encountered:
Describe the request
In Table 10140, please include the OnBeforeInsert event within the OnInsert trigger of the "Deposit Header" table.
Actual Code:
trigger OnInsert()
begin
GLSetup.Get();
InitInsert();
end;
Required Code with a new event request:
trigger OnInsert()
var
IsHandled: Boolean;
begin
OnBeforeInsert(Rec, xRec, IsHandled);
if IsHandled then
exit;
GLSetup.Get();
InitInsert();
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeInsert(var DepositHeader: Record "Deposit Header"; xDepositHeader: Record "Deposit Header"; var IsHandled: Boolean)
begin
end;
Additional context
This new event is necessary to enable subscription for implementing custom code and to provide the option to bypass the base code when needed.
The text was updated successfully, but these errors were encountered: