Hello everyone, I'm facing rounding_Error while se...
# suitescript
d
Hello everyone, I'm facing rounding_Error while setting shipping address on Sales order record like this "{"type":"error.SuiteScriptError","name":"ROUNDING_ERROR","message":"Rounding Error: 19.67","stack":["anonymous(N/serverRecordService)","afterSubmit(/SuiteScripts/)"],"cause":{"type":"internal error","code":"ROUNDING_ERROR","details":"Rounding Error: 19.67","userEvent":"aftersubmit","stackTrace":["anonymous(N/serverRecordService)","afterSubmit(/SuiteScripts/)"],"notifyOff":false},"id":"","notifyOff":false,"userFacing":false}" what might be the reason for this ? I'm using this piece to set the shipping address "*rec_obj.setValue({fieldId:"shipaddresslist",value:ship_address_internal_id});*" any advices? Thanks in advance
c
19.67 is not an integer
s
address internal id’s shouldn’t have a
.
in them. How are you getting the value for
ship_address_internal_id
?
d
@scottvonduhn getting adress_internal_id through saved search on customer record. However, We found out that the error is due to exchange rate for non-us transactions