-
Notifications
You must be signed in to change notification settings - Fork 693
Open
Labels
SCMGitHub request for SCM areaGitHub request for SCM areaevent-requestRequest for adding an eventRequest for adding an event
Description
Why do you need this change?
We have additional amounts in the "Gen. Journal Line" table that need to be divided when creating multiple FA cards on a purchase invoice.
Describe the request
We suggest new event OnSplitFAOnBeforeGenJnlPostLine in the SplitFA procedure.
...
CalcSplitAmount(
GenJnlLine."VAT Difference", GenJnlLine2."VAT Difference", TotalGenJnlLine."VAT Difference", I, SplitNo);
CalcSplitAmount(
GenJnlLine."Salvage Value", GenJnlLine2."Salvage Value", TotalGenJnlLine."Salvage Value", I, SplitNo);
//new integration event
OnSplitFAOnBeforeGenJnlPostLine(GenJnlLine, GenJnlLine2, TotalGenJnlLine, I, SplitNo);
RunGenJnlPostLine(GenJnlLine, GenJnlPostLine);
end;
end;
...
[IntegrationEvent(false, false)]
local procedure OnSplitFAOnBeforeGenJnlPostLine(var GenJnlLine: Record "Gen. Journal Line"; var GenJnlLine2: Record "Gen. Journal Line"; var TotalGenJnlLine: Record "Gen. Journal Line"; I: Integer; SplitNo: Integer)
begin
end;
Internal work item: AB#626298
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
SCMGitHub request for SCM areaGitHub request for SCM areaevent-requestRequest for adding an eventRequest for adding an event