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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CategorySales category of the line.Int64
SalesCategory
NoEcoResCategory.RecIdNone
CurrencyCodeCurrency code of the line.String (3)
CustCurrencyCode
YesCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension values, stored as a reference to a dimension value set.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
DiscAmountDiscount amount on the line.Real
SalesDiscAmount
NoNone
DiscPercentDiscount percentage on the line.Real
SalesDiscPercent
NoNone
ExciseAmountExcise amount on the line.Real
TaxAmountExcise_RU
NoNone
ExciseAmountMSTExcise amount on the line, in accounting currency.Real
TaxAmountExciseMST_RU
NoNone
ExciseValueExcise rate or value applied to the line.Real
TaxValueExcise_RU
NoNone
ExternalItemIdItem number used by the external party.String (20)
SalesExternalItemId
NoNone
InventDimIdInventory dimension combination of the line.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventTransIdLot ID that links the line to inventory transactions.String (20)
InventTransId
NoInventTransOrigin.InventTransIdNone
Invoice4PaymDateDate of the invoice for payment that holds the line.Date
TransDate
YesNone
Invoice4PaymIdIdentifier of the invoice for payment that holds the line.String (20)
CustInvoice4PaymId_RU
NoNone
ItemIdItem on the line.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
SalesLineDisc
NoNone
LineHeaderHeading text of the line.String (80)
LineHeader
NoNone
LineNumLine number.Real
LineNum
YesNone
LinePercentLine discount percentage.Real
SalesLinePercent
NoNone
MultiLnDiscMultiline discount amount.Real
SalesMultiLnDisc
NoNone
MultiLnPercentMultiline discount percentage.Real
SalesMultiLnPercent
NoNone
NameDescription text of the line.String (1000)
ItemFreeTxt
NoNone
origSalesIdOriginal sales order.String (20)
SalesIdOrig
NoSalesTable.SalesIdNone
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 refers to.Real
PriceUnit
NoNone
QtyQuantity on the line, in sales units.Real
SalesQty
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
SalesGroupCommission sales group of the line.String
CommissSalesGroup
NoCommissionSalesGroup.GroupIdNone
SalesIdSales order the line belongs to.String (20)
SalesId
YesSalesTable.SalesIdNone
SalesMarkupCharges added to the line.Real
SalesMarkup
NoNone
SalesPriceUnit price of the item.Real
SalesPrice
NoNone
SalesUnitUnit of measure used for sales.String
SalesUnit
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount on the line, in transaction currency.Real
TaxAmountCur
NoNone
TaxAmountMSTSales tax amount on the line, in accounting currency.Real
TaxAmount
NoNone
TaxGroupSales tax group of the line.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupItem sales tax group of the line.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
VATAmountVAT amount on the line.Real
TaxAmountVAT_RU
NoNone
VATAmountMSTVAT amount on the line, in accounting currency.Real
TaxAmountVATMST_RU
NoNone
VATValueVAT rate or value applied to the line.Real
TaxValueVAT_RU
NoNone

Indexes (2)

Relations (12)

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

  • CommissionSalesGroup → CommissionSalesGroup

    Join on SalesGroup = CommissionSalesGroup.GroupId

    Many CustInvoice4PaymTrans_RU records → zero or one CommissionSalesGroup record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Zero or one CustInvoice4PaymTrans_RU record → exactly one Currency record

  • CustInvoice4PaymJour → CustInvoice4PaymJour_RU

    Join on SalesId = CustInvoice4PaymJour_RU.SalesId, Invoice4PaymId = CustInvoice4PaymJour_RU.Invoice4PaymId, Invoice4PaymDate = CustInvoice4PaymJour_RU.Invoice4PaymDate

    Many CustInvoice4PaymTrans_RU records → exactly one CustInvoice4PaymJour_RU record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many CustInvoice4PaymTrans_RU records → zero or one DimensionAttributeValueSet record

  • EcoResCategory → EcoResCategory

    Join on Category = EcoResCategory.RecId

    Zero or one CustInvoice4PaymTrans_RU record → zero or one EcoResCategory record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many CustInvoice4PaymTrans_RU records → zero or one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many CustInvoice4PaymTrans_RU records → zero or one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many CustInvoice4PaymTrans_RU records → zero or one InventTransOrigin record

  • SalesTable_OrigSalesId → SalesTable

    Join on origSalesId = SalesTable.SalesId

    Many CustInvoice4PaymTrans_RU records → zero or one SalesTable record

  • SalesTable_SalesId → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many CustInvoice4PaymTrans_RU records → exactly one SalesTable record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many CustInvoice4PaymTrans_RU records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

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

Email sales@drdynamics.co.uk