Skip to Content
0
Former Member
May 24, 2007 at 05:51 PM

Transcations

15 Views

Good Afternoon

Experts:

If I do not use <b>g_B1Connection.Company.StartTransaction()</b> to explicitly start a transaction, is there an ImplicitTransaction happening behind the scenes whenever I use an object?

My scenario:

I)Hit Add button to insert a new Material Requisition through our Add-on

2)An error occurs on the insert(maybe some problem in the Stored Procedure or invalid data)

3)I catch that problem and throw an exception resulting in a message in the

StatusBar of the screen

<b>Now, is there any kind of ActiveTransactions running in the background since

the insert failed?</b>

Is there a way to check for ActiveTransaction for the logged on User?

Thanks,

EJD