please give example how to save header detail tables at same time

please give example how to save header detail tables at same time

Hi Somjet,

Can you please explain your question bit more what do you want to do.


Regards

-SK-

when user click save button

insert / update 2 tables

if fail rollback 2 tables

Hi,

If you click a button you have a web request. And the web request run in the same transaction that is commited in the end of the request that means that you can have 2 updates on that request and if there is an error both will be rollback (unless you start changing the exception handling or start using commits by yourself)

Regards,

Marcelo