Table
RetailDataEntryTrans
Data entry transaction
Holds POS data entry transactions. They are identified by the data entry type and an entry ID. Each record stores an amount, who created it and who applied it, and the store, register and receipt details for both steps.
- Table name
RetailDataEntryTrans- Module
Commerce employees- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
typeEntryIdx- Replacement key
None- Key fields
entryTypeId, entryId- Model
Foundation
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
entryTypeIdPoints to the POS data entry type. It is part of the key. | String (20)RetailDataEntryTypeId | No | RetailDataEntryTypeTable.entryTypeId | None |
entryIdThe ID of the data entry. It is part of the key. | String (30)RetailEntryId | No | None | |
amountThe amount of the entry. | RealAmount | No | None | |
appliedYes/No flag showing whether the entry has been applied. | EnumNoYes (enum) | No | None | |
appliedAmountThe amount that has been applied. | RealRetailappliedAmount | No | None | |
appliedByLineNumThe line number on the transaction that applied the entry. | RealLineNum | No | None | |
appliedByReceiptIdThe receipt number of the transaction that applied the entry. | String (18)RetailReceiptId | No | None | |
appliedByStaffIdThe ID of the operator who applied the entry. | String (25)RetailStaffId | No | None | |
appliedByTerminalIdThe register number used to apply the entry. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | None |
appliedDateThe date the entry was applied. | DateRetailappliedDate | No | None | |
appliedInStoreIdThe store number where the entry was applied. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | None |
appliedTimeThe time the entry was applied. | TimeRetailappliedTime | No | None | |
createdByLineNumThe line number on the transaction that created the entry. | RealLineNum | No | None | |
createdByReceipIdThe receipt number of the transaction that created the entry. | String (18)RetailReceiptId | No | None | |
createdByStaffIdThe ID of the operator who created the entry. | String (25)RetailStaffId | No | None | |
createdByTerminalIdThe register number used to create the entry. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | None |
createdInStoreIdThe store number where the entry was created. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
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 | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
replicationCounterA counter value used for replication. | IntegerRetailReplicationCounter | No | None | |
reservedByTerminalIdThe register number that reserved the entry. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
transDateThe date of the transaction. | DateRetailtransDate | No | None | |
transTimeThe time of the transaction. | TimeRetailTransTime | No | None |
Indexes (3)
typeEntryIdxPrimary indexUnique, alternate key.
typeAppliedIdxNot unique.
replicationIdxNot unique.
Relations (6)
Each relation joins RetailDataEntryTrans to another table on the fields shown.
RetailDataEntryTypeTable→RetailDataEntryTypeTableJoin on
entryTypeId = RetailDataEntryTypeTable.entryTypeIdMany RetailDataEntryTrans records → exactly one RetailDataEntryTypeTable record
RetailStoreTable→RetailStoreTableJoin on
appliedInStoreId = RetailStoreTable.StoreNumberMany RetailDataEntryTrans records → exactly one RetailStoreTable record
RetailStoreTable1→RetailStoreTableJoin on
createdInStoreId = RetailStoreTable.StoreNumberMany RetailDataEntryTrans records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
reservedByTerminalId = RetailTerminalTable.terminalIdMany RetailDataEntryTrans records → exactly one RetailTerminalTable record
RetailTerminalTable1→RetailTerminalTableJoin on
createdByTerminalId = RetailTerminalTable.terminalIdMany RetailDataEntryTrans records → exactly one RetailTerminalTable record
RetailTerminalTable2→RetailTerminalTableJoin on
appliedByTerminalId = RetailTerminalTable.terminalIdMany RetailDataEntryTrans records → exactly one RetailTerminalTable record
Get this data out
No public entity reads from RetailDataEntryTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailDataEntryTrans in a report, an integration or a migration? Talk to Dr Dynamics.