The user needs the ability to generate the purchase invoice and post it before the sales invoice is created. The generation of the sales invoice is often dependent on including the subcontract cost in the sales invoice. Currently the only linking for the posted sales invoice is BEFORE the purchase invoice is created. The current setup does not support critical workflow of clients