Siena
06/26/2019, 6:14 PMpo.getCurrentSublistValue({ sublistId: 'item', fieldId: fieldName });
and po.getCurrentSublistText({ sublistId: 'item', fieldId: fieldName });
BOTH return the same things, the internal ID of a select record. I need the text of the record ideally. Under what circumstances will getText not work as expected?
2) I am trying to set a checkbox field. Any checkbox field in fact. One example is the tobeemailed
field. I have tried newSO.setValue({ fieldId: 'tobeemailed', value: 'T' });
I have tried value: true
nothing works. What value do I need to pass into setValue
to set a checkbox?battk
06/26/2019, 6:25 PMbattk
06/26/2019, 6:26 PMtrue
is generally what you want. 'T'
is the fallback if something weird happensbattk
06/26/2019, 6:26 PMSiena
06/26/2019, 6:28 PMSiena
06/26/2019, 6:28 PMSiena
06/26/2019, 7:04 PMstalbert
06/26/2019, 7:07 PMvalue: 1
Siena
06/26/2019, 7:07 PMSiena
06/26/2019, 7:07 PMstalbert
06/26/2019, 7:08 PMstalbert
06/26/2019, 7:08 PMstalbert
06/26/2019, 7:09 PMstalbert
06/26/2019, 7:09 PMSiena
06/26/2019, 7:10 PMSiena
06/26/2019, 7:10 PMSiena
06/26/2019, 7:10 PMSiena
06/26/2019, 7:10 PMstalbert
06/26/2019, 7:11 PMgetCurrentSublistValue
vs getSublistValue
Siena
06/26/2019, 7:11 PMSiena
06/26/2019, 7:11 PMstalbert
06/26/2019, 7:11 PMSiena
06/26/2019, 7:12 PMSiena
06/26/2019, 7:12 PMpo.getCurrentSublistText({ sublistId: 'item', fieldId: 'units' });
gives me "Ea" not the internal idSiena
06/26/2019, 7:13 PMstalbert
06/26/2019, 7:14 PMSiena
06/26/2019, 7:15 PMSiena
06/26/2019, 7:15 PMpo.selectLine({ sublistId: 'item', line: i });
at the beginningSiena
06/26/2019, 7:16 PMSiena
06/26/2019, 7:22 PMbattk
06/26/2019, 10:35 PMSiena
06/27/2019, 1:41 PMSiena
06/27/2019, 1:42 PM