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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Data in Grid

(0) ShareShare
ReportReport
Posted on by

Dear Expert

I have a grid on form which  is bound to data source "TableA" 

Now I want to populate this grid Column  "itemId" From table SalesLine column (itemid).

As the user enter invoice no in text box i want to populate the grid and create rows in grid

automatically. 

Thanks in advance

AFRIDI

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    306,446 Super User 2026 Season 1 on at

    Hi Afridi,

    Can you please elaborate? I'm not getting the complete requirement.

  • Community Member Profile Picture
    on at

    Thanks Andre

    I want to create A form with

    A Grid  bound to table "MTable" with colum ItemId from "MyTable"

    I want a text box on form when user enter SalesOrder Number

    it brings all itemid for that "Sales Order Number" from salesline table

    and display on grid.

    later user will enter data on grid second colum like "Toll Tax ", "Over Time"

    Thanks

    Afridi

  • Community Member Profile Picture
    on at

    grid1.png

  • Dick Wenning Profile Picture
    8,705 Moderator on at

    add your datasource to the form, with inner join , to salesline

    it  should work from that point, similar like salesline with inventdim table

  • Sohaib Cheema Profile Picture
    49,668 Super User 2026 Season 1 on at

    Let’s keep your technical requirement aside & Discuss business scenario.

    Are you trying to do something such as charges on  top of Sales Order Invoice?

  • Community Member Profile Picture
    on at

    Thanks Sohaib

    Yes i want to add additional charges on Sales Order, In my Sales Order normally contains more than 100 rows

    to create logistics invoice and each row represent one trip for vehicle. and in that trip i have to enter 

    1. Toll Tax 2. Meal Amount 3. Over Time, if I enter all this in Sales Order It will be (100 Trips * 300)

    So I want to create separate form  let user to enter all these expenses. this will help us to create our P & L

    and we can print invoice as per client requirement.

     

    Thanks & regards

    Afridi

  • Sohaib Cheema Profile Picture
    49,668 Super User 2026 Season 1 on at

    what are the problems at "Using Existing functionality of charges", which allows you to allocate charges. in addition it also allows you to maintain charges after invoice.

  • Community Member Profile Picture
    on at

    Than every Line in Sales order will be having 3 lines of charges minimum

    Please look at the image it is standard invoice

    7367.INVOICE.png

  • Sohaib Cheema Profile Picture
    49,668 Super User 2026 Season 1 on at

    you can allocate charges line-wise in dynamics ax

    kindly study how these are working at standard ax. if those does not work for you, share with us the reasons so we can further help you.

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 June 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