Skip to Content
avatar image
Former Member

Error Script Workflow setItemNo

Hi

Here is a part of the script that returns an error. I have to create a Production Order

var doc = company.getBusinessService('202');

var doc = company.createDIObject('Document');

doc.setItemNo('D.E.M.');

orderService.add(doc);

ERROR

com.sap.b1wf.engine.exception.WFException: Exception raised during script execution, TypeError: com.sap.b1wf.interop.diapi.bo.Document@d87c84 has no such function "setItemNo" in <eval> at line number 20

Many thanks in advance

Nicola

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers