USP_SALESMETHODMARKETINGCONFIGURATION_SETCAPTUREZIPINACTIVE

Executes the "Sales Method Marketing Configuration Set Capture Zip Inactive" 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.

Definition

Copy


                CREATE procedure dbo.USP_SALESMETHODMARKETINGCONFIGURATION_SETCAPTUREZIPINACTIVE
                (
                    @ID uniqueidentifier,
                    @CHANGEAGENTID uniqueidentifier
                )
                as begin

                    update dbo.SALESMETHODMARKETINGCONFIGURATION
                    set CAPTUREMARKETINGINFO = 0,
                        CHANGEDBYID = @CHANGEAGENTID,
                        DATECHANGED = getdate()
                    where ID = @ID

                    return 0;

                end