Hello:
We’re looking at the feasibility of converting to modern UI in production when it leaves the Beta.
I’ve ran into several interesting things, but one that feels concerning in the long run. It is common in our custom code to have DAC’s with properties decorated as the following example:
[PXFormula(typeof(Selector<MyCustomClass.vendorID, Vendor.acctName>))]
In classic UI, these formulas are calculated correctly as soon as the DAC is exantlated (as expected?).
However, in modern UI, the above PXFormula is never calculated (verified with a break point put on an explicit setter). This was a bit of a surprise as we were tending to approach the UI as being two different display layers - ‘views’ - built on top of the underlying model and controller.
- Is this a bug?
- If not a bug is the construction we are using deprecated or invalid and only working unintentionally?
- is there a property in the PXFormula that would make this work?
- If not can you suggest an alternative approach?
We seem to be mostly using this in cases where we want another field to display whenever the selector (in this case for vendorID) is changed, such as wanting to display the account CD and description in separate columns or fields.
Cordially,
Matt Reynolds