Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
Using GiftCert on Saleorder created with API
We are synchronizing Netsuite with our existing shopping cart software. Using the API (2.6), we create a salesorder in NS.
However, when a customer uses a Gift Certificate as the method of purchase we receive an error, "Gift Certificate Not Found". We have tried using the Gift Certificate Code as well as the NSKey.
We've tried adding the gift certificate to the salesorder with the following .NET code:
--------------------------------------------------------------------
RecordRef giftCert = new RecordRef();
giftCert.type = RecordType.giftCertificate;
giftCert.typeSpecified = true;
giftCert.internalId = "PGTestGS3";
salesOrder.giftCert = giftCert;
--------------------------------------------------------------------
We can create the salesorder without a Gift Certicate without a problem.
We can also use the Gift Certificate in the Netsuite UI.