web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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,227

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

  • Mea_ Profile Picture
    60,286 on at

    Hi Amith Prasanna,

    What kind of information is missing in MarkupTrans  ?

  • A.Prasanna Profile Picture
    8,227 on at

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

    thanks,

    Amith Prasanna

  • Mea_ Profile Picture
    60,286 on at

    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,227 on at

    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,286 on at

    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.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    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

  • Community Member Profile Picture
    on at

    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);

  • AU-27040947-0 Profile Picture
    Microsoft Employee on at
    I was wondering, is there someone who can assist me with an SQL query to remove charges from a purchase order?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans