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

Notifications

Announcements

No record found.

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
    301,069 Super User 2025 Season 2 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
    301,069 Super User 2025 Season 2 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans