Hi,
I am following the process of creating a project from a Project Quotation. on the below wizard, I have added one new formControl SiteId on CreateProject Tab.
Also, I have created a siteID field on ProjTable form, I want to fill this siteID field of new Project will be created from the SiteId field created on SalesQuotationProjLinkWizard.
I am not getting which method I can extend in form or any class.
Thanks,
Dinesh
That's great, Thanks for updating us.
Hi Girish & Mohit,
I have used the formRun in SalesQuotationProjLinkWizard Class & its working fine.
Also, My task is working with both SalesQuotationProjLinkWizard form & class level COC.
Thanks,
Dinesh
Hi, Standard has created form methods like newProjControlId, newCustAccount, newProjGroupId and passed Formcontrol values in it. Then in class its using formRun.newProjControlId() etc. You can do in same way to access your form controls in class.
You have the form run buffer now in standard. You can get the controls from there. Don't look for intellisense to show values. Just type and check.
Thanks,
Girish S.
Hi Mohit,
yes, formRun is using there to fetch methods on that form but not able to access any formControl.
Also, I have tried that formRun. but after dot, its not showing design() & even its not showing those methods which exist on the form but they have used these methods in the same way in that class (fornmRun.newProjType()).
Don't know how?
Thanks,
Dinesh
Hi Girish,
But their is a CreateProject method in SalesQuotationProjLinkWizard class too & it used some formRun to fetch methods exist on SalesQuotationProjLinkWizard form.
& that formRun declared using Object formRun; in SysWizard class. SalesQuotationProjLinkWizard class inherited from SysWizard class.
Thanks,
Dinesh
I think its possible to fetch formControl in SalesQuotationProjLinkWizard class. You can see formRun in this class, for instance formRun.parmOk method is used in class to interact with form.
Then I think its not possible to get the form control.
Thanks,
Girish S.
Hi Girish,
Their is no such parm method exist in SalesQuotationProjLinkWizard class.
Thanks,
Dinesh
Glad it worked for you, please don't forget to mark answer Verified so someone can refer it.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156