USP_DATAFORMTEMPLATE_ADD_BANKACCOUNTDEPOSITNOTE_PRELOAD
The load procedure used by the edit dataform template "Bank Account Deposit Note Add Form"
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @CURRENTAPPUSERID | uniqueidentifier | IN | Input parameter indicating the ID of the current user. |
| @AUTHORID | uniqueidentifier | INOUT | Author |
| @DEPOSITID | uniqueidentifier | IN | Input parameter indicating the context ID for the record being added. |
| @CONTEXTTYPE | int | INOUT | Context type |
Definition
Copy
CREATE procedure dbo.USP_DATAFORMTEMPLATE_ADD_BANKACCOUNTDEPOSITNOTE_PRELOAD
(
@CURRENTAPPUSERID uniqueidentifier,
@AUTHORID uniqueidentifier = null output,
@DEPOSITID uniqueidentifier,
@CONTEXTTYPE int = null output
)
as
set nocount on;
select top 1
@AUTHORID = CONSTITUENTID
from
dbo.APPUSER
where
ID = @CURRENTAPPUSERID;
set @CONTEXTTYPE = 6;
return 0;