[OE-3034] console bugfixes and PAS_CaseNote model.