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)

Cannot create a record in Price/discount agreement journal table (PriceDiscAdmTable). Name: SalesPrice. The record already exists.

(0) ShareShare
ReportReport
Posted on by

When I want to create a new Journal and then edit its lines I get this error. Do you have any Idea how I can find the problematic journal?

Because I had this error previously and I used to delete those journals that had not been posted yet and then the issue went away but this time, the workaround didn't work.

6560.Journal.PNG

*This post is locked for comments

I have the same question (0)
  • Khaled Alloud Profile Picture
    3,658 on at

    Hello,

    I find this error strange and i didn't see it before.

    Please check the forms 'Trade agreement Journal names' and Activate price/discount

    from  Procurement and sourcing -> Setup -> Price/Discount.

    Do you see anything weird here?

    Thank you,

  • Verified answer
    Sagar Suman Profile Picture
    6,550 Super User 2025 Season 2 on at

    Hi Mehrdad Kamelzadeh,

    I was able to reproduce the error in my system.

    I have automatic number sequence setup for my trade agreements in accounts receivable > accounts receivable parameters > Number sequence > price/discount journal number.

    Now I selected the number sequence and edited the next value in general tab. In my case latest number used for trade agreements was TA-000067. So the next value was "68" in my setup. I manually changed it to 67 again in the "Next" field.

    Now as I went to create a new trade agreement and clicked on lines AX tried to create a new journal with same journal number again TA-000067, which is not possible. I got the same error as you as there already existed a journal with that number.

    So check your number sequence and next value in setup.

    Kindly check if there exists a journal with journal number GEC-006175 in both posted and non posted journals or check next value in number sequence as suggested above and change next value to 6176 and try creating again.

    It is a number sequence issue.

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans