pears.NetShiftTypes

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

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='~~';
 
*/
}
  • database/procedures/pears_netshifttypes.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1