Skip to main content


Microsoft Dynamics AX forum

Custom Table in existing form

Posted on by 1,195
Hi All,
I had created a new custom table and added into PurchTable form. The custom field is added in the form also. There is a foreign key relation from custom table to PurchLine.RecId.
I would need to populate value to my field on user selected the Item ID and this part is working fine where the field did populated successfully on the form. 
however, there is problem when the PurchLine table is save, my custom table PurchLine field is empty. In the PurchTable form, I had set the LinkType of my custom table as ACTIVE.
How should I make the Purchline.RecId to populate to my custom table foreign key field automatically?
  • Martin Dráb Profile Picture
    Martin Dráb 224,463 Super User on at
    Custom Table in existing form
    When you're talking about saving, do you mean creation of a new order line, update of an existing line or both?

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!


André Arnaud de Calavon Profile Picture

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

Martin Dráb Profile Picture

Martin Dráb 224,463 Super User

nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans