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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Getting the approval status of a Payment Journal Line

(1) ShareShare
ReportReport
Posted on by 53
Hi community! I was wondering if there was a way to get the approval status of a payment journal line.
I can see there is a "Pending Approval" field in the Gen. Journal Line table but its value is still false in the inspector even though an approval has been requested for this journal line. 
 
 
Update (Oct 11): I want to get the approval status of the journal line, NOT the journal batch.
I notice there is a private variable in the Payment Journal Page(256) called GenJnlLineApprovalStatus and I wonder if there is any way to get the value of this variable.
 
 
 
Please help, thanks!
I have the same question (0)
  • Sacha E Profile Picture
    246 on at
    You obviously don't have this view?
    On both our General Journal and Payment Journals we can see the Approval Status on top next to the batch name. We do use workflows for our approvals and have a Workflow User Group for our Journal Approvals.
  • kayc529 Profile Picture
    53 on at
    Some more info about what I am trying to do: I have an action that should only be triggered if the journal line has been approved, so I was hoping to get a boolean value or some indicator.
  • Suggested answer
    CU23091617-0 Profile Picture
    37 on at
     
    It seems the workflow has been configured but the General Journal Line is not yet sent for Approval.
    Vendor No. is blank in your screenshot.
    If you fill the required fields and send it for approval it will update the Approval Status to "Pending Approval"
  • Suggested answer
    Andy Wingate Profile Picture
    326 on at
    Hiya,
     
    For line approval you should check the field called "Approval Status".  The pending approval field doesn't appear to be used for either line approval or batch approval. To get the view shown by Sache you need to be using 'Batch approval' which is a different workflow template. 
     
    You might want to check your workflow also, its possible the approval didn't remove the restriction. you can always test a default one. 
     
     
     
    Does that help at all?
     
    Best 
    Andy
  • Suggested answer
    Valentin Castravet Profile Picture
    31,340 Super User 2025 Season 2 on at
  • Vahid Ghafarpour Profile Picture
    12,090 Super User 2025 Season 2 on at
     

    ** Please don't forget to close up the thread here by Like and verify it as an answer if it is helpful **

  • kayc529 Profile Picture
    53 on at
    I have set up the workflow correctly (notification received by the approver) but the "Pending Approval" field is still false
     
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    Hi, hope the following helps.
    Business Central 2023 wave 2 (BC23): More control over general journal approvals (Approval Status)
     
    Thanks.
    ZHU
  • kayc529 Profile Picture
    53 on at
    @YUN ZHU
     
    Is there a way to get the values of these variables?
  • Gerardo Rentería García Profile Picture
    25,157 Most Valuable Professional on at

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans