I deployed a user event script, which applies to Purchase Orders, with event "edit".
My script ran the first time I edited a purchase order, but thereafter it no longer ran. I recreated the entire script and deployment, but it is still not running.
I checked the list of scripts applied to purchase orders and my script is there. The script is deployed and released, with event type set to 'edit'.
Might this have something to do with usage limits? There was an error during the first execution of the script, where I did not supply a needed parameter, perhaps this caused an issue?
Any help will be greatly appreciated, thank you.
Did you select an audience when you released the script? If there is no audience selected, the script won't execute. Happened to me a couple of times.
Related
I have a very simple NetSuite scrip that sets the value of the externalid when the record is saved. I have done testing on the SB account and it is working as expected. Copying the same configuration into the production account and the script is not executing. I've even added some dialog boxes to see if I can see any activity but there is none. The script is deployed, released and has "all roles" as the audience.
Any ideas what I can do to get the script to work?
Thanks.
Is your sandbox a very recent copy of Production? Does it have all the same scripts deployed as there is in production? You may want to look at the scripted record list for User Event Scripts in both environments, make sure they are the same.
You could also post your code here for us to look at it.
I have a workbook that contains a macro that I would like to run once a week automatically.
I have set up the workbook_open event to run the macro and the code itself runs as I would like it to.
My question is how to schedule this to automatically run on a schedule. I have setup a task in windows task scheduler which does not seem to run reliably (i've tried this on a few different projects over the years and never get great results).
My desire is to have my personal desktop run this task whether or not I am logged in. (Obviously the computer needs to be powered on which is no problem. Also, I am the only one that uses this computer, no concern about someone else being logged in)
Is there a more robust way of doing this or am I stuck with task scheduler? If so, has anyone else had better success with it that might be able to help me out?
Task scheduler seems to work only intermittently although the "history" shows it is triggered and run at the desired times. Part of the code saves a file to a location with a date stamp and there are not files for each trigger in the scheduler history.
When logged off , the task is executed without loading the user profile.
Maybe this is the answer for you.
It's Japanese. Can you use google translate?
enter link description here
You have to make the directory.
If you use 32bit Excel : %SystemRoot%\System32\config\systemprofile\Desktop
If you use 64bit Excel : %SystemRoot%\SysWOW64\config\systemprofile\Desktop
For anyone that might run across this. I've been using a 3rd party task scheduler which is much more reliable in my experience. There are many out there but i use robointern. robointern website
I have a development instance on my laptop and for some reason I cannot get any Automation schedules to fire. If I create a schedule, it looks ok and shows the appropriate next execution time, but it never changes. What am I missing to enable the scheduler?
If you restored a snapshot on your site, you will need to go to screen Automation Schedules screen (SM205030) and click on Initialize Scheduler action.
This action exists in order to prevent schedules to be run directly after restoring a backup of an environment.
This was done to prevent necessary actions from happening on a test environement, e.g. spamming customers email, uploading important files to file provider, etc.
This is why this button need to be manually clicked after restoring a backup.
With the help of support, I was able to resolve this. We deleted the application from the configuration manager and recreated it. The scheduler then started working. There was nothing obviously wrong, but creating the new instance worked.
Is it possible that suitescript 2 is not enable ?
I have the most simple script, that show an alert but it doesn't popup
Possible ?
Thanks
P.s. i'm willing to pay for thid
I assume you enabled SuiteScript options in Check Setup > Company > Setup Tasks > Enable Features > SuiteCloud.
Make sure you deployed your script accordingly . Make sure there are no error in script execution log.
To make sure suitescript is working fine in Netsuite , you can write a simple suitelet and test it in script debugger. ( Customization > Scripting > Script Debugger).
The only thing I can see would be if you do not have SuiteScript enabled on your instance. Check Setup > Company > Setup Tasks > Enable Features > SuiteCloud, and ensure that the SuiteScript options are enabled.
Aside from that, post some of your code, and/or any errors that you are seeing in the script execution log or the page that you are running the code on.
Finally I found the problem but I don't have a solution yet. I called netsuite and they said it's a known defect but I don't think so. I'm sure we are not the first one in the history.
We need to add a script to the customer record.
We found out that SalesForce added an Users Event Script.
I'm writing a Client Script, thus the conclusion from Netsuite is that you can't have a User Even Scrip and a Client Script, thus the reason it's not working.
Again I still CAN'T believe it
Any help is appreciated
I "think" I found the problem. The event script is written in SS1 and what I'm doing is SS2.
I have moved my code back to SS1 and it's working.
I know it makes no sense but it's working
I've installed Gmail Meter script in Google Documents and launched it. It demanded many permissions and access to many google account elements. Script works quite slowly and meanwhile I decided to take back those permissions because they were too wide. An hour later I got mail notification about error, script cannot work without permissions.
I tried to turn off this working script but didn't find the way so I deleted (permanently) the file in which I installed the script. Since then I get every day 3 error notifications. I can turn off them (there is a link in a mail) but I'm more interested in terminating the script? What should I do?
Indeed the triggers should be terminated once the spreadsheet has been moved to trash. This is a known issue:
Issue 143: Spreadsheets with time triggered scripts should no longer trigger when spreadsheet is deleted
You can star this issue and turn the triggers off via the link in the email.
You can access all your script projects by opening the script editor and selecting Resources > All your triggers. Find the triggers you want to delete and click the 'x' icon next to them.
You should delete the triggers ...