Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.NetShiftTypes ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Original SQL ===== <code sql> create procedure "pears"."NetShiftTypes"( in "pWebUserID" char(20) ) result( "TempShiftTypeID" char(2),"Description" char(50) ) // IQXWeb begin select "TempShiftTypeID","Description" from "TempShiftType" where "PublishToWeb" = 1 order by "SortOrder" asc end /* DOC 2018-09-13 PC test routines */ /* TEST update tempshifttype set publishtoweb=1 where tempshifttypeid='~~'; select * from netshifttypes(''); expect TempShiftTypeID=~~,Description=test; update tempshifttype set publishtoweb=0 where tempshifttypeid='~~'; */ go COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."NetShiftTypes" IS {create PROCEDURE pears."NetShiftTypes"(in pWebUserID char(20)) result(TempShiftTypeID char(2), Description char(50)) // IQXWeb begin select TempShiftTypeID, Description from TempShiftType where PublishToWeb=1 order by SortOrder end /* DOC 2018-09-13 PC test routines */ /* TEST update tempshifttype set publishtoweb=1 where tempshifttypeid='~~'; select * from netshifttypes(''); expect TempShiftTypeID=~~,Description=test; update tempshifttype set publishtoweb=0 where tempshifttypeid='~~'; */ } </code> database/procedures/pears_netshifttypes.txt Last modified: 2026/08/07 19:24by 127.0.0.1