Question

Previous shop order operation - How to find it

  • 7 June 2021
  • 1 reply
  • 86 views

Userlevel 4
Badge +8

Hi,

 

There are many things that could be valuable from an analysis perspective if we in a simple way could combine data from one operation with the previous operation and find the prevoius one even if there are parallell operations(then we should find the one that has to be done before).

Has anyone a suggestion for that?

One application that we are looking at:

  • Adjusted OTD (instead of planned and actual start/finished, look at previous operations actual finish date + transport+setup). You cannot be on time if the previous operation is late, but you can still do your part at promised lead time.

This topic has been closed for comments

1 reply

Userlevel 7
Badge +23

Maybe you can use shop_order_operation_api.get_previous_operation 

If you have an order with operations 10, 20 and 30 where 30 is parallel to 20, I would expect this function to return operation 10 asprevious when checked for operation 30.