Skip to main content

Notifications

Announcements

No record found.

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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 46

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans