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 :
Microsoft Dynamics GP (Archived)

How taGetNextJournalEntry stored Procedure giving next Journal entry number

(0) ShareShare
ReportReport
Posted on by 790

When we call the stored procedrue taGetNextJournalEntry  , It is giving next journal entry number.

let me know is this checking internally in GL10000,Gl20000,GL30000 tables before returning next value.

Thanks!

kavitha

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahmoud Saadi Profile Picture
    32,738 on at

    That's an encrypted stored procedure, therefore, the  CREATE function cannot be scripted.

    I believe this piece of information is not accessible.

  • kavitha B Profile Picture
    790 on at

    Yes, your correct. This  is encrypted . But i need to know that how the value is coming....

  • steveendow Profile Picture
    2,281 on at

    Hi Kavitha,

    The taGetNextJournalEntry procedure retrieves the next JE number from GL40000, and it then checks the following tables to determine if the next JE number is in use:

    GL10000

    GL10100

    GL20000

    It does not check the GL30000 table.

  • Mahmoud Saadi Profile Picture
    32,738 on at

    Mr. Steve

    How could we get such details regarding encrypted stored procedures ?

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Kavita

    Check this out.

    http://www.sanjaykumar.us/index.php/econnect-getnextdocnumbers-class-vb-net-example/

    Cheers!

    Sanjay

  • Community Member Profile Picture
    on at

    Hello,

    I have an issue using the same procedure. When I call the procedure into a Transaction from stored procedure (begin and rollback/commit transaction), to create many journals, apparently for any reason the number return it (journal entry number) is not correct. This not happens ever. But if I get into the window 'journal entry', that window suggests the same number that the procedure returned, with detail information on it, as the next number for this transaction.

    Have you any idea that what happens?

    It's like if the procedure has not updated the last number used or something like that.

    Best >Regards,

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 > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans