ALAppExtensions
ALAppExtensions copied to clipboard
[Events Request] Table 39 "Purchase Line" procedure GetDate - OnBeforeGetDate
procedure GetDate() ResultDate: Date
var
IsHandled: Boolean;
begin
IsHandled := false;
OnBeforeGetDate(ResultDate, IsHandled);
if IsHandled then
exit(ResultDate);
GetPurchHeader();
if PurchHeader."Posting Date" <> 0D then
exit(PurchHeader."Posting Date");
exit(WorkDate());
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeGetDate(var ResultDate: Date; var IsHandled: Boolean)
begin
end;
Availability update: We will publish a fix for this issue in the next update for release 22.
Build ID to track: 56679.