Table

RetailTransactionInfocodeTrans

Info code transactions

Holds info code entries captured during retail transactions. Each row is identified by channel, store, register, transaction, line, type and info code. The type shows which part of the transaction the entry belongs to, such as the header, a sales line, a payment, an income/expense line or a fiscal transaction.

Table name
RetailTransactionInfocodeTrans
Module
Commerce transactions and orders
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
transTypeLineInfocodeIdx
Replacement key
None
Key fields
Channel, store, terminal, transactionId, lineNum, type, infocodeId
Model
Foundation

Fields (35)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel the transaction belongs to, pointing to the channel record.Int64
RefRecId
NoRetailChannelTable.RecIdRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
storeNumber of the store where the transaction took place.String
RetailStoreId
NoRetailStoreTable.StoreNumberRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
terminalNumber of the POS register that handled the transaction.String
RetailTerminalId
NoRetailTerminalTable.terminalIdRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
transactionIdNumber of the retail transaction that the entry belongs to.String (44)
RetailTransactionId
NoRetailTransactionFiscalTrans.TransactionIdRetailTransactionSalesTrans.transactionIdRetailTransactionTable.transactionIdRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
lineNumLine number of the info code entry.Real
LineNum
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
typeKind of transaction line the entry belongs to, such as header, sales, payment, income/expense or fiscal.Enum
RetailInfocodeTransType (enum)
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
infocodeIdNumber of the info code, pointing to the info code record.String
RetailInfocodeId
NoRetailInfocodeTable.infocodeIdRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
amountAmount stored with the info code entry.Real
Amount
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
businessDateDate of the entry.Date
TransDate
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
counterCounter value stored with the entry.low confidenceInteger
RetailCounter
NoRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionInfocodeTransBIEntity
fiscalTransParentGuidGUID of the parent fiscal transaction record, when the entry belongs to one.Guid
SysGuid
NoRetailTransactionFiscalTrans.RecordGuidRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
infoAmountAmount linked to the reason code entry.Real
RetailInfocodeAmount
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
informationText entered or chosen for the info code.String (100)
RetailInfocodeInformation
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
inputTypeKind of input the info code asks for, such as text, date, numeric, product or customer.Enum
RetailInfocodeInputType (enum)
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
itemTenderID number of the item or tender linked to the entry.String
RetailInfocodeItemTenderId
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
OriginNumber of the location where the record originated.String (50)
RetailConnDistributionLocationId
NoRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
parentLineNumLine number of the parent line, a fiscal or sales line, that the entry belongs to.Real
LineNum
NoRetailTransactionFiscalTrans.LineNumRetailTransactionSalesTrans.lineNumRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
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
replicatedYes/No flag showing whether the record has been replicated.Enum
RetailReplicated
NoYes (enum)
NoRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
replicationCounterFromOriginCounter used to track replication of the record from where it was created.Integer
RetailReplicationCounter
NoRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
sourceCodeSource number linked to the entry.low confidenceString (20)
RetailSourceCodeEx5
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
sourceCode2Second source number linked to the entry.low confidenceString (20)
RetailSourceCodeEx5
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
sourceCode3Third source number linked to the entry.low confidenceString (20)
RetailSourceCodeEx5
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
staffID of the operator who handled the transaction.String (25)
RetailStaffId
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
statementCodeCode of the statement that the entry is assigned to.String (25)
RetailStatementCode
NoRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
statementIdNumber of the statement that includes this entry, pointing to the statement record.String (20)
RetailStatementId
NoRetailStatementTable.statementIdRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
subInfocodeIdNumber of the subcode chosen for the info code.String
RetailInformationSubcodeId
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
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
transactionStatusStatus of the entry, for example voided, posted, concluded or on hold.Enum
RetailTransEntryStatus
RetailEntryStatus (enum)
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
transDateDate of the transaction.Date
TransDate
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity
transTimeTime of the transaction.Time
RetailTransTime
NoRetailTransactionInfoCodeLineEntityRetailTransactionInfocodeTransEntityRetailTransactionInfocodeTransBIEntity

Indexes (5)

Relations (10)

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

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionInfocodeTrans records → zero or one RetailChannelTable record

  • RetailInfocodeTable → RetailInfocodeTable

    Join on infocodeId = RetailInfocodeTable.infocodeId

    Many RetailTransactionInfocodeTrans records → exactly one RetailInfocodeTable record

  • RetailStatementTable → RetailStatementTable

    Join on statementId = RetailStatementTable.statementId

    Many RetailTransactionInfocodeTrans records → exactly one RetailStatementTable record

  • RetailStoreTable → RetailStoreTable

    Join on store = RetailStoreTable.StoreNumber

    Many RetailTransactionInfocodeTrans records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on terminal = RetailTerminalTable.terminalId

    Many RetailTransactionInfocodeTrans records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on transactionId = RetailTransactionTable.transactionId, store = RetailTransactionTable.store, terminal = RetailTransactionTable.terminal, Channel = RetailTransactionTable.Channel

    Many RetailTransactionInfocodeTrans records → zero or one RetailTransactionTable record

  • RetailTransactionIncomeExpenseTrans → RetailTransactionIncomeExpenseTrans

    Join on transactionId = RetailTransactionIncomeExpenseTrans.transactionId, store = RetailTransactionIncomeExpenseTrans.store, terminal = RetailTransactionIncomeExpenseTrans.terminal

    Many RetailTransactionInfocodeTrans records → zero or one RetailTransactionIncomeExpenseTrans record

  • RetailTransactionPaymentTrans → RetailTransactionPaymentTrans

    Join on transactionId = RetailTransactionPaymentTrans.transactionId, store = RetailTransactionPaymentTrans.store, terminal = RetailTransactionPaymentTrans.terminal

    Many RetailTransactionInfocodeTrans records → zero or one RetailTransactionPaymentTrans record

  • RetailTransactionSalesTrans → RetailTransactionSalesTrans

    Join on Channel = RetailTransactionSalesTrans.Channel, parentLineNum = RetailTransactionSalesTrans.lineNum, transactionId = RetailTransactionSalesTrans.transactionId, store = RetailTransactionSalesTrans.store, terminal = RetailTransactionSalesTrans.terminalId

    Many RetailTransactionInfocodeTrans records → zero or one RetailTransactionSalesTrans record

  • RetailTransactionFiscalTrans → RetailTransactionFiscalTrans

    Join on transactionId = RetailTransactionFiscalTrans.TransactionId, store = RetailTransactionFiscalTrans.Store, terminal = RetailTransactionFiscalTrans.Terminal, Channel = RetailTransactionFiscalTrans.Channel, type = RetailInfocodeTransType::Fiscal, parentLineNum = RetailTransactionFiscalTrans.LineNum, fiscalTransParentGuid = RetailTransactionFiscalTrans.RecordGuid

    Many RetailTransactionInfocodeTrans records → exactly one RetailTransactionFiscalTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk