on 10-03-2008 4:48 AM
HI ,
I create the menu ,but now i need to open the form when i click the menu item .For this i want to assign the form tomenu item .Hoe is it possible
Regards,
M.Thippa Reddy.
There are many sample examples provided by SAP.Try to study
the following sample -
C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\05.AddingMenuItems\2003
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi...
use this code..
Private Sub OpenItemFrm()
Try
Dim oXmlDoc As Xml.XmlDocument
oXmlDoc = New Xml.XmlDocument
Dim sPath As String
sPath = CurDir()
Try
oXmlDoc.Load(sPath & "\" & "srfname.srf")
SBO_Application.LoadBatchActions(oXmlDoc.InnerXml)
oForm = SBO_Application.Forms.Item("FormUID")
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
End Sub
and
Menu Event...
Select Case pVal.MenuUID
Case "SalesStatus"
If pVal.BeforeAction = False Then
OpenItemFrm()
End If
End Select
Regards...
Billa 2007
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the following sample it will givu u the whole idea.. it will be very helpful to u...
C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI DI\VB.NET\UIDIBasicApp\VIDS
Vasu Natari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
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.