Loading ...

Enumerate Cached Objects

Hello everybody, today I want to share how to enumerate cahed objects according to some type.  Imagine you have following declaration: public PXSelectJoin<PRTran> PaySlipDetails; And that you need to enumerate them as list of PRTran's in some special way. In my case I used following in...

Rename Column At Screen In Acumatica

Hello everybody, today I want to share answer at simple question how to change the caption at some screen.  For example you want to change caption at screen AR202000 for Inventory ID to caption INVENTORY ID. For this purpose we need to understand which DAC is responsible for Grid. For this p...

FieldUpdated Behaviour

Hello everybody, today  I want to share one interesting feature of Acumatica.  I revelaed that after inserting of new row executes FieldUpdated even if feld wasn't updated. After reading documentation I found that it is gotcha and inteded to be so. Discover the power of customizati...

Acumatica And Objectsequal Lack Of Parameters

Hello everybody, today I want to share how I deal with ObjectsEqual limitation. In one of my tasks I had requirement to check for equality more then eight parameters and found that ObjectsEqual takes only 8 parameters. But I needed more.  In order to fix it I decided to use extensi...

Enums And Strings

Hello everybody, I want to share some pieces of code how to work with enums.  Some time it is needed to have list of string constants in your code, which can feet to some strings with spaces.  enum EarningType { [Description("Virginina")] VL, [Description("S...

PXSelect Vs PXSelectReadonly

Hello everybody, today I want to share with you important difference between PXSelect  and PXSelectReadonly. In my project I had the following situation. PXSelect of table name didn't give me what actually was in db. After a long research I found PXSelectReadonly and key diffe...

Execute Stored Procedure In Acumatica

Hello everybody. I want to share if you need to execute stored procedure in Acumatica how to achieve it.  It's simple. 1. Create Stored procedure in db. 2. Use in your code PXDatabase.Execute. For example let's say you created stored procedure which has name DeletePrTranByPrPayroll...

RowPersisting Declaration In Acumatica

Just small search result. Row persiting event declares as following: protected virtual void YourDACClasss_RowPersisting(PXCache cache, PXRowPersistingEventArgs e)    {      }   Ready to take your Acumatica development to the next level? If you’re looking to custo...

Create New Instance Of Graph In Acumatica

Hello, today I want to note how to create new instance of Graph. Lets say you need to create instance of graph PRPaySlipManager. In that case you can get instance of that graph in the following way: PRPaySlipManager manager = PXGraph.CreateInstance<PRPaySlipManager>(); Ready to take your Ac...