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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CategoryProcurement category of the line.Int64
PurchCategory
NoEcoResCategory.RecIdNone
CurrencyCodeCurrency of the line, pointing to a currency record.String (3)
VendCurrencyCode
YesCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension set for the line.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
DiscAmountDiscount amount on the line.Real
PurchDiscAmount
NoNone
DiscPercentDiscount percentage on the line.Real
PurchDiscPercent
NoNone
ExciseAmountExcise amount on the line.Real
TaxAmountExcise_RU
NoNone
ExciseAmountMSTExcise amount in accounting currency.Real
TaxAmountExciseMST_RU
NoNone
ExciseValueExcise value, such as a rate, on the line.Real
TaxValueExcise_RU
NoNone
ExternalItemIdItem number used by the vendor.String (20)
PurchExternalItemId
NoNone
InternalInvoice4PaymIdInternal number of the invoice for payment, relating to the invoice journal.String (20)
PurchInternalInvoice4PaymId_RU
YesNone
InventDimIdInventory dimension number of the line.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventTransIdLot ID linking to the inventory transaction origin.String (20)
InventTransId
NoInventTransOrigin.InventTransIdNone
Invoice4PaymDateDate of the invoice for payment, relating to the invoice journal.Date
Invoice4PaymDate_RU
YesNone
Invoice4PaymIdNumber of the invoice for payment, relating to the invoice journal.String (20)
VendInvoice4PaymId_RU
NoNone
ItemIdItem on the line, pointing to an item record.String (20)
ItemId
NoInventTable.ItemIdNone
LineAmountLine amount in transaction currency.Real
AmountCur
NoNone
LineAmountMSTLine amount in accounting currency.Real
AmountMST
NoNone
LineAmountTaxSales tax included in the line amount.Real
LineAmountTax
NoNone
LineDiscLine discount amount.Real
PurchLineDisc
NoNone
LineNumPosition number of the line.Real
LineNum
YesNone
LinePercentLine discount percentage.Real
PurchLinePercent
NoNone
MultiLnDiscMultiline discount amount.Real
PurchMultiLnDisc
NoNone
MultiLnPercentMultiline discount percentage.Real
PurchMultiLnPercent
NoNone
NameFree-text description of the line.String (1000)
ItemFreeTxt
NoNone
NumberSequenceGroupIdNumber sequence group, pointing to a number sequence group record.String
NumberSequenceGroupId
NoNumberSequenceGroup.numberSequenceGroupIdNone
OrigPurchIdOriginal purchase order, pointing to a purchase order record.String (20)
PurchIdOrig
NoPurchTable.PurchIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsCWQtyQuantity in catch weight units.Real
PdsCWInventQty
NoNone
PriceUnitNumber of units that the unit price applies to.Real
PriceUnit
NoNone
PurchIdPurchase order of the line, pointing to a purchase order record.String (20)
PurchId
YesPurchTable.PurchIdNone
PurchMarkupCharges on the line.Real
PurchMarkup
NoNone
PurchPriceUnit price.Real
PurchPrice
NoNone
PurchUnitUnit of measure for the purchase.String
PurchUnit
NoNone
QtyQuantity on the line.Real
PurchQty
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount in transaction currency.Real
TaxAmountCur
NoNone
TaxAmountMSTSales tax amount in accounting currency.Real
TaxAmount
NoNone
TaxGroupSales tax group, pointing to a sales tax group record.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupItem sales tax group, pointing to an item sales tax group record.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
VATAmountVAT amount on the line.Real
TaxAmountVAT_RU
NoNone
VATAmountMSTVAT amount in accounting currency.Real
TaxAmountVATMST_RU
NoNone
VATValueVAT value, such as a rate, on the line.Real
TaxValueVAT_RU
NoNone

Indexes (2)

Relations (12)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    One or more VendInvoice4PaymTrans_RU records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many VendInvoice4PaymTrans_RU records → zero or one DimensionAttributeValueSet record

  • EcoResCategory → EcoResCategory

    Join on Category = EcoResCategory.RecId

    Many VendInvoice4PaymTrans_RU records → zero or one EcoResCategory record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many VendInvoice4PaymTrans_RU records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many VendInvoice4PaymTrans_RU records → exactly one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many VendInvoice4PaymTrans_RU records → exactly one InventTransOrigin record

  • Invoice4PaymJour → VendInvoice4PaymJour_RU

    Join on NumberSequenceGroupId = VendInvoice4PaymJour_RU.NumberSequenceGroupId, PurchId = VendInvoice4PaymJour_RU.PurchId, Invoice4PaymDate = VendInvoice4PaymJour_RU.Invoice4PaymDate, Invoice4PaymId = VendInvoice4PaymJour_RU.Invoice4PaymId, InternalInvoice4PaymId = VendInvoice4PaymJour_RU.InternalInvoice4PaymId

    Many VendInvoice4PaymTrans_RU records → exactly one VendInvoice4PaymJour_RU record

  • NumberSequenceGroup → NumberSequenceGroup

    Join on NumberSequenceGroupId = NumberSequenceGroup.numberSequenceGroupId

    Many VendInvoice4PaymTrans_RU records → exactly one NumberSequenceGroup record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    One or more VendInvoice4PaymTrans_RU records → exactly one PurchTable record

  • PurchTableOrig → PurchTable

    Join on OrigPurchId = PurchTable.PurchId

    Many VendInvoice4PaymTrans_RU records → exactly one PurchTable record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many VendInvoice4PaymTrans_RU records → exactly one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many 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.

Email sales@drdynamics.co.uk