Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Setting a value in Salestable form for control editContactPersonName1

(0) ShareShare
ReportReport
Posted on by

Hi all,

I have created SO using x++ and in my code it also creates a new contact .

However when I check my newly created SO's header section's general fast tab. I see that Contact (control name editCOntactPersonName1) is set to some random value but not the contact I created.

Please suggest what code I need to write and where , so as to populate this form control with contact person I created.

Thanks
Mav.

  • Suggested answer
    Mav Profile Picture
    Mav on at
    RE: Setting a value in Salestable form for control editContactPersonName1

    Hello Admin,

    I was able to resolve this by setting salestable.contactpersonID with contactpersonID created with my code and salestable.contactpersonID was controling the display of editCOntactPersonName1. So please close this.

    Thanks

    Mav

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…

Vahid Ghafarpour – Community Spotlight

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

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,031 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,868 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans