Does anyone know how to retrieve the Shipping Cost...
# suitescript
t
Does anyone know how to retrieve the Shipping Cost and Handling Cost from a Sales Order from a saved search in a MR (SuiteScript 2.0)? I’ve tried using the shippingcost/handlingcost field id’s as well as shippingcharge/handlingcharge but neither are pulling values in the search. When I run the same search in the UI, the shippingcharge/handlingcharge field id’s do pull a value, but not in the script.
b
general advice is to build the search in the ui first, then load it in script to inspect its filters/columns so know how to copy it yourself
t
Right, that’s what I did. What I’m saying is when I’m using the same columns in the UI Search in a script, I’m not getting the same values for the Shipping Charge/Handling Charge
b
what does the code look like