Table
CustInvoice4PaymTrans_RU
Customer invoice for payment lines
Line records for a customer invoice for payment, used for Russia. Each line holds item, quantity, price, discount, sales tax, excise and VAT details. Lines link to the journal header in CustInvoice4PaymJour_RU and to a sales order and item.
- Table name
CustInvoice4PaymTrans_RU- Module
Accounts receivable- 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 |
|---|---|---|---|---|
CategorySales category of the line. | Int64SalesCategory | No | EcoResCategory.RecId | None |
CurrencyCodeCurrency code of the line. | String (3)CustCurrencyCode | Yes | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension values, stored as a reference to a dimension value set. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
DiscAmountDiscount amount on the line. | RealSalesDiscAmount | No | None | |
DiscPercentDiscount percentage on the line. | RealSalesDiscPercent | No | None | |
ExciseAmountExcise amount on the line. | RealTaxAmountExcise_RU | No | None | |
ExciseAmountMSTExcise amount on the line, in accounting currency. | RealTaxAmountExciseMST_RU | No | None | |
ExciseValueExcise rate or value applied to the line. | RealTaxValueExcise_RU | No | None | |
ExternalItemIdItem number used by the external party. | String (20)SalesExternalItemId | No | None | |
InventDimIdInventory dimension combination of the line. | String (20)InventDimId | No | InventDim.inventDimId | None |
InventTransIdLot ID that links the line to inventory transactions. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
Invoice4PaymDateDate of the invoice for payment that holds the line. | DateTransDate | Yes | None | |
Invoice4PaymIdIdentifier of the invoice for payment that holds the line. | String (20)CustInvoice4PaymId_RU | No | None | |
ItemIdItem on the line. | 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. | RealSalesLineDisc | No | None | |
LineHeaderHeading text of the line. | String (80)LineHeader | No | None | |
LineNumLine number. | RealLineNum | Yes | None | |
LinePercentLine discount percentage. | RealSalesLinePercent | No | None | |
MultiLnDiscMultiline discount amount. | RealSalesMultiLnDisc | No | None | |
MultiLnPercentMultiline discount percentage. | RealSalesMultiLnPercent | No | None | |
NameDescription text of the line. | String (1000)ItemFreeTxt | No | None | |
origSalesIdOriginal sales order. | String (20)SalesIdOrig | No | SalesTable.SalesId | 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 refers to. | RealPriceUnit | No | None | |
QtyQuantity on the line, in sales units. | RealSalesQty | 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 | |
SalesGroupCommission sales group of the line. | StringCommissSalesGroup | No | CommissionSalesGroup.GroupId | None |
SalesIdSales order the line belongs to. | String (20)SalesId | Yes | SalesTable.SalesId | None |
SalesMarkupCharges added to the line. | RealSalesMarkup | No | None | |
SalesPriceUnit price of the item. | RealSalesPrice | No | None | |
SalesUnitUnit of measure used for sales. | StringSalesUnit | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountSales tax amount on the line, in transaction currency. | RealTaxAmountCur | No | None | |
TaxAmountMSTSales tax amount on the line, in accounting currency. | RealTaxAmount | No | None | |
TaxGroupSales tax group of the line. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxItemGroupItem sales tax group of the line. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
VATAmountVAT amount on the line. | RealTaxAmountVAT_RU | No | None | |
VATAmountMSTVAT amount on the line, in accounting currency. | RealTaxAmountVATMST_RU | No | None | |
VATValueVAT rate or value applied to the line. | RealTaxValueVAT_RU | No | None |
Indexes (2)
DefaultDimensionIdxNot unique.
Invoice4PaymIdxSalesId,Invoice4PaymDate,Invoice4PaymId,LineNumNot unique.
Relations (12)
Each relation joins CustInvoice4PaymTrans_RU to another table on the fields shown.
CommissionSalesGroup→CommissionSalesGroupJoin on
SalesGroup = CommissionSalesGroup.GroupIdMany CustInvoice4PaymTrans_RU records → zero or one CommissionSalesGroup record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeZero or one CustInvoice4PaymTrans_RU record → exactly one Currency record
CustInvoice4PaymJour→CustInvoice4PaymJour_RUJoin on
SalesId = CustInvoice4PaymJour_RU.SalesId,Invoice4PaymId = CustInvoice4PaymJour_RU.Invoice4PaymId,Invoice4PaymDate = CustInvoice4PaymJour_RU.Invoice4PaymDateMany CustInvoice4PaymTrans_RU records → exactly one CustInvoice4PaymJour_RU record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CustInvoice4PaymTrans_RU records → zero or one DimensionAttributeValueSet record
EcoResCategory→EcoResCategoryJoin on
Category = EcoResCategory.RecIdZero or one CustInvoice4PaymTrans_RU record → zero or one EcoResCategory record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany CustInvoice4PaymTrans_RU records → zero or one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany CustInvoice4PaymTrans_RU records → zero or one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany CustInvoice4PaymTrans_RU records → zero or one InventTransOrigin record
SalesTable_OrigSalesId→SalesTableJoin on
origSalesId = SalesTable.SalesIdMany CustInvoice4PaymTrans_RU records → zero or one SalesTable record
SalesTable_SalesId→SalesTableJoin on
SalesId = SalesTable.SalesIdMany CustInvoice4PaymTrans_RU records → exactly one SalesTable record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany CustInvoice4PaymTrans_RU records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany CustInvoice4PaymTrans_RU records → zero or one TaxItemGroupHeading record
Get this data out
No public entity reads from CustInvoice4PaymTrans_RU. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustInvoice4PaymTrans_RU in a report, an integration or a migration? Talk to Dr Dynamics.