| FormType Property | |
| See AlsoĀ |
TheĀ form type.
Length: 20 characters.
To avoid collisions with forms of other add-ons, use your partner namespace as a prefix to the form type.
Read-write property
| Visual Basic |
|---|
Public Property FormType() As String |
Each SAP Business One form has a type, which is a unique ID for the form.Ā For example, the type of the Purchase Order form is 142.
Each form can be open multiple times, and theĀ application keeps a counter for each form type of the number of open instances. To get the number of forms open of the same type,Ā use Form.TypeCount. Form objects pointing to different instances of the same type formĀ have the same value in the TypeCount field.
To access a specific instance of a specific form type, use the Forms.GetForm method.