Loading ...

Make PXDefault As Not Required For Input

Hello everybody, Imagine following situation, you added to your DAC field some default value. For example like this: [PXDBDate] [PXDefault(typeof(AccessInfo.businessDate))] public virtual DateTime? FromDate And now you have default value as current date. But what, if you don't like to make it r...

PXFilteredProcessing In Acumatica

Hello everybody, few day ago I was digging in code of CT502000, and found interesting part of code: public PXFilteredProcessing<ContractsList, ExpiringContractFilter> Items; As usually in my code I use PXFilter, and discovery of PXFilteredProcessing was confusting for me.  T...

PXSmartPanel In Acumatica

Hello everybody, today I want to write few words how to work with PXSmartPanel. One of my clients asked following: 1. Press at button. 2. Pop up should appear with two buttons ( "OK" , "Cancel") 3. At pop up should be also selector of contracts and datetime. 4. Existing screen should be modi...

Principal Component Analysis In Machine Learning

Hello everybody, today I want to note important for me details of Machine Learning.  So, the first and very important usage of PCA is visualizing data. If you have 10 dimensions, can you visualize those data? If you can I'm happy about you, but I can't. I can imagine only 1, 2, 3 D :). But w...

Auto Discovery Mechanism Of Acumatica Extensibility Framework

Hello everybody, another interesting notice today.  Imagine following situation. 1. You have base class. Let it is called GraphX.  2. In your library you created extentions of this grap: GraphXExt1, GraphXExt2 at the same level. For example like this: public class GraphXExt1 : PXGraphE...

How To Override Base Event In Acumatica

Hello everybody, Imagine following scenario. You have some code in base class, which you need to change. How to do it. For this purpose you can use PXOverride attribute. See the following code: public class YourExtension : PXGraphExtension<SomeBasicGraph> { [PXOverride] public v...

What Is CompanyID In Acumatica

Hello everybody, today I want to notice few words about companyid field. What is it's purpose. Initially Acumatica provides two !!!! companyid. 1 and 2. Why two? The first is for some Acumatica internal usage, and then your company will get id 2. Even if you believe that your company deserve to b...

Why Columnwidth Can Be Ignored Or Another Gotcha

I discovered recently another gotcha in Acumatica. The ColumnWidthproperty value is never applied to the UI controls if the Merge property is set to True for the same PSLayoutRule component. Encountered a tricky Acumatica development scenario like the ColumnWidth and Merge property...

Grid Toolbar Buttons In Acumatica

Hello everybody, 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 typical...

Debugging Learning Algorithm

Few notes of how to debug machine learning algorithm: Get more training examples Try smaller sets of features Try getting additional features Try adding polinomial features Try increasing lambda Try decreasing lambda What those trys can achieve: fixes high variance fixes high variance fixes hi...