/
(2024.2) Service Orders Require Owner
(2024.2) Service Orders Require Owner
This Custom Logic is for a (2024.2) Custom Validation.
Service Orders Require Owner
if ($data["RECID"] != "addNew" && $params['sd_type'] == 'sd-service-order' && $data['SD_STATUS_LISTS_RECID'] == $this->listGetByCode('SD_STATUS', 'COMPLETE') && empty($data['D_OWNER_CONTACTS_RECID']) && empty($data['D_OWNER_DEPT_HIERARCHY_RECID']) ) { $this->setMessage("An owner is required to complete the order. <br>" . "Please select an owner then save the record again."); return false; } // return true;
, multiple selections available,
Related content
(2024.1) Service Orders Require Owner
(2024.1) Service Orders Require Owner
More like this
(v1) .Service Orders Require Owner v2021.3
(v1) .Service Orders Require Owner v2021.3
More like this
(v1) Service Orders Require Owner
(v1) Service Orders Require Owner
More like this
.Custom Validation v2.1.4.7
.Custom Validation v2.1.4.7
More like this
(v1) .Custom Validation v2.1.4.7
(v1) .Custom Validation v2.1.4.7
More like this
(v1) .Custom Validation v2019.7
(v1) .Custom Validation v2019.7
More like this