Symptom
- How to add a validation rule to a sales data field in Individual Customer
- Error: Data field /Root/SalesArrangement/DivisionCode not found.
Environment
Cloud for Customer
Reproducing the Issue
Example with Division Code:
1. Go to Customers the Individual Customers.
2. Start Adaptation Mode.
3. Open any.
4. Go to Sales Data facet.
5. Right click on pencil header.
6. On adaptation menu, click on the black arrow until you see Implementation.
7. Open Implementation then open Rules and Validations.
8. Click Add then click Rule.
9. Add the field biding "/Root/SalesArrangement/DivisionCode".
--> Error: Data field /Root/SalesArrangement/DivisionCode not found.
Cause
In rules/validations you can only access data model fields directly available in the "main UI". The sales data tab in the individual customer TI is an Embedded Component (EC): (/BYD_COD/SalesOnDemand/Account/UI/COD_SalesData_EC.EC.uicomponent).
Therefore it's not possible to access the sales arrangement data model fields (like /Root/SalesArrangement/DivisionCode). In the Account this is not an EC.
Resolution
Currently, you cannot add validation rules in sales data fields of individual customer.
Keywords
Data field /Root/SalesArrangement/ * not found, individual customer, Sales Data Field, Validation Rule , KBA , LOD-CRM-ACC-PRI , Private Account (Customers) , Product Enhancement