DocuTemplate::findTemplate Method
Finds the specified record in the DocuTemplate table.
Syntax
client server public static DocuTemplate findTemplate(
LanguageId _language,
TemplateName _templateId,
DocuTypeId _typeId,
[boolean _forUpdate])
Run On
Called
Parameters
- _language
Type: LanguageId Extended Data Type
The language of the record to find.
- _templateId
Type: TemplateName Extended Data Type
The document "name" of the record to find.
- _typeId
Type: DocuTypeId Extended Data Type
The document type of the record to find.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: DocuTemplate Table
A record in the DocuTemplate table; otherwise, an empty record.