Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

How taGetNextJournalEntry stored Procedure giving next Journal entry number

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How taGetNextJournalEntry stored Procedure giving next Journal entry number

    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,

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How taGetNextJournalEntry stored Procedure giving next Journal entry number

    Hi Kavita

    Check this out.

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

    Cheers!

    Sanjay

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: How taGetNextJournalEntry stored Procedure giving next Journal entry number

    Mr. Steve

    How could we get such details regarding encrypted stored procedures ?

  • steveendow Profile Picture
    steveendow 2,281 on at
    RE: How taGetNextJournalEntry stored Procedure giving next Journal entry number

    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.

  • kavitha B Profile Picture
    kavitha B 790 on at
    RE: How taGetNextJournalEntry stored Procedure giving next Journal entry number

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

  • Suggested answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: How taGetNextJournalEntry stored Procedure giving next Journal entry number

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

    I believe this piece of information is not accessible.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans