Contents tagged with complex objects saving in Acumatica

  • Saving complex objects in Acumatica

    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 mention in graph declaration primary dac.

    So instead of writing 

    public class PayRollManager : PXGraph<PayRollManager>

    I wrote

    public class PayRollManager : PXGraph<PayRollManager, PRPayroll>

    Where PRPayroll is primary DAC. Or if to quote Acumatica manual PRPayroll is primary DAC for business logic container more