Naming Convention : Stored Procedure Name : pPay_GetData1 Variable to use above stored procedure : fPay1 Advantages: we can assign multiple earning/deduction values using single stored procedure Eg : CREATE PROCEDURE pPay_GetData1 ( @xmlIn AS XML = NULL ,@xmlOut AS XML = NULL OUT ,@Result AS DECIMAL(18, 4) OUT ) AS BEGIN SET NOCOUNT ON; SET @xmlOut = @xmlIn DECLARE @EmpId AS VARCHAR(max),@PayrollRefType AS VARCHAR(100) declare @ToDate as int=0 declare @BonusFromDate as int=0,@BonusToDate as int=0 --Retriving Employee Id SELECT @EmpId = v.value('iEmpId[1]', 'varchar(max)') FROM @xmlIn.nodes('/PayrollData') x(v) --Retriving Payroll Date SELECT @ToDate = v.value('...
Centra HCM is a Cloud-based human resources management software that can help you achieve business goals by managing employees effectively. The solution can be customized to suit the unique requirements of different verticals of all major industries and is equipped with multiple features that make employee management effortless.