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 descriptionType / EDT / enumMandatoryReferencesIn public entities
entryTypeIdPoints to the POS data entry type. It is part of the key.String (20)
RetailDataEntryTypeId
NoRetailDataEntryTypeTable.entryTypeIdNone
entryIdThe ID of the data entry. It is part of the key.String (30)
RetailEntryId
NoNone
amountThe amount of the entry.Real
Amount
NoNone
appliedYes/No flag showing whether the entry has been applied.Enum
NoYes (enum)
NoNone
appliedAmountThe amount that has been applied.Real
RetailappliedAmount
NoNone
appliedByLineNumThe line number on the transaction that applied the entry.Real
LineNum
NoNone
appliedByReceiptIdThe receipt number of the transaction that applied the entry.String (18)
RetailReceiptId
NoNone
appliedByStaffIdThe ID of the operator who applied the entry.String (25)
RetailStaffId
NoNone
appliedByTerminalIdThe register number used to apply the entry.String
RetailTerminalId
NoRetailTerminalTable.terminalIdNone
appliedDateThe date the entry was applied.Date
RetailappliedDate
NoNone
appliedInStoreIdThe store number where the entry was applied.String
RetailStoreId
NoRetailStoreTable.StoreNumberNone
appliedTimeThe time the entry was applied.Time
RetailappliedTime
NoNone
createdByLineNumThe line number on the transaction that created the entry.Real
LineNum
NoNone
createdByReceipIdThe receipt number of the transaction that created the entry.String (18)
RetailReceiptId
NoNone
createdByStaffIdThe ID of the operator who created the entry.String (25)
RetailStaffId
NoNone
createdByTerminalIdThe register number used to create the entry.String
RetailTerminalId
NoRetailTerminalTable.terminalIdNone
createdInStoreIdThe store number where the entry was created.String
RetailStoreId
NoRetailStoreTable.StoreNumberNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
replicationCounterA counter value used for replication.Integer
RetailReplicationCounter
NoNone
reservedByTerminalIdThe register number that reserved the entry.String
RetailTerminalId
NoRetailTerminalTable.terminalIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
transDateThe date of the transaction.Date
RetailtransDate
NoNone
transTimeThe time of the transaction.Time
RetailTransTime
NoNone

Indexes (3)

Relations (6)

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

  • RetailDataEntryTypeTable → RetailDataEntryTypeTable

    Join on entryTypeId = RetailDataEntryTypeTable.entryTypeId

    Many RetailDataEntryTrans records → exactly one RetailDataEntryTypeTable record

  • RetailStoreTable → RetailStoreTable

    Join on appliedInStoreId = RetailStoreTable.StoreNumber

    Many RetailDataEntryTrans records → exactly one RetailStoreTable record

  • RetailStoreTable1 → RetailStoreTable

    Join on createdInStoreId = RetailStoreTable.StoreNumber

    Many RetailDataEntryTrans records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on reservedByTerminalId = RetailTerminalTable.terminalId

    Many RetailDataEntryTrans records → exactly one RetailTerminalTable record

  • RetailTerminalTable1 → RetailTerminalTable

    Join on createdByTerminalId = RetailTerminalTable.terminalId

    Many RetailDataEntryTrans records → exactly one RetailTerminalTable record

  • RetailTerminalTable2 → RetailTerminalTable

    Join on appliedByTerminalId = RetailTerminalTable.terminalId

    Many 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.

Email sales@drdynamics.co.uk