====== pears.IQXPopulateAccountStatisticsPayroll ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Original SQL =====
create procedure "pears"."IQXPopulateAccountStatisticsPayroll"(
in @IQXPayrollCompany char(1),in @Year smallint,in @Week smallint )
begin
-- USAGE job to select payco, yr and week then call (should be 1 job calling both)
-- populate temp table ("pears"."TEMPIQXAccountsStatistics") from payroll system or timesheets
-- do lookups
-- table indexes need reviewing when this written
-- insert into IQXAccountStatistics
end
go
COMMENT TO PRESERVE FORMAT ON PROCEDURE "pears"."IQXPopulateAccountStatisticsPayroll" IS
{create procedure IQXPopulateAccountStatisticsPayroll
( in @IQXPayrollCompany char(1),in @Year smallint,in @Week smallint )
begin
-- USAGE job to select payco, yr and week then call (should be 1 job calling both)
-- populate temp table ("pears"."TEMPIQXAccountsStatistics") from payroll system or timesheets
-- do lookups
-- table indexes need reviewing when this written
-- insert into IQXAccountStatistics
end
}