Table
CustInvoiceTrans
Customer invoice lines
Holds the lines of customer invoices. It is a transaction table, and each line links to its invoice header in CustInvoiceJour. Lines also point to related records such as the inventory item, inventory dimensions, currency, financial dimensions, delivery mode, fixed asset and Intrastat details.
- Table name
CustInvoiceTrans- Module
Accounts receivable- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (123)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AssetBookIdFixed asset book that the line relates to. | StringAssetBookIdPurchSalesInvent | No | AssetBookTable.BookId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
AssetIdNumber of the fixed asset on the line. | String (20)AssetIdOpen | No | AssetTable.AssetId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
BillingCodeBilling code of the line. | StringBillingCode | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
CommissAmountCurCommission amount in the transaction currency. | RealCommissAmountCur | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
CommissAmountMSTCommission amount in the accounting currency. | RealCommissAmountMST | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
CommissCalcYes or no flag showing whether commission was calculated. | EnumCommissCalcNoYes (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
CountryRegionOfShipmentCountry or region that the goods ship from. | StringAddressCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | CustInvoiceTransBiEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntityCustInvoiceTransCDREntity | |
CurrencyCodeCurrency of the invoice line. | String (3)CustCurrencyCode | No | Currency.CurrencyCode | SalesInvoiceLineV4EntitySalesInvoiceLineV3EntitySalesInvoiceLineV2Entityand 7 more |
CustInvoiceLineIdRefPoints to the customer transaction line identifier. | Int64CustInvoiceLineIdRefRecId | No | CustInvoiceLineIdRef.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
CustomerLineNumLine number from the customer side. | IntegerCustLineNum | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | BusinessDocumentSalesInvoiceLineItemEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
DefaultDimensionPoints to the default financial dimension set for the line. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
DeliveryPostalAddressPoints to the delivery postal address. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
DeliveryTypeShows whether the line is delivered from stock or directly. | EnumTradeLineDlvTypeIdTradeLineDlvType (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
DiscAmountDiscount amount on the line. | RealSalesDiscAmount | No | BusinessDocumentSalesInvoiceLineItemEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
DiscPercentDiscount given as a percentage. | RealSalesDiscPercent | No | BusinessDocumentSalesInvoiceLineItemEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
DlvDateDate the goods are shipped. | DateSalesShippingDate | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
EInvoiceAccountCodeAccount code used for electronic invoicing. | String (35)EInvoiceAccountCode | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
ExternalItemIdItem ID used by the customer or an external party. | String (20)SalesExternalItemId | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
FinTagPoints to the financial tag on the line. | Int64FinTagRecId | No | FinTag.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
GoodsForFree_ITYes or no flag for goods supplied free of charge, used for Italy. | EnumNoYes (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
InterCompanyInventTransIdInventory lot ID used for the intercompany link. | String (20)InventTransId | No | InventTransOrigin.InventTransId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
IntrastatCommodityPoints to the commodity category for Intrastat. | Int64IntrastatCommodityId | No | EcoResCategory.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
IntrastatDispatchIdIntrastat shipment batch identifier. | String (20)IntrastatDispatchId | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
IntrastatFulfillmentDate_HUIntrastat fulfilment date, used for Hungary. | DateIntrastatFulfillmentDate_HU | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
InventDimIdPoints to the inventory dimensions of the line. | String (20)InventDimId | No | InventDim.inventDimId | SalesInvoiceLineV4EntitySalesInvoiceLineV3EntitySalesInvoiceLineV2Entityand 6 more |
InventQtyQuantity in the inventory unit. | RealInventQty | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
InventRefIdReference number of the source document. | String (20)InventRefId | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
InventRefTransIdLot ID of the referenced inventory transaction. | String (20)InventRefTransId | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
InventRefTypeType of the source document, such as sales order or purchase order. | EnumInventRefType (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
InventTransIdLot ID that links the line to its inventory transaction. | String (20)TradeInventTransId | No | InventTransOrigin.InventTransId | BundleSalesInvoiceLineEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntity |
InvoiceDateDate of the invoice. | DateTransDate | Yes | SalesInvoiceLineV4EntitySalesInvoiceLineV3EntitySalesInvoiceLineV2Entityand 8 more | |
InvoiceIdInvoice number; links the line to the invoice journal. | String (20)CustInvoiceId | Yes | SalesInvoiceLineV4EntitySalesInvoiceLineV3EntitySalesInvoiceLineV2Entityand 11 more | |
ItemCodeIdCommodity code of the item for Intrastat. | StringDEL_IntrastatItemCodeId | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
ItemIdItem sold on the line. | String (20)ItemId | No | InventTable.ItemId | BusinessDocumentSalesInvoiceLineItemEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntity |
LedgerDimensionMain account and dimensions for the line, as a ledger combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
LineAmountLine amount in the transaction currency. | RealAmountCur | No | SalesInvoiceLineV4EntitySalesInvoiceLineV3EntitySalesInvoiceLineV2Entityand 8 more | |
LineAmountMSTLine amount in the accounting currency. | RealAmountMST | No | BusinessDocumentSalesInvoiceLineItemEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
LineAmountTaxPart of the line amount that is sales tax. | RealLineAmountTax | No | BusinessDocumentSalesInvoiceLineItemEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
LineAmountTaxMSTSales tax included in the line amount, in the accounting currency. | RealLineAmountTaxMST | No | BusinessDocumentSalesInvoiceLineItemEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
LineCreationSequenceNumberNumber showing the order in which lines were created. | IntegerCustInvoiceLineCreationSequenceNumber | No | SalesInvoiceLineV4EntitySalesInvoiceLineV3EntitySalesInvoiceLineV2Entityand 9 more | |
LineDiscLine discount value. | RealSalesLineDisc | No | BusinessDocumentSalesInvoiceLineItemEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
LineHeaderHeading text for the line. | String (80)LineHeader | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
LineNumPosition number of the line. | RealLineNum | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
LinePercentLine discount as a percentage. | RealSalesLinePercent | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
MCRDeliveryNameName of the delivery recipient. | String (160)CustName | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
MCRDlvModeMode of delivery for the line. | StringCustDlvModeId | No | DlvMode.Code | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
MultiLnDiscMultiline discount amount. | RealSalesMultiLnDisc | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
MultiLnPercentMultiline discount as a percentage. | RealSalesMultiLnPercent | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
NameFree-text description of the line. | String (1000)ItemFreeTxtBase | No | SalesInvoiceLineV4EntitySalesInvoiceLineV3EntitySalesInvoiceLineV2Entityand 9 more | |
NGPCodesTable_FRPoints to the NGP code, used for France. | Int64NGPCodesTableFRId | No | NGPCodesTable_FR.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
numberSequenceGroupNumber sequence group linked to the line. | StringNumberSequenceGroupId | No | NumberSequenceGroup.numberSequenceGroupId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
OLAPCostValueCost value of the line for analysis. | RealSalesCostValue | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
OrderLineReference_NOOrder line reference, used for Norway. | String (30)OrderLineReference_NO | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
OrigCountryRegionIdCountry or region where the item originates. | StringItemOrigCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
OrigSalesIdOriginal sales order of the line. | String (20)SalesIdOrig | No | SalesTable.SalesId | BusinessDocumentSalesInvoiceLineItemEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntity |
OrigStateState or province where the item originates. | StringItemOrigStateId | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
OverrideSalesTaxYes or no flag to override the tax determination. | EnumTaxIntegrationOverrideSalesTaxNoYes (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
PackedExtensionsPacked container holding extension data for the line. | ContainerSysExtensionSerializerPackedContainer | No | None | |
ParentRecIdPoints to the invoice journal that owns this line. | Int64RefRecId | No | CustInvoiceJour.RecId | BusinessDocumentSalesInvoiceLineItemEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntityand 9 more |
PartDeliveryYes or no flag for partial delivery. | EnumPartDeliveryNoYes (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCWQtyCatch weight quantity of the line. | RealPdsCWInventQty | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
PdsCWQtyPhysicalPhysical catch weight quantity. | RealPdsCWInventQty | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
PdsCWRemainCatch weight quantity that remains. | RealPdsCWInventQty | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
PeriodChargeInvoiceLineBaseFromDateStart date of the period used as the base for a periodic charge. | DateMarkupPeriodChargeInvoiceLineBaseFromDate | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
PeriodChargeInvoiceLineBaseToDateEnd date of the period used as the base for a periodic charge. | DateMarkupPeriodChargeInvoiceLineBaseToDate | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
PortPort used for Intrastat reporting. | StringIntrastatPortId | No | IntrastatPort.PortId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
PriceUnitNumber of units that the unit price covers. | RealPriceUnit | No | BusinessDocumentSalesInvoiceLineItemEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
QtyInvoiced quantity. | RealSalesInvoicedQty | No | SalesInvoiceLineV4EntitySalesInvoiceLineV3EntitySalesInvoiceLineV2Entityand 8 more | |
QtyPhysicalPhysical quantity on the line. | RealSalesQty | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
ReasonRefRecIdPoints to a record in the reason references table (ReasonTableRef) through its system record ID. | Int64ReasonRefRecID | No | ReasonTableRef.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | BusinessDocumentSalesInvoiceLineItemEntityCustInvoiceTransBiEntityCustInvoiceTransCDREntityand 9 more | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | CustInvoiceTransBiEntity | |
RefCommReportTrans_RUPoints to a commission report line, used for Russia. | Int64RefRecId | No | CommReportTransItem_RU.RecId | None |
RemainQuantity that remains. | RealSalesQty | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
RemainBeforeQuantity that remained before this invoice. | RealSalesQty | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
RetailCategoryPoints to the retail category of the line. | Int64RetailCategory | No | EcoResCategory.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
ReturnArrivalDateDate the returned goods actually arrived. | DateReturnArrivalDate | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
ReturnClosedDateDate the return was closed. | DateReturnClosedDate | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
ReturnDispositionCodeIdDisposition code for a return line. | StringReturnDispositionCodeId | No | ReturnDispositionCode.DispositionCodeId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
ReverseCharge_WYes or no flag for reverse charge tax. | EnumTaxReverseChargeNoYes (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
ReverseChargeApplies_UKYes or no flag for reverse charge, used for the United Kingdom. | EnumNoYes (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
ReverseChargeSalesListYes or no flag for the reverse charge sales list. | EnumNoYesIdNoYes (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
ReversedRecIdPoints to the invoice line that this line reverses. | Int64RefRecId | No | CustInvoiceTrans.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
RevRecDeferredYes or no flag showing whether revenue is deferred. | EnumNoYes (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
RevRecDeferredProcessedYes or no flag showing whether deferred revenue is processed. | EnumNoYes (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
RevRecRevenueScheduleIdRevenue schedule linked to the line. | StringRevRecRevenueScheduleID | No | RevRecRevenueSchedule.RevenueScheduleID | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
SalesCategoryPoints to the sales category of the line. | Int64SalesCategory | No | EcoResCategory.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
SalesGroupCommission sales group of the line. | StringCommissSalesGroup | No | CommissionSalesGroup.GroupId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
SalesIdSales order that the invoice line comes from. | String (20)SalesId | No | SalesTable.SalesId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
SalesMarkupCharges added to the line. | RealSalesMarkup | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
SalesPricePrice per unit. | RealSalesPrice | No | SalesInvoiceLineV4EntitySalesInvoiceLineV3EntitySalesInvoiceLineV2Entityand 8 more | |
SalesUnitUnit of measure used for sales. | StringSalesUnit | No | UnitOfMeasure.Symbol | SalesInvoiceLineV4EntitySalesInvoiceLineV3EntitySalesInvoiceLineV2Entityand 8 more |
SourceDocumentLinePoints to the source document line. | Int64RefRecId | No | SourceDocumentLine.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
StateOfShipmentState or province that the goods ship from. | StringLogisticsAddressStateId | No | LogisticsAddressState.StateId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
StatLineAmountMSTAmount for statistics reporting, in the accounting currency. | RealIntrastatLineAmountMST | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
StatProcIdStatistics procedure code for Intrastat. | StringIntrastatProcId | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
StockedProductYes or no flag showing whether the product is stocked. | EnumTradeStockedProductNoYes (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
SubBillRevenueSplitYes or no flag marking the line as a revenue split parent. | EnumSubBillRevenueSplitNoYes (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
SubBillRevenueSplitAllocationMethodMethod for splitting revenue, such as percentage or equal amount. | EnumSubBillRevenueSplitAllocationMethod (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
SubBillRevenueSplitParentAmountAmount of the parent line in a revenue split. | Real | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
SubBillRevenueSplitParentLineRecIdPoints to the parent line of a revenue split. | Int64RefRecId | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
SumLineDiscTotal line discount amount. | RealSalesSumLineDiscAmount | No | SalesInvoiceLineV4EntityBundleSalesInvoiceLineEntityBusinessDocumentSalesInvoiceLineItemEntityand 3 more | |
SumLineDiscMSTTotal line discount, in the accounting currency. | RealSalesSumLineDiscAmountMST | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | BusinessDocumentSalesInvoiceLineItemEntity | |
TaxAmountSales tax amount in the transaction currency. | RealTaxAmountCur | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
TaxAmountMSTSales tax amount in the accounting currency. | RealTaxAmount | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
TaxAutogeneratedYes or no flag showing whether the tax was generated automatically. | EnumTaxAutoGeneratedNoYes (enum) | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
TaxGroupSales tax group applied to the line. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
TaxItemGroupItem sales tax group of the line. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
TaxWithholdGroup_THWithholding tax group, used for Thailand. | StringTaxWithholdGroup | No | TaxWithholdGroupHeading.TaxWithholdGroup | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
TaxWithholdItemGroupHeading_THItem withholding tax group, used for Thailand. | Int64TaxWithholdItemGroupId_TH | No | TaxWithholdItemGroupHeading_TH.RecId | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
TaxWriteCodeCode used when printing the tax. | StringTaxWriteCode | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity | |
TotalChargeCharge amount in the transaction currency. | RealAmountCur | No | SalesInvoiceLineV4EntityReturnInvoiceLineCDSEntityCustInvoiceTransBiEntityand 1 more | |
TotalTaxSales tax amount of the line in the transaction currency. | RealTaxAmountCur | No | SalesInvoiceLineV4EntityReturnInvoiceLineCDSEntityCustInvoiceTransBiEntityand 1 more | |
TransactionCodeIntrastat transaction code. | StringIntrastatTransactionCodeId | No | IntrastatTransactionCode.TransactionCode | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
TransportTransport method for Intrastat. | StringIntrastatTransport | No | IntrastatTransportMode.TransPortCode | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
WeightWeight of the goods on the line. | RealWeight | No | CustInvoiceTransBiEntityCustInvoiceTransCDREntity |
Indexes (14)
InvoiceIdxSalesId,InvoiceDate,InvoiceId,LineNum,numberSequenceGroupNot unique.
TransIdIdxInventTransId,InvoiceId,InvoiceDate,Qty,QtyPhysicalNot unique.
ItemIdIdxNot unique.
LedgerDimensionIdxNot unique.
TaxWithholdItemGroupHeading_THIdxTaxWithholdItemGroupHeading_THNot unique.
SourceDocumentLineIdxSourceDocumentLine,Partition,dataAreaIdNot unique.
EcoResCategoryIdxNot unique.
CustInvoiceLineIdRefIdxNot unique.
CustInvoiceTransCreationSequenceIdxInvoiceId,InvoiceDate,LineCreationSequenceNumberUnique, alternate key.
InventDimIdIdxNot unique.
DeliveryPostalAddressIdxNot unique.
ParentRecIdIdxNot unique.
SalesLineInvoiceOrigSalesId,LineNum,InvoiceDateNot unique.
ColumnStoreIdxSalesId,DataAreaId,Partition,InvoiceId,InvoiceDate,numberSequenceGroup,InventTransId,LineAmountMST,LineAmountTaxMST,Qty,LineNum,ItemId,InventQty,RecIdNot unique.
Relations (43)
Each relation joins CustInvoiceTrans to another table on the fields shown.
AssetBookTable→AssetBookTableJoin on
AssetBookId = AssetBookTable.BookIdMany CustInvoiceTrans records → zero or one AssetBookTable record
AssetTable→AssetTableJoin on
AssetId = AssetTable.AssetIdMany CustInvoiceTrans records → zero or one AssetTable record
CommissionSalesGroup→CommissionSalesGroupJoin on
SalesGroup = CommissionSalesGroup.GroupIdMany CustInvoiceTrans records → zero or one CommissionSalesGroup record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CustInvoiceTrans records → zero or one Currency record
CustInvoice→CustInvoiceJourJoin on
InvoiceId = CustInvoiceJour.InvoiceIdMany CustInvoiceTrans records → zero or one CustInvoiceJour record
CustInvoiceJour→CustInvoiceJourJoin on
SalesId = CustInvoiceJour.SalesId,InvoiceId = CustInvoiceJour.InvoiceId,InvoiceDate = CustInvoiceJour.InvoiceDate,numberSequenceGroup = CustInvoiceJour.numberSequenceGroupMany CustInvoiceTrans records → exactly one CustInvoiceJour record
CustInvoiceJour_ParentRecId→CustInvoiceJourJoin on
ParentRecId = CustInvoiceJour.RecIdMany CustInvoiceTrans records → exactly one CustInvoiceJour record
CustInvoiceLineIdRef→CustInvoiceLineIdRefJoin on
CustInvoiceLineIdRef = CustInvoiceLineIdRef.RecIdMany CustInvoiceTrans records → zero or one CustInvoiceLineIdRef record
CustInvoiceSalesLink→CustInvoiceSalesLinkJoin on
SalesId = CustInvoiceSalesLink.salesId,InvoiceId = CustInvoiceSalesLink.invoiceId,InvoiceDate = CustInvoiceSalesLink.invoiceDateMany CustInvoiceTrans records → exactly one CustInvoiceSalesLink record
CustInvoiceTrans_Reversal→CustInvoiceTransJoin on
ReversedRecId = CustInvoiceTrans.RecIdMany CustInvoiceTrans records → zero or one CustInvoiceTrans record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CustInvoiceTrans records → zero or one DimensionAttributeValueSet record
DeliveryPostalAddress_FK→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany CustInvoiceTrans records → zero or one LogisticsPostalAddress record
EcoResCategory→EcoResCategoryJoin on
RetailCategory = EcoResCategory.RecIdMany CustInvoiceTrans records → zero or one EcoResCategory record
IntrastatCommodity→EcoResCategoryJoin on
IntrastatCommodity = EcoResCategory.RecIdMany CustInvoiceTrans records → zero or one EcoResCategory record
IntrastatPort→IntrastatPortJoin on
Port = IntrastatPort.PortIdMany CustInvoiceTrans records → zero or one IntrastatPort record
IntrastatStatProc→IntrastatStatProcJoin on
StatProcId = IntrastatStatProc.StatProcIdMany CustInvoiceTrans records → zero or one IntrastatStatProc record
IntrastatTransactionCode→IntrastatTransactionCodeJoin on
TransactionCode = IntrastatTransactionCode.TransactionCodeMany CustInvoiceTrans records → zero or one IntrastatTransactionCode record
IntrastatTransportMode→IntrastatTransportModeJoin on
Transport = IntrastatTransportMode.TransPortCodeMany CustInvoiceTrans records → zero or one IntrastatTransportMode record
InventDim_InventDimId→InventDimJoin on
InventDimId = InventDim.inventDimIdMany CustInvoiceTrans records → zero or one InventDim record
InventTable_ItemId→InventTableJoin on
ItemId = InventTable.ItemIdMany CustInvoiceTrans records → zero or one InventTable record
InventTransOrigin_InterCmpInvTransId→InventTransOriginJoin on
InterCompanyInventTransId = InventTransOrigin.InventTransIdMany CustInvoiceTrans records → zero or one InventTransOrigin record
InventTransOrigin_InventTransId→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany CustInvoiceTrans records → zero or one InventTransOrigin record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany CustInvoiceTrans records → zero or one DimensionAttributeValueCombination record
LogisticsAddressCountryRegion_RegionId→LogisticsAddressCountryRegionJoin on
OrigCountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany CustInvoiceTrans records → zero or one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion_Shipment→LogisticsAddressCountryRegionJoin on
CountryRegionOfShipment = LogisticsAddressCountryRegion.CountryRegionIdMany CustInvoiceTrans records → zero or one LogisticsAddressCountryRegion record
MCRDlvMode→DlvModeJoin on
MCRDlvMode = DlvMode.CodeMany CustInvoiceTrans records → exactly one DlvMode record
NGPCodesTable_FR→NGPCodesTable_FRJoin on
NGPCodesTable_FR = NGPCodesTable_FR.RecIdMany CustInvoiceTrans records → zero or one NGPCodesTable_FR record
NumberSequenceGroup→NumberSequenceGroupJoin on
numberSequenceGroup = NumberSequenceGroup.numberSequenceGroupIdMany CustInvoiceTrans records → zero or one NumberSequenceGroup record
ReasonTableRef→ReasonTableRefJoin on
ReasonRefRecId = ReasonTableRef.RecIdMany CustInvoiceTrans records → zero or one ReasonTableRef record
ReturnDispositionCode→ReturnDispositionCodeJoin on
ReturnDispositionCodeId = ReturnDispositionCode.DispositionCodeIdMany CustInvoiceTrans records → zero or one ReturnDispositionCode record
SalesCategory→EcoResCategoryJoin on
SalesCategory = EcoResCategory.RecIdMany CustInvoiceTrans records → zero or one EcoResCategory record
SalesTable_OrigSalesId→SalesTableJoin on
OrigSalesId = SalesTable.SalesIdMany CustInvoiceTrans records → zero or one SalesTable record
SalesTable_SalesId→SalesTableJoin on
SalesId = SalesTable.SalesIdMany CustInvoiceTrans records → zero or one SalesTable record
SalesUnit→UnitOfMeasureJoin on
SalesUnit = UnitOfMeasure.SymbolMany CustInvoiceTrans records → zero or one UnitOfMeasure record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdExactly one CustInvoiceTrans record → zero or one SourceDocumentLine record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany CustInvoiceTrans records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany CustInvoiceTrans records → zero or one TaxItemGroupHeading record
TaxWithholdGroupHeading→TaxWithholdGroupHeadingJoin on
TaxWithholdGroup_TH = TaxWithholdGroupHeading.TaxWithholdGroupMany CustInvoiceTrans records → zero or one TaxWithholdGroupHeading record
taxWithholdItemGroupHeading_TH→TaxWithholdItemGroupHeading_THJoin on
TaxWithholdItemGroupHeading_TH = TaxWithholdItemGroupHeading_TH.RecIdMany CustInvoiceTrans records → zero or one TaxWithholdItemGroupHeading_TH record
CommReportTransItem_RU→CommReportTransItem_RUJoin on
RefCommReportTrans_RU = CommReportTransItem_RU.RecIdMany CustInvoiceTrans records → zero or one CommReportTransItem_RU record
LogisticsAddressState_Shipment→LogisticsAddressStateJoin on
StateOfShipment = LogisticsAddressState.StateId,CountryRegionOfShipment = LogisticsAddressState.CountryRegionIdMany CustInvoiceTrans records → zero or one LogisticsAddressState record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany CustInvoiceTrans records → zero or one FinTag record
RevRecRevenueSchedule→RevRecRevenueScheduleJoin on
RevRecRevenueScheduleId = RevRecRevenueSchedule.RevenueScheduleIDMany CustInvoiceTrans records → zero or one RevRecRevenueSchedule record
Get this data out
Tables are not exposed directly. These public entities read from CustInvoiceTrans; use one of them in Power BI, Power Platform or a data management project.
SalesInvoiceLineV4Entity· 13 fields from this tableSalesInvoiceLineV3Entity· 10 fields from this tableSalesInvoiceLineV2Entity· 10 fields from this tableBundleSalesInvoiceLineEntity· 10 fields from this tableBusinessDocumentSalesInvoiceLineItemEntity· 24 fields from this tableReturnInvoiceLineCDSEntity· 13 fields from this tableSalesInvoiceLineEntity· 10 fields from this tableCustInvoiceTransBiEntity· 118 fields from this tableCustInvoiceTransCDREntity· 117 fields from this tableSubBillDetailLineExportEntity· 2 fields from this tableBusinessDocumentInvoicedPackingSlipLineV3Entity· 3 fields from this tableBusinessDocumentNonStockedPackingSlipLineV3Entity· 3 fields from this tableBusinessDocumentStockedPackingSlipLineV3Entity· 3 fields from this tableBusinessDocumentInvoicedPackingSlipLineV2Entity· 2 fields from this tableBusinessDocumentNonStockedPackingSlipLineV2Entity· 2 fields from this tableBusinessDocumentStockedPackingSlipLineV2Entity· 2 fields from this tableSalesExternallyMaintainedCustomerSalesInvoiceLineV2Entity· 9 fields from this tableBusinessDocumentInvoicedPackingSlipLineEntity· 2 fields from this tableBusinessDocumentNonStockedPackingSlipLineEntity· 2 fields from this tableBusinessDocumentStockedPackingSlipLineEntity· 2 fields from this tableSalesExternallyMaintainedCustomerSalesInvoiceLineEntity· 9 fields from this tableSalesRebateEntity· 1 field from this table
Need help with CustInvoiceTrans in a report, an integration or a migration? Talk to Dr Dynamics.