Hi All, Im facing and issue in After Submit UE scr...
# suitescript
s
Hi All, Im facing and issue in After Submit UE script on Purchase Order. While trying to get the value of 'linkedorder' field using purOrdRec.getSublistValue() getting the below error :- {"type":"error.SuiteScriptError","name":"UNEXPECTED_ERROR","message":null,"stack":["loadRecord_impl(N/recordImpl)","afterSubmitCustomSegment(/SuiteScripts/SWS_UE_PO_Custom_Segments.js:77)"],"cause":{"type":"internal error","code":"UNEXPECTED_ERROR","details":null,"userEvent":"aftersubmit","stackTrace":["loadRecord_impl(N/recordImpl)","afterSubmitCustomSegment(/SuiteScripts/SWS_UE_PO_Custom_Segments.js:77)"],"notifyOff":false},"id":"46315101-c6cc-4475-9b5e-e0a874871d4f-2d323031392e30392e3236","notifyOff":false,"userFacing":false} Please provide me a solution to get 'linkedorder' value from PO. I appreciate quick response, Thanks.
b
share the code
preferably enough to match line numbers to the stack trace
s
PFA
b
looks normal to me, you might want to support case it
h
Dynamic mode. Try turn it to false