Table
AgreementLineDefaultHistory
Agreement line history
Holds a historical copy of the default values on an agreement line, such as project activity and category, sales commission group and delivery mode. Each row links to one agreement line history record.
- Table name
AgreementLineDefaultHistory- Module
Procurement and sourcing- Table group
TransactionLine- Table type
Regular- Data per company
No- Configuration key
TradeBlanketOrder- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AgreementLineHistorySystem record ID of the agreement line history record this row belongs to. | Int64RefRecId | Yes | AgreementLineHistory.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjectActivityNumberActivity number for the project, pointing to the activity record. | String (50)ProjActivityNumber | No | smmActivities.ActivityNumber | PurchPurchaseAgreementConfirmationLineEntitySalesAgreementConfirmationLineEntity |
ProjectActivityNumberDataAreaIdCompany of the related activity record. | StringDataAreaId | Yes | smmActivities.dataAreaId | None |
ProjectCategoryProject category, pointing to the project category record. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | PurchPurchaseAgreementConfirmationLineEntitySalesAgreementConfirmationLineEntity |
ProjectCategoryDataAreaIdCompany of the related project category record. | StringDataAreaId | Yes | ProjCategory.dataAreaId | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SalesCommissionGroupSales commission group, pointing to the commission sales group record. | StringCommissSalesGroup | No | CommissionSalesGroup.GroupId | SalesAgreementConfirmationLineEntity |
SalesCommissionGroupDataAreaIdCompany of the related commission sales group record. | StringDataAreaId | Yes | CommissionSalesGroup.dataAreaId | None |
SalesModeOfDeliveryMode of delivery for sales, pointing to the delivery mode record. | StringDlvModeId | No | DlvMode.Code | SalesAgreementConfirmationLineEntity |
SalesModeOfDeliveryDataAreaIdCompany of the related delivery mode record. | StringDataAreaId | Yes | DlvMode.dataAreaId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (5)
DlvModeIdxSalesModeOfDelivery,SalesModeOfDeliveryDataAreaIdNot unique.
CommissionSalesGroupIdxSalesCommissionGroup,SalesCommissionGroupDataAreaIdNot unique.
ProjCategoryIdxProjectCategory,ProjectCategoryDataAreaIdNot unique.
ProjActivityIdxProjectActivityNumberDataAreaId,ProjectActivityNumberNot unique.
AgreementLineHistoryIdxNot unique.
Relations (5)
Each relation joins AgreementLineDefaultHistory to another table on the fields shown.
AgreementLineHistory→AgreementLineHistoryJoin on
AgreementLineHistory = AgreementLineHistory.RecIdZero or one AgreementLineDefaultHistory record → exactly one AgreementLineHistory record
CommissionSalesGroup→CommissionSalesGroupJoin on
SalesCommissionGroup = CommissionSalesGroup.GroupId,SalesCommissionGroupDataAreaId = CommissionSalesGroup.dataAreaIdMany AgreementLineDefaultHistory records → zero or one CommissionSalesGroup record
DlvMode→DlvModeJoin on
SalesModeOfDelivery = DlvMode.Code,SalesModeOfDeliveryDataAreaId = DlvMode.dataAreaIdMany AgreementLineDefaultHistory records → zero or one DlvMode record
ProjCategory→ProjCategoryJoin on
ProjectCategory = ProjCategory.CategoryId,ProjectCategoryDataAreaId = ProjCategory.dataAreaIdMany AgreementLineDefaultHistory records → zero or one ProjCategory record
smmActivities→smmActivitiesJoin on
ProjectActivityNumber = smmActivities.ActivityNumber,ProjectActivityNumberDataAreaId = smmActivities.dataAreaIdMany AgreementLineDefaultHistory records → zero or one smmActivities record
Get this data out
Tables are not exposed directly. These public entities read from AgreementLineDefaultHistory; use one of them in Power BI, Power Platform or a data management project.
PurchPurchaseAgreementConfirmationLineEntity· 2 fields from this tableSalesAgreementConfirmationLineEntity· 4 fields from this table
Need help with AgreementLineDefaultHistory in a report, an integration or a migration? Talk to Dr Dynamics.