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...
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...
Hello everybody,
today I want to tell you a story, that swallowed quite big amount of time of whole team.
Recently we've got seemingly easy to fulfil requirement:
Add button to the grid
Inside of the button fullfil
Persist
Call to db with modifications
Persist one more time
Leave...
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...
Hello everybody,
today I want to leave a short techy post on how to override method BuildTaxRequest of APInvoiceEntryExternalTax class.
public class APInvoiceEntryExternalTaxExt: PXGraphExtension<APInvoiceEntryExternalTax, APInvoiceEntry>
{
[...
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...
Hello everybody,
today I want to share with you my guess regarding why Acumatica can't restore snapshot bigger then 2 Gb. As far as I see at database level, all files are going into table UploadFileRevision. If to look into structure of this table, you'll find that it has column data, which...
Hello everybody,
today I want to leave a note on gross income and net income from two standpoints: business and employee.
Gross income = Total sales - Cost of goods sold
Net Income = Total sales - Cost of goods sold - Selling expenses.
Because Gross income = Total sales - Cost of goods sold...
Hello,
today I want to leave a post about code quality regarding of PXStringListAttribute. If to look in older versions of Acumatica manuals ( for example T200 manual ) you can see something like this:
public class Something : IBqlTable
{
[PXStringLis...
Hello everybody,
today I want to share one workaround, which I sometime use as temporary measure for migration projects. Imagine, that you've added reference to your bin folder of one of your old customizations. Then you build it, and you've got this error message:
Server Error in '/xxx' Applicat...