-
Notifications
You must be signed in to change notification settings - Fork 687
Description
Why do you need this change?
Business Requirement:
Current solution requires to change the logic of application in Vendor Ledger Entry, for Bank Account Reconciliation.
Current Limitation:
The existing functionality in BC does not allow to change the logic of the method that posts application of Vendor Ledger Entry and add additional validation
Microsoft Idea Proposal Document - Bank Account Reconciliation.docx
Describe the request
Requesting even to be added on Bank Acc. Reconciliation Post
Requested Integration Event
[IntegrationEvent(false, false)]
local procedure OnBeforeApplyVendLedgEntry(var VendLedgEntry: Record "Vendor Ledger Entry"; AppliedPmtEntry: Record "Applied Payment Entry"; var BankAcc: Record "Bank Account"; AppliesToID: Code[50]; PostingDate: Date; PmtDiscDueDate: Date; PmtDiscToleranceDate: Date; RemPmtDiscPossible: Decimal;var PreviewMode:Boolean;var IsHandled: Boolean)
begin
end;
This event will allow to add additional logic for the amount that needs to be applied for logical data flow to be added in
, adding IsHandled
IsHandled := false;
OnBeforeApplyVendLedgEntry(VendLedgEntry, AppliedPmtEntry, BankAcc, AppliesToID, PostingDate, PmtDiscDueDate, PmtDiscToleranceDate, RemPmtDiscPossible, PreviewMode,IsHandled);
if IsHandled then
exit;
procedure ApplyVendLedgEntry(AppliedPmtEntry: Record "Applied Payment Entry"; AppliesToID: Code[50]; PostingDate: Date; PmtDiscDueDate: Date; PmtDiscToleranceDate: Date; RemPmtDiscPossible: Decimal)
similar to ApplyCustLedgEntry(AppliedPmtEntry: Record "Applied Payment Entry"; AppliesToID: Code[50]; PostingDate: Date; PmtDiscDueDate: Date; PmtDiscToleranceDate: Date; RemPmtDiscPossible: Decimal)
to be added in procedure ApplyVendLedgEntry
Internal work item: AB#619542