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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
VendInvoiceInfoLineSystem record ID of the vendor invoice line that these extension values belong to. | Int64RefRecId | No | VendInvoiceInfoLine.RecId | None |
AlcoholLicenseSeriesNum_RUAlcohol licence series and number, used for Russia. | String (21)AlcoholLicenseSeriesNum_RU | No | AlcoholLicenseTable_RU.LicenseSeriesNum | None |
AssessableValue_INAssessable value of the line, used for India. | RealPurchLineAmount | No | None | |
AssessableValueAccountingCurrency_INAssessable value in the company's accounting currency, used for India. | RealAmountMST | No | None | |
CFDIBeneficiaryRetains_MXYes/No flag showing whether the payment beneficiary also retains the tax, used for Mexico. | EnumCFDIBeneficiaryRetains_MXNoYes (enum) | No | None | |
CFDIFinancialSystem_MXYes/No flag for the financial system in a CFDI withholding, used for Mexico. | EnumCFDIFinancialSystem_MXNoYes (enum) | No | None | |
CFDIInterestBelongsDerivedFinOp_MXYes/No flag showing whether the interest relates to derived financial operations, used for Mexico. | EnumCFDIInterestBelongsDerivedFinOp_MXNoYes (enum) | No | None | |
CFDIInterestCashedInTheCurrentPeriod_MXYes/No flag showing whether the interest was collected in the current period, used for Mexico. | EnumCFDIInterestCashedInTheCurrentPeriod_MXNoYes (enum) | No | None | |
CFDIInterestLossAmount_MXAmount of interest loss, used for Mexico. | RealCFDIInterestLossAmount_MX | No | None | |
CFDIInterestNominalAmount_MXNominal amount of interest, used for Mexico. | RealCFDIInterestNominalAmount_MX | No | None | |
CFDIInterestRealAmount_MXReal amount of interest, used for Mexico. | RealCFDIInterestRealAmount_MX | No | None | |
CFOPTable_BRReference to the CFOP code (fiscal operation code) for the line, used for Brazil. | Int64RefRecId | No | CFOPTable_BR.RecId | VendorInvoiceLineEntity |
CountryRegionName_RUShort name of a country or region, used for Russia. | String (255)LogisticsAddressCountryRegionShortName | No | None | |
CreditSourceCode_BRSource of the credit base for a non-fiscal operation, such as goods for resale or leasing, used for Brazil. | EnumFBNonFiscalOpCreditSourceCode_BR (enum) | No | None | |
CustomsBillOfEntryNumberTable_INReference to the customs bill of entry number, used for India. | Int64RefRecId | No | CustomsBillOfEntryNumberTable_IN.RecId | None |
CustomsImportInvoiceNumberTable_INReference to the customs import invoice number, used for India. | Int64RefRecId | No | CustomsImportInvoiceNumberTable_IN.RecId | None |
CustomsInvoiceRegnRecId_INReference to an invoice registration journal line for customs, used for India. | Int64RefRecId | No | CustomsInvoiceRegnTrans_IN.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeviationQty_RUQuantity deviation on the line, used for Russia. | RealPurchDeviationQty_RU | No | None | |
DIAddition_BRAddition number from the import declaration, used for Brazil. | String (5)PurchDIAddition_BR | No | None | |
DiotOperationTypeType of operation for the DIOT report, such as sales of goods or rent, used for Mexico. | EnumVendorOperationType_MX (enum) | No | VendorInvoiceLineEntity | |
FreightNature_BRNature of the freight operation, such as sales, purchase or transfer, used for Brazil. | EnumFreightNature_BR (enum) | No | None | |
IntrastatFulfillmentDate_HUFulfilment date reported for Intrastat, used for Hungary. | DateIntrastatFulfillmentDate_HU | No | None | |
InventProfileType_RUKind of activity for the item, such as basic, commission agent or bailee, used for Russia. | EnumInventProfileType_RU (enum) | No | None | |
InvoiceGTDId_RUCustoms declaration (GTD) number, used for Russia. | String (30)CustFreeInvoiceGTDId_RU | No | None | |
LedgerDimension_RUMain account, pointing to a ledger dimension combination, used for Russia. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
MarkupCode_RUCharges code applied to the line, used for Russia. | StringMarkupCodeVend_RU | No | None | |
MaximumRetailPrice_INMaximum retail price of the item, used for India. | RealMaximumRetailPrice_IN | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingProfile_RUVendor posting profile for the line, used for Russia. | StringVendPostingProfile | No | VendLedger.PostingProfile | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SADInvoiceLineNo_PLLine position on the SAD invoice, used for Poland. | IntegerPlSADInvoiceLineNo | No | None | |
SADLineNo_PLLine position in the SAD document, used for Poland. | IntegerPlSADLineNo | No | PlSADInvoice.SADInvoiceLineNoPlSADTrans.SADLineNo | None |
SADNumberCode_PLCode of the SAD (customs) document, used for Poland. | String (50)PlSADNumberCode | No | PlSADTable.SADNumberCode | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxServiceCode_BRService tax code for the line, used for Brazil. | StringTaxServiceCodeId_BR | No | VendorInvoiceLineEntity | |
ValueFromSADInvoice_PLAmount in transaction currency taken from the SAD invoice, used for Poland. | RealAmountCur | No | None | |
ValueFromSADTrans_PLAmount in transaction currency taken from the SAD transaction, used for Poland. | RealAmountCur | No | None | |
WithholdingTypeCode_MXCode of the CFDI withholding type, used for Mexico. | String (5)CFDIWithholdingTypeCode_MX | No | CFDIWithholdingType_MX.Code | None |
Indexes (3)
VendInvoiceInfoLineReplacement keyUnique, alternate key.
LedgerDimension_RUIDxNot unique.
CFOPTable_BRIdxNot unique.
Relations (14)
Each relation joins VendInvoiceInfoLine_W to another table on the fields shown.
AlcoholLicenseTable_RU→AlcoholLicenseTable_RUJoin on
AlcoholLicenseSeriesNum_RU = AlcoholLicenseTable_RU.LicenseSeriesNumMany VendInvoiceInfoLine_W records → zero or one AlcoholLicenseTable_RU record
CFOPTable_BR→CFOPTable_BRJoin on
CFOPTable_BR = CFOPTable_BR.RecIdMany VendInvoiceInfoLine_W records → zero or one CFOPTable_BR record
CustomsBillOfEntryNumberTable_IN→CustomsBillOfEntryNumberTable_INJoin on
CustomsBillOfEntryNumberTable_IN = CustomsBillOfEntryNumberTable_IN.RecIdMany VendInvoiceInfoLine_W records → zero or one CustomsBillOfEntryNumberTable_IN record
CustomsImportInvoiceNumberTable_IN→CustomsImportInvoiceNumberTable_INJoin on
CustomsImportInvoiceNumberTable_IN = CustomsImportInvoiceNumberTable_IN.RecIdMany VendInvoiceInfoLine_W records → zero or one CustomsImportInvoiceNumberTable_IN record
CustomsInvoiceRegnTrans_IN→CustomsInvoiceRegnTrans_INJoin on
CustomsInvoiceRegnRecId_IN = CustomsInvoiceRegnTrans_IN.RecIdMany VendInvoiceInfoLine_W records → zero or one CustomsInvoiceRegnTrans_IN record
LedgerDimension_RU→DimensionAttributeValueCombinationJoin on
LedgerDimension_RU = DimensionAttributeValueCombination.RecIdMany VendInvoiceInfoLine_W records → zero or one DimensionAttributeValueCombination record
LogisticsAddressCountryRegion_RU→LogisticsAddressCountryRegionTranslationJoin on
CountryRegionName_RU = LogisticsAddressCountryRegionTranslation.ShortNameMany VendInvoiceInfoLine_W records → zero or one LogisticsAddressCountryRegionTranslation record
PlSADInvoice→PlSADInvoiceJoin on
SADLineNo_PL = PlSADInvoice.SADInvoiceLineNo,SADNumberCode_PL = PlSADInvoice.SADNumberCodeMany VendInvoiceInfoLine_W records → zero or one PlSADInvoice record
PlSADTable→PlSADTableJoin on
SADNumberCode_PL = PlSADTable.SADNumberCodeMany VendInvoiceInfoLine_W records → zero or one PlSADTable record
PlSADTrans→PlSADTransJoin on
SADLineNo_PL = PlSADTrans.SADLineNo,SADNumberCode_PL = PlSADTrans.SADNumberCodeMany VendInvoiceInfoLine_W records → zero or one PlSADTrans record
VendInvoiceInfoLine→VendInvoiceInfoLineJoin on
VendInvoiceInfoLine = VendInvoiceInfoLine.RecIdZero or one VendInvoiceInfoLine_W record → exactly one VendInvoiceInfoLine record
VendLedger→VendLedgerJoin on
PostingProfile_RU = VendLedger.PostingProfileMany VendInvoiceInfoLine_W records → exactly one VendLedger record
CFDIWithholdingType_MX→CFDIWithholdingType_MXJoin on
WithholdingTypeCode_MX = CFDIWithholdingType_MX.CodeMany VendInvoiceInfoLine_W records → zero or one CFDIWithholdingType_MX record
TaxServiceCode_BR→TaxServiceCode_BRJoin on
TaxServiceCode_BR = TaxServiceCode_BR.ServiceCodeIdMany 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.
VendorInvoiceLineEntity· 3 fields from this table
Need help with VendInvoiceInfoLine_W in a report, an integration or a migration? Talk to Dr Dynamics.