Data entity

SalesAgreementConfirmationLineEntity

Read-only history of sales agreement lines at each confirmation. The key is the sales agreement ID, confirmation number and line number. It holds the commitment type, item, committed quantity or amount, price, discount and validity dates.

Entity name
SalesAgreementConfirmationLineEntity
Public entity name
SalesAgreementConfirmationLine
OData collection
SalesAgreementConfirmationLines
Category
Document
Module
Sales and marketing
Read-only
Yes
Data management enabled
Yes
Configuration key
TradeBlanketOrder
Keys
SalesAgreementId, ConfirmationNumber, LineNumber
Staging table
SalesAgreementConfirmationLineStaging

Use it in Power BI and Power Platform

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

  • AgreementLineHistory · root
  • AgreementLine · InnerJoin to AgreementLineHistory · read-only
  • AgreementHeader · InnerJoin to AgreementLine · read-only
  • SalesAgreementHeaderHistory · InnerJoin to AgreementHeader · read-only
  • CompanyInfo · InnerJoin to SalesAgreementHeaderHistory · read-only
  • SalesAgreementHeaderDefaultHistory · OuterJoin to SalesAgreementHeaderHistory
  • AgreementHeader_SalesAgreementHeader (table SalesAgreementHeader) · Derived to AgreementHeader
  • AgreementHeader_PurchAgreementHeader (table PurchAgreementHeader) · Derived to AgreementHeader
  • AgreementLine_AgreementLineQuantityCommitment (table AgreementLineQuantityCommitment) · Derived to AgreementLine
  • AgreementLine_AgreementLineVolumeCommitment (table AgreementLineVolumeCommitment) · Derived to AgreementLine
  • AgreementLineDefaultHistory · OuterJoin to AgreementLineHistory
  • DefaultLedgerDimensionDAVS (table DimensionSetEntity) · OuterJoin to AgreementLineHistory · read-only
  • EcoResCategory_SalesCategory (table EcoResCategory) · OuterJoin to AgreementLineHistory · read-only
  • EcoResCategory_PCClass (table PCClass) · Derived to EcoResCategory_SalesCategory
  • InventDim · OuterJoin to AgreementLineHistory · read-only
  • AgreementLineHistory_AgreementLineQuantityCommitmentHistory (table AgreementLineQuantityCommitmentHistory) · Derived to AgreementLineHistory
  • AgreementLineHistory_AgreementLineVolumeCommitmentHistory (table AgreementLineVolumeCommitmentHistory) · Derived to AgreementLineHistory

Fields (42)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
SalesAgreementRecIdSystem record ID of the agreement line this version belongs to.Int64
AgreementLineRecId
YesNo (private)AgreementLine.RecIdAgreementLineHistory.AgreementLine
SalesAgreementLegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesYesCompanyInfo.DataArea
SalesAgreementIdID of the sales agreement.String (20)
SalesAgreementId
YesYesSalesAgreementHeaderHistory.SalesNumberSequence
LineNumberLine number of the agreement line.Real
LineNum
YesYesAgreementLineHistory.LineNumber
CommitmentTypeCommitment type of the line: product quantity, product value, product category value or value commitment.Enum
CommitmentType
  • ProductQuantity 0
  • ProductVolume 1
  • ProductCategory 2
  • ProductRootCategory 3
NoYesAgreementLineHistory.AgreementLineType
ItemNumberItem number, pointing to the item record.String (20)
ItemId
NoYesInventTable.ItemIdAgreementLineHistory.ItemId
SalesProductCategoryRecIdSystem record ID of the product category.Int64
RefRecId
NoNo (private)EcoResCategory.RecIdAgreementLineHistory.Category
SalesProductCategoryNameName of the category.String (254)
EcoResCategoryName
NoYesEcoResCategory.Name
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
ShippingSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
ShippingWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
InventoryProfileIdInventory profile; used for Russia.String
InventProfileId_RU
NoYesInventProfile_RU.InventProfileIdInventDim.InventProfileId_RU
CommittedCatchWeightQuantityCommitted quantity in catch weight units.Real
PdsCWCommitedQuantity
NoYesAgreementLineQuantityCommitmentHistory.PdsCWCommitedQuantity
CommittedQuantityQuantity committed on the agreement line.Real
AgreementCommitedQuantity
NoYesAgreementLineQuantityCommitmentHistory.CommitedQuantity
UnitSymbolUnit of measure symbol, pointing to the unit record.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolAgreementLineQuantityCommitmentHistory.ProductUnitOfMeasure
CommittedAmountMonetary amount committed on the agreement line.Real
AgreementCommitedMonetaryAmount
NoYesAgreementLineVolumeCommitmentHistory.CommitedAmount
PriceUnit price on the agreement line.Real
BOUnitPrice
NoYesAgreementLineQuantityCommitmentHistory.PricePerUnit
PriceQuantityNumber of units that the price applies to.Real
PriceUnit
NoYesAgreementLineQuantityCommitmentHistory.PriceUnit
LineDiscountPercentageDiscount percentage for the line.Real
AgreementDiscPercent
NoYesAgreementLineHistory.LineDiscountPercent
LineDiscountAmountDiscount amount per unit, in the transaction currency.Real
UnitDiscountAmountCur
NoYesAgreementLineQuantityCommitmentHistory.LineDiscountAmount
IsPriceAndDiscountFixedYes/no flag showing whether price and discount are fixed.Enum
IsPriceInfoMandatory
NoYes

Platform enum: values not in the metadata extract.

NoYesAgreementLineHistory.IsPriceInformationMandatory
EffectiveDateDate from which the line is effective.Date
EffectiveDate
NoYesAgreementLineHistory.EffectiveDate
ExpirationDateDate on which the line expires.Date
ExpirationDate
NoYesAgreementLineHistory.ExpirationDate
IsCommitmentMaximumEnforcedYes/no flag showing whether the maximum is enforced.Enum
IsMaxEnforced
NoYes

Platform enum: values not in the metadata extract.

NoYesAgreementLineHistory.IsMaxEnforced
MinimumReleaseAmountSmallest amount allowed for a release against this line.Real
AgreementMinimumReleaseAmount
NoYesAgreementLineHistory.AgreedReleaseLineMinAmount
MaximumReleaseAmountLargest amount allowed for a release against this line.Real
AgreementMaximumReleaseAmount
NoYesAgreementLineHistory.AgreedReleaseLineMaxAmount
DefaultLedgerDimensionSystem record ID of the default financial dimension set.Int64
DimensionDefault
NoNo (private)DimensionAttributeValueSet.RecIdAgreementLineHistory.DefaultDimension
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
ProjectIdProject ID, pointing to the project record.String (20)
ProjId
NoYesProjTable.ProjIdAgreementLineHistory.ProjectProjId
ProjectActivityNumberActivity number for the project, pointing to the activity record.String (50)
ProjActivityNumber
NoYessmmActivities.ActivityNumberAgreementLineDefaultHistory.ProjectActivityNumber
ProjectCategoryIdProject category, pointing to the project category record.String (30)
ProjCategoryId
NoYesProjCategory.CategoryIdAgreementLineDefaultHistory.ProjectCategory
CommissionSalesRepresentativeGroupIdSales commission group, pointing to the commission sales group record.String
CommissSalesGroup
NoYesCommissionSalesGroup.GroupIdAgreementLineDefaultHistory.SalesCommissionGroup
DeliveryModeCodeMode of delivery for sales, pointing to the delivery mode record.String
DlvModeId
NoYesDlvMode.CodeAgreementLineDefaultHistory.SalesModeOfDelivery
AgreementCustomerAccountNumberAccount number of the customer.String (20)
CustAccount
NoYesCustTable.AccountNumSalesAgreementHeaderHistory.CustAccount
InvoiceCustomerAccountNumberCustomer account to invoice.String (20)
CustInvoiceAccount
NoYesCustTable.AccountNumSalesAgreementHeaderDefaultHistory.CustomerInvoiceAccount
ConfirmationNumberConfirmation number of the agreement version.String (20)
AgreementConfirmationNumber
NoYesAgreementHeaderHistory.ConfirmationNumber
SalesAgreementConfirmationNumberNumber that identifies the confirmation of the sales agreement.String (41)
AgreementConfirmation
NoYescomputed
ConfirmationCreationDateTimeDate and time when the confirmation was created.UtcDateTime
CreatedDateTime
NoYescomputed

Foreign keys (20)

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 SalesAgreementConfirmationLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk