Share via


Table "VAT Posting Parameters"

ID 187
Namespace: Microsoft.Finance.VAT.Calculation

Properties

Name Value
TableType Temporary
DataClassification CustomerContent

Fields

Name Type Description
"Primary Key" Code[10]
"Full VAT Amount" Decimal
"Full VAT Amount ACY" Decimal
"Source Currency Code" Code[10]
"Unrealized VAT" Boolean
"Deductible VAT Amount" Decimal
"Deductible VAT Amount ACY" Decimal
"Non-Deductible VAT Amount" Decimal
"Non-Deductible VAT Amount ACY" Decimal
"Non-Deductible VAT %" Decimal
"Non-Ded. Purchase VAT Account" Code[20]
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

InsertRecord

procedure InsertRecord(GenJournalLine: Record "Gen. Journal Line", VATPostingSetup: Record "VAT Posting Setup", FullVATAmount: Decimal, FullVATAmountACY: Decimal, SrcCurrCode: Code[10], UnrealizedVAT: Boolean, DeductibleVATAmount: Decimal, DeductibleVATAmountACY: Decimal, NonDeductibleVATAmount: Decimal, NonDeductibleVATAmountACY: Decimal)

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
FullVATAmount Decimal
FullVATAmountACY Decimal
SrcCurrCode Code[10]
UnrealizedVAT Boolean
DeductibleVATAmount Decimal
DeductibleVATAmountACY Decimal
NonDeductibleVATAmount Decimal
NonDeductibleVATAmountACY Decimal

Events

OnBeforeInsertVATPostingBuffer

[IntegrationEvent(False,False)]
procedure OnBeforeInsertVATPostingBuffer(var VATPostingParameters: Record "VAT Posting Parameters" temporary, GenJournalLine: Record "Gen. Journal Line", VATPostingSetup: Record "VAT Posting Setup", FullVATAmount: Decimal, FullVATAmountACY: Decimal, SrcCurrCode: Code[10], UnrealizedVAT: Boolean, DeductibleVATAmount: Decimal, DeductibleVATAmountACY: Decimal, NonDeductibleVATAmount: Decimal, NonDeductibleVATAmountACY: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
VATPostingParameters Table Microsoft.Finance.VAT.Calculation."VAT Posting Parameters"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VATPostingSetup Table Microsoft.Finance.VAT.Setup."VAT Posting Setup"
FullVATAmount Decimal
FullVATAmountACY Decimal
SrcCurrCode Code[10]
UnrealizedVAT Boolean
DeductibleVATAmount Decimal
DeductibleVATAmountACY Decimal
NonDeductibleVATAmount Decimal
NonDeductibleVATAmountACY Decimal
IsHandled Boolean

See also