Transaction handling support in Metasfresh functions

I have set up metasfresh locally and going through the code for quite some time now. First of all I would like to thank you all for the great effort and help.
My concern is on transaction handling part on the application. Current implementation do the queries to save to back end then and there when you type and proceed. I would like to know whether it is possible to configure a particular action (Defined process with multiple DB updates) into a single transaction. If possible can some one kindly point me towards.
Thanks In Advance

Hi @priyanga220,
that’s a valid concern.
I recomment you take a look at ITrxManager and the code using it.

Note that when writing business logic, e.g. if you subclass JavaProcess or write a model interceptor,
most of the time you don’t need to worry yourself with trx-management…it’s done by the code invoking your BL.

Best regards

Hi @metas-ts,

Thanks for the feedback. I will go through the mentioned code.

Best regards,