====== pears.NetShiftTypes ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Original 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='~~';
*/
}