My Stuff
Comments
-
I think CREECE 's solution should work really well. It is a better approach to use what we have on the APIs provided rather than using the functionalities that are not directly shown on the documentation to ensure that the codes logic will work even if there will be some changes in the UI components
-
Additionally, rescheduling things would best work on off-peak hours. Also, yes be mindful of your logging and the running time of your scheduled script.
-
Just wondering if you have already enabled the Mail Merge feature Setup > Company > Enable Features > CRM tab > Marketing Section > Mail Merge on your account. If you haven't enabled the feature more or less merging with templates won't work. If you are running it on Suitelet and the mentioned feature is enabled, then it…
-
From my experience, you can have the rescheduling of schedules script as many as possible But the thing that you should consider is the following: 1. How congested is your queue? If you reschedule it everytime. Why not just use the deployment scheduling and just improve the algorithm inside the script. 2. How big is your…
-
zcheng100 , You can first do a getLineItemValue() to the field by testing it to the UI to get the value of the nonups value.
-
kentroylance Before filing the case, 1. Based on testing, even if the Mail Merge feature is turned off, the API should be available on server side scripting. 2. You are correct if the setup of the template and the usage of nlapiCreateEmailMerger() 3. What is the result when you test the API if you test it on Script…
-
Nice one. Actually, I have all the chrome plugins that you have created installed on my end. It's a great help when dealing with things in the UI.
-
As long as the distribution list is setup properly on the email server, NetSuite should be forwarding the message to the server and the email server should distribute it to the members of the distro.
-
zcheng100 Based on the Records Browser, shipcarrier is a sublist field so you should use Sublist APIs on setting it like .setLineItemValue() instead of setFieldValue(). Also the field is a select type field which means more or less you should be using the internal id representation for your Carrier. Please refer to the…
-
Similar to Mark Derrick, User Event Script also has a type = print functionality which can be found in SuiteCloud (Customization, Scripting, and Web Services) > SuiteScript 1.0 > Understanding SuiteScript Script Types > User Event Scripts > User Event Script Execution Types in Help
-
Agreeing to MikeBucklaew , it is only available in UI. It is also not a scriptable sublist for vendor records on the records browser (https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2016_2/script/record/vendor.html). I would suggest that you file a case to support team to have an enhancement provided for…
-
Agree with Mark. This would require you to use user event script on Before Load, Get the form object parameter on the beforeLoad function, perform nlobjForm.addButton() and nlobjForm.setScript()
-
Hi @sravanm From my point of view, the problem is to where you are sourcing the session id. Have you tried sourcing it from the session object of the request or have you retrieved the cookie header of the request itself.
-
Hi sravanm For this one, how do you access the Suitelet? Are you accessing the Suitelet through an external application using the system domain instead of the forms domain. Or are you calling it through an nlapiRequestURL() on a server script and user a session id that you have retrieved from a UI session? Or are you…
-
Hi @FHC, What I could suggest for this scenario is use a RESTlet which returns a xml string output for your SCA site. The XML string should be parsable on the in the SCA site since it should support text to XML conversions. Pretty much what you're going to do on your RESTlet is to convert the object resulting from…
-
For the "In the UI this can be done. We should be able to do this with script as well." In the programmatic issuing of tokens, it is per user basis which means that a user requests for a token using their credential for them to use while on the other hand, on the UI, the capability, the administrator selects a user and…
-
Hi david.smith , From what I understand, you want to replicate the ability of administrator to generate tokens for users granted with the TBA-enabled role instead of the user with the TBA-enabled role to issue the token on their own. As of the moment, if the scenario that is mentioned is true, I think is is currently not…
-
The relative URL that you are using is does not have the domain since the string value of the result of nlapiResolveURL has no rest.netsuite.com or etc on it. Have you tried using the using the displayMode true to have the external URL then add the authentication header since the call on the server side would require…
-
Hi @david.smith I think we lost each other at "From what I understand, you want to replicate the ability of administrator to generate tokens for users granted with the TBA-enabled role instead of the user with the TBA-enabled role to issue the token on their own. As of the moment, if the scenario that is mentioned is true,…
-
Hi @david.smith, For this concern, one question is that when you are attempting to issue a token, is the integration record where you plan to link the token installed on the account? That is one very crucial thing thing to concern in this case. Do you also have the permission for that user to login using token? Also…
-
Agreeing with david.smith, I would rather get the Suitelet return a rendered HTML string value passed from request.write() which you can retrieve from nlapiRequestURL() then use an inline HTML field populated for you to show the Google maps
-
Agreeing with k_dunc, you may use a better logic of chopping the results into thousands or less and do a rescheduling. You may also perform yield actions in processing. Or you may use SuiteScript 2.0's Map Reduce to perform the bulk order processing since this use case best suits M/R
-
Checking on the scenario, I must agree with david.smith that to go about this concern, you have to create a script for perform the automated reapply. For example, on beforeSubmit of the invoice, you need to detect changes on the customer field, you need to perform a search of related payment records and update them to get…
-
If you want to do the similar thing as noted on the article mentioned, it is not possible on the server side script. It works in the client side with this note "Because the client script is expected to have an active session, it uses a partial URL to call the RESTlet. That is, the URL does not have to include the RESTlet…
-
For this concern, what fields from the sitecategory would you like to search? Have you tried to get the similar fields that are available on SiteCategorySearchBasic? You just need to lowercase the ids.
-
In line with Eric's note above, yes you can embed SuiteScript together with WF using workflow action script although the available triggers for WFA Scripts wouldn't match to the triggers required for Lorie-lyn's cases. More of less, the course of action to implement the solution would be michoel's proposition.
-
How about this one, https://github.com/google/code-prettify I tried doing nlapiStringToXML() to convert the XML string to XML data then convert it back to string using nlapiXMLToString() to see whether it formats properly but ended up back to the same XML string without \n and \t
-
Hi @madhur, Pretty much the AWS API is documented. Please read http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html#ConstructingTheAuthenticationHeader. Performing the request requires the request to have an Authorization header with their specification and is purely possible using SuiteScript. Performing…
-
Hi @pcutler, The same idea was referenced on this thread created by Mark https://usergroup.netsuite.com/users/forum/platform-areas/customization/suitescript-custom-code/417178-add-export-to-csv-excel-button which focuses on the creation of a suitelet with a distiguishing param export=T
-
I agree with ironside . There shouldn't be any problem with the SDK to begin with since you can just add with with the libraries in the code. BUt if you do not want to use the SDK, the link provided on the previous details in this thread will help you compose your own header from scratch