Data entity

CustInvoiceTransCDREntity

Read-only entity with customer invoice lines, based on the customer invoice line table joined to CustInvoiceTransCDR. It has 123 fields, including quantity, discount, commission, delivery and dimension details. It adds two JSON text fields for ledger and default dimension values. The key is SourceKey.

Entity name
CustInvoiceTransCDREntity
Public entity name
CustInvoiceTransCDREntity
OData collection
CustInvoiceTransCDREntities
Category
Transaction
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
LedgerBasic
Keys
SourceKey
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/CustInvoiceTransCDREntities
Dataverse virtual table
mserp_custinvoicetranscdrentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • CustInvoiceTrans · root · read-only
  • CustInvoiceTransCDR · InnerJoin to CustInvoiceTrans

Fields (123)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AssetBookIdFixed asset book that the line relates to.String
AssetBookIdPurchSalesInvent
NoYesAssetBookTable.BookIdCustInvoiceTrans.AssetBookId
AssetIdNumber of the fixed asset on the line.String (20)
AssetIdOpen
NoYesAssetTable.AssetIdCustInvoiceTrans.AssetId
BillingCodeBilling code of the line.String
BillingCode
NoYesCustInvoiceTrans.BillingCode
CommissAmountCurCommission amount in the transaction currency.Real
CommissAmountCur
NoYesCustInvoiceTrans.CommissAmountCur
CommissAmountMSTCommission amount in the accounting currency.Real
CommissAmountMST
NoYesCustInvoiceTrans.CommissAmountMST
CommissCalcYes or no flag showing whether commission was calculated.Enum
CommissCalc
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTrans.CommissCalc
CountryRegionOfShipmentCountry or region that the goods ship from.String
AddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdCustInvoiceTrans.CountryRegionOfShipment
CreatedOnThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesCustInvoiceTrans.CreatedDateTime
CurrencyCodeCurrency of the invoice line.String (3)
CustCurrencyCode
NoYesCurrency.CurrencyCodeCustInvoiceTrans.CurrencyCode
CustInvoiceLineIdRefPoints to the customer transaction line identifier.Int64
CustInvoiceLineIdRefRecId
NoYesCustInvoiceLineIdRef.RecIdCustInvoiceTrans.CustInvoiceLineIdRef
CustomerLineNumLine number from the customer side.Integer
CustLineNum
NoYesCustInvoiceTrans.CustomerLineNum
DeliveryPostalAddressPoints to the delivery postal address.Int64
LogisticsPostalAddressRecId
NoYesLogisticsPostalAddress.RecIdCustInvoiceTrans.DeliveryPostalAddress
DeliveryTypeShows whether the line is delivered from stock or directly.Enum
TradeLineDlvTypeId
TradeLineDlvType
  • None 0
  • DropShip 1
NoYesCustInvoiceTrans.DeliveryType
DiscAmountDiscount amount on the line.Real
SalesDiscAmount
NoYesCustInvoiceTrans.DiscAmount
DiscPercentDiscount given as a percentage.Real
SalesDiscPercent
NoYesCustInvoiceTrans.DiscPercent
DlvDateDate the goods are shipped.Date
SalesShippingDate
NoYesCustInvoiceTrans.DlvDate
EInvoiceAccountCodeAccount code used for electronic invoicing.String (35)
EInvoiceAccountCode
NoYesCustInvoiceTrans.EInvoiceAccountCode
ExternalItemIdItem ID used by the customer or an external party.String (20)
SalesExternalItemId
NoYesCustInvoiceTrans.ExternalItemId
FinTagPoints to the financial tag on the line.Int64
FinTagRecId
NoYesFinTag.RecIdCustInvoiceTrans.FinTag
GoodsForFree_ITYes or no flag for goods supplied free of charge, used for Italy.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTrans.GoodsForFree_IT
InterCompanyInventTransIdInventory lot ID used for the intercompany link.String (20)
InventTransId
NoYesInventTransOrigin.InventTransIdCustInvoiceTrans.InterCompanyInventTransId
IntrastatCommodityPoints to the commodity category for Intrastat.Int64
IntrastatCommodityId
NoYesEcoResCategory.RecIdCustInvoiceTrans.IntrastatCommodity
IntrastatDispatchIdIntrastat shipment batch identifier.String (20)
IntrastatDispatchId
NoYesCustInvoiceTrans.IntrastatDispatchId
IntrastatFulfillmentDate_HUIntrastat fulfilment date, used for Hungary.Date
IntrastatFulfillmentDate_HU
NoYesCustInvoiceTrans.IntrastatFulfillmentDate_HU
InventDimIdPoints to the inventory dimensions of the line.String (20)
InventDimId
NoYesInventDim.inventDimIdCustInvoiceTrans.InventDimId
InventQtyQuantity in the inventory unit.Real
InventQty
NoYesCustInvoiceTrans.InventQty
InventRefIdReference number of the source document.String (20)
InventRefId
NoYesCustInvoiceTrans.InventRefId
InventRefTransIdLot ID of the referenced inventory transaction.String (20)
InventRefTransId
NoYesCustInvoiceTrans.InventRefTransId
InventRefTypeType of the source document, such as sales order or purchase order.Enum
InventRefType
  • None 0
  • Sales 1
  • Purch 2
  • Production 3
  • ProdLine 4
  • InventJournal 5
  • CRMQuotation 6
  • InventTransfer 7
  • FixedAsset 8
NoYesCustInvoiceTrans.InventRefType
InventTransIdLot ID that links the line to its inventory transaction.String (20)
TradeInventTransId
NoYesInventTransOrigin.InventTransIdCustInvoiceTrans.InventTransId
InvoiceDateDate of the invoice.Date
TransDate
YesYesCustInvoiceTrans.InvoiceDate
InvoiceIdInvoice number; links the line to the invoice journal.String (20)
CustInvoiceId
YesYesCustInvoiceTrans.InvoiceId
ItemIdItem sold on the line.String (20)
ItemId
NoYesInventTable.ItemIdCustInvoiceTrans.ItemId
LedgerDimensionMain account and dimensions for the line, as a ledger combination.Int64
LedgerDimensionDefaultAccount
NoYesDimensionAttributeValueCombination.RecIdCustInvoiceTrans.LedgerDimension
LineAmountLine amount in the transaction currency.Real
AmountCur
NoYesCustInvoiceTrans.LineAmount
LineAmountMSTLine amount in the accounting currency.Real
AmountMST
NoYesCustInvoiceTrans.LineAmountMST
LineAmountTaxPart of the line amount that is sales tax.Real
LineAmountTax
NoYesCustInvoiceTrans.LineAmountTax
LineAmountTaxMSTSales tax included in the line amount, in the accounting currency.Real
LineAmountTaxMST
NoYesCustInvoiceTrans.LineAmountTaxMST
LineCreationSequenceNumberNumber showing the order in which lines were created.Integer
CustInvoiceLineCreationSequenceNumber
NoYesCustInvoiceTrans.LineCreationSequenceNumber
LineDiscLine discount value.Real
SalesLineDisc
NoYesCustInvoiceTrans.LineDisc
LineHeaderHeading text for the line.String (80)
LineHeader
NoYesCustInvoiceTrans.LineHeader
LineNumPosition number of the line.Real
LineNum
NoYesCustInvoiceTrans.LineNum
LinePercentLine discount as a percentage.Real
SalesLinePercent
NoYesCustInvoiceTrans.LinePercent
MCRDeliveryNameName of the delivery recipient.String (160)
CustName
NoYesCustInvoiceTrans.MCRDeliveryName
MCRDlvModeMode of delivery for the line.String
CustDlvModeId
NoYesDlvMode.CodeCustInvoiceTrans.MCRDlvMode
MultiLnDiscMultiline discount amount.Real
SalesMultiLnDisc
NoYesCustInvoiceTrans.MultiLnDisc
MultiLnPercentMultiline discount as a percentage.Real
SalesMultiLnPercent
NoYesCustInvoiceTrans.MultiLnPercent
NameFree-text description of the line.String (1000)
ItemFreeTxtBase
NoYesCustInvoiceTrans.Name
NGPCodesTable_FRPoints to the NGP code, used for France.Int64
NGPCodesTableFRId
NoYesNGPCodesTable_FR.RecIdCustInvoiceTrans.NGPCodesTable_FR
numberSequenceGroupNumber sequence group linked to the line.String
NumberSequenceGroupId
NoYesNumberSequenceGroup.numberSequenceGroupIdCustInvoiceTrans.numberSequenceGroup
OLAPCostValueCost value of the line for analysis.Real
SalesCostValue
NoYesCustInvoiceTrans.OLAPCostValue
OrderLineReference_NOOrder line reference, used for Norway.String (30)
OrderLineReference_NO
NoYesCustInvoiceTrans.OrderLineReference_NO
OrigCountryRegionIdCountry or region where the item originates.String
ItemOrigCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdCustInvoiceTrans.OrigCountryRegionId
OrigSalesIdOriginal sales order of the line.String (20)
SalesIdOrig
NoYesSalesTable.SalesIdCustInvoiceTrans.OrigSalesId
OrigStateState or province where the item originates.String
ItemOrigStateId
NoYesCustInvoiceTrans.OrigState
ParentRecIdPoints to the invoice journal that owns this line.Int64
RefRecId
NoYesCustInvoiceJour.RecIdCustInvoiceTrans.ParentRecId
PartDeliveryYes or no flag for partial delivery.Enum
PartDelivery
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTrans.PartDelivery
PdsCWQtyCatch weight quantity of the line.Real
PdsCWInventQty
NoYesCustInvoiceTrans.PdsCWQty
PdsCWQtyPhysicalPhysical catch weight quantity.Real
PdsCWInventQty
NoYesCustInvoiceTrans.PdsCWQtyPhysical
PdsCWRemainCatch weight quantity that remains.Real
PdsCWInventQty
NoYesCustInvoiceTrans.PdsCWRemain
PeriodChargeInvoiceLineBaseFromDateStart date of the period used as the base for a periodic charge.Date
MarkupPeriodChargeInvoiceLineBaseFromDate
NoYesCustInvoiceTrans.PeriodChargeInvoiceLineBaseFromDate
PeriodChargeInvoiceLineBaseToDateEnd date of the period used as the base for a periodic charge.Date
MarkupPeriodChargeInvoiceLineBaseToDate
NoYesCustInvoiceTrans.PeriodChargeInvoiceLineBaseToDate
PortPort used for Intrastat reporting.String
IntrastatPortId
NoYesIntrastatPort.PortIdCustInvoiceTrans.Port
PriceUnitNumber of units that the unit price covers.Real
PriceUnit
NoYesCustInvoiceTrans.PriceUnit
QtyInvoiced quantity.Real
SalesInvoicedQty
NoYesCustInvoiceTrans.Qty
QtyPhysicalPhysical quantity on the line.Real
SalesQty
NoYesCustInvoiceTrans.QtyPhysical
ReasonRefRecIdPoints to a record in the reason references table (ReasonTableRef) through its system record ID.Int64
ReasonRefRecID
NoYesReasonTableRef.RecIdCustInvoiceTrans.ReasonRefRecId
RemainQuantity that remains.Real
SalesQty
NoYesCustInvoiceTrans.Remain
RemainBeforeQuantity that remained before this invoice.Real
SalesQty
NoYesCustInvoiceTrans.RemainBefore
RetailCategoryPoints to the retail category of the line.Int64
RetailCategory
NoYesEcoResCategory.RecIdCustInvoiceTrans.RetailCategory
ReturnArrivalDateDate the returned goods actually arrived.Date
ReturnArrivalDate
NoYesCustInvoiceTrans.ReturnArrivalDate
ReturnClosedDateDate the return was closed.Date
ReturnClosedDate
NoYesCustInvoiceTrans.ReturnClosedDate
ReturnDispositionCodeIdDisposition code for a return line.String
ReturnDispositionCodeId
NoYesReturnDispositionCode.DispositionCodeIdCustInvoiceTrans.ReturnDispositionCodeId
ReverseCharge_WYes or no flag for reverse charge tax.Enum
TaxReverseCharge
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTrans.ReverseCharge_W
ReverseChargeSalesListYes or no flag for the reverse charge sales list.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTrans.ReverseChargeSalesList
ReversedRecIdPoints to the invoice line that this line reverses.Int64
RefRecId
NoYesCustInvoiceTrans.RecIdCustInvoiceTrans.ReversedRecId
SalesCategoryPoints to the sales category of the line.Int64
SalesCategory
NoYesEcoResCategory.RecIdCustInvoiceTrans.SalesCategory
SalesGroupCommission sales group of the line.String
CommissSalesGroup
NoYesCommissionSalesGroup.GroupIdCustInvoiceTrans.SalesGroup
SalesIdSales order that the invoice line comes from.String (20)
SalesId
NoYesSalesTable.SalesIdCustInvoiceTrans.SalesId
SalesMarkupCharges added to the line.Real
SalesMarkup
NoYesCustInvoiceTrans.SalesMarkup
SalesPricePrice per unit.Real
SalesPrice
NoYesCustInvoiceTrans.SalesPrice
SalesUnitUnit of measure used for sales.String
SalesUnit
NoYesUnitOfMeasure.SymbolCustInvoiceTrans.SalesUnit
SourceDocumentLinePoints to the source document line.Int64
RefRecId
NoYesSourceDocumentLine.RecIdCustInvoiceTrans.SourceDocumentLine
StateOfShipmentState or province that the goods ship from.String
LogisticsAddressStateId
NoYesLogisticsAddressState.StateIdCustInvoiceTrans.StateOfShipment
StatLineAmountMSTAmount for statistics reporting, in the accounting currency.Real
IntrastatLineAmountMST
NoYesCustInvoiceTrans.StatLineAmountMST
StatProcIdStatistics procedure code for Intrastat.String
IntrastatProcId
NoYesCustInvoiceTrans.StatProcId
StockedProductYes or no flag showing whether the product is stocked.Enum
TradeStockedProduct
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTrans.StockedProduct
SumLineDiscTotal line discount amount.Real
SalesSumLineDiscAmount
NoYesCustInvoiceTrans.SumLineDisc
SumLineDiscMSTTotal line discount, in the accounting currency.Real
SalesSumLineDiscAmountMST
NoYesCustInvoiceTrans.SumLineDiscMST
TaxAmountSales tax amount in the transaction currency.Real
TaxAmountCur
NoYesCustInvoiceTrans.TaxAmount
TaxAmountMSTSales tax amount in the accounting currency.Real
TaxAmount
NoYesCustInvoiceTrans.TaxAmountMST
TaxAutogeneratedYes or no flag showing whether the tax was generated automatically.Enum
TaxAutoGenerated
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTrans.TaxAutogenerated
TaxGroupSales tax group applied to the line.String
TaxGroup
NoYesTaxGroupHeading.TaxGroupCustInvoiceTrans.TaxGroup
TaxItemGroupItem sales tax group of the line.String
TaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupCustInvoiceTrans.TaxItemGroup
TaxWithholdGroup_THWithholding tax group, used for Thailand.String
TaxWithholdGroup
NoYesTaxWithholdGroupHeading.TaxWithholdGroupCustInvoiceTrans.TaxWithholdGroup_TH
TaxWithholdItemGroupHeading_THItem withholding tax group, used for Thailand.Int64
TaxWithholdItemGroupId_TH
NoYesTaxWithholdItemGroupHeading_TH.RecIdCustInvoiceTrans.TaxWithholdItemGroupHeading_TH
TaxWriteCodeCode used when printing the tax.String
TaxWriteCode
NoYesCustInvoiceTrans.TaxWriteCode
TransactionCodeIntrastat transaction code.String
IntrastatTransactionCodeId
NoYesIntrastatTransactionCode.TransactionCodeCustInvoiceTrans.TransactionCode
TransportTransport method for Intrastat.String
IntrastatTransport
NoYesIntrastatTransportMode.TransPortCodeCustInvoiceTrans.Transport
WeightWeight of the goods on the line.Real
Weight
NoYesCustInvoiceTrans.Weight
OverrideSalesTaxYes or no flag to override the tax determination.Enum
TaxIntegrationOverrideSalesTax
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTrans.OverrideSalesTax
TotalTaxSales tax amount of the line in the transaction currency.Real
TaxAmountCur
NoYesCustInvoiceTrans.TotalTax
TotalChargeCharge amount in the transaction currency.Real
AmountCur
NoYesCustInvoiceTrans.TotalCharge
DefaultDimensionPoints to the default financial dimension set for the line.Int64
LedgerDimensionValueSet
NoYesDimensionAttributeValueSet.RecIdCustInvoiceTrans.DefaultDimension
ReverseChargeApplies_UKYes or no flag for reverse charge, used for the United Kingdom.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTrans.ReverseChargeApplies_UK
ItemCodeIdCommodity code of the item for Intrastat.String
DEL_IntrastatItemCodeId
NoYesCustInvoiceTrans.ItemCodeId
LedgerDimensionValuesJsonText in JSON format holding the ledger dimension values of the invoice line.StringNoYescomputed
DefaultDimensionValuesJsonText in JSON format holding the default dimension values of the invoice line.StringNoYescomputed
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesCustInvoiceTrans.RecId
SysDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesCustInvoiceTrans.DataAreaId
SysModifiedDateTimeThe date and time when the record was last changed.UtcDateTime
ModifiedDateTime
NoYesCustInvoiceTrans.ModifiedDateTime
SysCreatedDateTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesCustInvoiceTrans.CreatedDateTime
CDRDataAreaIdCompany (legal entity) that the retention details belong to.String
DataAreaId
NoYesCustInvoiceTransCDR.CDRDataAreaId
CountryLawReferenceTwo-character code for the country law that applies to the record.String (2)
CDRCountryLawReference
NoYesCustInvoiceTransCDR.CountryLawReference
RetentionStartDateDate on which the retention period starts.Date
CDRRetentionStartDate
NoYesCustInvoiceTransCDR.RetentionStartDate
RetentionEndDateDate on which the retention period ends.Date
CDRRetentionEndDate
NoYesCustInvoiceTransCDR.RetentionEndDate
RevRecDeferredYes or no flag showing whether revenue is deferred.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTrans.RevRecDeferred
RevRecDeferredProcessedYes or no flag showing whether deferred revenue is processed.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTrans.RevRecDeferredProcessed
RevRecRevenueScheduleIdRevenue schedule linked to the line.String
RevRecRevenueScheduleID
NoYesRevRecRevenueSchedule.RevenueScheduleIDCustInvoiceTrans.RevRecRevenueScheduleId
SubBillRevenueSplitYes or no flag marking the line as a revenue split parent.Enum
SubBillRevenueSplit
NoYes

Platform enum: values not in the metadata extract.

NoYesCustInvoiceTrans.SubBillRevenueSplit
SubBillRevenueSplitAllocationMethodMethod for splitting revenue, such as percentage or equal amount.Enum
SubBillRevenueSplitAllocationMethod
  • VariableAmount 0
  • Percentage 1
  • EqualAmount 2
  • ZeroAmount 3
  • ZeroParentAmount 4
NoYesCustInvoiceTrans.SubBillRevenueSplitAllocationMethod
SubBillRevenueSplitParentAmountAmount of the parent line in a revenue split.RealNoYesCustInvoiceTrans.SubBillRevenueSplitParentAmount
SubBillRevenueSplitParentLineRecIdPoints to the parent line of a revenue split.Int64
RefRecId
NoYesCustInvoiceTrans.SubBillRevenueSplitParentLineRecId

Foreign keys (38)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with CustInvoiceTransCDREntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk