• JDELIST is celebrating its 20 year anniversary today!
  • Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

UBE transaction. Table get blocked

iloveoov

Member
Hi JDEList!

I have a section in my UBE with a transaction. This section could be called several times during a batch processing.
It works fine during the first step, but on a second step my fecth stops working.

Here is my code:
---------------------------------
Get Next Unique Key ID
Begin Transaction(VA sec_BudgetTransactionID)
F55Y4310.Open

...

F55Y4310.Fetch Single //Works only during the first section call

...

If VA evt_Error=1
Rollback Transaction(VA sec_BudgetTransactionID)
else
Commit Transaction(VA sec_BudgetTransactionID)
end if
F55Y4310.Close
------------------------------------------

I would be grateful if someone could help me in this matter.
 
Top