Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

How to insert data from one table one table to another in x++?

(1) ShareShare
ReportReport
Posted on by 31

I have a production form as you can see in below picture. On line level i have this requirement that first line will be Output type as you can see this line or record will be insert by user himself. Then he will click highlighted button called /Suggest Quantity/.

 

 

Now you can see when I Clicked  /Suggest Quantity/ button this form open as you can see in below screenshot. Now my requirement is when i clicked the /UPDATE/ button of Suggest Qty form the remaining line except first line with the type of /Output/ will auto populate on ProductionLine on that record from where I opened this second form Suggest Qty. Like for example On Production form this number sequence is QTC-P-0000010  so the record will auto populate on this /QTC-P-0000010/ record line level.

 

 

Note: Both Production Form and Suggest Qty form have different data sources.

 

 

By the way i tried adding clicked method on second form update button and init method on productionLine but that does not work. please suggest any different solution.

 

 

 

Please suggest me any solution regarding this problem.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans