PO logic for sales and production