Loading ...

How To Clean Duplicated Elements From Acumatica Database

Hello everybody, Today I want to leave a short snapshot which addresses following issue.  One of my friends got table in Acumatica created, but for some reason at DB level he decided not to set there any field as part of Primary key. He had IsKey attributes set only at DAC class of Acumatica...

Covid 19 Dealing

Hi everybody, It happened. I've got COVID-19 myself. As well as my wife. Very unpleasant feelings honestly speaking.  On the day 1 of symptoms I've got those: a. Temperature ( ~38 ) b. Headache c. Weakness Now I have one more concern about my parents. I'm worried if they got or not got COVID...

How To Use Const In Fbql For Acumaitca

Hello everybody, I want to leave a quick hint on how to use Const values in Acumatica for FBQL. Below goes sample: public class someBranch : PX.Data.BQL.BqlInt.Constant<someBranch> {     public someBranch() : base(48)    ...

How To Use PXLongoperation

Today I want to write a few words on usage of PXLongOperation.  Compare two following scenarios: Base.Save.Press();             try             {     &...

Why Code Changes From Dll Are Not Shown On The Form In Acumatica

today I want to share with you interesting use case which stolen one night of sleep from me, as well as from one of my collegues.  We had very trivial case. Or at least we thought it is trivial. In Acumatica we had something like this: #region UsrCardTheme [PXDBString(256)] [PXUIField(D...

How To Call Non Public Method Of Acumatica

Hello everybody, today I want to share with you how it's possible to call some methods of Acumatica, which are not public, and which you don't want to copy/paste completely into your source code. In that case reflection will save you. Consider calling of InsertSOAdjustments method of graph SOOrde...

Template For Usage Of PXLineNbr Attribute In Acumatica

Hello everybody, today I want to leave a note on how to use PXLineNbr attribute in Acumatica pages. Recently myself and one of my team members struggled a bit with a question on how to add it properly. Below goes a bit changed worked tempalte: public class PrimaryTable : IBqlT...

How To Override The Persist Method Properly

Hello everybody, today I want to write a few words on how to override persist method of Acumatica properly. When I say properly I mean not save just some fragment of data, but use transaction like approach. In other words how to achieve all or noghint during persisting. Quite often I see templat...