Skip to main content
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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 171 Super User 2025 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 140 Super User 2025 Season 1

#3
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 127 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans