Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Unable to connect to NetSuite from Salesforce
Hello team,
I am unable to generate valid signature from sales force using OAuth 1.0.
I followed all instructions as mentioned in NetSuite. My Signature algorithm is HMAC-SHA256.
Please help.
below lines of code in Salesforce..
Blob sig = Crypto.generateMac('hmacSHA256', Blob.valueOf(baseString), Blob.valueOf(signingkey));
String signature = EncodingUtil.urlEncode(EncodingUtil.base64encode(sig), 'UTF-8');
system.debug('sig'+ sig);
System.debug('Signature: '+signature);
Http http = new Http();
HttpRequest request = new HttpRequest();
String AuthString = 'OAuth realm="xxxxx",oauth_consumer_key="xxxxxxxxxxx475a19359ab93bf7f4f9397ee0f88de66c8408e7f",oauth_token="b8410d1e3f16268240a7627f26b60b54c8e089109xxxxxxxxxx",oauth_signature_method="HMAC-SHA256",oauth_timestamp="'+tnow+'",oauth_nonce="'+nonce+'",oauth_version="1.0",oauth_signature="'+signature+'"';