Blog

Here I document some issues for searching of which I spent more then 15 minutes

  • Default values for inquiry for date in Acumatica

    Hello everybody,

    today I want to leave a short note on Default value for the inquiry screens for Data type. For date you can use following predefined values:

    @WeekStart and @WeekEnd - as name suggests start and the end of Current week

    @MonthStart and @MonthEnd - start and the end of Current Month

    @PeriodStart and @PeriodEnd - start and the end of Current period

    @QuarterStart and @QuarterEnd - start and the end of Current quarter

    @YearStart and @YearEnd - start and the end of Current year

    @Today - today is always today

    I hope this short notice will help you better feed dates into your inquiries.  more

  • How to execute action Email Purchase Order in Acumatica and how create PXAdapter

    Hello everybody,

    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.Clear(PXClearOption.ClearAll);

        graph.Document.Current = graph.Document.Search<POOrder.orderNbr>( … more

  • How to rename buttons Process and Process All at processing screens of Acumatica

    Hello everybody,

    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:

    public YourGraph()

    {

            Actions["Process"].SetCaption("Email");

            Actions["ProcessAll"].SetCaption("Email All");

    }

    With such simple trick, you can assign any caption you wish to your buttons more

  • DataSelf analytics webinar after taste

    Hello everybody,

    today I want to write some kind of short summary of webinar meeting which was held yesterday by Joni Girady.

    Biggest impression

    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

  • How to manage default order of Columns in selector of Acumatica

    Hello everybody,

    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)]

    [PXDefault]

    [PXUIField(DisplayName = "Ship Via", Visibility = PXUIVisibility.SelectorVisible)]

    [PXSelector(typeof(Search<Carrier.carrierID>), new Type[]

           {

             typeof(Carrier.description), typeof(CarrierExt.usrDeliveryLength), typeof(Carrier. … more

  • PXDimensionSelector in Acumatica

    Hello everybody,

    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

  • How to speed up Acumatica debugging with tunning web.config

    Hello everybody,

    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. 

    Setting #1:

    To your <compilation debug="True" secion apped following line optimizeCompilations="True". In mine web.config I've got following look and feel:

    <system.web>

        <compilation debug="True" defaultLanguage="c#" numRecompilesBeforeAppRestart="9999" targetFramework="4.7.1" batch="True" optimizeCompilations="True">

    Setting #2 and #3:

    To your appSettings add/update key CompilePages and InstantiateAllCaches … more

  • Filters in Acumatica

    Hello everybody,

    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.

    Storage

    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

  • Predefined Size Values in Acumatica

    Hello everybody,

    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:

    Value

    ColumnWidth in Pixels

    LabelsWidth and ControlSize of a Layout Rule; LabelsWidth and Size Properties of a Control in Pixels

    XXS

    100px

    40px

    XS

    150px

    70px

    S

    200px

    100px

    SM

    -

    150px

    M

    250px

    200px

    XM

    300px

    250px

    L

    350px

    300px

    XL

    400px

    350px

    XXL

    450px

    400px

    As you can see from presented table XL is not always the same XL, and it depends from the context more

  • How to have few Acumatica versions on single machine

    Hello everybody,

    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:

    Data

    Database

    Files

    Portal

    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

General information

Greetings to everybody stopping at my blog. Purpose of this web site is to be google of my brain. Everything I found useful, or of possible beneficial for usage in future I've save here at this blog

Contact information

If you want to contact me more on any subject printed at this web stie, you can email me: zaljur1989(at)gmail.com

Job information

If to speak in general, I'm developer. For now I work as team lead in company GlobalLogic.