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:
Your answers would be highly appreciated.
Regards,
Arif Hussain.
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.
André Arnaud de Cal...
292,111
Super User 2025 Season 1
Martin Dráb
230,934
Most Valuable Professional
nmaenpaa
101,156