Data entity

RetailFiscalTransSalesTransAdjustmentEntity

Holds adjustment records for sales lines in fiscal transactions. Each record is identified by operating unit, store, register, transaction number, fiscal transaction line, fiscal record GUID and sales line number. It includes an option to exclude the line from sales reports.

Entity name
RetailFiscalTransSalesTransAdjustmentEntity
Public entity name
FiscalTransSalesTransAdjustment
OData collection
FiscalTransSalesTransAdjustments
Category
Transaction
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
OMOperatingUnit_PartyNumber, Store, Terminal, TransactionId, FiscalTransLineNum, FiscalTransRecordGuid, SalesTransLineNum
Staging table
RetailFiscalTransSalesTransAdjustmentStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/FiscalTransSalesTransAdjustments
Dataverse virtual table
mserp_retailfiscaltranssalestransadjustmententity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • RetailFiscalTransSalesTransAdjustment · root
  • RetailChannelTable · OuterJoin to RetailFiscalTransSalesTransAdjustment · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable

Fields (11)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
TerminalNumber of the POS register where the transaction was made.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailFiscalTransSalesTransAdjustment.Terminal
TransactionIdNumber of the retail transaction that the adjustment belongs to.String (44)
RetailTransactionId
YesYesRetailTransactionTable.transactionIdRetailFiscalTransSalesTransAdjustment.TransactionId
ChannelPoints to the retail channel (by system record ID).Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailFiscalTransSalesTransAdjustment.Channel
StoreNumber of the store where the transaction was made.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailFiscalTransSalesTransAdjustment.Store
SalesTransLineNumLine number of the sales transaction line that is adjusted.Real
LineNum
YesYesRetailTransactionSalesTrans.LineNumRetailFiscalTransSalesTransAdjustment.SalesTransLineNum
FiscalTransLineNumLine number of the fiscal transaction line the adjustment is linked to.Real
LineNum
YesYesRetailFiscalTransSalesTransAdjustment.FiscalTransLineNum
FiscalTransRecordGuidGUID of the fiscal transaction record the adjustment is linked to.Guid
SysGuid
NoYesRetailTransactionFiscalTrans.RecordGuidRetailFiscalTransSalesTransAdjustment.FiscalTransRecordGuid
ExcludeYes/No flag that keeps the sales line out of sales reports.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailFiscalTransSalesTransAdjustment.Exclude
ReplicationCounterFromOriginCounter used when the record is replicated from its origin.Integer
RetailReplicationCounter
NoYesRetailFiscalTransSalesTransAdjustment.ReplicationCounterFromOrigin
RetailChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record.Int64
RefRecId
NoNo (private)OMOperatingUnit.RecIdRetailChannelTable.OMOperatingUnitID
OMOperatingUnit_PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.PartyNumber

Foreign keys (7)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • Terminal → RetailTerminalTable.terminalId (key of RetailTerminalTable)

    Many RetailFiscalTransSalesTransAdjustment records → exactly one RetailTerminalTable record

    RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity

  • TransactionId → RetailTransactionTable.transactionId (key of RetailTransactionTable)

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

    Zero or one RetailFiscalTransSalesTransAdjustment record → exactly one RetailTransactionTable record

    RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity

  • Channel → RetailChannelTable.RecId (key of RetailChannelTable)

    Many RetailFiscalTransSalesTransAdjustment records → zero or one RetailChannelTable record

    RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity

  • Store → RetailStoreTable.StoreNumber (key of RetailStoreTable)

    Many RetailFiscalTransSalesTransAdjustment records → exactly one RetailStoreTable record

    RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity

  • SalesTransLineNum → RetailTransactionSalesTrans.LineNum (key of RetailTransactionSalesTrans)

    Join on all of: SalesTransLineNum = RetailTransactionSalesTrans.LineNum, Channel = RetailTransactionSalesTrans.Channel, Store = RetailTransactionSalesTrans.store, Terminal = RetailTransactionSalesTrans.TerminalId, TransactionId = RetailTransactionSalesTrans.TransactionId

    Zero or one RetailFiscalTransSalesTransAdjustment record → exactly one RetailTransactionSalesTrans record

    RetailTransactionSalesTrans details: see RetailTransactionSalesLineEntity, RetailTransactionSalesLineV2Entity, RetailTransactionSalesTransBIEntity

  • FiscalTransRecordGuid → RetailTransactionFiscalTrans.RecordGuid (key of RetailTransactionFiscalTrans)

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

    Many RetailFiscalTransSalesTransAdjustment records → exactly one RetailTransactionFiscalTrans record

    RetailTransactionFiscalTrans details: see RetailTransactionFiscalTransEntity, RetailTransactionFiscalTransBIEntity

  • RetailChannelTable_OMOperatingUnitID → OMOperatingUnit.RecId (key of OMOperatingUnit)

    Zero or one RetailChannelTable record → exactly one OMOperatingUnit record

    OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity

Need help with RetailFiscalTransSalesTransAdjustmentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk