Codeunit 6200 Non-Deductible VAT

Base Application, Microsoft.Finance.VAT.Calculation

71 procedures

ProcedureVersions
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
GetNonDeductibleVATPct(VATBusPostGroupCode: Code[20]; VATProdPostGroupCode: Code[20]; DeferralDocType: Enum "Deferral Document Type"): Decimalnew in 22
GetNonDeductibleVATAccForDeferrals(DeferralDocType: Enum "Deferral Document Type"; PostingGLAccountNo: Code[20]; VATPostingSetup: Record "VAT Posting Setup"): Code[20]new in 22
GetNonDeductibleVATAmountForItemCost(PurchaseLine: Record "Purchase Line"): Decimalnew in 22
GetNonDeductibleAmount(Amount: Decimal; NonDeductiblePercent: Decimal; AmountRoundingPrecision: Decimal; var Rounding: Decimal): Decimalnew in 22
SetNonDeductiblePct(var PurchaseLine: Record "Purchase Line")new in 22
SetNonDedVATAmountInPurchLine(var PurchaseLine: Record "Purchase Line"; NonDeductibleVATAmount: Decimal)new in 22
SetNonDedVATAmountDiffInPurchLine(var PurchaseLine: Record "Purchase Line"; var VATAmountLineRemainder: Record "VAT Amount Line"; var VATDifference: Decimal; VATAmountLine: Record "VAT Amount Line"; Currency: Record Currency; Part: Decimal; Total: Decimal)new in 22
SetNonDeductibleVAT(var InvoicePostingBuffer: Record "Invoice Posting Buffer"; TotalNonDedVATBase: Decimal; TotalNonDedVATAmount: Decimal; TotalNonDedVATBaseACY: Decimal; TotalNonDedVATAmountACY: Decimal; TotalNonDedVATDiff: Decimal)new in 22
SetNonDedVATInVATEntry(var VATEntry: Record "VAT Entry"; NonDedBase: Decimal; NonDedVATAmount: Decimal; SrcCurrNonDedBaseAmount: Decimal; SrcCurrNonDedVATAmount: Decimal; NonDedVATDiff: Decimal; NonDedVATDiffACY: Decimal)new in 22
Init(var NonDedVATBase: Decimal; var NonDedVATAmount: Decimal; var NonDedVATBaseACY: Decimal; var NonDedVATAmountACY: Decimal; var NonDedVATDiff: Decimal; PurchaseLine: Record "Purchase Line"; PurchaseLineACY: Record "Purchase Line")new in 22
InitNonDeductibleVATDiff(var PurchaseLine: Record "Purchase Line")new in 22
Update(var PurchaseLine: Record "Purchase Line"; var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary; Currency: Record Currency)new in 22
Update(var PurchaseLine: Record "Purchase Line"; Currency: Record Currency)new in 22
Update(var PurchaseLine: Record "Purchase Line"; Part: Decimal; Total: Decimal; AmountRoundingPrecision: Decimal)new in 22
Update(var TotalNonDedVATBase: Decimal; var TotalNonDedVATAmount: Decimal; var TotalNonDedVATBaseACY: Decimal; var TotalNonDedVATAmountACY: Decimal; var TotalNonDedVATDiff: Decimal; InvoicePostingBuffer: Record "Invoice Posting Buffer")new in 22
Update(var VATAmountLine: Record "VAT Amount Line"; Currency: Record Currency)new in 22
Update(var InvoicePostingBuffer: Record "Invoice Posting Buffer"; var RemainderInvoicePostingBuffer: Record "Invoice Posting Buffer"; AmountRoundingPrecision: Decimal)new in 22
DivideNonDeductibleVATInPurchaseLine(var PurchaseLine: Record "Purchase Line"; var VATAmountLineRemainder: Record "VAT Amount Line"; VATAmountLine: Record "VAT Amount Line"; Currency: Record Currency; Part: Decimal; Total: Decimal)new in 22
ValidateVATAmountInVATAmountLine(var VATAmountLine: Record "VAT Amount Line")new in 22
ValidateNonDeductibleVATInVATAmountLine(var VATAmountLine: Record "VAT Amount Line")new in 22
UpdateNonDeductibleAmountsWithDiffInVATAmountLine(var VATAmountLine: Record "VAT Amount Line"; Currency: Record Currency)new in 22
GetNonDedVATAmountFromVATAmountLine(var VATAmountLineRemainder: Record "VAT Amount Line"; VATAmountLine: Record "VAT Amount Line"; Currency: Record Currency; Part: Decimal; Total: Decimal): Decimalnew in 22
AddNonDedAmountsOfPurchLineToVATAmountLine(var VATAmountLine: Record "VAT Amount Line"; var VATAmountLineRemainder: Record "VAT Amount Line"; PurchaseLine: Record "Purchase Line"; Currency: Record Currency; Part: Decimal; Total: Decimal)new in 22
CopyNonDedVATFromPurchInvLineToVATAmountLine(var VATAmountLine: Record "VAT Amount Line"; PurchInvLine: Record "Purch. Inv. Line")new in 22
CopyNonDedVATFromPurchCrMemoLineToVATAmountLine(var VATAmountLine: Record "VAT Amount Line"; PurchCrMemoLine: Record "Purch. Cr. Memo Line")new in 22
CopyNonDedVATAmountFromGenJnlLineToGLEntry(var GLEntry: Record "G/L Entry"; GenJournalLine: Record "Gen. Journal Line")new in 22
CheckPrepmtWithNonDeductubleVATInPurchaseLine(PurchaseLine: Record "Purchase Line")new in 22
CheckPrepmtVATPostingSetup(VATPostingSetup: Record "VAT Posting Setup")new in 22
CheckUnrealizedVATWithNonDeductibleVATInVATPostingSetup(VATPostingSetup: Record "VAT Posting Setup")new in 22
CheckVATPostingSetupChangeIsAllowed(VATPostingSetup: Record "VAT Posting Setup")new in 22
CheckNonDeductibleVATAmountDiff(var TempVATAmountLine: Record "VAT Amount Line" temporary; xTempVATAmountLine: Record "VAT Amount Line" temporary; AllowVATDifference: Boolean; Currency: Record Currency)new in 22
DeductNonDedValuesFromVATAmountLine(var TotalVATAmountLine: Record "VAT Amount Line"; VATAmountLineDeduct: Record "VAT Amount Line")new in 22
Reverse(var PurchaseLine: Record "Purchase Line")new in 22
Reverse(var InvoicePostingBuffer: Record "Invoice Posting Buffer")new in 22
Reverse(var GLEntry: Record "G/L Entry"; GLEntryToReverse: Record "G/L Entry")new in 22
Reverse(var VATEntry: Record "VAT Entry")new in 22
Increment(var TotalVATAmountLine: Record "VAT Amount Line"; VATAmountLine: Record "VAT Amount Line")new in 22
Increment(var TotalPurchaseLine: Record "Purchase Line"; PurchaseLine: Record "Purchase Line")new in 22
Increment(var TotalInvoicePostingBuffer: Record "Invoice Posting Buffer"; InvoicePostingBuffer: Record "Invoice Posting Buffer")new in 22
RoundNonDeductibleVAT(PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"; TotalPurchaseLine: Record "Purchase Line"; TotalPurchaseLineLCY: Record "Purchase Line")new in 22
ClearNonDeductibleVAT(var PurchaseLine: Record "Purchase Line")new in 22
ClearNonDeductibleVAT(var InvoicePostingBuffer: Record "Invoice Posting Buffer")new in 22
ClearNonDedVATACYInVATEntry(var VATEntry: Record "VAT Entry")new in 22
ValidateNonDedVATPctInGenJnlLine(var GenJournalLine: Record "Gen. Journal Line")new in 22
Calculate(var GenJournalLine: Record "Gen. Journal Line"; Currency: Record Currency)new in 22
Calculate(var InvoicePostingBuffer: Record "Invoice Posting Buffer")new in 22
Calculate(var NonDeductibleBaseAmount: Decimal; var NonDeductibleVATAmount: Decimal; var NonDeductibleVATAmtPerUnit: Decimal; var NonDeductibleVATAmtPerUnitLCY: Decimal; var NDVATAmountRounding: Decimal; var NDVATBaseRounding: Decimal; PurchHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line")new in 22
Copy(var InvoicePostingBuffer: Record "Invoice Posting Buffer"; PurchaseLine: Record "Purchase Line")new in 22
Copy(var VATEntry: Record "VAT Entry"; GenJournalLine: Record "Gen. Journal Line")new in 22
Copy(var GenJournalLine: Record "Gen. Journal Line"; InvoicePostingBuffer: Record "Invoice Posting Buffer")new in 22
AdjustVATAmountsFromGenJnlLine(var VATAmount: Decimal; var BaseAmount: Decimal; var VATAmountACY: Decimal; var BaseAmountACY: Decimal; var GenJournalLine: Record "Gen. Journal Line")new in 22
AdjustRoundingForInvoicePostingBufferUpdate(var RoundingInvoicePostingBuffer: Record "Invoice Posting Buffer"; var CurrInvoicePostingBuffer: Record "Invoice Posting Buffer")new in 22
UseNonDeductibleVATAmountForFixedAssetCost(): Booleannew in 22
UseNonDeductibleVATAmountForJobCost(): Booleannew in 22
ApplyRoundingForFinalPostingFromInvoicePostingBuffer(var RoundingInvoicePostingBuffer: Record "Invoice Posting Buffer"; var CurrInvoicePostingBuffer: Record "Invoice Posting Buffer")new in 22
GetNonDeductibleVATBaseBothCurrencies(var NonDedVATBase: Decimal; var NonDedVATBaseACY: Decimal; VATEntry: Record "VAT Entry")new in 22
SetNonDeductibleVATAmount(var VATEntry: Record "VAT Entry"; NonDedVATAmount: Decimal; NonDedVATAmountACY: Decimal)new in 22
SetNonDeductibleVATBase(var VATEntry: Record "VAT Entry"; NonDedVATBase: Decimal; NonDedVATBaseACY: Decimal)new in 22
CheckNonDeductibleVATPctIsAllowed(PurchaseLine: Record "Purchase Line")new in 22
ValidateBalNonDedVATPctInGenJnlLine(var GenJournalLine: Record "Gen. Journal Line")new in 22
CalculateBalAcc(var GenJournalLine: Record "Gen. Journal Line"; Currency: Record Currency)new in 22
ExchangeAccGLJournalLine(var GenJournalLine: Record "Gen. Journal Line"; CopiedGenJournalLine: Record "Gen. Journal Line")new in 22
CopyNonDedVATFromGenJnlLineToFALedgEntry(var FALedgEntry: Record "FA Ledger Entry"; GenJnlLine: Record "Gen. Journal Line")new in 25
IsNonDedFALedgEntryInFirstAcquisition(FALedgEntry: Record "FA Ledger Entry"): Booleannew in 25
CopyNonDedVATFromGenJnlLineToJobJnlLine(var JobJnlLine: Record "Job Journal Line"; GenJnlLine: Record "Gen. Journal Line")new in 26