Coresuite Customize : Visualbasi, how to get a form ID
I built a function button wîth coresuite customize in Visual basic. The same function button is used for 2 types of SAP B1 form : Purchase receipt - Form 141 and Purchase invoice - Form 143.
The logic should be a little be different depending on the form ID.
What is the correct VB statement to get the ID of the current form when using my function button ?
Thanks for your help.
Thierry Tur
0
-
Hi Thierry,
I'am not familiar with VB. IN c# it would be
string FormType = pVal.Form.Type.ToString();
Perhabs it helps
regards Lothar
0
Please sign in to leave a comment.
Comments
1 comment