Table
VendInvoice4PaymTrans_RU
Vendor invoice for payment lines
Lines of vendor invoices for payment, used for Russia. Each line relates to an invoice in VendInvoice4PaymJour_RU and to a purchase order and an item. It holds quantity, price, discounts, charges and sales tax, with excise and VAT amounts. Amounts are given in transaction and accounting currency.
- Table name
VendInvoice4PaymTrans_RU- Module
Accounts payable- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (45)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CategoryProcurement category of the line. | Int64PurchCategory | No | EcoResCategory.RecId | None |
CurrencyCodeCurrency of the line, pointing to a currency record. | String (3)VendCurrencyCode | Yes | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension set for the line. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
DiscAmountDiscount amount on the line. | RealPurchDiscAmount | No | None | |
DiscPercentDiscount percentage on the line. | RealPurchDiscPercent | No | None | |
ExciseAmountExcise amount on the line. | RealTaxAmountExcise_RU | No | None | |
ExciseAmountMSTExcise amount in accounting currency. | RealTaxAmountExciseMST_RU | No | None | |
ExciseValueExcise value, such as a rate, on the line. | RealTaxValueExcise_RU | No | None | |
ExternalItemIdItem number used by the vendor. | String (20)PurchExternalItemId | No | None | |
InternalInvoice4PaymIdInternal number of the invoice for payment, relating to the invoice journal. | String (20)PurchInternalInvoice4PaymId_RU | Yes | None | |
InventDimIdInventory dimension number of the line. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventTransIdLot ID linking to the inventory transaction origin. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
Invoice4PaymDateDate of the invoice for payment, relating to the invoice journal. | DateInvoice4PaymDate_RU | Yes | None | |
Invoice4PaymIdNumber of the invoice for payment, relating to the invoice journal. | String (20)VendInvoice4PaymId_RU | No | None | |
ItemIdItem on the line, pointing to an item record. | String (20)ItemId | No | InventTable.ItemId | None |
LineAmountLine amount in transaction currency. | RealAmountCur | No | None | |
LineAmountMSTLine amount in accounting currency. | RealAmountMST | No | None | |
LineAmountTaxSales tax included in the line amount. | RealLineAmountTax | No | None | |
LineDiscLine discount amount. | RealPurchLineDisc | No | None | |
LineNumPosition number of the line. | RealLineNum | Yes | None | |
LinePercentLine discount percentage. | RealPurchLinePercent | No | None | |
MultiLnDiscMultiline discount amount. | RealPurchMultiLnDisc | No | None | |
MultiLnPercentMultiline discount percentage. | RealPurchMultiLnPercent | No | None | |
NameFree-text description of the line. | String (1000)ItemFreeTxt | No | None | |
NumberSequenceGroupIdNumber sequence group, pointing to a number sequence group record. | StringNumberSequenceGroupId | No | NumberSequenceGroup.numberSequenceGroupId | None |
OrigPurchIdOriginal purchase order, pointing to a purchase order record. | String (20)PurchIdOrig | No | PurchTable.PurchId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCWQtyQuantity in catch weight units. | RealPdsCWInventQty | No | None | |
PriceUnitNumber of units that the unit price applies to. | RealPriceUnit | No | None | |
PurchIdPurchase order of the line, pointing to a purchase order record. | String (20)PurchId | Yes | PurchTable.PurchId | None |
PurchMarkupCharges on the line. | RealPurchMarkup | No | None | |
PurchPriceUnit price. | RealPurchPrice | No | None | |
PurchUnitUnit of measure for the purchase. | StringPurchUnit | No | None | |
QtyQuantity on the line. | RealPurchQty | No | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountSales tax amount in transaction currency. | RealTaxAmountCur | No | None | |
TaxAmountMSTSales tax amount in accounting currency. | RealTaxAmount | No | None | |
TaxGroupSales tax group, pointing to a sales tax group record. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxItemGroupItem sales tax group, pointing to an item sales tax group record. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
VATAmountVAT amount on the line. | RealTaxAmountVAT_RU | No | None | |
VATAmountMSTVAT amount in accounting currency. | RealTaxAmountVATMST_RU | No | None | |
VATValueVAT value, such as a rate, on the line. | RealTaxValueVAT_RU | No | None |
Indexes (2)
DefaultDimenionIdxNot unique.
Invoice4PaymIdxPurchId,Invoice4PaymDate,Invoice4PaymId,LineNum,NumberSequenceGroupId,InternalInvoice4PaymIdNot unique.
Relations (12)
Each relation joins VendInvoice4PaymTrans_RU to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeOne or more VendInvoice4PaymTrans_RU records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany VendInvoice4PaymTrans_RU records → zero or one DimensionAttributeValueSet record
EcoResCategory→EcoResCategoryJoin on
Category = EcoResCategory.RecIdMany VendInvoice4PaymTrans_RU records → zero or one EcoResCategory record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany VendInvoice4PaymTrans_RU records → exactly one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany VendInvoice4PaymTrans_RU records → exactly one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany VendInvoice4PaymTrans_RU records → exactly one InventTransOrigin record
Invoice4PaymJour→VendInvoice4PaymJour_RUJoin on
NumberSequenceGroupId = VendInvoice4PaymJour_RU.NumberSequenceGroupId,PurchId = VendInvoice4PaymJour_RU.PurchId,Invoice4PaymDate = VendInvoice4PaymJour_RU.Invoice4PaymDate,Invoice4PaymId = VendInvoice4PaymJour_RU.Invoice4PaymId,InternalInvoice4PaymId = VendInvoice4PaymJour_RU.InternalInvoice4PaymIdMany VendInvoice4PaymTrans_RU records → exactly one VendInvoice4PaymJour_RU record
NumberSequenceGroup→NumberSequenceGroupJoin on
NumberSequenceGroupId = NumberSequenceGroup.numberSequenceGroupIdMany VendInvoice4PaymTrans_RU records → exactly one NumberSequenceGroup record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdOne or more VendInvoice4PaymTrans_RU records → exactly one PurchTable record
PurchTableOrig→PurchTableJoin on
OrigPurchId = PurchTable.PurchIdMany VendInvoice4PaymTrans_RU records → exactly one PurchTable record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany VendInvoice4PaymTrans_RU records → exactly one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany VendInvoice4PaymTrans_RU records → exactly one TaxItemGroupHeading record
Get this data out
No public entity reads from VendInvoice4PaymTrans_RU. Its data is only reachable through the application, a custom entity or a database export.
Need help with VendInvoice4PaymTrans_RU in a report, an integration or a migration? Talk to Dr Dynamics.