Codeunit 6200 Non-Deductible VAT

Base Application, Microsoft.Finance.VAT.Calculation

Source AL, 919 lines

src/Layers/W1/BaseApp/Finance/VAT/Calculation/NonDeductibleVAT.Codeunit.allines 23 to 38 of 919, Copyright (c) Microsoft Corporation. MIT

codeunit 6200 "Non-Deductible VAT"{    Access = Public;    var        NonDedVATImpl: Codeunit "Non-Ded. VAT Impl.";    /// <summary>    /// Returns true if the Non-Deductible VAT functionality is enabled    /// </summary>    /// <returns>if the feature is fully enabled</returns>    procedure IsNonDeductibleVATEnabled(): Boolean    begin        exit(NonDedVATImpl.IsNonDeductibleVATEnabled());    end;

All 919 lines

Events 25 in 29

[IntegrationEvent] OnBeforeGetNonDeductibleVATPctForPurchLine(var NonDeductibleVATPct: Decimal; PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)new in 22
[IntegrationEvent] OnBeforeGetNonDedVATPctForGenJnlLine(var NonDeductibleVATPct: Decimal; GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)new in 22
[IntegrationEvent] OnBeforeGetBalNonDedVATPctForGenJnlLine(var NonDeductibleVATPct: Decimal; GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)new in 22
[IntegrationEvent] OnBeforeGetNonDeductibleVATPctForDeferrals(var NonDeductibleVATPct: Decimal; VATBusPostGroupCode: Code[20]; VATProdPostGroupCode: Code[20]; DeferralDocType: Enum "Deferral Document Type"; var IsHandled: Boolean)new in 22
[IntegrationEvent] OnBeforeCalcNonDedAmountsInGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; Currency: Record Currency; var IsHandled: Boolean)new in 22
[IntegrationEvent] OnBeforeCalcBalNonDedAmountsInGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; Currency: Record Currency; var IsHandled: Boolean)new in 22
[IntegrationEvent] OnBeforeGetNonDeductibleVATPct(var NonDeductibleVATPct: Decimal; VATPostingSetup: Record "VAT Posting Setup"; GeneralPostingType: Enum "General Posting Type"; var IsHandled: Boolean)new in 22

All 25 events

Public procedures 71 in 29

IsNonDeductibleVATEnabled(): Booleannew in 22
ShowNonDeductibleVATInLines(): Booleannew in 22
GetNonDeductibleVATAmount(PurchaseLine: Record "Purchase Line"): Decimalnew in 22
GetNonDeductibleVATPct(VATBusPostGroupCode: Code[20]; VATProdPostGroupCode: Code[20]; GeneralPostingType: Enum "General Posting Type")new in 22
GetNonDeductibleVATPct(VATPostingSetup: Record "VAT Posting Setup"): Decimalnew in 22
GetNonDeductibleVATAmount(GenJournalLine: Record "Gen. Journal Line"): Decimalnew in 22

All 82 procedures in 22-29

Changes 1 in 28

List17181920212223242526272829
Procedures212
Events1
[IntegrationEvent] OnAfterCalcRevChargeVATAmountInPurchLine(PurchaseLine: Record "Purchase Line"; var VATAmount: Decimal)new in 28
added

All 15 changes in 22-29