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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Customised Field created in Free Text Invoice Header Table to be passed into CustTrans Table

(0) ShareShare
ReportReport
Posted on by 147

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!!!

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

    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?

  • TU1506 Profile Picture
    147 on at

    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.

  • Verified answer
    huijij Profile Picture
    19,811 on at

    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.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    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.

  • Suggested answer
    TU1506 Profile Picture
    147 on at

    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 !!

  • Suggested answer
    TU1506 Profile Picture
    147 on at

    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 !!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 470

#3
Adis Profile Picture

Adis 270 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans