What is the most Scalable way to set the legal Entity on the Order Product and Order Product Consumption Schedule?
Requirement:
Set Legal Entity on Order Product and OP Consumption Schedule in a scalable way.
Runs before insert, so no second update transaction is needed.
Scalable (bulk-safe, low CPU, no recursion).
Modern Salesforce best practice for field population.
Works consistently across:
Order Products
Usage/Consumption Schedules
Why D. Before-Save Flow is correctWhy not the others?Option
Why Incorrect
A . Workflow Rule
Deprecated, not scalable, cannot run before-save.
B . Custom Setting
Storage mechanism, not automation logic.
C . QCP
Only affects Quote stage, not Order Products or Consumption Schedules AFTER order creation.
Thus **D is the correct, scalable, and recommended pattern.
Currently there are no comments in this discussion, be the first to comment!