Ken
12/06/2023, 1:07 AMEdgar Valdes
12/06/2023, 2:05 AMec
12/06/2023, 6:35 AMgetSublistValue
should return the actual internal id of the line item. So the SKU shows on screen on the line, but the actual value is the internal id.
getSublistValue({ fieldId: 'item', sublistId: 'item', line: i })
should give you the internal id.
getSublistText({ fieldId: 'item', sublistId: 'item', line: i })
should give you the SKUKen
12/06/2023, 5:12 PMec
12/06/2023, 5:54 PMsetSublistText
instead of setSublistValue
.
Share some code.
Note: setSublistText
requires a "text"
parameter to be set, as opposed to "value"
which is the norm an you’re probably used to in 2.xKen
12/06/2023, 5:55 PMKen
12/06/2023, 11:19 PMec
12/07/2023, 1:34 AMKen
12/12/2023, 9:58 PMKen
12/12/2023, 9:58 PM