Please include sender in the function OnBeforeValidateIncludeHeader:

[IntegrationEvent(true, false)]
local procedure OnBeforeValidateIncludeHeader(var DoIncludeHeader: Boolean; DocType: Option; var PurchHeader: Record "Purchase Header"; FromPurchHeader: Record "Purchase Header")
begin
end;
0
© 2022 pullanswer.com - All rights reserved.