This article explains how to set up an automatic generation for your purchase order.