If one Item has multi-version, When you create work order then change the item version , the BOM and routing didn't change correspondingly.
Here is the Item version for your reference:
Step to Reproduce:
1, Create Work order , The default version field is 0003,
2, Click Add , When the button changed to OK, Then change the version to 0002 (Notes, Don't close this windows), and click the update button,
3, open the work order structure , You can see the BOM and routing is not corresponding with the work order header's version ,
follow customizing script solve this problem: