Table

CostAllocationHistory_RU

Misc. charges allocation history

Transaction records of how miscellaneous charges were allocated, used for Russia. Each row links to vendor invoice lines and journals, and to customer or vendor transactions. It also holds the allocation mode, amount, dimensions and vouchers. The table has no defined key.

Table name
CostAllocationHistory_RU
Module
Costing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (31)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AllocatedInvoiceJourRecIdPoints to the vendor invoice journal record that the charges were allocated to.Int64
VendInvoiceJourRefRecId_RU
NoVendInvoiceJour.RecIdNone
AllocatedInvoiceTransRecIdPoints to the posted vendor invoice line that received the allocation.Int64
VendInvoiceTransRefRecId_RU
NoVendInvoiceTrans.RecIdNone
AllocationTypeHow the charge is allocated: included in the cost price, debt redrawn, or written off to cost.Enum
CostAllocationType_RU (enum)
NoNone
AmountPostedAllocated amount, in a transaction currency whose code is held in the currency field.Real
AmountCur
NoNone
CostAllocationHistoryRecIdPoints to another record in this same allocation history table.Int64
RefRecId
NoCostAllocationHistory_RU.RecIdNone
CostAllocationParmIdIdentifier of the allocation transaction.String (20)
CostAllocationParmId_RU
NoNone
CreditNoteTransRecIdPoints to the vendor transaction of the credit note.Int64
VendTransRefRecId
NoVendTrans.RecIdNone
CurrencyCodeCurrency code of the record, linked to the currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
CustVendType of counteragent: none, customer or vendor.Enum
CustVend_RU (enum)
NoNone
CustVendAccountAccount number of the customer or vendor.String (20)
CustVendAC
NoNone
CustVendInvoice4PaymJourRecIdPoints to the customer or vendor invoice for payment journal record.Int64
RefRecId
NoCustInvoice4PaymJour_RU.RecIdVendInvoice4PaymJour_RU.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionPoints to the set of default financial dimension values.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
EcoResCategoryPoints to the product category.Int64
EcoResCategoryId
NoEcoResCategory.RecIdNone
GoalVendInvoiceTransRecIdPoints to a vendor transaction that acts as the target of the allocation.low confidenceInt64
VendTransRefRecId
NoVendTrans.RecIdNone
IndebtednessInvoiceIdNumber of the invoice linked to the debt.String (50)
InvoiceId
NoNone
IndebtednessTransRecIdPoints to the customer or vendor transaction that holds the debt.Int64
RefRecId
NoCustTrans.RecIdVendTrans.RecIdNone
InvoiceTransRecIdPoints to a vendor transaction for the invoice.low confidenceInt64
VendTransRefRecId
NoVendTrans.RecIdNone
LedgerDimensionPoints to the ledger account combination, including the main account.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
MarkupCodeCode of the miscellaneous charge.String
MarkupCode
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostingProfilePosting profile linked to the record.String
PostingProfile
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
StornoShows whether the entry is a reversing entry (yes or no).Enum
NoYesId
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate of the allocation.Date
TransDate
NoNone
VoucherCreditNoteVoucher number of the credit note.String (20)
Voucher
NoNone
VoucherIndebtnessVoucher number of the invoice linked to the debt.String (20)
Voucher
NoNone
VoucherInvoiceVoucher number of the invoice.String (20)
Voucher
NoNone
VoucherSourceInvoiceVoucher number of the source invoice.String (20)
Voucher
NoNone

Indexes (5)

Relations (14)

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

  • CostAllocationHistory → CostAllocationHistory_RU

    Join on CostAllocationHistory_RU.Storno = 1, Storno = null, CostAllocationHistoryRecId = CostAllocationHistory_RU.RecId

    Many CostAllocationHistory_RU records → zero or one CostAllocationHistory_RU record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CostAllocationHistory_RU records → exactly one Currency record

  • CustInvoice4PaymJour → CustInvoice4PaymJour_RU

    Join on CustVendInvoice4PaymJourRecId = CustInvoice4PaymJour_RU.RecId

    Many CostAllocationHistory_RU records → zero or one CustInvoice4PaymJour_RU record

  • CustTrans → CustTrans

    Join on CustVend = CustVend_RU::Cust, IndebtednessTransRecId = CustTrans.RecId

    Many CostAllocationHistory_RU records → zero or one CustTrans record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many CostAllocationHistory_RU records → zero or one DimensionAttributeValueSet record

  • EcoResCategory → EcoResCategory

    Join on EcoResCategory = EcoResCategory.RecId

    Many CostAllocationHistory_RU records → zero or one EcoResCategory record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many CostAllocationHistory_RU records → zero or one DimensionAttributeValueCombination record

  • VendInvoice4PaymJour → VendInvoice4PaymJour_RU

    Join on CustVendInvoice4PaymJourRecId = VendInvoice4PaymJour_RU.RecId

    Many CostAllocationHistory_RU records → zero or one VendInvoice4PaymJour_RU record

  • VendInvoiceJour → VendInvoiceJour

    Join on AllocatedInvoiceJourRecId = VendInvoiceJour.RecId

    Many CostAllocationHistory_RU records → zero or one VendInvoiceJour record

  • VendInvoiceTrans → VendInvoiceTrans

    Join on AllocatedInvoiceTransRecId = VendInvoiceTrans.RecId

    Many CostAllocationHistory_RU records → zero or one VendInvoiceTrans record

  • VendTrans → VendTrans

    Join on CustVend = CustVend_RU::Vend, IndebtednessTransRecId = VendTrans.RecId

    Many CostAllocationHistory_RU records → zero or one VendTrans record

  • VendTransCreditNote → VendTrans

    Join on CreditNoteTransRecId = VendTrans.RecId

    Many CostAllocationHistory_RU records → zero or one VendTrans record

  • VendTransGoal → VendTrans

    Join on GoalVendInvoiceTransRecId = VendTrans.RecId

    Many CostAllocationHistory_RU records → zero or one VendTrans record

  • VendTransInvoice → VendTrans

    Join on InvoiceTransRecId = VendTrans.RecId

    Many CostAllocationHistory_RU records → zero or one VendTrans record

Get this data out

No public entity reads from CostAllocationHistory_RU. Its data is only reachable through the application, a custom entity or a database export.

Need help with CostAllocationHistory_RU in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk