on 09-28-2017 4:41 PM
Hi all,
I want to edit title of Sales Blanket Agreement form of SAP B1 by using sdk codes but as I think I will need pVal.FormTypeEx = ""
What is the Form type of Sales Blanket Agreement?
the following is my code of to change the name from Sales Blanket Agreement to Investment
Option Strict Off
Option Explicit On
Imports SAPbouiCOM.Framework
Namespace SalesNewForm
<FormAttribute("1250000100", "Sales Blanket Agreement_1250000100.b1f")>
Friend Class Sales_Blanket_Agreement_1250000100_b1f
Inherits SystemFormBase
Public Sub New()
If pVal.FormTypeEx = ".........." Then
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And pVal.BeforeAction = False Then
Dim oForm As SAPbouiCOM.Form
oForm = oApp.Forms.Item(pVal.FormUID)
oForm.Title = "Investment"
oForm = Nothing
End If
End If
End Sub
Public Overrides Sub OnInitializeComponent()
End Sub
Public Overrides Sub OnInitializeFormEvents()
End Sub
Private Function pVal() As Object
Throw New NotImplementedException
End Function
Private Function oApp() As Object
Throw New NotImplementedException
End Function
End Class
End Namespace
Please anyone can help me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Diego,
I tried to edit system form title but I failed, I tried to review in sample C:\Program Files (x86)\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\11.SystemFormManipulation and other different samples but there is no example which shows how to edit system form title.
System form does not show back end (codes) i tried to edit it normally in caption but after packaging my addon it displays original title.
How can I change system form title?
Please anyone can help me
Hi Rurangwa,
I forgot to mention, you can change the menu entry and form title of Sales Blanket Agreement on Document Numbering - Setup form, without any code. Look this explanation:
http://www.battleshipcobra.com/2011/changing-menu-titles-sbo/
Hope it helps.
Kind Regards,
Diego Lother
Yes, That's good, but what I want to do is to display Investment Form to some users and Sales Blanket Agreement Form to other users, where I will assign addon to specific users.
I think that option is invalid in Document Numbering-Setup
But I think, I do know if it's possible in SAP B1.
Thank you
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.