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)

Printing two invoices with one action (book order).

(0) ShareShare
ReportReport
Posted on by 3,850

Hello.

I have done some customization in Dynamics AX vers. 2.5!

The procedure is like this:

  1. User create Sales Order with certain customer and product ID's.
  2. User create an invoice when Sales Oder is fully created (booking Sales Order)
  3. When specific criteria is met, regarding to customer type and/or product type, a script create another Sales Order, with certain product ID's and customer. But that Sales Order isn't automatically booked like the previous Sales Order that user created manually. 

I want the second Sales Order to be booked automatically when user book the manual Sales Order, to the procedure should be when user book Sales Order that he created manually, the second Sales Order is created and also booked and invoice is printed out in the same way that manual Sales Order is booked and printed out.

It's more convenient to automatically book the second Sales Order in the same action when user book the first Sales Order and print invoice made from it, instead the user have to look into the Sales Order list, find the Sales Order that have been automatically created when manual Sales Order was booked and user have to manual book the second Sales Order.

What class do I need to use to take advanced of this feature? I have code that create Sales Order automatically but I need to book it automatically too when user book the Sales Order that he have manual created before.

*This post is locked for comments

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans