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
We would like to ask you to add "if RunTrigger" in procedure VerifyJobWIPEntryOnBeforeRename, codeunit 1000 "Job Calculate WIP".
Since the "RunTrigger: Boolean" parameter already exists and we would like to use it.
[EventSubscriber(ObjectType::Table, Database::"Job Task", 'OnBeforeRenameEvent', '', false, false)]
procedure VerifyJobWIPEntryOnBeforeRename(var Rec: Record "Job Task"; var xRec: Record "Job Task"; RunTrigger: Boolean)
begin
if Rec.IsTemporary then
exit;
VerifyJobWIPEntryIsEmpty(Rec."Job No.");
end;
This is how we want to see it:
[EventSubscriber(ObjectType::Table, Database::"Job Task", 'OnBeforeRenameEvent', '', false, false)]
procedure VerifyJobWIPEntryOnBeforeRename(var Rec: Record "Job Task"; var xRec: Record "Job Task"; RunTrigger: Boolean)
begin
if Rec.IsTemporary then
exit;
>>>>>>>>>>>>
if RunTrigger then
<<<<<<<<<<<<
VerifyJobWIPEntryIsEmpty(Rec."Job No.");
end;
Additional context
We want to be able to control the verification
The text was updated successfully, but these errors were encountered:
Describe the request
We would like to ask you to add "if RunTrigger" in procedure VerifyJobWIPEntryOnBeforeRename, codeunit 1000 "Job Calculate WIP".
Since the "RunTrigger: Boolean" parameter already exists and we would like to use it.
This is how we want to see it:
Additional context
We want to be able to control the verification
The text was updated successfully, but these errors were encountered: