Loading ...

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

 

Ready to take your Acumatica development to the next level? If you’re working with complex graphs involving multiple DACs or need customizations tailored to your business logic, we’re here to help! Share your specific requirements with us, and let’s build a solution that works seamlessly for your unique needs. Leave a customization request today and let’s optimize your Acumatica experience together!

4 Comments

  • Gabriel Michaud said 2 years ago

    Just curious - are you working on a payroll system for Acumatica?

  • docotor said 2 years ago

    hello Gabriel, yes.

  • Gabriel Michaud said 2 years ago

    For which country? Are you aware of the work being done right now by PCB? Can you e-mail me to discuss? I'm curious to hear about your project.

    Gabriel Michaud
    Director of Product Management
    Acumatica

  • docotor said 2 years ago

    I'm from Ukraine, Kyiv. I'm not aware about PCB. Just wrote you e-mail.