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,
I want to share with you how to block some columns in Acumatica.
You can do it with the PXUIFieldAttribute.SetEnabled method.
Let's say you have DAC PRTran with column earningType and values of PRTran you get from PaySlipDetails view. Then you can block whole column wit...
Hello everybody,
today I want to share how to fight with error like
Error 22 An object reference is required for the non-static field, method, or property 'PX.Data.PXSelectBase<Acumatica DAC>.Select(params object[])' bla bla bla
As usually it means that you try to use this in selector...
Hello everybody,
today I want to share results of my investigations of two similar pieces of functionality in Acumatica.
Have you ever wondered which Insert in cache works faster this:
a) var temp = (PRPayrollDetails)PayRollsDetails.Cache.Insert();
or this:
b) va...
Hello readers,
today I want to share hwo it is possible to read from stored procedure in Acumatica. Keep in mind, that reading from sp is against best practices of Acumatica, because if you read from sp, then you'll reading will not be cached and other side effects, but sometime you don't have a...
Hello everybody,
today I want to share how to find current company id in Acumatica:
Here it is:
int? companyid = PX.Common.PXContext.GetSlot<Int32?>("singleCompanyID")
for me it was long way to find it
Hello everybody.
I want to share with whole world a story. In the begining of this month I created web form. Added there some controls. Today I wanted to add one another control, and after my addition miracously controls at page disappeared. I was surprised, looked for ways to solve problem, and...
Hello everybody,
today just a short hint. In case if you want to add some column in Acumatica DB, you should start field from usr prefix. For exaple if you want to add field Payrollcat, you should name it UsrPayrollcat. If you'll not use this advice, next update of Acumatica will remove your...
Hello everybody,
today I want to share one nesessary step which is needed for graph in order to save graph which has more then one DAC ( data access class ).
In my case I have DAC PRPayRoll, which is joined with classes PRPayrollDetails, PRPaySlip, PRTran.
In that case it is needed to m...