compile ERP create WO class