I have a dozen fields on a form that have cascading PXFormulas to calculate other field values automatically. For example:
Base Price
Commission Rate
Commission Value (PXFormula of [Base Price] times [Commission Rate]
House Comm. Split Rate
House Commission (PXFormula of [Base Price] times [House Comm. Split Rate])
Everything calculates correctly when the record is saved but Classic UI updates these fields right away.
The post below also talks about this but the solution there was to change all of the PXFormulas to PXDBScalars but I’m not sure that this is appropriate as I’m storing all of these values.
Is there something I need to write in the .ts file to trigger the PXFormulas or do I need to make each field use PXFieldState<PXFieldOptions.CommitChanges> and write out all of the formulas in Updated events?