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· rootAgreementLine· InnerJoin toAgreementLineHistory· read-onlyAgreementHeader· InnerJoin toAgreementLine· read-onlySalesAgreementHeaderHistory· InnerJoin toAgreementHeader· read-onlyCompanyInfo· InnerJoin toSalesAgreementHeaderHistory· read-onlySalesAgreementHeaderDefaultHistory· OuterJoin toSalesAgreementHeaderHistoryAgreementHeader_SalesAgreementHeader(tableSalesAgreementHeader) · Derived toAgreementHeaderAgreementHeader_PurchAgreementHeader(tablePurchAgreementHeader) · Derived toAgreementHeaderAgreementLine_AgreementLineQuantityCommitment(tableAgreementLineQuantityCommitment) · Derived toAgreementLineAgreementLine_AgreementLineVolumeCommitment(tableAgreementLineVolumeCommitment) · Derived toAgreementLineAgreementLineDefaultHistory· OuterJoin toAgreementLineHistoryDefaultLedgerDimensionDAVS(tableDimensionSetEntity) · OuterJoin toAgreementLineHistory· read-onlyEcoResCategory_SalesCategory(tableEcoResCategory) · OuterJoin toAgreementLineHistory· read-onlyEcoResCategory_PCClass(tablePCClass) · Derived toEcoResCategory_SalesCategoryInventDim· OuterJoin toAgreementLineHistory· read-onlyAgreementLineHistory_AgreementLineQuantityCommitmentHistory(tableAgreementLineQuantityCommitmentHistory) · Derived toAgreementLineHistoryAgreementLineHistory_AgreementLineVolumeCommitmentHistory(tableAgreementLineVolumeCommitmentHistory) · Derived toAgreementLineHistory
Fields (42)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
SalesAgreementRecIdSystem record ID of the agreement line this version belongs to. | Int64AgreementLineRecId | Yes | No (private) | AgreementLine.RecId | AgreementLineHistory.AgreementLine |
SalesAgreementLegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | Yes | Yes | CompanyInfo.DataArea | |
SalesAgreementIdID of the sales agreement. | String (20)SalesAgreementId | Yes | Yes | SalesAgreementHeaderHistory.SalesNumberSequence | |
LineNumberLine number of the agreement line. | RealLineNum | Yes | Yes | AgreementLineHistory.LineNumber | |
CommitmentTypeCommitment type of the line: product quantity, product value, product category value or value commitment. | Enum
| No | Yes | AgreementLineHistory.AgreementLineType | |
ItemNumberItem number, pointing to the item record. | String (20)ItemId | No | Yes | InventTable.ItemId | AgreementLineHistory.ItemId |
SalesProductCategoryRecIdSystem record ID of the product category. | Int64RefRecId | No | No (private) | EcoResCategory.RecId | AgreementLineHistory.Category |
SalesProductCategoryNameName of the category. | String (254)EcoResCategoryName | No | Yes | EcoResCategory.Name | |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
ShippingSiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
ShippingWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
InventoryProfileIdInventory profile; used for Russia. | StringInventProfileId_RU | No | Yes | InventProfile_RU.InventProfileId | InventDim.InventProfileId_RU |
CommittedCatchWeightQuantityCommitted quantity in catch weight units. | RealPdsCWCommitedQuantity | No | Yes | AgreementLineQuantityCommitmentHistory.PdsCWCommitedQuantity | |
CommittedQuantityQuantity committed on the agreement line. | RealAgreementCommitedQuantity | No | Yes | AgreementLineQuantityCommitmentHistory.CommitedQuantity | |
UnitSymbolUnit of measure symbol, pointing to the unit record. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | AgreementLineQuantityCommitmentHistory.ProductUnitOfMeasure |
CommittedAmountMonetary amount committed on the agreement line. | RealAgreementCommitedMonetaryAmount | No | Yes | AgreementLineVolumeCommitmentHistory.CommitedAmount | |
PriceUnit price on the agreement line. | RealBOUnitPrice | No | Yes | AgreementLineQuantityCommitmentHistory.PricePerUnit | |
PriceQuantityNumber of units that the price applies to. | RealPriceUnit | No | Yes | AgreementLineQuantityCommitmentHistory.PriceUnit | |
LineDiscountPercentageDiscount percentage for the line. | RealAgreementDiscPercent | No | Yes | AgreementLineHistory.LineDiscountPercent | |
LineDiscountAmountDiscount amount per unit, in the transaction currency. | RealUnitDiscountAmountCur | No | Yes | AgreementLineQuantityCommitmentHistory.LineDiscountAmount | |
IsPriceAndDiscountFixedYes/no flag showing whether price and discount are fixed. | EnumIsPriceInfoMandatory
| No | Yes | AgreementLineHistory.IsPriceInformationMandatory | |
EffectiveDateDate from which the line is effective. | DateEffectiveDate | No | Yes | AgreementLineHistory.EffectiveDate | |
ExpirationDateDate on which the line expires. | DateExpirationDate | No | Yes | AgreementLineHistory.ExpirationDate | |
IsCommitmentMaximumEnforcedYes/no flag showing whether the maximum is enforced. | EnumIsMaxEnforced
| No | Yes | AgreementLineHistory.IsMaxEnforced | |
MinimumReleaseAmountSmallest amount allowed for a release against this line. | RealAgreementMinimumReleaseAmount | No | Yes | AgreementLineHistory.AgreedReleaseLineMinAmount | |
MaximumReleaseAmountLargest amount allowed for a release against this line. | RealAgreementMaximumReleaseAmount | No | Yes | AgreementLineHistory.AgreedReleaseLineMaxAmount | |
DefaultLedgerDimensionSystem record ID of the default financial dimension set. | Int64DimensionDefault | No | No (private) | DimensionAttributeValueSet.RecId | AgreementLineHistory.DefaultDimension |
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
ProjectIdProject ID, pointing to the project record. | String (20)ProjId | No | Yes | ProjTable.ProjId | AgreementLineHistory.ProjectProjId |
ProjectActivityNumberActivity number for the project, pointing to the activity record. | String (50)ProjActivityNumber | No | Yes | smmActivities.ActivityNumber | AgreementLineDefaultHistory.ProjectActivityNumber |
ProjectCategoryIdProject category, pointing to the project category record. | String (30)ProjCategoryId | No | Yes | ProjCategory.CategoryId | AgreementLineDefaultHistory.ProjectCategory |
CommissionSalesRepresentativeGroupIdSales commission group, pointing to the commission sales group record. | StringCommissSalesGroup | No | Yes | CommissionSalesGroup.GroupId | AgreementLineDefaultHistory.SalesCommissionGroup |
DeliveryModeCodeMode of delivery for sales, pointing to the delivery mode record. | StringDlvModeId | No | Yes | DlvMode.Code | AgreementLineDefaultHistory.SalesModeOfDelivery |
AgreementCustomerAccountNumberAccount number of the customer. | String (20)CustAccount | No | Yes | CustTable.AccountNum | SalesAgreementHeaderHistory.CustAccount |
InvoiceCustomerAccountNumberCustomer account to invoice. | String (20)CustInvoiceAccount | No | Yes | CustTable.AccountNum | SalesAgreementHeaderDefaultHistory.CustomerInvoiceAccount |
ConfirmationNumberConfirmation number of the agreement version. | String (20)AgreementConfirmationNumber | No | Yes | AgreementHeaderHistory.ConfirmationNumber | |
SalesAgreementConfirmationNumberNumber that identifies the confirmation of the sales agreement. | String (41)AgreementConfirmation | No | Yes | computed | |
ConfirmationCreationDateTimeDate and time when the confirmation was created. | UtcDateTimeCreatedDateTime | No | Yes | computed |
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.
SalesAgreementRecId→AgreementLine.RecId(key of AgreementLine)Many AgreementLineHistory records → exactly one AgreementLine record
AgreementLine details: see CLMIntegrationPurchaseAgreementLineEntity, SalesAgreementLineEntity, PurchPurchaseAgreementLineV2Entity
ItemNumber→InventTable.ItemId(key of InventTable)Join on all of:
ItemNumber=InventTable.ItemId,ItemDataAreaId(table field, not in this entity) =InventTable.dataAreaIdMany AgreementLineHistory records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
SalesProductCategoryRecId→EcoResCategory.RecId(key of EcoResCategory)Many AgreementLineHistory records → zero or one EcoResCategory record
EcoResCategory details: see EcoResProductCategoryEntity, EcoResProductCDSCategoryAssignmentEntity, EcoResProductCDSCategoryEntity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ShippingSiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
ShippingWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
InventoryProfileId→InventProfile_RU.InventProfileId(key of InventProfile_RU)Many InventDim records → zero or one InventProfile_RU record
InventProfile_RU details: see InventInventoryProfileEntity, InventInventoryProfileRelationEntity, InventInventoryProfileCustomerVendorLedgerEntity
UnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many AgreementLineQuantityCommitmentHistory records → exactly one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
DefaultLedgerDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many AgreementLineHistory records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
ProjectId→ProjTable.ProjId(key of ProjTable)Join on all of:
ProjectId=ProjTable.ProjId,ProjectDataAreaId(table field, not in this entity) =ProjTable.dataAreaIdMany AgreementLineHistory records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
ProjectActivityNumber→smmActivities.ActivityNumber(key of smmActivities)Join on all of:
ProjectActivityNumber=smmActivities.ActivityNumber,ProjectActivityNumberDataAreaId(table field, not in this entity) =smmActivities.dataAreaIdMany AgreementLineDefaultHistory records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
ProjectCategoryId→ProjCategory.CategoryId(key of ProjCategory)Join on all of:
ProjectCategoryId=ProjCategory.CategoryId,ProjectCategoryDataAreaId(table field, not in this entity) =ProjCategory.dataAreaIdMany AgreementLineDefaultHistory records → zero or one ProjCategory record
ProjCategory details: see ProjectCategoryEntity, ProjControlCostGroupCategoriesEntity, ResResourceSetupDataEntity
CommissionSalesRepresentativeGroupId→CommissionSalesGroup.GroupId(key of CommissionSalesGroup)Join on all of:
CommissionSalesRepresentativeGroupId=CommissionSalesGroup.GroupId,SalesCommissionGroupDataAreaId(table field, not in this entity) =CommissionSalesGroup.dataAreaIdMany AgreementLineDefaultHistory records → zero or one CommissionSalesGroup record
Not exposed by a public entity.
DeliveryModeCode→DlvMode.Code(key of DlvMode)Join on all of:
DeliveryModeCode=DlvMode.Code,SalesModeOfDeliveryDataAreaId(table field, not in this entity) =DlvMode.dataAreaIdMany AgreementLineDefaultHistory records → zero or one DlvMode record
DlvMode details: see DlvDeliveryModeEntity, RetailDeliveryModeAddressLineEntity, RetailDeliveryModeChannelLineEntity
AgreementCustomerAccountNumber→CustTable.AccountNum(key of CustTable)Join on all of:
AgreementCustomerAccountNumber=CustTable.AccountNum,CustomerDataAreaId(table field, not in this entity) =CustTable.dataAreaIdMany SalesAgreementHeaderHistory records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
InvoiceCustomerAccountNumber→CustTable.AccountNum(key of CustTable)Join on all of:
InvoiceCustomerAccountNumber=CustTable.AccountNum,CustomerInvoiceAccountDataAreaId(table field, not in this entity) =CustTable.dataAreaIdMany SalesAgreementHeaderDefaultHistory records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
Need help with SalesAgreementConfirmationLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.