Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Urgent-Gift Certificate Issue
How we can use gift certificate during placing a sales order using web services.
My code is like:-
RecordRef giftCertificate = new RecordRef();
giftCertificate.setInternalId("100");
so.setAuthCode("abcxyz123");
so.setGiftCert(giftCertificate);
But when I am adding sales order it gives following error:-
[Code=INVALID_REF_KEY] Invalid reference key [100]
Any one have any idea?
0