When you create a new Action in Acumatica you have two ways of doing it:
1) Using PXAdapter
public virtual IEnumerable migrateSalesPeopleFromAcumatica(PXAdapter adapter)
{
///Any Code
return adapter.Get();
}
2) Without PXAdapter as parameter
public virtual void migrateSalesPeopleFromAcumatica()
{
///Any Code
}
So my questions are:
1) What is the purpose of the PXAdapter parameter?
2) When should I use one option over the other one?
Regards
Best answer by Dmitrii Naumov
View original