My Stuff
Comments
-
I guess I was hoping TOO much. I was trying to hide the PST/GST fields on the Expense Report (Canadian), and the Tax Rate on the Expense Report (UK) with no luck. It appears that any field the Netsuite disables natively, are not accessible via the API (even looking at the HTML Source, there is no 'input' field to target. I…
-
Of course, thanks!
-
Hey Eric, Thanks for jumping in (and yes, I meant BeforeLoad). I'm still struggling ... here's my code /** * Module Description... * * @copyright 2016 Darren Hill Consulting Inc. * @author Darren Hill darren@darrenhillconsulting.ca * * @NApiVersion 2.x * @NModuleScope SameAccount * @NScriptType UserEventScript */…
-
Brillant! Thanks Errol
-
Can you post your Suitelet code? My guess is the error is coming from there? al3xicon, The Suitelet works great, I know its not that. The button click never gets that far.
-
Eric, Thanks for jumping in! So, I'm getting an Uncaught ReferenceError: redirectFromPublication is not defined My scripts are very simply /** * Module Description... * * @copyright 2016 Darren Hill Consulting Inc. * @author Darren Hill darren@darrenhillconsulting.ca * * @NApiVersion 2.x * @NModuleScope SameAccount *…
-
Arg, Of course, this will only work in Edit mode. But I need my function available in VIEW mode. Man o man.
-
So, what was the outcome?
-
GOT IT! Ok, so N/redirect is not available Client-side. Fine /** *@NApiVersion 2.0 *@NScriptType ClientScript */ define(['N/currentRecord'], function (currentRecord) { var pageInit = function (context) {}; var generateFromPublication = function () { window.location.href =…
-
Man o man, this is frustrating. At this point, I'll take ANY code that simply logs to console (in view) on the click of the button.
-
I'm still struggling with including external libraries. I can't get lodash imported. It tells me that findIndex (a function I'm using) is not a property of undefined. I've done everything you mentioned (and cross referenced that with the Netsuite documentation) and nothing. Do I need to build an AMD version of lodash? Daze…
-
Hi everyone, I wanted to share a project we've been working on internally here that I thought might be useful to anyone else coding on SS2.0 using TypeScript. Based on the help docs and usage over several months we've put together this typings library: https://github.com/headintheclouddev/typings-suitescript-2.0 We're…
-
John, Thanks for the feed back. Still no go. I started a new thread ... https://usergroup.netsuite.com/users/forum/platform-areas/customization/suitescript-2-0-custom-code/414885-lodash-in-ss-2-0
-
John, I need to include momentjs, and I'm confused on how I would do this while using your tools. :h_a_w: You have an example of using/including external libraries?
-
Are you in Sandbox or Production?
-
Couldn't have said it better. Thanks for validating.
-
I would suggest the opposite approach. Set the file to externally accessible, then post that URL to your API and ask that external cloud storage system to 'request' it from Netsuite. If you cannot do that, I've been successful as sending the file to a Web service. - I loaded the file with nlapiLoadFile - I got the value…
-
I'll play around with it a little, looks promising. I'd love to become a contributor. darrenhillconsulting on GitHub
-
Thanks Oliver, not sure how i missed the Subsidiary list on the deployment record. Bah! I think that'll do! Cheers, appreciate the response!
-
Wow, what am I missing? I simply want a button on an item record to redirect to a suitlet (passing the suitelet the currentRecord id).
-
MChammaTX ... I strive to be ahead of the curve, but there are so many holes in SuiteScript 2.0. Its not ready for prime time. Severely lacking in documentation. For instance, what's the definition of context (ScripContext). I need to only fire a UE event when trigger from the UI (userinterface). A simple requirement, but…
-
I have the same issue, do you find out anything yet?