Summary
There are two custom checkboxes are created in the sales order record. This custom field will source the value from the customer and employee record during the selection of the customer or the sales rep while creating a sales order record through UI.
How to source the values while creating a sales order through CSV context
Solution
- Identify the script execution context.
- Using workflow after submit to set the value in the checkbox.
- This workflow exclude the context, UI.
- Also, inform client . In the time of CSV import check the checkbox allow script to trigger the scripts and workflow.