Edward Reilly
04/19/2018, 3:01 PMEdward Reilly
04/19/2018, 3:02 PMstalbert
04/19/2018, 3:11 PMnlapiGetLineItemValue()
doesn't include line number. I didn't think line number was an optional param and the behavior is probably undefined.thatguymikeneal
04/19/2018, 3:23 PMfulfilmentRecord.selectLine({ sublistId: 'package', line: 1 });
and adding to that, but it still adds two lines. i get the feeling cos its dynamic it adds the ‘currentLine’ngill4492
04/19/2018, 3:26 PMstalbert
04/19/2018, 3:33 PMline
parameter is not needed? (or evidence that the line parameter is ever optional in nlapiGetLineItemValue
) I'd like to see that.alien4u
04/19/2018, 3:46 PMdarrenhillconsulting
04/19/2018, 3:53 PMal3xicon
04/19/2018, 3:54 PMirurzo
04/19/2018, 4:24 PMTypeError: Cannot find function setSublistValue in object dynamic record.
What Im doing is loading the customer record and trying to set the values I tried changing the loading dynamic to false but it also gives me the same error just with standard mode, the thing is, this functionality is on a function that it works when the new line is created when on the same record, thats why I thought I could reutilize the function with a loaded record hahairurzo
04/19/2018, 4:27 PMNSObsessed
04/19/2018, 4:30 PMalien4u
04/19/2018, 4:31 PMTypeError: Cannot find function setSublistValue in object dynamic record
irurzo
04/19/2018, 4:32 PMirurzo
04/19/2018, 4:33 PMstandardmode
instead of dynamic
alien4u
04/19/2018, 4:35 PMfunction newLine(record, addressObj)
who/what is addressObj?thatguymikeneal
04/19/2018, 4:38 PMthatguymikeneal
04/19/2018, 4:39 PMCannot find function setSubListValue in object standard record.
and Cannot find function setCurrentSubListValue in object dynamic record
irurzo
04/19/2018, 4:41 PMfamily > bill To > Ship to
so what Im doing is setting the bill to address
on all the ship to
related records, whenever the ship to
is edited, it grabs the bill to
address (from the bill to customer record) and sets the address if it doesnt have any it just creates it, this works from the ship to, it updates/creates from the bill to, but when updating the bill to record, it only updates the ship to's, if the ship tos dont have any bill to address then I want to create it but I get this error 😞irurzo
04/19/2018, 4:49 PMMorris
04/19/2018, 5:07 PMKevin
04/19/2018, 5:07 PMalien4u
04/19/2018, 5:08 PMalien4u
04/19/2018, 5:08 PMKevin
04/19/2018, 5:09 PMalien4u
04/19/2018, 5:10 PMKevin
04/19/2018, 5:12 PMKevin
04/19/2018, 5:13 PMKevin
04/19/2018, 5:14 PMwindow.onbeforeunload = null;
Kevin
04/19/2018, 5:19 PM