USP_DATAFORMTEMPLATE_PRELOAD_BATCHTEMPLATECOPY
The load procedure used by the edit dataform template "Batch Template Copy Add Form"
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @BATCHTEMPLATEID | uniqueidentifier | IN | Input parameter indicating the context ID for the record being added. |
| @SOURCENAME | nvarchar(60) | INOUT | Copy from |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_PRELOAD_BATCHTEMPLATECOPY
(
@BATCHTEMPLATEID uniqueidentifier,
@SOURCENAME nvarchar(60) = null output
)
as
set nocount on;
select
@SOURCENAME = NAME
from
dbo.BATCHTEMPLATE
where ID = @BATCHTEMPLATEID;