Gail Kasnett
04/28/2022, 6:07 PMvar per_carton_quantity = context.newRecord.getSublistValue({
sublistId: "item",
fieldId: "custitem_case_qty",
line: q
})
log.debug('per carton qty', per_carton_quantity)
for some reason this is coming back blank even though -- there is data there. Any ideas. its a beforesubmit pulling the data fro the items in an IFbattk
04/28/2022, 6:51 PMbattk
04/28/2022, 6:51 PMGail Kasnett
04/28/2022, 9:31 PMbattk
04/28/2022, 9:33 PMcustitem_case_qty
is the internal id of an item fieldbattk
04/28/2022, 9:33 PMGail Kasnett
04/29/2022, 7:57 AMvar length = (parseFloat(context.newRecord.getSublistValue({
sublistId: "item",
fieldId: "custitem34",
line: q
})) || 0);
battk
04/29/2022, 8:18 AMbattk
04/29/2022, 8:18 AMGail Kasnett
05/03/2022, 9:10 PM