Step-level budgets
If a custom context is specified in at least one approval step (referred to as step-level budgets), then this overrides the default behaviour of using the order's context.
For Step-level budgets, different custom contexts can be specified at multiple approvals steps, to transact against multiple budgets for the same order amount (no split allocation). Step-level budgets, behave similar to Order-level budgets in case of multiple matching BUs where BU conflicts are resolved similarly.
Sample approval workflow configuration setup to enable step-level budgets:
{
"name": "financial1",
"displayName": "financial1",
"permission": "XX_APPROVAL",
"role": "xx Approver",
"approvalStep": 2,
"budget_unit_required": true,
"budget_unit_context": [{"contextKey": "project"}]
},
{
"name": "financial2",
"displayName": "financial2",
"permission": "YY_APPROVAL",
"role": "yy Approver",
"approvalStep": 3,
"budget_unit_required": true,
"budget_unit_context": [{"contextKey": "location"}]
}