====== pears.AWREntityGrade ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Original SQL =====
create function "pears"."AWREntityGrade"( in "VacID" char(20),in "PersID" char(20),in "PlacID" char(20),in "ShiftID" char(20) )
returns char(4)
begin
declare "rv" char(4);
-- Grade for AWR purposes, not stored with shift or timesheet line
set "rv" = "EntityGrade"("VacID","PersID","PlacID","ShiftID");
return "rv"
end