USP_DATAFORMTEMPLATE_EDITLOAD_WEALTHCAPACITY_2

The load procedure used by the edit dataform template "Wealth Capacity Edit Form 2"

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier IN The input ID parameter used to load the fields defined on the form.
@WEALTHCAPACITYFORMULAID uniqueidentifier INOUT Wealth capacity formula
@ESTIMATEDWEALTHID uniqueidentifier INOUT Estimated wealth
@ESTIMATEDWEALTHVALUE money INOUT Estimated wealth value
@MAJORGIVINGCAPACITYID uniqueidentifier INOUT Major giving capacity
@MAJORGIVINGCAPACITYVALUE money INOUT Major giving capacity value
@OVERALLRATINGCODEID uniqueidentifier INOUT Overall rating
@SYSTEMCALCULATED bit INOUT System calculated
@TSLONG bigint INOUT Output parameter indicating the TSLONG value of the record being edited. This is used to manage multi-user concurrency issues when multiple users access the same record.
@DATALOADED bit INOUT Output parameter indicating whether or not data was actually loaded.

Definition

Copy


                    CREATE procedure dbo.USP_DATAFORMTEMPLATE_EDITLOAD_WEALTHCAPACITY_2 (
                        @ID uniqueidentifier,
                        @WEALTHCAPACITYFORMULAID uniqueidentifier = null output,
                        @ESTIMATEDWEALTHID uniqueidentifier = null output,
                        @ESTIMATEDWEALTHVALUE money = null output,
                        @MAJORGIVINGCAPACITYID uniqueidentifier = null output,
                        @MAJORGIVINGCAPACITYVALUE money = null output,
                        @OVERALLRATINGCODEID uniqueidentifier = null output,
                        @SYSTEMCALCULATED bit = null output,
                        @TSLONG bigint = 0 output,
                        @DATALOADED bit = 0 output
                    ) as
                    begin
                        declare @MAJORGIVINGCAPACITYBASISVALUE nvarchar(250)

                        exec dbo.USP_DATAFORMTEMPLATE_EDITLOAD_WEALTHCAPACITY_3
                            @ID = @ID,
                            @MAJORGIVINGCAPACITYBASISVALUE = @MAJORGIVINGCAPACITYBASISVALUE output;

                        return 0;
                    end