on 03-12-2007 2:19 PM
Hi!
I listen to the event FORM_DATA_ADD with before_action = false on Form 65.
Then I think that all the transactions is finished from SBO side. But when I try to update a row in ordr(when the event is triggered) the whole system hangs. I can´t query the db for the record either.
I use PL18
Have tested it with PL10 and there it works.....
Message was edited by:
Toni Hopperstad
Hi Toni Hopperstad ,
If you want to know whether the Add event succesfully completed or not you have to catch the FormDataEvent.
Which pings you whether the event has successfully happened or not .
'/************** This is the Event Declaration in VB.Net
Private Sub SBO_Application_FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.FormDataEvent
'/// Here u have to add the Following code
end sub
'///*******************************************
Within this you have to catch Your form that is 65 as ,
''/*************************************************
If (BusinessObjectInfo.FormTypeEx.Equals("65")) And (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD) And (BusinessObjectInfo.ActionSuccess) Then
'SBO_Application.MessageBox("Data Added")
'// If you want to update any thing do here
End If
''//*************************************************
Here ( BusinessObjectInfo.ActionSuccess ) plays keyrole
Hope it helps
Best Regards .,
V.Rangarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the answer!
Have you tried this and tried to update the spesific salesorder row you are creating an purchaseorder on in the form_data_add event?
Seems like the salesorder has a transaction going on until the purchase form with id 65 is closed.
It works for me to in 2005 PL10 but not in PL18. Why?
User | Count |
---|---|
96 | |
10 | |
9 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.