pears.CompanySalesStatusChangeAllowed

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

COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."CompanySalesStatusChangeAllowed" IS 
{CREATE FUNCTION CompanySalesStatusChangeAllowed 
(IN compid CHAR(20),IN oldstatus CHAR(20),IN newstatus CHAR(20))
RETURNS long VARCHAR
-- If change is disallowed you must set status back to oldstatus before returning an error message
BEGIN
  DECLARE rv long VARCHAR;
  SET rv='';
  RETURN(rv)
END
}
  • database/procedures/pears_companysalesstatuschangeallowed.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1