Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Show Misc Charges attached with Purchase Order Lines

(0) ShareShare
ReportReport
Posted on by 8,177

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?
  • 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,177 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,177 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans