Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Deactivate route version via job or DMF entity

(1) ShareShare
ReportReport
Posted on by 63

Does anybody know a periodic job in D365 to activate/deactivate route versions of released products in a batch?

Or is there any entity to do so?

I was importing routes via entities and for the versions I was using entity Route versions V2 where it is also possible to activate the route version. However, the previous/old route versions can't be set to inactive with this entity. Instead the route version is imported a second time and I get duplicated versions:

Please let me know.

Thanks!

Markus

  • Suggested answer
    T.Nakagawa Profile Picture
    T.Nakagawa 2 on at
    Deactivate route version via job or DMF entity
    I had a same kind of issue for BOM version data and what I did is following.
    Hopefully, same as Route version data, too. (sorry if not)
     
    1. export BOM version to excel file
    2. edit "ISACTIVE" column to "Yes/No" for acitvate/deactivate to records as you need and save it
    3. create import project with "truncate entity data option" to "Yes" (*)
       and add BOM version entity with updated excel file
     
         * This means you can re-create all BOM version data
     
    Please Be carefull the timing to re-create all version data.
     
    Sorry for poor English.
  • Markus Kreuter Profile Picture
    Markus Kreuter 63 on at
    Deactivate route version via job or DMF entity
    Unfortunately I didn't find any solution available out of the box. I guess a modification is needed here.
  • XG-16050201-0 Profile Picture
    XG-16050201-0 2 on at
    Deactivate route version via job or DMF entity
    Hi Markus,
     
    Did you get the solution how to deactive route version in batch ? Thanks.
  • Suggested answer
    Dogan Adiyaman Profile Picture
    Dogan Adiyaman 688 User Group Leader on at
    Deactivate route version via job or DMF entity
    Hi,
     
    The entity is not going to do that automatically for you, you'll need to write a job to do inactivations and activations after the import.
  • Tobiasguebeli Profile Picture
    Tobiasguebeli 8 on at
    Deactivate route version via job or DMF entity
    Hi Markus
     
    Have you found a solution for this issue? I have the exact same problem now as well.
     
    ,Tobias

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans