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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

how delete a Price agreement journal that has already been posted??

(0) ShareShare
ReportReport
Posted on by

Hi

The follow call is showed:

"Price/discount agreement journal table cannot be deleted while dependent Price/discount agreement journal lines exist. Delete dependent Price/discount agreement journal lines and try again."

Thanks for help??

*This post is locked for comments

I have the same question (0)
  • fgil12 Profile Picture
    2,722 on at

    check the price/discount journals' lines. There must be some line hanging, which is causing the problem.

  • fgil12 Profile Picture
    2,722 on at

    Journal lines are found:

    Procurement and sourcing > Journals > Price/discount agreement journals > lines

  • Community Member Profile Picture
    on at

    The specific question is: how delete a Price agreement journal that has already been posted

  • Verified answer
    fgil12 Profile Picture
    2,722 on at

    You will need to delete the records in AOT, since it is not possible to delete a posted journal as a functional user.

    The related tables are PriceDiscAdmTrans (journal lines),  PriceDiscAdmTable (journal header), PriceDiscTable


    Be very careful, you could be affecting other transactions.

  • Community Member Profile Picture
    on at

    You need to create a new journal, to use the select button to call back the agreement that you want delete, click the button "select all trade agreement for delete" and post the journal.

    You can also select the line from the released products and click on modified, and click on "select all trade agreement to delete" (not sure about the translation my Ax is in french).

    So you can't delete a journal, but you can delete a line of trade agreement. it will stay in database but will not be available anymore. 

  • Community Member Profile Picture
    on at

    Oh also, I beleive that you can't delete a line that is already unvailable because of its end date.

  • AbdulBari Profile Picture
    85 on at

    can you take screenshot and show me.

  • D R Sahu Profile Picture
    on at

    Hello fgil12,

    I am new to this AX, so can you please guide me on how to find the table(Above 3 tables I found), go inside, and what to delete? please guide.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Basit Profile Picture

Basit 1

#1
GL-01081504-0 Profile Picture

GL-01081504-0 1

#1
Roya Profile Picture

Roya 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans