Hello everybody,
today I want to notice how to create graph. There are two ways:
PXGraph.CreateInstance<BaseBLC>();
PXGraph.CreateInstance(typeof(BaseBLC));
If you want to get extention class, from base class, you can use following function:
GraphInstance.GetExtension<Exten...
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 PXGridC...
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 maxi...
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 preci...
Hello everybody,
today I watched vidoe of Dr. James McCaffrey about traing neural netwoks.
So, few interesting details, which was useful for me.
1. As usually it is more then enough one hidden layer.
2. Imagine, that you need to feed into your neural network some data. Let's say...
Hello everybody,
recently I had the following situation.
According to business logic, I created RowDefaulting. And it worked great. Then business analyst decided to check copy/paste functionality of Acumatica, and you know what? He discovered that copy/paste is broken. After investigation I...
Greetings to everybody,
today I want to document how to make selector in Acumatica.
I had the following use case:
1. Acumatica dropdown, which can have three values ( for example a, b, c) .
1.1 In case if user select option a, I need to show in PXSelector values from Table A with som...
Hello everybody,
today I want to share one simple technic of how to filter inserted items in cache from other objects. I discovered it with reflector, while diffing in code of APInvoiceEntry.
Here it is:
Adjustments.Cache.Inserted - this item will give you which items were inserted in...
Hello everybody,
today I want to share with you information about two functions:
SetValueExt and SetDefaultExt.
Names of them are pretty self-explanatory, which means SetValueExt assigns specific value to field and SeDefaultExt assings default value to a field. But SetValueExt method...
Hello everybody,
today I want to note how to use PXDataBase.Update in Acumatica.
Two use-cases.
1. Imagine, you need to set APSubID = 80 in APRegister with APAccountID = 5:
you can use the following:
PXDatabase.Update<APRegister>(new PXDataFieldAssign<...