Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

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

Can you answer this forum question?

You could make someone's day!

Community Newsletter - May 2024

Kudos to our community stars!

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,632 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 224,528 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans