Symptom
You have a Custom Status field available at both Opportunity header and item levels.
An item-level determination is configured to trigger an assignment block when the Custom Status changes.
When change the Custom Status at the header level, the updated value is also reflected at the item level.
However, the configured item-level determination is not triggered.
Environment
- SAP Sales Cloud Version 2
- SAP Service Cloud Version 2
Reproducing the Issue
- Open an Opportunity containing one or more items.
- At the header level, change Custom Status.
- Confirm the item-level field (Status) is updated as well.
- Observe that the item-level determination and the configured pre hook do not run.
Cause
- By design, when a sub-entity (item) field is updated within the same Custom Logic execution cycle, the system does not run item-level determinations again to prevent recursive processing or infinite loops.
- The same principle applies across the hierarchy: modifying a root entity does not run Custom Logic on its sub-entities (except during root creation), while modifying a sub-entity runs logic up to the root.
Resolution
This behavior is expected by design; item-level determinations are not run when the item field value is updated as a consequence of a header-level change within the same Custom Logic execution cycle.
See Also
Keywords
Opportunity, Header, Item, Custom Status, Pre hook, determination ,item-level determination, header change, Open, in process, sub-entity, root entity, determination not executed, extensibility, opportunity item, custom logic, recursion prevention , KBA , CEC-CRM-CZM-EXT , Extensibility for SAP Sales/Service Cloud , CEC-CRM-GS , Guided Selling/Opportunity for SAP Sales/Service Cloud , Problem
SAP Knowledge Base Article - Public