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.NetClientShiftOrderReasons ====== <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"."NetClientShiftOrderReasons"( in "pWebUserID" char(20) ) result( "value" char(20),"descrip" char(50) ) //IQXNet begin select "TempShiftOrderReasonID" as "value", "Description" as "descrip" from "tempshiftorderreason" order by "SortOrder" asc end /* DOC 2016-10-20 PC modify to include doc and test inputs: pWebUserID outputs: OrderReasonList tests: test delegated through NetOrderReasonList invalid pWebUserID valid pWebUserID */ /* TEST call NetTestSetup(''); insert into tempshiftorderreason (tempshiftorderreasonid,description) on existing update values ('TEST','test'); select descrip from NetClientShiftOrderReasons(null) where value='TEST'; expect descrip=test; */ go COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."NetClientShiftOrderReasons" IS {create PROCEDURE pears."NetClientShiftOrderReasons"( in "pWebUserID" char(20) ) RESULT(value char(20),descrip char(50)) //IQXNet BEGIN SELECT TempShiftOrderReasonID as value, Description as descrip FROM tempshiftorderreason ORDER BY SortOrder ASC END /* DOC 2016-10-20 PC modify to include doc and test inputs: pWebUserID outputs: OrderReasonList tests: test delegated through NetOrderReasonList invalid pWebUserID valid pWebUserID */ /* TEST call NetTestSetup(''); insert into tempshiftorderreason (tempshiftorderreasonid,description) on existing update values ('TEST','test'); select descrip from NetClientShiftOrderReasons(null) where value='TEST'; expect descrip=test; */ } </code> database/procedures/pears_netclientshiftorderreasons.txt Last modified: 2026/08/07 19:24by 127.0.0.1