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

Announcements

News and Announcements icon
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 214

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,813 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 628 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 612

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 589 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans