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 AX (Archived)

Error : Cannot create a record in Ledger journal table (LedgerJournalTable)

(0) ShareShare
ReportReport
Posted on by 133

"Cannot create a record in Ledger journal table (LedgerJournalTable). Name: Vend_p, Vendor Payments. The record already exists"
Getting above error when create payments.

This look like the issue is with the duplicate journal num. 

Can you please give any solution to set the journal num?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Check the number sequence for this journal. Is it marked as continuous? It should usually not be necessary to have it continuous, so just remove the Continuous checkbox from the number sequence settings.

    If you need to have it continuous (basically if you have requirement that this internal "technical" id sequence has no gaps) you can remove the problematic number from the Status list of the number sequence.

  • Bhavesh Gohel Profile Picture
    133 on at

    We cannot make it non continuous as it was maintain continuous from very beginning and here, journal number generated was duplicate so we have to change the journal number that is generated at the time of create payment.

    Can you please give a way to set the next journal number ? or from where the journal number sequence maintain?

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Number sequences are maintained in Organization Administration - Number sequences - Number sequences.

    First check if the Next value of the number sequence is ok. If not, change it to some value that is really free (not yet used).

    If the Next value is ok, then the problem is that some already used value exists in the Status list of the number sequence. In that case just delete that value from the Status list.

    Also please note that continuous number sequences should be used only when it's really required (for example because of legislation) that there are no gaps in the sequence. Journal numbers are just technical sequences inside AX so there should not be any legal requirement for those to be continuous. Continuous number sequences are slower to initialize, and can sometimes have issues like the one you have. So you need to pay some price (slower performance, using time to investigate issues) for the continuous number sequences. 

  • Suggested answer
    Bhavesh Gohel Profile Picture
    133 on at

    We got the solution for this.

    The number sequence having the list generated for specific number sequence and that number sequence is used at the time of create payments.

    We have delete the entry from list form

    1754.10.PNG

    List button open the status of the number sequences and we have cleared that entries.

    Now, It works for us.

    Thank you for all your replies.

  • nmaenpaa Profile Picture
    101,160 Moderator on at

    Great to hear that!

    Please mark the helpful answer(s) as verified so that others can benefit from them. Thanks!

  • Bhavesh Gohel Profile Picture
    133 on at

    Hi

    Thank you.

    I am  not able to mark answer as verified. Can you help me?

  • nmaenpaa Profile Picture
    101,160 Moderator on at

    Next to the suggested answers you see text "Was this answer helpful?" or something like that. And you can click Yes.

  • Bhavesh Gohel Profile Picture
    133 on at

    It is showing only in your responses. There is no link shown in my own response. :)

  • nmaenpaa Profile Picture
    101,160 Moderator on at

    Yes, that's right. Since I provided the suggested answer. If it was helpful, please mark it as verified.

    You're supposed to mark the answer(s) as verified, not your own question. The idea is that others can see which answers / suggestions were helpful.

    Also, you are not supposed to mark your own questions / messages as "Make post a suggested answer" when you post them. Since they are not suggested answers to the problem.

  • Suggested answer
    adityo purnomo Profile Picture
    10 on at

    This issue is very simple, you can Delete Number Sequence list. And Try again.

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 AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans