SC Request workflow If condition is failing for Order Guides occasionally



The request on sc_request checks to see if the request is for an order guide; however the if condition fails occasionally. 


Jakarta Patch 6a


The u_orderguide_sysid field does not get populated as expected due to the order_guide variable set not being apart of all items on the order guide.



There are two solutions to this issue: 

1. Add the order_guide to all items on the order guide, or 
2. In the zPTC_Set Order Type business rule, change 'if (' to 'while ('. This is check all requested items for the u_orderguide_sysid variable instead of only the first item.