Closed vladsandortnp closed 1 month ago
✅ Successfully linked to Azure Boards work item(s):
Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 22786.
Describe the request
Can you please add event OnAfterAppliedPaymentEntryFilterGetTotalAppliedAmountInclPmtDisc in procedure GetTotalAppliedAmountInclPmtDisc
Event Publisher would be:
[IntegrationEvent(false, false)] local procedure OnAfterAppliedPaymentEntryFilterGetTotalAppliedAmountInclPmtDisc(var AppliedPaymentEntry: Record "Applied Payment Entry"; AppliedPaymentEntryRec: Record "Applied Payment Entry") begin end;
The procedure would look like:
` procedure GetTotalAppliedAmountInclPmtDisc(IsDelete: Boolean): Decimal var AppliedPaymentEntry: Record "Applied Payment Entry"; TotalAmountIncludingPmtDisc: Decimal; begin AppliedPaymentEntry.SetRange("Statement Type", "Statement Type"); AppliedPaymentEntry.SetRange("Statement No.", "Statement No."); AppliedPaymentEntry.SetRange("Statement Line No.", "Statement Line No."); AppliedPaymentEntry.SetRange("Bank Account No.", "Bank Account No."); AppliedPaymentEntry.SetRange("Account Type", "Account Type"); AppliedPaymentEntry.SetRange("Account No.", "Account No."); AppliedPaymentEntry.SetFilter("Applies-to Entry No.", '<>%1', "Applies-to Entry No."); OnAfterAppliedPaymentEntryFilterGetTotalAppliedAmountInclPmtDisc(AppliedPaymentEntry, Rec);
Additional context
We want to be able to apply additional filters to the record Internal work item: AB#542663