An agent-based modeling for an enterprise resource planning (ERP)