...
The value calculated by the logic element can be then manually overridden in the user interface of the price list/grid, provided the user has an appropriate role which grants the a required role for access and the price list is not locked (e.g. is not in submitted Submitted or approved Approved state).
Configuration Steps
To make a price list field/column editable:
Modify the calculation logic:
Set the underlying logic element property "Allow Override" to Truetrue.
This is because behavior of price list column columns is driven by the logic element properties.
See also “Allow Override” at page Add and Define Element.
If you want to offer the user a dropdown with a list of options, rather than an editable text field, you can configure this using the AttributedResult.withManualOverrideValueOptions() method.
To retrieve the user-entered value in any logic element, use the api.getManualOverride() method.
Deploy the modified calculation logic.
Recalculate the complete price list/grid to ensure this change is applied.
Note |
---|
Important Code Considerationscode considerations:
|