Unable to set the RSD, Shipping & Packing Instruction through OM Extension
Summary:
Unable to set the RSD, Shipping & Packing Instruction through OM Extension using the createLineParams
Content (please ensure you mask any confidential information):
We are trying to Add Lines To An Order Using Extension through Excel upload using Header Attachment File. In the Attachment we have LineNo, Item, UOM,Qty, RSD, Shipping, Packing and Slitting Instructions.
These values coming in xml file after invoke OIC call.
Version (include the version you are using, if applicable):
24B (11.13.24.04.0)
Code Snippet (add any code snippets that support your topic, if applicable):
index = (j+1); def createLineParams = new CreateLineParams(); createLineParams.setProductNumber(CFItemNumber); //"AAC235-MR1"); createLineParams.setOrderedQuantity(LineQty); createLineParams.setOrderedUOM(ItemUom) header.createNewLine(createLineParams); def lines = header.getAttribute("Lines"); while (lines.hasNext()) { def line = lines.next(); def lineno = line.getAttribute("DisplayLineNumber") as int; if(lineno == (j+1)) {
Tagged:
0