Loading ...

Pxaccumulatorattribute In Acumatica

Few notes about PXAccumulatorAttribute If to inherit from PXAccumulatorAttribute, you'll have access to member _SingleRecord. If to set in constructor to true, you'll configure single record update mode. There is PrepareInsert method. This method intended for updating policy for t...

How To Disable Callback From Checkboxes In Acumatica

Hello everybody. Today I want to share some details about inner kitchen of Checkboxes in grid of Acumatica. If to look inside of generated grid of Acumatica with FireFox Dom and style inspector, you can see following structure: Item with checkbox is implemented as td, which has div, and has anoth...

How To Enable Disable Menu Item In Acumatica

Hello everybody, Today I want to share short glimps how to Enable/Disable menu item. Let's some menu. For example it looks like this:   menu item actions     Suppose, we added menu action Activate in the following way: public PXAction<EPEmployee> Activate; [PXButton] [PXU...

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...