Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

  • D R Sahu Profile Picture
    D R Sahu 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
    AbdulBari 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
    Community Member Microsoft Employee 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
    Community Member Microsoft Employee 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
    fgil12 2,720 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
    Community Member Microsoft Employee 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
    fgil12 2,720 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
    fgil12 2,720 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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,514 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans