Hi,
I have develop the new functionality of Indent and add the Workflow template of Indent working fine
when I create a new company then the system showing a error.
"Microsoft Dynamics NAV
Could not open the company. The following message was returned: Workflow templates cannot be edited.
You must create a workflow from the template to edit it....
OK "
0
Comments
You would also get this error if you set the template flag too early when creating your new indent workflow template - this is done right at the end - look at existing code which creates templates.
Finally you'll also get this if you are trying to create a workflow template twice.
All the above is related to changes you may have made to the Workflow Setup codeunit.
When you add a new workflow make sure that you have updated the workflow Init Functions.
Check the Function InitWorkflow in Codeunit 1502.
For a new company it try to load the new Workflow which will only get initialized once you update this function.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page