    processMessage = ModelValidationEngine.get().fireDocValidate(this, ModelValidator.TIMING_BEFORE_PREPARE);    if (processMessage != null)     return DocAction.STATUS_Invalid;    MDocType docType = MDocType.get(getCtx(), getC_DocType_ID());    