USP_PROGRAMDISCOUNT_ADD_RECORDOPERATION
Executes the "Program Discount Add Record Operation" record operation.
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN | Input parameter indicating the ID of the record being updated. |
@CHANGEAGENTID | uniqueidentifier | IN | Input parameter indicating the ID of the change agent invoking the update. |
@PROGRAMID | uniqueidentifier | IN |
Definition
Copy
create procedure dbo.USP_PROGRAMDISCOUNT_ADD_RECORDOPERATION
(
@ID uniqueidentifier,
@CHANGEAGENTID uniqueidentifier,
@PROGRAMID uniqueidentifier = null
)
as begin
declare @DISCOUNTGROUPID uniqueidentifier = newid()
exec dbo.USP_PROGRAMDISCOUNT_ADD @DISCOUNTGROUPID, @PROGRAMID, @CHANGEAGENTID, @ID;
return 0;
end