Skip to Content
0

Error Script Workflow setItemNo

May 23, 2017 at 10:12 PM

45

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers