617: ELSIF p_item_control IS NULL THEN
618: l_locator_control := p_sub_control;
619: ELSE
620: l_value := p_item_control;
621: app_exception.invalid_argument
622: ('LOCATOR.CONTROL','ITEM_LOCATOR_CONTROL',l_value);
623: END IF;
624: ELSE
625: l_value := p_sub_control;
622: ('LOCATOR.CONTROL','ITEM_LOCATOR_CONTROL',l_value);
623: END IF;
624: ELSE
625: l_value := p_sub_control;
626: app_exception.invalid_argument
627: ('LOCATOR.CONTROL','SUB_LOCATOR_CONTROL',l_value);
628: END IF;
629: ELSE
630: l_value := p_org_control;
627: ('LOCATOR.CONTROL','SUB_LOCATOR_CONTROL',l_value);
628: END IF;
629: ELSE
630: l_value := p_org_control;
631: app_exception.invalid_argument
632: ('LOCATOR.CONTROL','ORG_LOCATOR_CONTROL',l_value);
633: END IF;
634:
635: RETURN l_locator_control;