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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Which is the best method to insert new field values in a new table in d365fo?

(0) ShareShare
ReportReport
Posted on by 206

Hi experts,

I am working in service management module, I have extended 2 fields in ProjItemTrans table and it saves the value in this table. Now, I have to provide the same value on Invoice as well. The invoice form contains different table which is ProjInvoiceItemDetails and I have added the same fields in the table. I have also found the relation between these two tables. 

So, my question is actually which is the best method to write my code in it inorder to insert those value into the ProjInvoiceItemDetails table? 

I have explored ProjInvoiceItemDetails table and it contains a method by the name of initInvoiceFromProposal() with parameters included in it. So, is the best way to insert my code in the this table method or should I write it in some other datasource methods?

The standard code for initInvoiceFromProposal() table method is also shared below:

pastedimage1676535297808v1.png

Your answers would be highly appreciated. 

Regards,

Arif Hussain.

I have the same question (0)
  • Suggested answer
    huijij Profile Picture
    19,811 on at

    Hi Arif,

    You want to add custom fields to the form, and now that you've finished adding custom fields to the table, I think you can create an extension for the invoice form and then add the table to the data source. There is no need to extend the second table.

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 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans