Hi,
How to pass Customized Field created in Free Text Invoice Header Table into CustTrans Table while posting of Free Text Invoice record.
Which Class & Methods should i refer?
Thx!!!
Hi Mohit,
I have created CoC for postCustInvoice method of CustPostInvoice class & there code added to update customized field of custtrans from custinvoicetable..
It is working fine..
Thx for reply !!
Hi Judy,
I have created CoC for postCustInvoice method of CustPostInvoice class & there code added to update customized field of custtrans from custinvoicetable..
It is working fine..
Thx for reply !!
Hi, You can check 'createCustVendTrans' method in CustVendVoucher class.
Add a breakpoint in insert method of CustTrans table and post a free text invoice. You can debug & review the call stack and choose where best to map the field.
Did you find the solution? Sorry I don't have the environment at hand, but I think you may refer to the form class CustPostInvoiceJob to see the logic of the ok button and then write a Coc method to add the operation on the CustTrans Table.
Hi Judy,
Thx for reply!!
It is a simple text field, which will be used to pass some extra information related to Free Text Invoice. Existing description is not sufficient to address the problem. Same text user wants to view in customer transactions.
Posting trigger is mentioned because at the time of posting, Cust trans getting created.
Hope above explanation will help you in advising my issue.
Looking forward to hear from you.
Hi TU1506,
You need to provide more details to get better help. Can you elaborate on why you want to pass custom fields to the specified table? Or why do you pass the value when posting of Free Text Invoice record? In which way should the values be passed?
André Arnaud de Cal...
291,996
Super User 2025 Season 1
Martin Dráb
230,853
Most Valuable Professional
nmaenpaa
101,156