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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AllocatedInvoiceJourRecIdPoints to the vendor invoice journal record that the charges were allocated to. | Int64VendInvoiceJourRefRecId_RU | No | VendInvoiceJour.RecId | None |
AllocatedInvoiceTransRecIdPoints to the posted vendor invoice line that received the allocation. | Int64VendInvoiceTransRefRecId_RU | No | VendInvoiceTrans.RecId | None |
AllocationTypeHow the charge is allocated: included in the cost price, debt redrawn, or written off to cost. | EnumCostAllocationType_RU (enum) | No | None | |
AmountPostedAllocated amount, in a transaction currency whose code is held in the currency field. | RealAmountCur | No | None | |
CostAllocationHistoryRecIdPoints to another record in this same allocation history table. | Int64RefRecId | No | CostAllocationHistory_RU.RecId | None |
CostAllocationParmIdIdentifier of the allocation transaction. | String (20)CostAllocationParmId_RU | No | None | |
CreditNoteTransRecIdPoints to the vendor transaction of the credit note. | Int64VendTransRefRecId | No | VendTrans.RecId | None |
CurrencyCodeCurrency code of the record, linked to the currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
CustVendType of counteragent: none, customer or vendor. | EnumCustVend_RU (enum) | No | None | |
CustVendAccountAccount number of the customer or vendor. | String (20)CustVendAC | No | None | |
CustVendInvoice4PaymJourRecIdPoints to the customer or vendor invoice for payment journal record. | Int64RefRecId | No | CustInvoice4PaymJour_RU.RecIdVendInvoice4PaymJour_RU.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionPoints to the set of default financial dimension values. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
EcoResCategoryPoints to the product category. | Int64EcoResCategoryId | No | EcoResCategory.RecId | None |
GoalVendInvoiceTransRecIdPoints to a vendor transaction that acts as the target of the allocation.low confidence | Int64VendTransRefRecId | No | VendTrans.RecId | None |
IndebtednessInvoiceIdNumber of the invoice linked to the debt. | String (50)InvoiceId | No | None | |
IndebtednessTransRecIdPoints to the customer or vendor transaction that holds the debt. | Int64RefRecId | No | CustTrans.RecIdVendTrans.RecId | None |
InvoiceTransRecIdPoints to a vendor transaction for the invoice.low confidence | Int64VendTransRefRecId | No | VendTrans.RecId | None |
LedgerDimensionPoints to the ledger account combination, including the main account. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
MarkupCodeCode of the miscellaneous charge. | StringMarkupCode | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingProfilePosting profile linked to the record. | StringPostingProfile | 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 | |
StornoShows whether the entry is a reversing entry (yes or no). | EnumNoYesIdNoYes (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateDate of the allocation. | DateTransDate | No | None | |
VoucherCreditNoteVoucher number of the credit note. | String (20)Voucher | No | None | |
VoucherIndebtnessVoucher number of the invoice linked to the debt. | String (20)Voucher | No | None | |
VoucherInvoiceVoucher number of the invoice. | String (20)Voucher | No | None | |
VoucherSourceInvoiceVoucher number of the source invoice. | String (20)Voucher | No | None |
Indexes (5)
InvoiceRefRecIdIdxAllocatedInvoiceJourRecId,AllocatedInvoiceTransRecIdNot unique.
ParmIdxNot unique.
LedgerDimensionIdxNot unique.
DefaultDimensionIdxNot unique.
EcoResCategoryIdxNot unique.
Relations (14)
Each relation joins CostAllocationHistory_RU to another table on the fields shown.
CostAllocationHistory→CostAllocationHistory_RUJoin on
CostAllocationHistory_RU.Storno = 1,Storno = null,CostAllocationHistoryRecId = CostAllocationHistory_RU.RecIdMany CostAllocationHistory_RU records → zero or one CostAllocationHistory_RU record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CostAllocationHistory_RU records → exactly one Currency record
CustInvoice4PaymJour→CustInvoice4PaymJour_RUJoin on
CustVendInvoice4PaymJourRecId = CustInvoice4PaymJour_RU.RecIdMany CostAllocationHistory_RU records → zero or one CustInvoice4PaymJour_RU record
CustTrans→CustTransJoin on
CustVend = CustVend_RU::Cust,IndebtednessTransRecId = CustTrans.RecIdMany CostAllocationHistory_RU records → zero or one CustTrans record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CostAllocationHistory_RU records → zero or one DimensionAttributeValueSet record
EcoResCategory→EcoResCategoryJoin on
EcoResCategory = EcoResCategory.RecIdMany CostAllocationHistory_RU records → zero or one EcoResCategory record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany CostAllocationHistory_RU records → zero or one DimensionAttributeValueCombination record
VendInvoice4PaymJour→VendInvoice4PaymJour_RUJoin on
CustVendInvoice4PaymJourRecId = VendInvoice4PaymJour_RU.RecIdMany CostAllocationHistory_RU records → zero or one VendInvoice4PaymJour_RU record
VendInvoiceJour→VendInvoiceJourJoin on
AllocatedInvoiceJourRecId = VendInvoiceJour.RecIdMany CostAllocationHistory_RU records → zero or one VendInvoiceJour record
VendInvoiceTrans→VendInvoiceTransJoin on
AllocatedInvoiceTransRecId = VendInvoiceTrans.RecIdMany CostAllocationHistory_RU records → zero or one VendInvoiceTrans record
VendTrans→VendTransJoin on
CustVend = CustVend_RU::Vend,IndebtednessTransRecId = VendTrans.RecIdMany CostAllocationHistory_RU records → zero or one VendTrans record
VendTransCreditNote→VendTransJoin on
CreditNoteTransRecId = VendTrans.RecIdMany CostAllocationHistory_RU records → zero or one VendTrans record
VendTransGoal→VendTransJoin on
GoalVendInvoiceTransRecId = VendTrans.RecIdMany CostAllocationHistory_RU records → zero or one VendTrans record
VendTransInvoice→VendTransJoin on
InvoiceTransRecId = VendTrans.RecIdMany 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.