Custom Sales Order Workflow Not working fine in D365fo x++
Custom Sales Order Workflow not working fine in D365fo x++
write this code in DataSource COC
Code:
[ExtensionOf(formDataSourceStr(SalesTable, SalesTable))]
final class DSSH_SalesTable_Salestable_Extension
{
public int active()
{
int ret;
ret = next active();
FormDataSource ds = this;
FormRun salesTablef = ds.FormRun();
salesTablef.design().workflowEnabled(true);
//salesTablef.design().controlName(
salesTablef.design().controlName("WorkflowActionBarButtonGroup").visible(true);
salesTablef.design().workflowDataSource(this);
salesTablef.design().workflowType("DSSH_SalesOrderWFType");
return ret;
}
}
Comments
Post a Comment