on 10-07-2005 9:33 AM
Hi All,
I have a problem accessing the sales order's corresponding UDF form. If I have multiple sales order forms open concurrently, and some of the UDF forms are not open, the UDF's FormTypeCount does not seem to be in sync with the sales order form. For example:
Sales Order 1(FormTypeCount=1) - UDF Form(FormTypeCount=1)
Sales Order 2(FormTypeCount=2) - UDF Form is closed
Sales Order 3(FormTypeCount=3) - UDF Form(FormTypeCount=2)
I am using the following code to get a reference to the sales order and UDF form:
Set oSOForm = SBO_Application.Forms.GetFormByTypeAndCount(139, vSOFormCount)
Set oUDFForm = SBO_Application.Forms.GetFormByTypeAndCount(-139, vSOFormCount)
Is there any way for me to get the correct UDF form and also to check if the UDF Form is open?
To check if the form is open, check if the menu item "6913" (view debug info) is enabled and check, if not check the item and the form opens.
Regards
Ad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi SC,
The UDF form of a SAP system form has the same formtype (number) except that it is prefixed with a "-".
Example:
Sales Order formtype = 139
Sales Order UDF (form) formtype = -139
This is a SBO system standard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.