A framework to integrate maintenance activities into MRP II system