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
Please add the parameter "ArchSalesHead" to the publisher OnBeforeCalcHeaderAmount.
Previous Code
IsHandled := false;
OnBeforeCalcHeaderAmount(SalesHead, _TableType, Result, IsHandled);
if IsHandled then
exit(Result);
...
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcHeaderAmount(SalesHeader: Record "Sales Header"; _TableType: Integer; var Result: Decimal; var IsHandled: Boolean)
begin
end;
New Code
IsHandled := false;
OnBeforeCalcHeaderAmount(SalesHead, ArchSalesHead, _TableType, Result, IsHandled);
if IsHandled then
exit(Result);
...
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcHeaderAmount(SalesHeader: Record "Sales Header"; ArchSalesHeader: Record "Sales Header Archive"; _TableType: Integer; var Result: Decimal; var IsHandled: Boolean)
begin
end;
Additional context
We need the "Sales Header Archive" Record to calculate the Header Amount, for when "_TableType" is DATABASE::"Sales Header Archive".
The text was updated successfully, but these errors were encountered:
Describe the request
Please add the parameter "ArchSalesHead" to the publisher OnBeforeCalcHeaderAmount.
Previous Code
New Code
Additional context
We need the "Sales Header Archive" Record to calculate the Header Amount, for when "_TableType" is DATABASE::"Sales Header Archive".
The text was updated successfully, but these errors were encountered: