Data entity

RetailSalesAgreementSalesTransEntity

Links retail sales transaction lines to sales agreement lines. Each record is keyed by operating unit party number, store, register, transaction number and transaction line number. It also holds the sales agreement ID and agreement line number.

Entity name
RetailSalesAgreementSalesTransEntity
Public entity name
SalesAgreementSalesTrans
OData collection
SalesAgreementSalesTrans
Category
Not set
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
OMOperatingUnit_PartyNumber, Store, Terminal, TransactionId, TransactionLineNumber
Staging table
RetailSalesAgreementSalesTransStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/SalesAgreementSalesTrans
Dataverse virtual table
mserp_retailsalesagreementsalestransentity. 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

  • RetailSalesAgreementSalesTrans · root
  • RetailChannelTable · OuterJoin to RetailSalesAgreementSalesTrans · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • AgreementLine · InnerJoin to RetailSalesAgreementSalesTrans
  • SalesAgreementHeader · InnerJoin to AgreementLine
  • AgreementLine_AgreementLineVolumeCommitment (table AgreementLineVolumeCommitment) · Derived to AgreementLine
  • AgreementLine_AgreementLineQuantityCommitment (table AgreementLineQuantityCommitment) · Derived to AgreementLine

Fields (10)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ChannelPoints to the retail channel of the sales transaction.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailSalesAgreementSalesTrans.Channel
StoreNumber of the store where the transaction took place. Part of the key to the sales transaction line.String
RetailStoreId
NoYesRetailSalesAgreementSalesTrans.Store
TerminalNumber of the register where the transaction took place. Part of the key to the sales transaction line.String
RetailTerminalId
NoYesRetailSalesAgreementSalesTrans.Terminal
TransactionIdNumber that identifies the retail transaction. Part of the key to the sales transaction line.String (44)
RetailTransactionId
NoYesRetailSalesAgreementSalesTrans.TransactionId
TransactionLineNumberLine number within the retail transaction.Real
LineNum
NoYesRetailTransactionSalesTrans.lineNumRetailSalesAgreementSalesTrans.LineNum
SalesAgreementLineRecordIdPoints to the sales agreement line linked to this transaction line.Int64
RefRecId
NoNo (private)AgreementLine.RecIdRetailSalesAgreementSalesTrans.SalesAgreementLineRecordId
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
SalesAgreementIdID of the sales agreement.String (20)
SalesAgreementId
YesYesSalesAgreementHeader.SalesNumberSequence
AgreementLineNumberLine number within the agreement.Real
AgreementLineNum_PSN
NoYesAgreementLine.LineNumber

Foreign keys (4)

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.

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

Email sales@drdynamics.co.uk