You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!