USP_DATAFORMTEMPLATE_VIEW_ALLOWGLDISTRIBUTIONS
The load procedure used by the view dataform template "Allow GL Distributions View Data Form"
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. |
@ALLOWGLDISTRIBUTIONS | bit | INOUT | Allow GL distributions |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_VIEW_ALLOWGLDISTRIBUTIONS
(
@ID uniqueidentifier
,@DATALOADED bit = 0 output
,@ALLOWGLDISTRIBUTIONS bit = null output
)
as
set nocount on;
set @DATALOADED = 0;
if @ID = '00000000-0000-0000-0000-000000000000'
set @ID = null;
set @ALLOWGLDISTRIBUTIONS = dbo.UFN_PDACCOUNTSYSTEM_ALLOWGLDISTRIBUTIONS(@ID)
set @DATALOADED = 1;
return 0;