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

Season of Sharing Community Challenge Launch!

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

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 587

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 568 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans