Hi All,
I have a requirement to create 100K Sales order, its fulfillment, and payment settlement in BC through some custom logic. So, I have written SOAP endpoints and then perform SO Create, then fulfillment, and then payment settlement in sequence.
Now there is a good chance, due to any config issue or logical error, SO Create operation complete successfully but its error comes in the fulfillment process. Is there any way, we can implement transactions so that system automatically rollbacks everything for a particular order?
Also, how can we use TryFunction in this situation as the documentation says, we should not use DB write calls in TryFucn()
docs.microsoft.com/.../devenv-handling-errors-using-try-methods
Regards,
Saboor Ahmed