web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    RE: Customised Field created in Free Text Invoice Header Table to be passed into CustTrans Table

    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
    RE: Customised Field created in Free Text Invoice Header Table to be passed into 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.

  • Verified answer
    huijij Profile Picture
    19,811 on at
    RE: Customised Field created in Free Text Invoice Header Table to be passed into CustTrans Table

    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,563 Moderator on at
    RE: Customised Field created in Free Text Invoice Header Table to be passed into CustTrans Table

    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
    RE: Customised Field created in Free Text Invoice Header Table to be passed into CustTrans Table

    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
    RE: Customised Field created in Free Text Invoice Header Table to be passed into CustTrans Table

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,771

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 542 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans