Table
RetailTransactionPaymentTrans_BRHistory
Archived fiscal document(module 2) payment transactions
Archived payment lines for retail transactions, used for Brazil. Each line shows the payment method, the amount and the amount tendered. It also records the store, register, date and transaction status.
- Table name
RetailTransactionPaymentTrans_BRHistory- Module
Commerce transactions and orders- Table group
TransactionLine- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
amountCurPayment amount in the transaction currency. | RealAmountCur | No | None | |
amountTenderedAmount the customer paid. | RealRetailAmountTendered | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
lineNumLine number within the transaction. | RealLineNum | No | None | |
OriginNumber of the location the record came from. | String (50)RetailConnDistributionLocationId | 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 | |
ReplicationCounterFromOriginCounter value used when the record is replicated from its originating location. | IntegerRetailReplicationCounter | No | None | |
StoreIdNumber of the store where the transaction took place. | StringRetailStoreId | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
tenderTypeID of the payment method used. | StringRetailTenderTypeId | No | None | |
TerminalIdNumber of the register used for the transaction. | StringRetailTerminalId | Yes | None | |
TransactionIdNumber of the retail transaction. | String (44)RetailTransactionId | Yes | None | |
transactionStatusStatus of the entry, such as posted, voided, on hold or cancelled. | EnumRetailTransEntryStatusRetailEntryStatus (enum) | No | None | |
transDateDate of the transaction. | DateTransDate | No | None | |
transTimeTime of the transaction. | TimeRetailTransTime | No | None |
Indexes (2)
LineNumIdxStoreId,TerminalId,TransactionId,lineNum,DataAreaId,PartitionUnique, alternate key.
transactionIdxStoreId,TerminalId,TransactionId,DataAreaId,PartitionNot unique.
Get this data out
No public entity reads from RetailTransactionPaymentTrans_BRHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailTransactionPaymentTrans_BRHistory in a report, an integration or a migration? Talk to Dr Dynamics.