ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Codeunit "Exch. Rate Adjmt. Process" - SetVATEntryFilters()

Open KennyTangBS opened this issue 2 years ago • 2 comments

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

KennyTangBS avatar Mar 18 '24 22:03 KennyTangBS

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.

JesperSchulz avatar Apr 17 '24 12:04 JesperSchulz

Availability update: We will publish a fix for this issue in the next update for release 24.

Build ID to track: 18616.

JesperSchulz avatar Apr 17 '24 13:04 JesperSchulz