Get Current Legal Entity workflow configuration in D365fo x++
Get Current Legal Entity workflow configuration in D365fo x++
select TemplateName from WorkflowTable
join ENABLED from WorkflowVersionTable
where WorkflowVersionTable.WorkflowTable == WorkflowTable.RecId
&& workflowVersionTable.ENABLED == NoYes::Yes
&& WorkflowTable.TemplateName == 'DSSH_SalesOrderWFType'
&& WorkflowTable.DATAAREA == curExt();
Comments
Post a Comment