I want to note how to restore original condition of Acumatica if Unpublish project failed:
1. Restore the content of the App_Data\RollbackFilesfolder to the root folder of the website.
2. Clear the content of the CstPublishedfolder.
3. Delete the files placed in the Cachessubfolder of the App_Cod...
Hello everybody,
today I want to share how to make grid item to feet all container. For this purpose you just can use property AutoSize. It makes grid to feet entire area of parent container
Hello everybody,
recently I had the following situation.
According to business logic, I created RowDefaulting. And it worked great. Then business analyst decided to check copy/paste functionality of Acumatica, and you know what? He discovered that copy/paste is broken. After investigation I...
Greetings to everybody,
today I want to document how to make selector in Acumatica.
I had the following use case:
1. Acumatica dropdown, which can have three values ( for example a, b, c) .
1.1 In case if user select option a, I need to show in PXSelector values from Table A with som...
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