on 04-16-2009 5:11 PM
hi,
can i pause the execution of record and continue it when i want??
thanks
Hello Mariano,
Yes, you can use multiple threads, if you can build in .net you can (in most cases) use it in SBO.
I am not sure if I get your question, maybe you could be more specific.
HTH.
Regards Teun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Teun;
this is my code to add a BusinessPartners. see how I can pause the execution until I get a value from another form; how can do it???
-
If BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD And
BusinessObjectInfo.BeforeAction = True Then
BP = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
BP.Browser.GetByKeys( BusinessObjectInfo.ObjectKey )//open Form1
oXmlDoc.Load(NameForm)
creationPackage = SBO_Application.CreateObject (SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
creationPackage.XmlData = oXmlDoc.InnerXml
oForm1 = SBO_Application.Forms.AddEx(creationPackage)
dim Class as NewClass = new (oForm1 ,BP)
// PAUSE. I Dont want to add this record until the Form1 get me a value.
// This value I have to selected from a Grid on the Form1,
// so until I select it I can't continue with the execution,
// because I need to assign the value to the BusinessPartners. how can do it???
// assign to the IC the Value
IC.UserFields.Fields().Item("UserField").Value = Class.Value
End if
Please, help me.Thanks
User | Count |
---|---|
101 | |
14 | |
10 | |
5 | |
4 | |
3 | |
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.