That means you are not setting/adding anythhing in...
# general
g
That means you are not setting/adding anythhing in the Items sublist
k
Hi Thank you for the reply I have done the pending fulfillment for the sales order through SS 2.0 like i loaded sales order record and set line item values like location, inventory location, promise date. After that i am trying to transform the same pending fulfillment record but getting below error "error.SuiteScriptError","name":"VALID_LINE_ITEM_REQD","message":"You must have at least one valid line item for this transaction.
code i tried
Copy code
var newRecId = context.newRecord.id
var recordObj = record.transform({
				fromType	: record.Type.SALES_ORDER,
				fromId 		: newRecId,(passing pending fulfillment id)
				toType 		: record.Type.ITEM_FULFILLMENT,
				isDynamic:true							            
				});