Table 290 VAT Amount Line

Base Application, Microsoft.Finance.VAT.Calculation

32 procedures

ProcedureVersions
CheckVATDifference(NewCurrencyCode: Code[10]; NewAllowVATDifference: Boolean)17-29
InsertLine(): Boolean17-29
InsertNewLine(VATIdentifier: Code[20]; VATCalcType: Enum "Tax Calculation Type"; TaxGroupCode: Code[20]; UseTax: Boolean; TaxRate: Decimal; IsPositive: Boolean; IsPrepayment: Boolean)gone after 25
Pending, tag 23.0, obsolete since 22: Replaced with InsertNewLine with NonDeductibleVATPct parameter
GetLine(Number: Integer)17-29
VATAmountText(): Text[30]17-29
GetTotalLineAmount(SubtractVAT: Boolean; CurrencyCode: Code[10]): Decimal17-29
GetTotalVATAmount(): Decimal17-29
GetTotalInvDiscAmount(): Decimal17-29
GetTotalInvDiscBaseAmount(SubtractVAT: Boolean; CurrencyCode: Code[10]): Decimal17-29
GetTotalVATBase(): Decimal17-29
GetTotalAmountInclVAT(): Decimal17-29
GetTotalVATDiscount(CurrencyCode: Code[10]; NewPricesIncludingVAT: Boolean): Decimal17-29
GetAnyLineModified(): Boolean17-29
SetInvoiceDiscountAmount(NewInvoiceDiscount: Decimal; NewCurrencyCode: Code[10]; NewPricesIncludingVAT: Boolean; NewVATBaseDiscPct: Decimal)17-29
SetInvoiceDiscountPercent(NewInvoiceDiscountPct: Decimal; NewCurrencyCode: Code[10]; NewPricesIncludingVAT: Boolean; CalcInvDiscPerVATID: Boolean; NewVATBaseDiscPct: Decimal)17-29
CalcLineAmount(): Decimal17-29
CalcVATFields(NewCurrencyCode: Code[10]; NewPricesIncludingVAT: Boolean; NewVATBaseDiscPct: Decimal)17-29
GetBaseLCY(PostingDate: Date; CurrencyCode: Code[10]; CurrencyFactor: Decimal): Decimal17-29
GetAmountLCY(PostingDate: Date; CurrencyCode: Code[10]; CurrencyFactor: Decimal): Decimal17-29
DeductVATAmountLine(var VATAmountLineDeduct: Record "VAT Amount Line")17-29
SumLine(LineAmount: Decimal; InvDiscAmount: Decimal; VATDifference: Decimal; AllowInvDisc: Boolean; Prepayment: Boolean)gone after 27
Pending, tag 25.0, obsolete since 25: Replaced by procedures using Source Record.
UpdateLines(var TotalVATAmount: Decimal; Currency: Record Currency; CurrencyFactor: Decimal; PricesIncludingVAT: Boolean; VATBaseDiscountPercHeader: Decimal; TaxAreaCode: Code[20]; TaxLiable: Boolean; PostingDate: Date)17-29changed in 22
CopyFromPurchInvLine(PurchInvLine: Record "Purch. Inv. Line")17-29
CopyFromPurchCrMemoLine(PurchCrMemoLine: Record "Purch. Cr. Memo Line")17-29
CopyFromSalesInvLine(SalesInvoiceLine: Record "Sales Invoice Line")17-29changed in 22
CopyFromSalesCrMemoLine(SalesCrMemoLine: Record "Sales Cr.Memo Line")17-29
CopyFromServInvLine(ServiceInvoiceLine: Record "Service Invoice Line")gone after 27changed in 22
Pending, tag 25.0, obsolete since 25: Replaced by procedure CopyToVATAmountLine in table Service Invoice Line
CopyFromServCrMemoLine(ServiceCrMemoLine: Record "Service Cr.Memo Line")gone after 27changed in 22
Pending, tag 25.0, obsolete since 25: Replaced by procedure CopyToVATAmountLine in table Service Cr.Memo Line
InsertNewLine(VATIdentifier: Code[20]; VATCalcType: Enum "Tax Calculation Type"; TaxGroupCode: Code[20]; UseTax: Boolean; TaxRate: Decimal; IsPositive: Boolean; IsPrepayment: Boolean; NonDeductibleVATPct: Decimal)22 to 28
Pending, tag 26.0, obsolete since 26: Replaced by procedures using Source Record.
internal RunOnAfterCopyFromServInvLine(var VATAmountLine: Record "VAT Amount Line"; ServiceInvoiceLine: Record "Service Invoice Line")25 to 27
internal RunOnAfterCopyFromServCrMemoLine(var VATAmountLine: Record "VAT Amount Line"; ServiceCrMemoLine: Record "Service Cr.Memo Line")25 to 27
internal ApplyNonDeductibleVAT(NonDeductibleVAT: Decimal)new in 26