Skip to main content

Notifications

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? 

  • André Arnaud de Calavon Profile Picture
    293,302 Super User 2025 Season 1 on at
    RE: Auto End Quarantine Order when started from Sales Orders referance

    Hi Mostafa,

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

  • Mostafa Tarabay Profile Picture
    32 on at
    RE: Auto End Quarantine Order when started from Sales Orders referance

    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?

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    293,302 Super User 2025 Season 1 on at
    RE: Auto End Quarantine Order when started from Sales Orders referance

    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).

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

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... 293,302 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,114 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans