USP_RECORDOPERATION_DISCOUNTPROGRAM_ADD
Executes the "Discount Program Add" 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. |
@DISCOUNTID | uniqueidentifier | IN |
Definition
Copy
create procedure dbo.USP_RECORDOPERATION_DISCOUNTPROGRAM_ADD
(
@ID uniqueidentifier,
@CHANGEAGENTID uniqueidentifier,
@DISCOUNTID uniqueidentifier = null
)
as begin
declare @DISCOUNTGROUPID uniqueidentifier = newid()
exec dbo.USP_PROGRAMDISCOUNT_ADD @DISCOUNTGROUPID, @ID, @CHANGEAGENTID, @DISCOUNTID;
return 0;
end