IF (:media_request_info.status = 'IN_PROGRESS') THEN MESSAGE('The media request is in progress status and you cannot change the status.'); set_item_property ('status', ENABLED, PROPERTY_FALSE); RAISE FORM_TRIGGER_FAILURE; --pause; ELSIF (:media_request_info.status = 'CANCELED') THEN MESSAGE('The request has been canceled and you cannot change the status.'); set_item_property ('status', ENABLED, PROPERTY_FALSE); ELSIF (:media_request_info.status = 'REQUESTED') THEN ---I don't know how to do if user want to change to canceled, this is allowed. but not --in_progress MESSAGE('The media has been requested and you can only change to canceled.'); media_request_status_changed; END IF;
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE