<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Frepple / TestFlowAlternate2</title> <link rel='stylesheet' href='../styles.css' type='text/css' /> <!--PageHeaderFmt--> </head> <body> <div id="container"> <div id="menubar"> <div id="logo" align="center"> <br/><img src='../frepple.bmp' alt="frepple" /><br/> <a href='http://www.frepple.com/'> <strong>a Free<br/>Production Planning<br/>Library</strong> </a></div> <div id="menu"> <br/> <h3><a href='../Main/HomePage.html'>Main</a></h3> <h3><a href='../UI/Main.html'>User Manual</a></h3> <h3><a href='../Tutorial/Main.html'>Tutorial</a></h3> <h3><a href='Main.html'>Reference Manual</a></h3> <h3><a href='../Main/FAQ.html'>FAQ</a></h3> <h3><a href='../reference/index.html'>C++ API</a></h3> <br/><div> </div> </div> </div> <div id="content"> <br/> <!--PageText--> <div id='wikitext'> <p><a class='wikilink' href='../Main/HomePage.html'>Main</a> > <span class='wikitrail'><a class='wikilink' href='Main.html'>Reference Manual</a> > <a class='wikilink' href='Test.html'>Unit tests</a> > <a class='selflink' href='TestFlowAlternate2.html'>TestFlowAlternate2</a></span> </p> <p class='vspace'>This test verifies the behavior of the user exit that controls alternate flows. The user exit gives the user control over the allowed combinations of alternate flows. </p> <p class='vspace'>In this example, a product uses 3 components, each having some alternates. </p><ul><li>component A1, with alternates A2 and A3 </li><li>component B1, with alternates B2, B3 and B4 </li><li>component C1, with alternates C2, C3 and C4 </li></ul><p class='vspace'>This gives a total of 3*4*4 = 48 possible combinations of the components.<br />Using the user exit we restrict the allowed combinations to the following: </p><ul><li>A1, B2, C1 </li><li>A1, B2, C2 </li><li>A2, B1, C2 </li><li>A2, B1, C3 </li><li>A3, B3, C4 </li><li>A3, B4, C4 </li></ul><p>These restrictions can represent technical constraints in the bill of material (as provided by the engineers), different versions in the bill of material, configuration rules imposed by the customer, etc... </p> </div> <!--PageFooterFmt--> <!--HTMLFooter--> </div></div> </body> </html>