igorp
11/17/2017, 9:48 AMraju
11/17/2017, 9:49 AMmbucklaew
11/17/2017, 1:00 PMsamyt
11/17/2017, 1:05 PMnzaleski
11/17/2017, 1:31 PMN/search
module to create a very simple search. I think it may have something to do with the tranid
because in the UI it doesn't allow you to search using a string
, however the {tranid}
can be created with a string (which is pretty weird I think). But because of that you can use 'formulatext: {tranid}', 'is', serialNumber
to search for a {tranid} that contains a letter in it. At least in the UI this is possible. The weird thing is that this search is probably returning every PO. I get a SS Error over 4000 Records...
nzaleski
11/17/2017, 1:31 PMsamyt
11/17/2017, 1:32 PMnzaleski
11/17/2017, 1:33 PMraju
11/17/2017, 1:34 PMraju
11/17/2017, 1:34 PMraju
11/17/2017, 1:34 PMraju
11/17/2017, 1:35 PMnzaleski
11/17/2017, 1:38 PMsamyt
11/17/2017, 1:38 PMnzaleski
11/17/2017, 1:39 PMsamyt
11/17/2017, 1:39 PMsamyt
11/17/2017, 1:39 PMsamyt
11/17/2017, 1:39 PMnzaleski
11/17/2017, 1:39 PMformula(text): {trainid}
nzaleski
11/17/2017, 1:40 PMnzaleski
11/17/2017, 1:42 PMtranid
with a string
and then not allow you to search with a string
nzaleski
11/17/2017, 1:46 PMrecord.setValue
for the addressbook
subrecord. It looks like you were on the right track with getting the subrecord
object. Basically you would get the subrecord
object. Then you would perform the setValue
method the subrecord objectraju
11/17/2017, 2:03 PMraju
11/17/2017, 2:03 PMraju
11/17/2017, 2:03 PMwes_w
11/17/2017, 2:05 PMwes_w
11/17/2017, 2:06 PMvar shippingaddress = salesorder.getSubrecord({fieldId: 'shippingaddress'})
wes_w
11/17/2017, 2:07 PMshippingaddress.setValue({fieldId: 'xxx', value: 'yyy'})
wes_w
11/17/2017, 2:07 PMwes_w
11/17/2017, 2:08 PM