today I want to share piece of knowledge about Acumatica controls. Recently I was asked to add one more tab to page Checks and payments.
Let's suppose it was named Allocations. It should be displayed only if type of payment is set to Prepayment.
Such kind of behaviour is possible to implement via three steps:
- Add tab with name Allocations
- Set VisibleExp to the following:
- Set BindingContext to the form like this:
Or just more detailed picture:
</px:PXTabItem> <px:PXTabItem Text="PO Allocations" VisibleExp="DataControls["edDocType"].Value==PPM" BindingContext="form"> <Template>
Initially I was puzzled for what does " stands for, but as you probably understand from your html knowledge it stands for quotes.