Skip to Content
0
Former Member
Feb 08, 2006 at 10:48 AM

Action_Success B1 2004, B12005

23 Views

Hi all!

Some idea about this?

In B1 2004A when I saved a customer order, Action_Success was TRUE only after the saving on B1 Company DB. Now (with B1 2005A SP:00 PL:07) Action_Success = TRUE immediately after the click on Saving button (pVal.ItemUID = 1).

I need to start my add-on only after saving customer order on B1 Company DB, also in B1 2005!

This is my VB.NET code:

Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent

If pVal.FormType = "139" Then

Select Case pVal.EventType

Case SAPbouiCOM.BoEventTypes.et_FORM_LOAD

...

Case SAPbouiCOM.BoEventTypes.et_CLICK

...

End Select

If pVal.Action_Success = True And pVal.ItemUID = 1 And (pVal.FormMode = 2 Or pVal.FormMode = 3) Then

....