Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Where is Reason Comment field store in DB from module Budget Register Entry

(0) ShareShare
ReportReport
Posted on by

Dear Expert,

How I can get Reason Comment information, I didnt get the field in BudgetTransactionHeader.

Is there anyway to get the Reason Comment data in Budget Register Entry?

  • edwin90 Profile Picture
    edwin90 on at
    RE: Where is Reason Comment field store in DB from module Budget Register Entry

    Hi Mohit,

    Great!!.. ReasonTableRef is what I need..

    The edited ReasonComment store on that Table.

    Thanks!

  • Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    RE: Where is Reason Comment field store in DB from module Budget Register Entry

    Hi,

    Generally, the reason comment field is an explanation of the reason code, which you can customize in the screenshot I mentioned above. It is associated with a reason code, similar to a purchase order reason code and reason comment. If you want to know its location, you can check the screenshot provided by Mohit.

     

    Best Regards,

    Hana

    This post is my own opinion and does not necessarily reflect the opinion or view of my company.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: Where is Reason Comment field store in DB from module Budget Register Entry

    Hi, ReasonComment is a edit method and you didn't mentioned where do you want to access it. To access it you need table buffer of BudgerRegisterHeader table. 

    Check below code for reference

    ReasonTableRef reasonTableRef;
    
    //Keyword 'This' is for BudgetTransactionHeader table buffer
    
    select ReasonComment from reasonTableRef
        where reasonTableRef.RecId == this.ReasonTableRef; 
    
    

  • edwin90 Profile Picture
    edwin90 on at
    RE: Where is Reason Comment field store in DB from module Budget Register Entry

    Dear Hana,

    If you look my Budget Register Entry,

    I didn't use Reason Code, just Reason Comment, and the textbox is enable editted (custom)

    However, I already try use Financial Reason, the field just show the "Default Comment".

    What I want is if you fill with something custom like "General adjustment - Period 01-05 May 2023".

    Wheres D365FO store the "General adjustment - Period 01-05 May 2023"?, becuase we just get "General adjustment" in description ReasonTable

  • Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    RE: Where is Reason Comment field store in DB from module Budget Register Entry

    Hi,

    The reason comment is a description of the reason code, perhaps you can find it in the General Ledger -> Journal Setup -> Financial Reasons.

    For more information you can view the links below:

    Financial reason feature extension - Finance | Dynamics 365 | Microsoft Learn

    About financial reason codes | Microsoft Learn

    Best Regards,

    Hana

    This post is my own opinion and does not necessarily reflect the opinion or view of my company.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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... 292,160 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans