Table
RetailFiscalDocumentPaymentTrans_BR
Retail Fiscal Document Payment Transactions
Holds the payments made for a retail fiscal document in Brazil. Each row is one payment line, linked to the document and to a payment method. It stores payment type, card details and amount.
- Table name
RetailFiscalDocumentPaymentTrans_BR- Module
Fiscal books brazil- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
Idx- Replacement key
Idx- Key fields
Channel, store, terminal, transactionId, FiscalDocumentSeries, FiscalDocumentNumber, lineNum- Model
Foundation
Fields (23)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRetail channel of the document, by system record ID. | Int64RefRecId | Yes | RetailChannelTable.RecId | None |
storeNumber of the store of the transaction. | StringRetailStoreId | Yes | RetailFiscalDocument_BR.store | None |
terminalNumber of the register used for the transaction. | StringRetailTerminalId | Yes | RetailFiscalDocument_BR.terminal | None |
transactionIdNumber of the retail transaction the document comes from. | String (44)RetailTransactionId | Yes | RetailFiscalDocument_BR.transactionId | None |
FiscalDocumentSeriesSeries of the retail fiscal document the payment belongs to. | String (9)FiscalDocumentSeries_BR | Yes | RetailFiscalDocument_BR.FiscalDocumentSeries | None |
FiscalDocumentNumberNumber of the retail fiscal document the payment belongs to. | String (20)FiscalDocumentNumber_BR | Yes | RetailFiscalDocument_BR.FiscalDocumentNumber | None |
lineNumNumber of the payment line. | RealLineNum | No | None | |
AmountTotal amount of the payment, in accounting currency. | RealAmountMST | No | None | |
CardAuthorizationNumberAuthorization number of the card payment. | String (20)CardAuthorizationNumber_BR | No | None | |
CardLogoCard brand logo, such as Visa, MasterCard or Amex. | EnumCardLogo (enum) | No | None | |
CardProcessorCNPJCPFCNPJ of the card processor. | String (20)CNPJCPFNum_BR | No | None | |
CardProcessorCodeCode of the card processor. | String (3)CardProcessorCode_BR | No | None | |
CardTypeCard type as free text. No label is given.low confidence | String | No | 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 | |
PaymentSystemCard payment system, such as Visa, Elo or Hipercard. | EnumCardType_BR (enum) | No | None | |
PaymentTypeType of payment, such as cash, check, credit card or gift card. | EnumPaymentType_BR (enum) | 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 used when the record is replicated from its origin. | IntegerRetailReplicationCounter | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TenderTypeIdPayment method used, pointing to the payment methods table. | StringRetailTenderTypeId | No | RetailTenderTypeTable.tenderTypeId | None |
Indexes (1)
IdxPrimary indexReplacement keyChannel,store,terminal,transactionId,FiscalDocumentSeries,FiscalDocumentNumber,lineNumUnique, alternate key.
Relations (3)
Each relation joins RetailFiscalDocumentPaymentTrans_BR to another table on the fields shown.
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailFiscalDocumentPaymentTrans_BR records → exactly one RetailChannelTable record
RetailFiscalDocument_BR→RetailFiscalDocument_BRJoin on
Channel = RetailFiscalDocument_BR.Channel,store = RetailFiscalDocument_BR.store,terminal = RetailFiscalDocument_BR.terminal,transactionId = RetailFiscalDocument_BR.transactionId,FiscalDocumentSeries = RetailFiscalDocument_BR.FiscalDocumentSeries,FiscalDocumentNumber = RetailFiscalDocument_BR.FiscalDocumentNumberMany RetailFiscalDocumentPaymentTrans_BR records → exactly one RetailFiscalDocument_BR record
RetailTenderTypeTable→RetailTenderTypeTableJoin on
TenderTypeId = RetailTenderTypeTable.tenderTypeIdMany RetailFiscalDocumentPaymentTrans_BR records → zero or one RetailTenderTypeTable record
Get this data out
No public entity reads from RetailFiscalDocumentPaymentTrans_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailFiscalDocumentPaymentTrans_BR in a report, an integration or a migration? Talk to Dr Dynamics.