cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Manufacturing Execution training

Dany2
Participant
0 Kudos
1,554

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

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

sergiy_katerinich
Product and Topic Expert
Product and Topic Expert
0 Kudos
Maybe it depends on NC Code setup. I tested in the latest patch of ME 15.5.