Contents tagged with Selector
today I want to fulfill my promise that I gave to one of my readers.
He left at mine blog following question:
How do we use required<> in place of current<> and pass some string constant for selector? That question was asked in context of this article.
That is good question and I also want to add that answer on it will be at least to some degree disappointing. First of all, if you work with selectors, you can't use Required. Required is intended for use in Graphs.
But if you want to use some constant filtering conditions, you don't need Required attribute at all. You can use mechanism of Constants, which works perfectly without Required.
Take a look at the … more
today I want to describe how to extend Stock Item screen IN202500 in Acumatica. Imagine that you need to add to tab General settings two selectors. Suppose that you need to have two selectors:
as you can see following need to be achieved:
To tab General Settings it is needed to add selectors: "Clase articulo web" and "Subclase articulo web".
In case if selector "Clase articulo web" changes, then "Subclase articulo web" should show some other values.
The first step should be start Acumatica developer project as described here.
For cases if we have dependency of one selector from another it is possible to program in two ways:
Custom selector for dependent code. … more
today I want to write few words how to work with selectors in Acumatica.
So, imagine, you have the following selector in Acumatica:
<px:PXSelector ID="NmbUsrBillPMTask" runat="server" DataField="UsrBillPMTask"/>
In order to make it work as selector, you need to do the following:
if you'll do it, you'll receive following selector:
And if you choose there some value, you'll be able to see id represented as number. In my case it was 727.
But what if you want to make it more readable?
Then you can add following part:
[PXSelector(typeof(Search<PMTask.taskID>), SubstituteKey = typeof(PMTask.taskCD))]
Then instead of … 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