{"type":"error.SuiteScriptError","name":"INVALID_D...
# suitescript
s
{"type":"error.SuiteScriptError","name":"INVALID_DATE_VALUE_1_MUST_MATCH_2","message":"Invalid date value Invalid date (must match d-MMM-yy)","stack":["createError(N/error)","getAduDetailedData(/SuiteBundles/Bundle 163309/ssv2/RPlus Record/lib/aduTab.js:209)","makeAduTab(/SuiteBundles/Bundle 163309/ssv2/RPlus Record/lib/aduTab.js:44)","beforeLoad(/SuiteBundles/Bundle 163309/ssv2/RPlus Record/rplusRec_UE.js:65)"],"cause":{"type":"internal error","code":"INVALID_DATE_VALUE_1_MUST_MATCH_2","details":"Invalid date value Invalid date (must match d-MMM-yy)","userEvent":"beforeload","stackTrace":["createError(N/error)","getAduDetailedData(/SuiteBundles/Bundle 163309/ssv2/RPlus Record/lib/aduTab.js:209)","makeAduTab(/SuiteBundles/Bundle 163309/ssv2/RPlus Record/lib/aduTab.js:44)","beforeLoad(/SuiteBundles/Bundle 163309/ssv2/RPlus Record/rplusRec_UE.js:65)"],"notifyOff":false},"id":"","notifyOff":false,"userFacing":false} Can someone try to explain what this error suppose to be
b
Use a Date with setValue
Use a string with setText
Its likely that you would want to use N/format to generate the string
s
it's not my script, it's third party bundle, one of my user is getting this error while using the custom role
e
The bundle is setting a Date field in a format that doesn't match the user's or the company's
s
aha
i think he does have a different date format
e
e.g. it's trying to set
"5/7/2010"
but your account/user expects
"7-May-2010"
Will have to contact the bundle developer
It would seem that they goofed.
s
thanks this was great,
Yeah it shouldn’t error out