Table
RetailCustInvoiceJourTable
Retail customer invoice journal
Holds extra retail details for a customer invoice journal record. Each row links an invoice journal to the store, register, channel, statement and hour of day where it came from. It has no defined key in the metadata.
- Table name
RetailCustInvoiceJourTable- Module
Commerce customers- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustInvoiceJourPoints to the customer invoice journal record that this retail detail row extends. | Int64RefRecId | No | CustInvoiceJour.RecId | RetailCustInvoiceJourTableBiEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailCustInvoiceJourTableBiEntity | |
IsEInvocieGeneratedFromPOS_SAYes or No flag used for Saudi Arabia. It appears to show whether an e-invoice was generated from the POS. | EnumNoYesIdNoYes (enum) | No | RetailCustInvoiceJourTableBiEntity | |
OMInternalOrganizationPoints to the internal organization record linked to the invoice. | Int64RefRecId | No | OMInternalOrganization.RecId | RetailCustInvoiceJourTableBiEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | RetailCustInvoiceJourTableBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | RetailCustInvoiceJourTableBiEntity | |
RetailChannelPoints to the retail channel linked to the invoice. | Int64RefRecId | No | RetailChannelTable.RecId | RetailCustInvoiceJourTableBiEntity |
RetailHourOfDayPoints to the hour-of-day record linked to the invoice. | Int64RefRecId | No | RetailHour.RecId | RetailCustInvoiceJourTableBiEntity |
RetailStatementIdNumber of the retail statement linked to the invoice. | String (20)RetailStatementId | No | RetailStatementTable.statementId | RetailCustInvoiceJourTableBiEntity |
RetailStoreIdNumber of the store linked to the invoice. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | RetailCustInvoiceJourTableBiEntity |
RetailTerminalIdNumber of the POS register linked to the invoice. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | RetailCustInvoiceJourTableBiEntity |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | RetailCustInvoiceJourTableBiEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
CustInvoiceJourUnique.
ColumnStoreIdxCustInvoiceJour,DataAreaId,Partition,RetailChannel,RetailTerminalIdNot unique.
Relations (7)
Each relation joins RetailCustInvoiceJourTable to another table on the fields shown.
CustInvoiceJour→CustInvoiceJourJoin on
CustInvoiceJour = CustInvoiceJour.RecIdZero or one RetailCustInvoiceJourTable record → exactly one CustInvoiceJour record
OMInternalOrganization→OMInternalOrganizationJoin on
OMInternalOrganization = OMInternalOrganization.RecIdMany RetailCustInvoiceJourTable records → exactly one OMInternalOrganization record
RetailChannel→RetailChannelTableJoin on
RetailChannel = RetailChannelTable.RecIdMany RetailCustInvoiceJourTable records → exactly one RetailChannelTable record
RetailHourOfDay→RetailHourJoin on
RetailHourOfDay = RetailHour.RecIdMany RetailCustInvoiceJourTable records → exactly one RetailHour record
RetailStatementTable→RetailStatementTableJoin on
RetailStatementId = RetailStatementTable.statementIdMany RetailCustInvoiceJourTable records → exactly one RetailStatementTable record
RetailStoreTable→RetailStoreTableJoin on
RetailStoreId = RetailStoreTable.StoreNumberMany RetailCustInvoiceJourTable records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
RetailTerminalId = RetailTerminalTable.terminalIdMany RetailCustInvoiceJourTable records → exactly one RetailTerminalTable record
Get this data out
Tables are not exposed directly. These public entities read from RetailCustInvoiceJourTable; use one of them in Power BI, Power Platform or a data management project.
RetailCustInvoiceJourTableBiEntity· 12 fields from this table
Need help with RetailCustInvoiceJourTable in a report, an integration or a migration? Talk to Dr Dynamics.