Table

RetailFiscalTransPaymentTransAdjustment

Payment transaction adjustment

Holds adjustment amounts that link a fiscal transaction line to a payment transaction line. The key combines channel, store, register, transaction, the fiscal line and GUID, and the payment line. It points to the fiscal, payment and main transaction tables.

Table name
RetailFiscalTransPaymentTransAdjustment
Module
Commerce
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
IdIdx
Replacement key
None
Key fields
Channel, Store, Terminal, TransactionId, FiscalTransLineNum, FiscalTransRecordGuid, PaymentTransLineNum
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelPoints to the retail channel (by system record ID).Int64
RefRecId
NoRetailChannelTable.RecIdRetailFiscalTransPaymentTransAdjustmentEntityRetailFiscalTransPaymentLineAdjustmentEntity
StoreNumber of the store where the transaction was made.String
RetailStoreId
NoRetailStoreTable.StoreNumberRetailFiscalTransPaymentTransAdjustmentEntityRetailFiscalTransPaymentLineAdjustmentEntity
TerminalNumber of the POS register where the transaction was made.String
RetailTerminalId
NoRetailTerminalTable.terminalIdRetailFiscalTransPaymentTransAdjustmentEntityRetailFiscalTransPaymentLineAdjustmentEntity
TransactionIdNumber of the retail transaction that the adjustment belongs to.String (44)
RetailTransactionId
YesRetailTransactionFiscalTrans.TransactionIdRetailTransactionPaymentTrans.TransactionIdRetailTransactionTable.transactionIdRetailFiscalTransPaymentTransAdjustmentEntityRetailFiscalTransPaymentLineAdjustmentEntity
FiscalTransLineNumLine number of the fiscal transaction line the adjustment is linked to.Real
LineNum
YesRetailTransactionFiscalTrans.LineNumRetailFiscalTransPaymentTransAdjustmentEntityRetailFiscalTransPaymentLineAdjustmentEntity
FiscalTransRecordGuidGUID of the fiscal transaction record the adjustment is linked to.Guid
SysGuid
NoRetailTransactionFiscalTrans.RecordGuidRetailFiscalTransPaymentTransAdjustmentEntityRetailFiscalTransPaymentLineAdjustmentEntity
PaymentTransLineNumLine number of the payment transaction line that is adjusted.Real
LineNum
YesRetailTransactionPaymentTrans.LineNumRetailFiscalTransPaymentTransAdjustmentEntityRetailFiscalTransPaymentLineAdjustmentEntity
AdjustmentAmountAdjusted amount, labelled as tendered; currency not stated in the metadata.Real
RetailAmountTendered
NoRetailFiscalTransPaymentTransAdjustmentEntityRetailFiscalTransPaymentLineAdjustmentEntity
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
ReplicationCounterFromOriginCounter used when the record is replicated from its origin.Integer
RetailReplicationCounter
NoRetailFiscalTransPaymentTransAdjustmentEntity
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

Indexes (1)

Relations (6)

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

  • RetailStoreTable → RetailStoreTable

    Join on Store = RetailStoreTable.StoreNumber

    Many RetailFiscalTransPaymentTransAdjustment records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on Terminal = RetailTerminalTable.terminalId

    Many RetailFiscalTransPaymentTransAdjustment records → exactly one RetailTerminalTable record

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailFiscalTransPaymentTransAdjustment records → zero or one RetailChannelTable record

  • RetailTransactionPaymentTrans → RetailTransactionPaymentTrans

    Join on Channel = RetailTransactionPaymentTrans.Channel, Store = RetailTransactionPaymentTrans.store, Terminal = RetailTransactionPaymentTrans.Terminal, TransactionId = RetailTransactionPaymentTrans.TransactionId, PaymentTransLineNum = RetailTransactionPaymentTrans.LineNum

    Zero or one RetailFiscalTransPaymentTransAdjustment record → exactly one RetailTransactionPaymentTrans record

  • RetailTransactionTable → RetailTransactionTable

    Join on TransactionId = RetailTransactionTable.transactionId, Store = RetailTransactionTable.store, Terminal = RetailTransactionTable.terminal, Channel = RetailTransactionTable.Channel

    Zero or one RetailFiscalTransPaymentTransAdjustment record → exactly one RetailTransactionTable record

  • RetailTransactionFiscalTrans → RetailTransactionFiscalTrans

    Join on Channel = RetailTransactionFiscalTrans.Channel, Store = RetailTransactionFiscalTrans.store, Terminal = RetailTransactionFiscalTrans.Terminal, TransactionId = RetailTransactionFiscalTrans.TransactionId, FiscalTransLineNum = RetailTransactionFiscalTrans.LineNum, FiscalTransRecordGuid = RetailTransactionFiscalTrans.RecordGuid

    Many RetailFiscalTransPaymentTransAdjustment records → exactly one RetailTransactionFiscalTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk