Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

How to transfer new added formControl value on SalesQuotationProjLinkWizard from a SalesProjectQuotation to a field in project

(0) ShareShare
ReportReport
Posted on by 37

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.

QuotationForm.jpg

Thanks,

Dinesh

  • Mohit Rampal Profile Picture
    Mohit Rampal 12,552 Super User 2024 Season 1 on at
    RE: How to transfer new added formControl value on SalesQuotationProjLinkWizard from a SalesProjectQuotation to a field in project

    That's great, Thanks for updating us.

  • Dinesh Tyagi Profile Picture
    Dinesh Tyagi 37 on at
    RE: How to transfer new added formControl value on SalesQuotationProjLinkWizard from a SalesProjectQuotation to a field in project

    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

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,552 Super User 2024 Season 1 on at
    RE: How to transfer new added formControl value on SalesQuotationProjLinkWizard from a SalesProjectQuotation to a field in project

    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.

  • Verified answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: How to transfer new added formControl value on SalesQuotationProjLinkWizard from a SalesProjectQuotation to a field in project

    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.

  • Dinesh Tyagi Profile Picture
    Dinesh Tyagi 37 on at
    RE: How to transfer new added formControl value on SalesQuotationProjLinkWizard from a SalesProjectQuotation to a field in project

    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

  • Dinesh Tyagi Profile Picture
    Dinesh Tyagi 37 on at
    RE: How to transfer new added formControl value on SalesQuotationProjLinkWizard from a SalesProjectQuotation to a field in project

    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.

    SalesQuotationClass.jpg

    SysWizardClass.jpg

    Thanks,

    Dinesh

  • Verified answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,552 Super User 2024 Season 1 on at
    RE: How to transfer new added formControl value on SalesQuotationProjLinkWizard from a SalesProjectQuotation to a field in project

    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.

  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: How to transfer new added formControl value on SalesQuotationProjLinkWizard from a SalesProjectQuotation to a field in project

    Then I think its not possible to get the form control.

    Thanks,

    Girish S.

  • Dinesh Tyagi Profile Picture
    Dinesh Tyagi 37 on at
    RE: How to transfer new added formControl value on SalesQuotationProjLinkWizard from a SalesProjectQuotation to a field in project

    Hi Girish,

    Their is no such parm method exist in SalesQuotationProjLinkWizard class.

    Thanks,

    Dinesh

  • Mohit Rampal Profile Picture
    Mohit Rampal 12,552 Super User 2024 Season 1 on at
    RE: How to transfer new added formControl value on SalesQuotationProjLinkWizard from a SalesProjectQuotation to a field in project

    Glad it worked for you, please don't forget to mark answer Verified so someone can refer it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans