Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Show Misc Charges attached with Purchase Order Lines

(0) ShareShare
ReportReport
Posted on by 8,175

Dear Friends ,

I need to show , Purchase order Number and attached Misc Charge Details (Markup Code, Txt and Amount) in Form Grid and should able to filter by PurchId .I'm thinking of using MarkupTrans Table but It's seems to it's doesn't include all the transactions .
can any one able to guide me how to do this.

thanks in Advance,

Amith Prasanna

*This post is locked for comments

  • Show Misc Charges attached with Purchase Order Lines
    I was wondering, is there someone who can assist me with an SQL query to remove charges from a purchase order?
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Show Misc Charges attached with Purchase Order Lines

    you can try this:

    select sum (Value) from markupTrans where markupTrans.TransRecId == vendInvoiceInfoTable.RecId &&

               markupTrans.TransTableId == vendInvoiceInfoTable.TableId

               || ( markupTrans.TransRecId == vendInvoiceInfoLine.RecId && markupTrans.TransTableId == vendInvoiceInfoLine.TableId);

  • Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Show Misc Charges attached with Purchase Order Lines

    Hi Amith Prasanna,

    Just a side question here:

    In the Header you write that you want to show misc. charges attached to your PO lines. If the charges already sit at the line level, what do you want to distribute?

    Best regards,

    Ludwig

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Show Misc Charges attached with Purchase Order Lines

    Hi Amith Prasanna,

    If you open "Maintain charges" form from header or line level you can right click on it -> Personalize. Then on "Query" tab you will see query and how it's joined to purchtable\purchline.

  • A.Prasanna Profile Picture
    A.Prasanna 8,175 on at
    RE: Show Misc Charges attached with Purchase Order Lines

    thanks for the suggestion.will you able to guide me to get MarkupTrans by PurchId to Form or Report?.I have issue with Building query .

    thanks!,

    Amith Prasanna

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Show Misc Charges attached with Purchase Order Lines

    It sounds obvious but to see not allocated trans you need to allocate them. If you don't want you probably have to copy logic behind allocation to create your own allocation to temp table to be able to display this data on the form.

  • A.Prasanna Profile Picture
    A.Prasanna 8,175 on at
    RE: Show Misc Charges attached with Purchase Order Lines

    I can't see charges already added and Not allocated .

    thanks,

    Amith Prasanna

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Show Misc Charges attached with Purchase Order Lines

    Hi Amith Prasanna,

    What kind of information is missing in MarkupTrans  ?

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,904 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans