[Event Request] Codeunit "Exch. Rate Adjmt. Process" - SetVATEntryFilters()
Describe the request
Please add a new integration event OnAfterSetVATEntryFilters() with parameter VATEntry in the Codeunit "Exch. Rate Adjmt. Process"
Example:
local procedure SetVATEntryFilters(var VATEntry: Record "VAT Entry"; StartDate: Date; EndDate: Date)
begin
if not
VATEntry.SetCurrentKey(
Type, Closed, "VAT Bus. Posting Group", "VAT Prod. Posting Group", "Posting Date")
then
VATEntry.SetCurrentKey(
Type, Closed, "Tax Jurisdiction Code", "Use Tax", "Posting Date");
VATEntry.SetRange(Closed, false);
VATEntry.SetRange("Posting Date", StartDate, EndDate);
OnAfterSetVATEntryFilters(VATEntry);
end;
[IntegrationEvent(false, false)]
local procedure OnAfterSetVATEntryFilters(var VATEntry: Record "VAT Entry")
begin
end;
Additional context
This request is to add more filters of the VAT Entry records.
Internal work item: AB#507933
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: 18615.
Availability update: We will publish a fix for this issue in the next update for release 24.
Build ID to track: 18616.