karlenigma
10/16/2018, 8:37 PMalien4u
10/16/2018, 8:37 PMgetInputData
can behave two different ways:
- It can return an array of objects in which case would return one by one of those objects...
- It can return and array in which case would return the whole thing...alien4u
10/16/2018, 8:38 PMgetInputData
is going to return/pass 1000 times to map
then each map
iteration/call have new governance limit...alien4u
10/16/2018, 8:38 PMrustyshackles
10/16/2018, 8:39 PMkarlenigma
10/16/2018, 8:40 PMalien4u
10/16/2018, 8:41 PMrustyshackles
10/16/2018, 8:42 PMalien4u
10/16/2018, 8:43 PMmrob
10/16/2018, 8:49 PM(record.getSublistValue('item', 'taxcode')
) but trying to set that via code is an absolute bust. In our case, if certain conditions are met on the invoice header level we want to make the line item non-taxable.Trevor McLean
10/16/2018, 9:36 PMsetCurrentSublistValue()
Trevor McLean
10/16/2018, 9:36 PMjen
10/16/2018, 10:26 PMre.setCurrentSublistValue({
sublistId: 'item',
fieldId: 'item',
value: item_id
});
jen
10/16/2018, 10:26 PMTrevor McLean
10/16/2018, 10:30 PMisDynamic: true
, will mimic the behaviours of the UIjen
10/16/2018, 10:31 PMjen
10/16/2018, 10:31 PMjen
10/16/2018, 10:31 PMjen
10/16/2018, 10:32 PMTrevor McLean
10/16/2018, 10:33 PMrecord.load()
, I'm not terribly familiar with currentRecord.get()
jen
10/16/2018, 10:33 PMTrevor McLean
10/16/2018, 10:37 PMselectLine
and commitLine
on either side of setCurrentSublistValue
?jen
10/16/2018, 10:37 PMjen
10/16/2018, 10:37 PMjen
10/16/2018, 10:38 PMjen
10/16/2018, 10:39 PMjen
10/16/2018, 10:39 PMTrevor McLean
10/16/2018, 10:41 PMget()
can help, my guess would be that dynamic mode would trigger the existing behaviour you're looking for but again i'm totally not sure. you could explicitly set those values in your script but there's likely a much cheaper way around your problemTrevor McLean
10/16/2018, 10:41 PMjen
10/16/2018, 10:43 PM