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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Auto End Quarantine Order when started from Sales Orders referance

(0) ShareShare
ReportReport
Posted on by 32

Hi,

When our team create a return sales order and complete it to return quantities from customer back to our company warehouse, these items going to quarantine warehouse this is the required for these items.

The status of Quarantine Order is Started with reference started with "SO-" where the quarantine order created from return sales order,  and need some one to open quarantine orders screen then click on end to remove quantities from quarantine warehouse to original warehouse.

I need to add a code to automate ended the quarantine orders which has a reference started with "SO-" only.

I have Dynamics AX 2012 R3 CU9

any help about that? 

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

    Hi Mostafa,

    Quarantine is mandatory for these items, but you want to end the quarantine orders automatically? If the assumption is that a return was not opened or used by a customer, then I can imagine you want to check the items on arrival from a vendor, but not on a sales return. I do assume the Quarantine requirement is enabled on the item model group.

    For auto completion with a reference from return orders, you can consider a customization (e.g. new batch job).

  • Mostafa Tarabay Profile Picture
    32 on at

    These items are BOM items (finished products) created from production orders, So by we design item model group of these item for quarantine for checking after production.

    On the other hand, these products we sale it by Sales orders to customers, in case we return some quantities from customer again to our warehouses, due to item model group the new quarantine order starts.

    I need to end all quarantine orders that have reference started with "SO-" that created from return sales orders.

    if you can guide me  which class or batch job i can use for automate this?

  • André Arnaud de Calavon Profile Picture
    303,667 Super User 2026 Season 1 on at

    Hi Mostafa,

    You can use some cross references or debugging to find out which class is being executed for ending the quarantine orders.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 613

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 455 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 292 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans