Month: May 2021
Create JWT token calling api using rest.
Create a JSON web token using suite script and calling rest API using jwt token.
Netsuite to Package AI Integration
We are sending DO from NS to PAckage AI and setting the unique id from PAI to the NS when it is created in the package AI.
Creating Orders from Custom Record
When the Custom records and it’s child records created RssBus is updating the ORDER COMPLETED field. The MapReduce script that runs on each 15 minute will find the custom records that are created and updated with the ORDER COMPLETED field by RssBus and call the suitlet to create PO for that respective custom records.
GL Plugin
The GL plugin script is used to credit or debit some amounts to the specific accounts respective to the transactions which shows impact to the GL.
Authenticating Advanced PDF using Password
We can set passwords to authenticate PDF before viewing. This feature needed when the documents are confidential and only required users needs to access the document. The below script snippet shows setting two passwords for the same PDF so the users with any of these two passwords can access the corresponding document.
UNEXPECTED_ERROR\nDetails: TypeError: Cannot find default value for object
Slack Notes – Sep 6 2019 Error – “Cannot find default value for object” when try to submit order using Commerce APIThe module that using in extension’s model is SC.Models.Init and using the order object from that modulenot able to track the source of the error since the logs only say Code: UNEXPECTED_ERROR\nDetails: TypeError: Cannot find default value for object.… Continue reading UNEXPECTED_ERROR\nDetails: TypeError: Cannot find default value for object
Error with themeAssets Path
Error – Error with themeAssets Path. Specifically with getThemeAbsoluteUrlOfNonManagedResources. We are developing a theme but when testing we get broken images when the site switches to the netsuite checkout domain (moving away from the store url) Specifically the ajax loader, also the site cannot seem to properly find the favicon even though that path is… Continue reading Error with themeAssets Path
woocommerce-NetSuite integration: Error handling
How to handle the Woocommerce-NetSuite integration is throwing error while trying to fetch order/customer details. The error {“code”:”woocommerce_rest_cannot_view”,”message”:”Sorry, you cannot list resources.”,”data”:{“status”:401}} The errors occurred due to invalid authorization, in woocommerce side either or both consumer key/secret key has been changed. For resolving this issue you can create a new integration id with view permission,… Continue reading woocommerce-NetSuite integration: Error handling
Proposal For B2B SuiteCommerce Action Items
Jira No: WF-37 Requirements Set up a custom registration form with the following fields required:First NameLast NameCompanyRetail Tax IDAddressEmailPhonePasswordHow did you hear about us?Comments? (not required) Redirect the “Register” link at the top to go to the custom registration form. Reconfigure the login page to include the custom registration form Show the SKU on the… Continue reading Proposal For B2B SuiteCommerce Action Items