LedgerJournalName::findJournalTemplate Method
Retrieves the workflow approval template name associated to a JournalType table.
Syntax
client server public static WorkflowTypeName findJournalTemplate(LedgerJournalType _journalType)
Run On
Called
Parameters
- _journalType
Type: LedgerJournalType Enumeration
A Journaltype value for which to find the associated template name.
Return Value
Type: WorkflowTypeName Extended Data Type
A WorkflowTemplateName value that is associated to the specified table.
Remarks
An empty WorkflowTemplateName will be returned if the _journalType does not have an associated template name.The LedgerJournalWFApprovalTemplates macro contains the list of all currently supported workflow approval templates.It is the responsibility of the calling method to evaluate the returned value.