-
Notifications
You must be signed in to change notification settings - Fork 685
Description
Why do you need this change?
Hello,
I need an event in Page 729 "Copy Item" in the procedure "ValidateShouldCopyAllInformation()" for modifying custom fields on table 729 "Copy Item Buffer".
local procedure ValidateShouldCopyAllInformation()
var
InfoFieldRef: FieldRef;
RecRef: RecordRef;
i: Integer;
begin
RecRef.GetTable(Rec);
for i := 11 to 99 do
if RecRef.FieldExist(i) then begin
InfoFieldRef := RecRef.Field(i);
if InfoFieldRef.Type() = FieldType::Boolean then
InfoFieldRef.Value := ShouldCopyAllInformation;
end;
RecRef.Modify();
RecRef.SetTable(Rec);
// Start Event
OnAfterValidateShouldCopyAllInformation(Rec, ShouldCopyAllInformation);
// End Event
end;
Describe the request
I need an event at the end of procedure "ValidateShouldCopyAllInformation()".
New Event:
[IntegrationEvent(false, false)]
local procedure OnAfterValidateShouldCopyAllInformation(var CopyItemBuffer: Record "Copy Item Buffer"; ShouldCopyAllInfo: Boolean)
begin
end;
Internal work item: AB#611651