Open 19sam88 opened 1 month ago
Hello, we would like to make a request for an event in codeunit 12184 for the function BuildSelfBillingDocPageSource.
procedure BuildSelfBillingDocPageSource(var TempVATEntry: Record "VAT Entry" temporary; DateFilter: Text[30]) var FatturaSetup: Record "Fattura Setup"; VATEntry: Record "VAT Entry"; begin FatturaSetup.VerifyAndSetData(); TempVATEntry.Reset(); TempVATEntry.DeleteAll(); VATEntry.SetCurrentKey("Document No.", "Posting Date", "Unrealized VAT Entry No."); VATEntry.SetRange("VAT Bus. Posting Group", FatturaSetup."Self-Billing VAT Bus. Group"); VATEntry.SetRange(Type, VATEntry.Type::Sale); VATEntry.SetRange("VAT Calculation Type", VATEntry."VAT Calculation Type"::"Reverse Charge VAT"); VATEntry.SetFilter("Document Type", '%1|%2', VATEntry."Document Type"::Invoice, VATEntry."Document Type"::"Credit Memo"); VATEntry.SetFilter("Posting Date", DateFilter);
add an event here to set or change other filters onBeforeBuildVATEntryBufferWithLinks(TempVATEntry, VATEntry)
BuildVATEntryBufferWithLinks(TempVATEntry, VATEntry); end;
The scope is to let filter once all reverse charge VAT Business Groups. Now the user must set in Fattura Setup every single posting group Internal work item: AB#543322
✅ Successfully linked to Azure Boards work item(s):
Describe the request
Hello, we would like to make a request for an event in codeunit 12184 for the function BuildSelfBillingDocPageSource.
add an event here to set or change other filters onBeforeBuildVATEntryBufferWithLinks(TempVATEntry, VATEntry)
Additional context
The scope is to let filter once all reverse charge VAT Business Groups. Now the user must set in Fattura Setup every single posting group Internal work item: AB#543322