Archives

Archives / 2014 / December
  • Fix at least one column in the Selected area and controlling set of selected columns in Acumatica

    Hello everybody,

    today  I want to share tricks related to Acumatica grids:

    1.       How to fix at least one column in the Selected area so users will not be able to move it to the Available? All our custom pages have grids which can be moved.

    ------ You need to utilize PXGridColumn’s  AllowShowHide property set to False for not allowing user to hide for at least key column/s.

    2.       How to control the default set of Selected columns for the grid so only the particular columns will be shown in the grid by default, and the rest of columns can be added by the user if necessary?

    ------- Grid Columns created for DAC fields marked not visible will be shown as Available column

    Practical … more

  • Debug ExecuteSelect in Extentsion graph of Acumatica

    Hello everybody,

    today I want to share how to debug method ExecuteSelect from Base in extension class:

    public delegate IEnumerable exSelectDelegate(string viewName, object[] parameters, object[] searches, string[] sortcolumns, bool[] descendings, PXFilterRow[] filters,

    ref int startRow, int maximumRows, ref int totalRows);

    [PXOverride]

    public IEnumerable ExecuteSelect(string viewName, object[] parameters, object[] searches, string[] sortcolumns, bool[] descendings, PXFilterRow[] filters,

    ref int startRow, int maximumRows, ref int totalRows, exSelectDelegate f )

    {

    IEnumerable result = null;

    try

    { … more

  • How to deal with cases when Decimal is not enough

    Hello everybody,

    today I want to drop a note about cases when you need high precision, and C# type decimal is not enough for your needs.

    I discovered for myself GNU MP library, which has also wrapper in C#. 

    Amongh feautures which this library proposes are the following:

    1. High number precision, which is limited only by available memory.

    2. Rish set of operators more