Discussions
SuiteWorld is where the NetSuite community comes together to learn, connect, and discover what’s next.
Whether you’re looking for product updates, practical tips, new ways to improve efficiency, or insights from other customers, SuiteWorld offers something for every stage of your NetSuite journey.
■ NetSuite 2026.2 Release Notes
■ NetSuite SuiteApps Release Notes
■ NetSuite Sneak Peeks
■ Release Preview Guide
■ Release Preview Test Plan Template
SuiteScript 2.0 - Can we create a gift certicate from a script?
Hello Guru team,
I'd like to create a gift certificate from SuiteScript 2.0, however, the script got the error
GIFT_CERT_CODE_REQD 04/01/2020 22:17:43.282
{"type":"error.SuiteScriptError","name":"GIFT_CERT_CODE_REQD","message":"You must specify a gift certificate code.","stack":["createError(N/error.js)","<anonymous>(adhoc$-1$debugger.user:2)","<anonymous>(adhoc$-1$debugger.user:1)"],"cause":{"type":"internal error","code":"GIFT_CERT_CODE_REQD","details":"You must specify a gift certificate code.","userEvent":null,"stackTrace":["createError(N/error.js)","<anonymous>(adhoc$-1$debugger.user:2)","<anonymous>(adhoc$-1$debugger.user:1)"],"notifyOff":false},"id":"","notifyOff":false,"userFacing":false}
Though I tried both fields for giftcertificaterecord, giftcertcode but it still got the same error.