pears.InsertMassCISTemplateUpdates

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

Original SQL

CREATE PROCEDURE "pears"."InsertMassCISTemplateUpdates"( 
  /* Application Maintained Function / Procedure - DO NOT EDIT*/
  IN @CISTemplateID CHAR(20) ) 
BEGIN
  FOR "fetchfor" AS "fetchcursor" no scroll cursor FOR
    SELECT "pay_employee"."personid" AS "nextpersonid" FROM "pay_employee" WHERE "pay_employee"."CISTemplateID" = @CISTemplateID FOR READ ONLY do
    CALL "InsertCISFromTemplate"("NextPersonID")
  END FOR
END
GO
 
COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."InsertMassCISTemplateUpdates" IS 
{CREATE PROCEDURE InsertMassCISTemplateUpdates 
 
/* Application Maintained Function / Procedure - DO NOT EDIT*/
 
(IN @CISTemplateID CHAR(20))
BEGIN
  FOR fetchfor AS fetchcursor no scroll cursor FOR
    SELECT pay_employee.personid AS nextpersonid FROM pay_employee WHERE pay_employee.CISTemplateID = @CISTemplateID FOR READ ONLY do
    CALL InsertCISFromTemplate(NextPersonID) END FOR
END
}