today I want to post code sample on how to execute menu item "Email Purchase Order" in Acumatica.
I mean this fragment of Purchase order screen:
If you'll try to find the source code of that Action or menu item, you'll be disappointed because you'll not find it. As some other actions, Email Purchase Order is implemented in Acumatica as combination of Automation steps with C# functions.
Below goes code sample, that allows you to call that method with help of static method:
public static void SendNotificationForGraph(POOrderEntry graph, POOrder order)
graph.Document.Current = graph.Document.Search<POOrder.orderNbr>( … more
today I want to leave short notice on quesiton how to rename buttons or if to be more specific change title of buttons at Processing screens. By default those buttons have captions Process and Process All. The simplest way to rename them is to use constructor of processing graph. In constructor you can make something like this:
With such simple trick, you can assign any caption you wish to your buttons more
today I want to write some kind of short summary of webinar meeting which was held yesterday by Joni Girady.
My most general impression is that Joni is a real proffesional in Datanalytics staff, and of course the fact that Acumatica chosen their product as their inhouse platform shows that not only I made such a conclusion.
Among technical parts of the meeting I want to point practical comments on how C-level people can cultivate analytics approach in their company. In other words how to make your employees to help you analyze situation in your company.
Search for data hungry people
Promote such data hugry people ( nothing works better then life … more
today I want to leave a short notice on how to manage order of columns in Selector of Acumatica. Quite often customers has desire to manage default order of columns in selector. That is very easy to achieve with new Type parameter added to your selector. Take a look on how I've managed list of columns for Carrier with help of new Type:
[PXDBString(15, InputMask = ">aaaaaaaaaaaaaaa", IsKey = true, IsUnicode = true)]
[PXUIField(DisplayName = "Ship Via", Visibility = PXUIVisibility.SelectorVisible)]
[PXSelector(typeof(Search<Carrier.carrierID>), new Type
typeof(Carrier.description), typeof(CarrierExt.usrDeliveryLength), typeof(Carrier. … more
Today I want to describe PXDimensionSelector attribute usage in Acumatica. According to manual PXDimensionSelector attribute has following purpose:
Defines an input control that combines the functionality of the PXDimenstion attribute and the PXSelector attribute. A user can view the data set defined by the attribute and select a data record from this data set to assign its segmented key value to the field or to replace it with the surrogate key.
After reading such purpose, I've decided to read purpose of PXDimension attribute:
Defines an input control that formats the input as a segmented key value and displays the list of allowed values for each key segment.
If … more
today I want to make short post on how to speed up Acumatica debugging. I'll share with you options that worked on my machine.
In case if you have something to add, I mean something that really affects speed up of page loading, you are welcomed to do it.
To your <compilation debug="True" secion apped following line optimizeCompilations="True". In mine web.config I've got following look and feel:
<compilation debug="True" defaultLanguage="c#" numRecompilesBeforeAppRestart="9999" targetFramework="4.7.1" batch="False" optimizeCompilations="True">
Setting #2 and #3:
To your appSettings add/update key CompilePages and InstantiateAllCaches … more
in this article I want to describe how filtering in Acumatica work. When I say filtering, I mean following UI part:
In manuals T100 - T300 there is almost nothing about how filters work, so I want to share few bits of development information.
All information about filters is stored in database in tables FilterRow and FilterHeader.
Take a look on screenshot of FilterInformation for some custom applied filter:
As you can see from screenshot Acumatica stores information about filters by FilterID, and has information like Condition, values, Close brackets, operators and so on.
Also there are DAC classes FilterRow and FilterHeader, but you can find them only … more
today I want to leave a post on Predefined size values for ColumnWidht, LabelsWidth, ControlSize properties of the PXLayoutRule component and LablesWidth and Size properties of a control:
ColumnWidth in Pixels
LabelsWidth and ControlSize of a Layout Rule; LabelsWidth and Size Properties of a Control in Pixels
As you can see from presented table XL is not always the same XL, and it depends from the context more
today I want to leave a short comment about how to make few Acumatica instances of single developer machine.
As you already know or maybe know, Acumatica recommends to have one version of Acumatica. But what if you want more? Is Acumatica merciful enough to allow you this? The answer on this question is strong yes!
All that you need to do, is to install version that you need, and then preserve following folders in safe place:
And then you can uninstall them and install another version.
Then for installing specific instance of Acumatica you'll need to run AcumaticaConfig.exe file and you'll be ready to go. more