Thanks for your reply Nikolaos,
Code of the extension class is as below,
[ExtensionOf(tableStr(SalesTable))]
final class SalesTable_Extension
{
public boolean canSubmitToWorkflow(str _workflowType = '')
{
boolean ret = false;
ret = next canSubmitToWorkflow(_workflowType);
if (this.RecId && this.DocumentWorkflowState == DocumentWorkflowState::NotSubmitted)
{
ret = true;
}
return ret;
}
I didn't understand point number 2. It that means I can't write this line
ret = next canSubmitToWorkflow(_workflowType); ??