Skip to content

[W1][Codeunit][370][Bank Acc. Reconciliation Post] OnBeforeApplyVendLedgEntry event Requested #29597

@pandea04

Description

@pandea04

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 VendLedgerEntry: Record "Vendor Ledger Entry"; AppliedPaymentEntry: Record "Applied Payment Entry"; var BankAccount: Record "Bank Account"; AppliesToID: Code[50]; PostingDate: Date; PmtDiscDueDate: Date; PmtDiscToleranceDate: Date; RemPmtDiscPossible: Decimal; 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 
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) 
Image

to be added in procedure ApplyVendLedgEntry

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions