USP_DATAFORMTEMPLATE_VIEW_TIXDELIVERYMETHODDETAILPAGEDATA
The load procedure used by the view dataform template "Delivery Method Detail Page Data Parameters"
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN | The input ID parameter used to load the fields defined on the form. |
@DATALOADED | bit | INOUT | Output parameter indicating whether or not data was actually loaded. |
@NAME | nvarchar(100) | INOUT | NAME |
@ISACTIVE | bit | INOUT | ISACTIVE |
@PRINTCODE | tinyint | INOUT | Print sales documents |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_TIXDELIVERYMETHODDETAILPAGEDATA
(
@ID uniqueidentifier,
@DATALOADED bit = 0 output,
@NAME nvarchar(100) = null output,
@ISACTIVE bit = null output,
@PRINTCODE tinyint = null output
)
as
set nocount on;
set @DATALOADED = 0;
select
@NAME = NAME,
@ISACTIVE = ISACTIVE,
@PRINTCODE = PRINTCODE,
@DATALOADED = 1
from
dbo.DELIVERYMETHOD
where
ID = @ID
return 0;