USP_DATAFORMTEMPLATE_PRELOAD_ADD_TAXDECLARATION
The load procedure used by the edit dataform template "Tax Declaration Add Form"
Parameters
| Parameter | Parameter Type | Mode | Description | 
|---|---|---|---|
| @CURRENTAPPUSERID | uniqueidentifier | IN | Input parameter indicating the ID of the current user. | 
| @CONSTITUENTID | uniqueidentifier | IN | Input parameter indicating the context ID for the record being added. | 
| @SITEREQUIRED | bit | INOUT | Site Required | 
| @SITEID | uniqueidentifier | INOUT | Site | 
Definition
 Copy 
                                    
                    CREATE procedure dbo.USP_DATAFORMTEMPLATE_PRELOAD_ADD_TAXDECLARATION
                    (
                        @CURRENTAPPUSERID uniqueidentifier,
                    @CONSTITUENTID uniqueidentifier,
                        @SITEREQUIRED bit = null output,
                        @SITEID uniqueidentifier = null output
                    )
                    as
                    begin
                        set nocount on;
                        set @SITEREQUIRED = dbo.UFN_SITEREQUIREDFORUSER(@CURRENTAPPUSERID);
                      set @SITEID = dbo.UFN_APPUSER_DEFAULTSITEFORUSER(@CURRENTAPPUSERID);
                        return 0;
                    end