Extension to add lines in OM. Error setting values.
Summary:
Hi all,
Please, can someone elaborate on this topic¿?
We are adding lines to OM using this:
This is our code:
if (varItem != '-1' )
{
def createLineParams = new CreateLineParams();
createLineParams.setProductNumber(varItem); ok
createLineParams.setOrderedUOM("Each"); ok
createLineParams.setOrderedQuantity(1); ok
createLineParams.setPaymentTerm("30D"); ERRRRRRROOOOOOOR!
header.createNewLine(createLineParams);
}
We get error when we use methods different from the 3 provided in example in doc.
Please can someone clarify if are there more methods to setup values different from the 3 provided in doc.?
And also (important) , is there any way to find the methods available for createLineParams object.
Thanks
Juan
Content (please ensure you mask any confidential information):