Source AL, 1,235 lines
src/Layers/W1/BaseApp/Finance/VAT/Calculation/NonDedVATImpl.Codeunit.allines 27 to 42 of 1,235, Copyright (c) Microsoft Corporation. MIT
codeunit 6201 "Non-Ded. VAT Impl."{ Access = Internal; Permissions = tabledata "VAT Setup" = r; var GeneralLedgerSetup: Record "General Ledger Setup"; NonDeductibleVAT: Codeunit "Non-Deductible VAT"; FCYValueExceedsLimitErr: Label '%1 for %2 must not exceed %3 = %4.', Comment = '%1, %3 = Field caption, %2 = currency code, %4 = decimal value'; LCYValueExceedsLimitErr: Label '%1 must not exceed %2 = %3.', Comment = '%1, %2 = Field caption, %3 = decimal value'; TotalExceedsLimitErr: Label 'The total %1 for a document must not exceed the value %2 in the %3 field.', Comment = '%1, %2 = decimal values; %3 = field caption'; CannotBeNegativeErr: Label 'cannot be negative'; PrepaymentsWithNDVATErr: Label 'You cannot post prepayment that contains Non-Deductible VAT.'; UnrealizedVATWithNDVATErr: Label 'You cannot post unrealized VAT that contains Non-Deductible VAT.'; DifferentNonDedVATRatesSameVATIdentifierErr: Label 'You cannot set different Non-Deductible VAT % for the combinations of business and product groups with the same VAT identifier.\The following combination with the same VAT identifier has different Non-Deductible VAT %: business group %1, product group %2', Comment = '%1, %2 - codes';
All 1,235 lines
Public procedures 72 in 29
All 83 procedures in 22-29
Changes 12 in 26
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | 2 | 12 | | | |
|---|
| Reverse(InvoicePostBuffer: Record "Invoice Post. Buffer") | 22 to 25 |
| gone |
| Increment(var TotalInvoicePostBuffer: Record "Invoice Post. Buffer"; InvoicePostBuffer: Record "Invoice Post. Buffer") | 22 to 25 |
| gone |
| Update(var TotalNonDedVATBase: Decimal; var TotalNonDedVATAmount: Decimal; var TotalNonDedVATBaseACY: Decimal; var TotalNonDedVATAmountACY: Decimal; var TotalNonDedVATDiff: Decimal; InvoicePostBuffer: Record "Invoice Post. Buffer") | 22 to 25 |
| gone |
| SetNonDeductibleVAT(var InvoicePostBuffer: Record "Invoice Post. Buffer"; TotalNonDedVATBase: Decimal; TotalNonDedVATAmount: Decimal; TotalNonDedVATBaseACY: Decimal; TotalNonDedVATAmountACY: Decimal; TotalNonDedVATDiff: Decimal) | 22 to 25 |
| gone |
| ClearNonDeductibleVAT(var InvoicePostBuffer: Record "Invoice Post. Buffer") | 22 to 25 |
| gone |
| Update(var InvoicePostBuffer: Record "Invoice Post. Buffer"; var ReminderInvoicePostBuffer: Record "Invoice Post. Buffer"; AmountRoundingPrecision: Decimal) | 22 to 25 |
| gone |
All 14 changes in 22-29