Table

VendInvoiceTrans_W

Posted vendor invoice lines for other country contexts

Adds country-specific data to posted vendor invoice lines. It holds original invoice details used for Malaysia and CFDI withholding and interest details used for Mexico. Each record links to a posted vendor invoice line.

Table name
VendInvoiceTrans_W
Module
Accounts payable
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CFDIBeneficiaryRetains_MXYes or no value showing whether the payment beneficiary is the one who retains the tax, used for Mexico.Enum
CFDIBeneficiaryRetains_MX
NoYes (enum)
NoNone
CFDIFinancialSystem_MXYes or no value for the financial system in CFDI withholding, used for Mexico.Enum
CFDIFinancialSystem_MX
NoYes (enum)
NoNone
CFDIInterestBelongsDerivedFinOp_MXYes or no value showing whether the interest relates to derived financial operations, used for Mexico.Enum
CFDIInterestBelongsDerivedFinOp_MX
NoYes (enum)
NoNone
CFDIInterestCashedInTheCurrentPeriod_MXYes or no value showing whether the interest was cashed in the current period, used for Mexico.Enum
CFDIInterestCashedInTheCurrentPeriod_MX
NoYes (enum)
NoNone
CFDIInterestLossAmount_MXAmount of interest loss, used for Mexico.Real
CFDIInterestLossAmount_MX
NoNone
CFDIInterestNominalAmount_MXNominal amount of interest, used for Mexico.Real
CFDIInterestNominalAmount_MX
NoNone
CFDIInterestRealAmount_MXReal amount of interest, used for Mexico.Real
CFDIInterestRealAmount_MX
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefInvoiceDate_MYDate of the original invoice, used for Malaysia.Date
TransDate
NoNone
RefInvoiceId_MYNumber of the original invoice, used for Malaysia.String (50)
InvoiceId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendInvoiceTransPoints to the posted vendor invoice line this record extends.Int64
RefRecId
NoVendInvoiceTrans.RecIdNone
WithholdingTypeCode_MXCode of the withholding type, used for Mexico.String (5)
CFDIWithholdingTypeCode_MX
NoCFDIWithholdingType_MX.CodeNone

Indexes (1)

Relations (2)

Each relation joins VendInvoiceTrans_W to another table on the fields shown.

  • VendInvoiceTrans → VendInvoiceTrans

    Join on VendInvoiceTrans = VendInvoiceTrans.RecId

    Exactly one VendInvoiceTrans_W record → exactly one VendInvoiceTrans record

  • CFDIWithholdingType_MX → CFDIWithholdingType_MX

    Join on WithholdingTypeCode_MX = CFDIWithholdingType_MX.Code

    Many VendInvoiceTrans_W records → zero or one CFDIWithholdingType_MX record

Get this data out

No public entity reads from VendInvoiceTrans_W. Its data is only reachable through the application, a custom entity or a database export.

Need help with VendInvoiceTrans_W in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk