Hello All, I'm writing a scheduled script that needs to update line item information on a PO. Problem though on PO's that are partially received, I get a user error on nlapiSubmitRecord saying "warning Items on this line have been received. Are you sure you want to modify it?" Is there a way to override/ignore the warning?
var po_record = nlapiLoadRecord('purchaseorder', parseInt(poNum));
po_record.setLineItemValue ('item', 'distributor_order_num', line_num, order_num);
var id = nlapiSubmitRecord(po_record, true);