Facade pattern in SuiteScript: I want to iterate through a resultset and execute various functions depending on the type of sales order returned. If this was Java, I would implement the facade pattern so I can delegate different SO functions to different classes so I can keep the code more modular and tidy. Would the facade pattern be acceptable in SuiteScript? I'm thinking of using one scheduled script to trigger the search then use a switch statement to call differnet custom modules depending on the TYPE of sales order returned?