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)

Show Misc Charges attached with Purchase Order Lines

(0) ShareShare
ReportReport
Posted on by 8,221

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

I have the same question (0)
  • Community member Profile Picture
    on at
    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
    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
    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
    60,284 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
    8,221 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
    60,284 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
    8,221 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
    60,284 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
KP-31070522-0 Profile Picture

KP-31070522-0 3

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans