Skip to Content

What is the Form type of Sales Blanket Agreement in SAP B1?.

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 28, 2017 at 03:57 PM

    Hi Rurangwa,

    The formTypeEx is 1250000100.

    You can see this info enabling the option System information under menu View -> System Information.

    Hover the mouse under your form and you are able to see the form type on bottom of your sap business one.

    Hope it helps.

    Kind Regards,

    Diego Lother

    Add comment
    10|10000 characters needed characters exceeded

    • 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