web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • D R Sahu Profile Picture
    on at
    RE: how delete a Price agreement journal that has already been posted??

    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.

  • AbdulBari Profile Picture
    85 on at
    RE: how delete a Price agreement journal that has already been posted??

    can you take screenshot and show me.

  • Community Member Profile Picture
    on at
    RE: how delete a Price agreement journal that has already been posted??

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

  • Community Member Profile Picture
    on at
    RE: how delete a Price agreement journal that has already been posted??

    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. 

  • Verified answer
    fgil12 Profile Picture
    2,722 on at
    RE: how delete a Price agreement journal that has already been posted??

    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
    RE: how delete a Price agreement journal ??

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

  • fgil12 Profile Picture
    2,722 on at
    RE: how delete a Price agreement journal ??

    Journal lines are found:

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

  • fgil12 Profile Picture
    2,722 on at
    RE: how delete a Price agreement journal ??

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

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 2

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans