erp margin