cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Manufacturing Execution training

Dany2
Participant
0 Kudos
481

Hi

Dany2_0-1721823986988.png

 

The VARNISH step only is used if there are scratches. If the MECA part is scratch-free, it goes directly to the CAB step. If the MECA part has scratches it goes to VARNISH step.

I integrated a data collection by selecting the Boolean type in the MECA operation. On the false value I entered “YES” (application of varnish) and the true value “NO”. I assigned it a NC_CODE “DEFAUT_ASPECT”

Dany2_1-1721823986990.png

I tried to attach nonconformance scripts to any branch but if I confirm “yes” or “no”, the system sends same CAB operation (VARNISH & CAB)

How do I ensure that when I validate “YES” it goes to the VARNISH step and “NO” to the CAB step

Thank you in advance for your help

Best regards

0 Kudos

Hi!

Do you actually see that the predefined NC Code gets logged when you save the FASLE value in the DC parameter?

What are the routing step scripts that you use here?

Regards,

Sergiy

View Entire Topic
Dany2
Participant
0 Kudos

Hi 

I used the script 

// Path for SFCs without Non-Conformances at Current Operation
if(getNCsForCurrentOperation()!=null) {
exit (false);
} else {
exit(true);
}

And the script 

// Path for SFCs with Non-Conformances at Current Operation
if(getNCsForCurrentOperation()!=null) {
exit (true);
} else {
exit(false);
}

I have the same problem as the other scripts. The both different routing script goes to same  "VARNISH" step. Shouldn't we add a value to the formula?

Regards

0 Kudos
Maybe it depends on NC Code setup. I tested in the latest patch of ME 15.5.