I am having trouble creating a supportcase in suit...
# suitescript
k
I am having trouble creating a supportcase in suitescript
w
I do, what error are you getting?
k
It was a stupid mistake, I was using SUPPORTCASE rather than SUPPORT_CASE
in the type
Thanks though
s
That underscore will be the death of me.
đź’€ 1
k
@Will Schoenhals It seems i am still having issues, do you need to populate the record with all required fields before creation?
I have tried looking for snippets of a case record being created everywhere but haven’t found much
w
@Kai-Rey Lee Yes, Netsuite forces you to populate mandatory fields before saving a record. If you don't want to fill al of them out, you can say new_case.save({ignoreMandatoryFields: true});
b
generally i will recommend creating a support case in the ui to learn which field need to be set
then set those same fields in suitescript