R27162 DefaultSalesOrderPaymentPlan - Check Document Type

Code R27162
Entity Crm.Sales.DefaultSalesOrderPaymentPlans Entity
Name CheckDocumentType
Attribute DocumentType
Layer Back-End
Events Commit
Modify NO
Action Validate that:

DefaultSalesOrderPaymentPlan.DocumentType.EntityName == SalesOrder
Description When the user enters a new row in the DefaultSalesOrderPaymentPlan table or edits an existing one, on commit the system should check that the DocumentType in the row contains a SalesOrder document type. The DocumentType field is not visible to the user. This is an internal validation.
Message Default sales order payment plans cannot be created for document type '{Document Type}' because it isn't sales order document type.
Introduced In Version 2017
Revocable NO

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.