pears.AWRStatusChangeAllowed

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

CREATE FUNCTION "pears"."AWRStatusChangeAllowed"( IN "id" CHAR(20),IN "oldstatus" CHAR(1),IN "newstatus" CHAR(1),IN "VorPorC" CHAR(1) ) 
RETURNS long VARCHAR
-- If change is disallowed you must set status back to oldstatus before returning an error message
-- VorPorC V = vacancy P = placement (AWRJobMaster) C = company  A = details form
BEGIN
  DECLARE "rv" long VARCHAR;
  SET "rv" = '';
  RETURN("rv")
END
  • database/functions/pears_awrstatuschangeallowed.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1