web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)
Under review by Community Managers

Under review

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

How to insert data from one table to anther table in d365fo X++

Posted on by 1

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/.

 

/Image/

 

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.

 

 

/Image/

 

Please suggest me any solution regarding this problem.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans