Table

RetailTransactionCustomerAccountDepositTrans

Holds customer account deposit lines taken at a point of sale. Each row is identified by channel, store, register, transaction number and line number. It records the amount, the customer account, the receipt, the shift and the statement it relates to.

Table name
RetailTransactionCustomerAccountDepositTrans
Module
Commerce transactions and orders
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
transactionLineIdx
Replacement key
None
Key fields
Channel, store, terminal, transactionId, lineNum
Model
Foundation

Fields (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel the transaction belongs to, pointing to the channel record.Int64
RefRecId
NoRetailChannelTable.RecIdRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
storeNumber of the store where the transaction took place.String
RetailStoreId
NoRetailStoreTable.StoreNumberRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
terminalNumber of the POS register that handled the transaction.String
RetailTerminalId
NoRetailTerminalTable.terminalIdRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
transactionIdNumber of the retail transaction that this line belongs to.String (44)
RetailTransactionId
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
lineNumLine number of the deposit within the transaction.Real
LineNum
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
amountAmount of the deposit.Real
Amount
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
businessDateDate of the deposit.Date
TransDate
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
commentPurpose not clear from the metadata.low confidenceString (60)NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
counterCounter value stored with the line.low confidenceInteger
RetailCounter
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
custAccountCustomer account that the deposit is made to; it points to an income/expense account record for the store.String (38)
RetailAsyncCustAccount
NoRetailIncomeExpenseAccountTable.accountNumRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionCustomerAccountDepositTransBIEntity
OriginNumber of the location where the record originated.String (50)
RetailConnDistributionLocationId
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
receiptIdNumber printed on the receipt for this transaction.String (18)
RetailReceiptId
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoRetailTransactionCustomerAccountDepositTransBIEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
replicatedYes/No flag showing whether the record has been replicated.Enum
RetailReplicated
NoYes (enum)
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
replicationCounterFromOriginCounter used to track replication of the record from where it was created.Integer
RetailReplicationCounter
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
shiftIdentifier of the work shift in which the deposit was taken.String
RetailShiftId
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
shiftDateDate of the work shift, linked to the work shift record.Date
RetailShiftDate
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
staffID of the operator who handled the transaction.String (25)
RetailStaffId
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
statementCodeCode of the statement that the line is assigned to.String (25)
RetailStatementCode
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
statementIdNumber of the statement that includes this line, pointing to the statement record.String (20)
RetailStatementId
NoRetailStatementTable.statementIdRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
transactionStatusStatus of the entry, for example voided, posted, concluded or on hold.Enum
RetailTransEntryStatus
RetailEntryStatus (enum)
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
transDateDate of the transaction.Date
TransDate
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity
transTimeTime of the transaction.Time
RetailTransTime
NoRetailTransactionCustomerAccountDepositTransEntityRetailTransactionCustomerAccountDepositTransBIEntity

Indexes (3)

Relations (7)

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

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionCustomerAccountDepositTrans records → zero or one RetailChannelTable record

  • RetailIncomeExpenseAccountTable → RetailIncomeExpenseAccountTable

    Join on store = RetailIncomeExpenseAccountTable.storeId, custAccount = RetailIncomeExpenseAccountTable.accountNum

    Many RetailTransactionCustomerAccountDepositTrans records → exactly one RetailIncomeExpenseAccountTable record

  • RetailStatementTable → RetailStatementTable

    Join on statementId = RetailStatementTable.statementId

    Many RetailTransactionCustomerAccountDepositTrans records → exactly one RetailStatementTable record

  • RetailStoreTable → RetailStoreTable

    Join on store = RetailStoreTable.StoreNumber

    Many RetailTransactionCustomerAccountDepositTrans records → exactly one RetailStoreTable record

  • RetailStoreWorkShiftTable → RetailStoreWorkShiftTable

    Join on shiftDate = RetailStoreWorkShiftTable.shiftDate

    Many RetailTransactionCustomerAccountDepositTrans records → zero or one RetailStoreWorkShiftTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on terminal = RetailTerminalTable.terminalId

    Many RetailTransactionCustomerAccountDepositTrans records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on transactionId = RetailTransactionTable.transactionId, store = RetailTransactionTable.store, terminal = RetailTransactionTable.terminal

    Many RetailTransactionCustomerAccountDepositTrans records → zero or one RetailTransactionTable record

Get this data out

Tables are not exposed directly. These public entities read from RetailTransactionCustomerAccountDepositTrans; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk