BPM to stop user from staring Operations in Parent Assemblies till all the Child Assemblies are completed

I am trying to restrict the Operation under Parent Assemblies, till all the operations under each Child Assemblies are completed

1st… be very careful… what you are describing is a very “single level” use case… but some companies use multiple levels in their BOM… some have their assemblies required in step 10, and some in step 20 of the final assembly. if ALL your jobs (forever… from now on) always follow this pattern, then a BPM could do what you want. How?
Well… I can’t write it for you, but I can give a hint. I would make a BPM that triggers when they are trying to clock into the job (do a trace to find out what happens when you enter the job number… find that Method)… Then inside that BPM, you want to do a query on that job. You want to find out if there are any operations that are not marked as COMPLETE. Note that all your assemblies are greater than 1. The Top assembly is Zero… so, you could create a query on the PartAssy table in the BPM that looks selects all Operations with Complete = false and Assembly# > 0 and JobNum = Jobnum that is being clocked into… Then if any are found in this query, throw an error.

1 Like

Hello Tim,

Thank you for replying. I was able to create a BPM.

1 Like