Added flags to control whether locked operationplans use capacity&material