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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Bringing an editable custom field from InventTable to PurchTable form

(2) ShareShare
ReportReport
Posted on by 439
I have added InventTable as datasource to the PurchTable form on PurchLine with delayed join and the field from InventTable to LineSpec grid but the added fields only display the selected row's value. When i change the link type to outer join, i get the "InventTable was never selected" error while trying to add new PurchLine despite populating the necessary fields (ItemId). What should i do to correctly add the field as editable?
Categories:
I have the same question (0)
  • Raj Borad Profile Picture
    1,413 on at
    Populating custom fields in PurchLine
     
    If a method is Hookable false, one cannot use event handlers. Instead, one have to use other methods.
    modifiedField on PurchLine may be use to populate your custom fields from Invent (other) table.
     
    Thank you,
    Raj D Borad
  • ergun sahin Profile Picture
    8,826 Moderator on at
    Populating custom fields in PurchLine
    You can use PurchlineType.initFromInventTable 
     
    Purchline.initFromInventTable will call PurchlineType.initFromInventTable so your extension code ll work for each time table method called
  • André Arnaud de Calavon Profile Picture
    300,731 Super User 2025 Season 2 on at
    Populating custom fields in PurchLine
     
    You got two suggestions below. Can you provide us with an update on whether one or both of these replies helped you, or do you still need help? I will be great if you can update us with a status or if you can mark the answers that helped you by ticking the checkbox Does this answer your question.
  • EK-26061005-0 Profile Picture
    439 on at
    Bringing an editable custom field from InventTable to PurchTable form
     
    A new requirement was added up to also make the custom field editable so i had to change my question.
  • Martin Dráb Profile Picture
    237,697 Most Valuable Professional on at
    Bringing an editable custom field from InventTable to PurchTable form
    Modifying properties of a released item in the purchase order line grid sounds like a bad design to me.
    Could you explain the business requirement that you've decided to address in such a strange way?
     
    It's a pity that you removed the original question. This thread doesn't make a good sense anymore since the replies respond to a question that it isn't available. Next time, leave the question in place and either add your own reply, or create a new thread.

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

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans