Contents tagged with Attributes
I want to summarize what I've seen and heard at latest Acumatica Developers conference.
First of all, I'd like to say that idea from Gabriel Michaud about using of attributes that can save plenty of time during development.
Everyday trips and tricks (Magic attributes and BQL operands)
Lets start. For examle how to make a field required (or visible, or enabled) dynamically:
Traditional way (old version):
protected virtual void SOOrder_RowSelected(PXCache cache, PXRowSelectedEventArgs e)
SOOrder doc = e.Row as SOOrder;
if (doc == null)
if (doc.OrderType == "SO")
PXDefaultAttribute. … more
have you ever wondered, that SkinID property may regulate grid toolbar set of buttons? For me it was unknown untill today. Here it is list of id's and buttons according to T200:
Primary: Adds the Add, Delete, Fit to Screen, and Exportbuttons to the toolbar. This value is typically used for a grid on a simple edit page that consists of the single grid.
Details or DetailsInTab: Adds the Refresh, Add, Delete, Fit to Screen, and Export buttons to the toolbar. This value is typically used for a grid that displays the detail data on a master-detail page
Inquire: Adds the Refresh, Fit to Screen, and Export buttons to the toolbar. This value is typically used for grids on … more