Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to run create new sales order form

(0) ShareShare
ReportReport
Posted on by

How can I manage to open the "create sales order" form?

When I use the "SalesTableListPage", I get an overview of all sales orders, and when i uset the "SalesTableForNew", AX opens the most recent created sales order.

What I want, is to open the form you get when you physically push the button "New Sales order" in AX.

Anyone knows what caller to use to get this to work?

*This post is locked for comments

  • oysteindg Profile Picture
    oysteindg on at
    RE: How to run create new sales order form

    I think we misunderstand each other a bit.

    I have the following fields to enter information inside, to generate the needed "code" to open the "create sales order" form when I push the button illustrated in the picture (the fields defines the buttons behaviour):

    Any suggestions? I know that the "Menu item name" and "Menu item type" field is correct.

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,614 User Group Leader on at
    RE: How to run create new sales order form

    In order to define 'Open Mode', you don't need any 'Field'

    it is specified in properties of MenuItemButton

  • oysteindg Profile Picture
    oysteindg on at
    RE: How to run create new sales order form

    In your first scenario, I have put MenuItem to "SalesTableForNew", and for Menu item type I have set "Display".

    I have no field to define the "Open mode".

    Any other values I can put in the fields from the list in my previous post that can managet the same function?

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,614 User Group Leader on at
    RE: How to run create new sales order form
    • Create a new MenuItemButton
    • go to its properties and specify the MenuItem as SalesTableForNew (Display Type)
    • set open mode as New

    Or

    • open SalesTableListPage
    • Copy button which is responsible to create new sales order and paste it in any other form or anywhere needed.

  • oysteindg Profile Picture
    oysteindg on at
    RE: How to run create new sales order form

    Hi Sohaib.

    I'm sorry for being a little unclear.

    I want to open the SalesCreateOrder (PopUp) form from a custom button.

    I tried to put "SalesTableForNew" in the "Menu item name" field to open the "SalesCreateOrder" form, but this only opens the lastly created sales order.

    I have a module (not standard AX) where I am able to define the following fields:

    1. Menu item name

    2. Form

    3. Control

    4. Control name

    5. Value

    Based on this, I should be able to define how to open the SalesCreateOrder form.

    Was this understandable?

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,614 User Group Leader on at
    RE: How to run create new sales order form

    your question is bit ambiguous, can you, please, restate it

    which form you want to open SalesTable or SalesCreateOrder (PopUp).

    also you want to open it by code or how for a normal user just on any click?

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,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans