Added stock management in order process