Mattersphere Developers Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Admin
Admin
Posts : 122
Join date : 2018-12-17
https://mattersphere-devs.forumotion.com

Associate Wizard From a Button Empty Associate Wizard From a Button

Mon 27 Jan 2020 - 11:04
How can we call the Associate Wizard from a Button? Add associate wizard call direct - similar to:

Code:

FWBS.OMS.OMSFile _file = EnquiryForm.Enquiry.Object as FWBS.OMS.OMSFile;
FWBS.Common.KeyValueCollection _kv = new FWBS.Common.KeyValueCollection();
_kv.Add(“id”,_file.ID);
object result = FWBS.OMS.UI.Windows.Services.Wizards.GetWizard(
    "SCRFILADDNOTE",null,FWBS.OMS.EnquiryEngine.EnquiryMode.Edit,_kv); EnquiryForm.Enquiry.Refresh();
___________________________________________________________________________________________________________________________________
Code:

FWBS.OMS.OMSFile _currentFile = (FWBS.OMS.OMSFile)EnquiryForm.Enquiry.Object;
FWBS.OMS.Associate _assoc = (FWBS.OMS.Associate)FWBS.OMS.UI.Windows.Services.Wizards.CreateAssociate(_currentFile);
Back to top
Permissions in this forum:
You cannot reply to topics in this forum