Skip to main content

Notifications

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 91

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

  • Suggested answer
    TU1506 Profile Picture
    TU1506 91 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 !!

  • Suggested answer
    TU1506 Profile Picture
    TU1506 91 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
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 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.

  • Verified answer
    huijij Profile Picture
    huijij 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.

  • TU1506 Profile Picture
    TU1506 91 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.

  • huijij Profile Picture
    huijij 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?

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans