Table

VendInvoiceInfoLine_W

Vendor invoice lines country/region-specific extensions

Stores country-specific extra values for vendor invoice lines. It has one record per invoice line and links to VendInvoiceInfoLine. Its fields cover Brazil, Mexico, India, Poland, Russia and Hungary, and each country uses only its own fields.

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

Fields (41)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
VendInvoiceInfoLineSystem record ID of the vendor invoice line that these extension values belong to.Int64
RefRecId
NoVendInvoiceInfoLine.RecIdNone
AlcoholLicenseSeriesNum_RUAlcohol licence series and number, used for Russia.String (21)
AlcoholLicenseSeriesNum_RU
NoAlcoholLicenseTable_RU.LicenseSeriesNumNone
AssessableValue_INAssessable value of the line, used for India.Real
PurchLineAmount
NoNone
AssessableValueAccountingCurrency_INAssessable value in the company's accounting currency, used for India.Real
AmountMST
NoNone
CFDIBeneficiaryRetains_MXYes/No flag showing whether the payment beneficiary also retains the tax, used for Mexico.Enum
CFDIBeneficiaryRetains_MX
NoYes (enum)
NoNone
CFDIFinancialSystem_MXYes/No flag for the financial system in a CFDI withholding, used for Mexico.Enum
CFDIFinancialSystem_MX
NoYes (enum)
NoNone
CFDIInterestBelongsDerivedFinOp_MXYes/No flag showing whether the interest relates to derived financial operations, used for Mexico.Enum
CFDIInterestBelongsDerivedFinOp_MX
NoYes (enum)
NoNone
CFDIInterestCashedInTheCurrentPeriod_MXYes/No flag showing whether the interest was collected 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
CFOPTable_BRReference to the CFOP code (fiscal operation code) for the line, used for Brazil.Int64
RefRecId
NoCFOPTable_BR.RecIdVendorInvoiceLineEntity
CountryRegionName_RUShort name of a country or region, used for Russia.String (255)
LogisticsAddressCountryRegionShortName
NoNone
CreditSourceCode_BRSource of the credit base for a non-fiscal operation, such as goods for resale or leasing, used for Brazil.Enum
FBNonFiscalOpCreditSourceCode_BR (enum)
NoNone
CustomsBillOfEntryNumberTable_INReference to the customs bill of entry number, used for India.Int64
RefRecId
NoCustomsBillOfEntryNumberTable_IN.RecIdNone
CustomsImportInvoiceNumberTable_INReference to the customs import invoice number, used for India.Int64
RefRecId
NoCustomsImportInvoiceNumberTable_IN.RecIdNone
CustomsInvoiceRegnRecId_INReference to an invoice registration journal line for customs, used for India.Int64
RefRecId
NoCustomsInvoiceRegnTrans_IN.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeviationQty_RUQuantity deviation on the line, used for Russia.Real
PurchDeviationQty_RU
NoNone
DIAddition_BRAddition number from the import declaration, used for Brazil.String (5)
PurchDIAddition_BR
NoNone
DiotOperationTypeType of operation for the DIOT report, such as sales of goods or rent, used for Mexico.Enum
VendorOperationType_MX (enum)
NoVendorInvoiceLineEntity
FreightNature_BRNature of the freight operation, such as sales, purchase or transfer, used for Brazil.Enum
FreightNature_BR (enum)
NoNone
IntrastatFulfillmentDate_HUFulfilment date reported for Intrastat, used for Hungary.Date
IntrastatFulfillmentDate_HU
NoNone
InventProfileType_RUKind of activity for the item, such as basic, commission agent or bailee, used for Russia.Enum
InventProfileType_RU (enum)
NoNone
InvoiceGTDId_RUCustoms declaration (GTD) number, used for Russia.String (30)
CustFreeInvoiceGTDId_RU
NoNone
LedgerDimension_RUMain account, pointing to a ledger dimension combination, used for Russia.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
MarkupCode_RUCharges code applied to the line, used for Russia.String
MarkupCodeVend_RU
NoNone
MaximumRetailPrice_INMaximum retail price of the item, used for India.Real
MaximumRetailPrice_IN
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostingProfile_RUVendor posting profile for the line, used for Russia.String
VendPostingProfile
NoVendLedger.PostingProfileNone
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
SADInvoiceLineNo_PLLine position on the SAD invoice, used for Poland.Integer
PlSADInvoiceLineNo
NoNone
SADLineNo_PLLine position in the SAD document, used for Poland.Integer
PlSADLineNo
NoPlSADInvoice.SADInvoiceLineNoPlSADTrans.SADLineNoNone
SADNumberCode_PLCode of the SAD (customs) document, used for Poland.String (50)
PlSADNumberCode
NoPlSADTable.SADNumberCodeNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxServiceCode_BRService tax code for the line, used for Brazil.String
TaxServiceCodeId_BR
NoVendorInvoiceLineEntity
ValueFromSADInvoice_PLAmount in transaction currency taken from the SAD invoice, used for Poland.Real
AmountCur
NoNone
ValueFromSADTrans_PLAmount in transaction currency taken from the SAD transaction, used for Poland.Real
AmountCur
NoNone
WithholdingTypeCode_MXCode of the CFDI withholding type, used for Mexico.String (5)
CFDIWithholdingTypeCode_MX
NoCFDIWithholdingType_MX.CodeNone

Indexes (3)

Relations (14)

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

  • AlcoholLicenseTable_RU → AlcoholLicenseTable_RU

    Join on AlcoholLicenseSeriesNum_RU = AlcoholLicenseTable_RU.LicenseSeriesNum

    Many VendInvoiceInfoLine_W records → zero or one AlcoholLicenseTable_RU record

  • CFOPTable_BR → CFOPTable_BR

    Join on CFOPTable_BR = CFOPTable_BR.RecId

    Many VendInvoiceInfoLine_W records → zero or one CFOPTable_BR record

  • CustomsBillOfEntryNumberTable_IN → CustomsBillOfEntryNumberTable_IN

    Join on CustomsBillOfEntryNumberTable_IN = CustomsBillOfEntryNumberTable_IN.RecId

    Many VendInvoiceInfoLine_W records → zero or one CustomsBillOfEntryNumberTable_IN record

  • CustomsImportInvoiceNumberTable_IN → CustomsImportInvoiceNumberTable_IN

    Join on CustomsImportInvoiceNumberTable_IN = CustomsImportInvoiceNumberTable_IN.RecId

    Many VendInvoiceInfoLine_W records → zero or one CustomsImportInvoiceNumberTable_IN record

  • CustomsInvoiceRegnTrans_IN → CustomsInvoiceRegnTrans_IN

    Join on CustomsInvoiceRegnRecId_IN = CustomsInvoiceRegnTrans_IN.RecId

    Many VendInvoiceInfoLine_W records → zero or one CustomsInvoiceRegnTrans_IN record

  • LedgerDimension_RU → DimensionAttributeValueCombination

    Join on LedgerDimension_RU = DimensionAttributeValueCombination.RecId

    Many VendInvoiceInfoLine_W records → zero or one DimensionAttributeValueCombination record

  • LogisticsAddressCountryRegion_RU → LogisticsAddressCountryRegionTranslation

    Join on CountryRegionName_RU = LogisticsAddressCountryRegionTranslation.ShortName

    Many VendInvoiceInfoLine_W records → zero or one LogisticsAddressCountryRegionTranslation record

  • PlSADInvoice → PlSADInvoice

    Join on SADLineNo_PL = PlSADInvoice.SADInvoiceLineNo, SADNumberCode_PL = PlSADInvoice.SADNumberCode

    Many VendInvoiceInfoLine_W records → zero or one PlSADInvoice record

  • PlSADTable → PlSADTable

    Join on SADNumberCode_PL = PlSADTable.SADNumberCode

    Many VendInvoiceInfoLine_W records → zero or one PlSADTable record

  • PlSADTrans → PlSADTrans

    Join on SADLineNo_PL = PlSADTrans.SADLineNo, SADNumberCode_PL = PlSADTrans.SADNumberCode

    Many VendInvoiceInfoLine_W records → zero or one PlSADTrans record

  • VendInvoiceInfoLine → VendInvoiceInfoLine

    Join on VendInvoiceInfoLine = VendInvoiceInfoLine.RecId

    Zero or one VendInvoiceInfoLine_W record → exactly one VendInvoiceInfoLine record

  • VendLedger → VendLedger

    Join on PostingProfile_RU = VendLedger.PostingProfile

    Many VendInvoiceInfoLine_W records → exactly one VendLedger record

  • CFDIWithholdingType_MX → CFDIWithholdingType_MX

    Join on WithholdingTypeCode_MX = CFDIWithholdingType_MX.Code

    Many VendInvoiceInfoLine_W records → zero or one CFDIWithholdingType_MX record

  • TaxServiceCode_BR → TaxServiceCode_BR

    Join on TaxServiceCode_BR = TaxServiceCode_BR.ServiceCodeId

    Many VendInvoiceInfoLine_W records → zero or one TaxServiceCode_BR record

Get this data out

Tables are not exposed directly. These public entities read from VendInvoiceInfoLine_W; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk