My Stuff
Comments
-
amalac@ammallc.com All of your screenshots look correct. The only thing I can spot is you should the oauth generation on the first request and then show the result of the 3rd request. I assume the error occurs on either of them? The only thing I can think is that the signature isn't being generated close enough to the…
-
amalac@ammallc.com If you've entered all of the above correctly it should work as expected. Could you share a screenshot of your signature generation page in Postman (obviously hide any sensitive/confidential information) and we can see if there is anything is in the wrong place.
-
amalac@ammallc.com In addition to what rnedelkow mentioned it's worth ensuring that your signature is generated immediately before making your request. If the request comes in and it's not within close time with the time stamp I believe it would be rejected.
-
amalac@ammallc.com Hello, Have you checked the 'Login Audit Trail'? You should be able to add the 'details' column to see the reason that your login is failing, this should make it easier to diagnose and fix the issue.
-
P.S. Just to underline the fact that this call was 'ok' for the last year now and it just suddenly started having this behavior, without any changes from our side. Oh I hadn't realised this was working previously and has just encountered issues now. The call all looks fine to me, however I do wonder if your Authorization…
-
That's interesting the calls from the other system don't appear at all. In that case I'd be checking the login audit trail to make sure my requests were authenticated properly. Are you using the exact same URL for your Postman calls and calls from your other system? Perhaps share you .NET code and we can see if there is…
-
I'd log the contents of the request in the RESTlet, an Unexpected Error could be due to a variety of reasons so the best way to diagnose the issue would be to add logging in the RESTlet to determine which point is causing the error. I'm sure I've encountered this issue when the request content is different from what is…
-
This screenshot should show how to set up TBA in Postman, does this look similar to how you do OAuth amalac@ammallc.com https://i.stack.imgur.com/drb1T.png
-
amalac@ammallc.com You'll need to make sure the Role of the Token User has permissions to access customers or you'll need to set the RESTlet to run as administrator from the deployment page.
-
You need to edit that search and add the 'details' column to the results, it will give us more info than just failure and it should be easier to figure out the issue. Can you try adding that column and running the search again?
-
Happy to have helped! I wonder if the Authorization has been changed with the push to use token based for Auth now? Definitely agreed the error message is far too vague though!
-
This seems like a bit of a 'workaround' but you could make a SS2 Suitelet that would start the Map/Reduce script and call that suitelet from your SS1 script?
-
I've found this happens when I switch between multiple different accounts/roles that have a variety of different colour themes. I tend to fix this by loading the page while clearing cache, I use chrome so this is as simple as opening dev tools and then checking the Disable Cache checkbox on the Network Tab.
-
This sounds like a caching issue, I encounter this quite regularly. To solve in Chrome I open up dev tools, switch to the network tab, click the 'Disable Cache' checkbox and refresh the page.
-
It looks like the suitelet url you are using is the internal url, could you try the external url and setting to available without login and allowing all roles in the audience tab?
-
What I've done in situations like this is to request a page of data at a time, you can supply your own page cutoff and return the specified pages, in your response you can also return the number of pages so you know how many times to loop your request. For your second query regarding results count you can use var…
-
I'm also curious about this, it's not really feasible for us to use 2FA with our support staff requiring access to multiple customer accounts as an Administrator.
-
Please try again, it should be up now. I have just tried and again I am getting an error. `Unable to read repository at http://system.netsuite.com/download/ide/update_17_1. http://system.netsuite.com/download/ide/update_17_1 is not a valid repository location.`
-
We are also seeing this issue, going to get this logged as a defect and hopefully NetSuite can fix shortly.
-
I believe that getText will only return the text of a field if it has been set with setText in a standard record. Perhaps try reloading the record in the afterSubmit as a dynamic record to get the text of fields? var newRecord = record.load({type: record.Type.RecordType, id: scriptContext.newRecord.id});
-
I'm sure I've come across this issue before and got around it by using a setTimeout with the commit line call within that. I'm sure even a time of 0 works as it just waits for all processing to finish before attempting to commit.
-
I've had 2 support cases in the last week where I have been attached to a defect and told to use SS1 to get around the issue. I think defects need to be taken more seriously and after being identified should be pushed to the top of the list for next release, new features are great but fixing stuff that is supposed to be in…
-
When I have done this before I think I made the type of the field a text field and then updated the display type to make it inline. Please see this example: var contractField = contractSublist.addField({ id: 'custpage_contract', label: 'Contract', type: serverWidget.FieldType.TEXT }); contractField.updateDisplayType({…
-
If I was trying to add javascript variables to a string like that I would just concatenate using +. Using your example: '</tr><tr><td id = "customerName" style="font:12px Arial,Helvetica,sans-serif;color:#000001;padding:3px 0px 3px 10px">' + cusName + ',</td> </tr>
-
I tried using the external url and found it worked. Not sure what I was doing wrong trying the internal url but oh well, at least it works now. Thanks for the code example!
-
Which entry point of UE are you trying call the suitelet? I'm using beforeSubmit @volneiferreira // Get the domain for the https call var domain = url.resolveDomain({ hostType: url.HostType.APPLICATION }); log.debug('domain', domain); // Get the URL for the suitelet var csvGenerationUrl = url.resolveScript({ scriptId:…
-
david.smith I did not realise it was only the UI library being removed. Does that mean that I can still use jQuery in scripts? e.g. jQuery('#custpage_addon_sublist_buttons').hide();
-
darrenhillconsulting I'm sure I remember making Payment records in the past with Undeposited Funds as the Account and I simply didn't need to set an account and it would automatically be set as Undeposited Funds. Is your Payment auto-selecting an account?
-
Thanks for the response chanarbon , By adding to the dependencies do you mean adding a reference to my library file in the define statement, such as define(['./mylibraryscript.js'], ? and if so do I then have to use mylibraryscript.someMethod() to run methods or could I simply use someMethod() ?
-
JacksonP Thanks for the example, this answers all my questions!