My Stuff
Comments
-
I did not think that NetSuite would respond to support cases for custom scripts?
-
Just removed the lines you mentioned and ran again. This time i'm getting lots of results with no serial number.
-
Thanks Richard, this does not error now, but it is not returning any results. My saved search is as follows. I'm trying to filter on the transaction internal ID, hence my code is this: /** *@NApiVersion 2.x *@NScriptType UserEventScript */ define(['N/record','N/search'], function(record,search){ function…
-
Internet Explorer does not exist anymore! Edge is the new IE!
-
Thanks but i'm getting this And the link it sends you to is also broke.
-
I'm using Edge. Is this the same issue?
-
I assure you that using the built in delete button on a custom record with a custom sublist does not delete the sublist records, it errors and tells me there are dependant records.
-
Richard Can you advise the code to delete each line then?
-
If I click the Delete button, it tells me that it cant as there are associated records. I believe this functionality does not work on custom records and hence the script.
-
If I use the above code, it fails with: Notice This record cannot be deleted because it has dependent records. /** * @NApiVersion 2.1 * @NScriptType UserEventScript */ define(['N/record'], function (record) { function beforeSubmit(scriptContext) { //Check to see the user event action is a delete action if…
-
Thanks Richard I'm not getting the getLineCount error anymore, but how now do I remove the line?
-
Yes I have added this into my code. /** * @NApiVersion 2.1 * @NScriptType UserEventScript */ define(['N/record'], function (record) { function beforeSubmit(scriptContext) { //Check to see the user event action is a delete action if (scriptContext.type == 'delete') { //Get line item count if action in type parameter is…
-
I have now, thank you, seems to have resolved the issue.
-
Yes i'm aware of this. But I created some dashboards with multiple column layouts and the end user only see's a single column layout.
-
I tried this again and its now working! Why does this behaviour work?
-
Well, the behaviour does not occur in the sandbox, it hides the fields as expected. I did as you asked and removed the script etc and reuploaded with new names etc and got this error! Weird, as the code has not changed.
-
NetSuite support contacted me about this and the script deployment was not deployed. I know it has been deployed and I suspect I undeployed it as it was not working. But when I redeployed it, it worked!! I'm now having the same issue with fields on a Purchase Order!
-
Yes fields are visible in both views.
-
Having the same issue on Purchase Orders now! I dont want to see "Delivery Terms" and "Nature of Transaction Code" But again, I cannot hide them. The script is deployed. /** * @NApiVersion 2.1 * @NScriptType UserEventScript */ define(['N/runtime','N/record','N/ui/serverWidget'], function (runtime,record,serverWidget) { var…
-
Nicole I have checked the scripted record and the before load event is nearly last anyway.
-
No I saw it. Bit disappointed really, but I can get round it.
-
Nicole The code is written in 2.1 not 1.0 and its a user event script not a client script. /** * @NApiVersion 2.1 * @NScriptType UserEventScript */ define(['N/runtime','N/record','N/ui/serverWidget'], function (runtime,record,serverWidget) { var exports = {}; function beforeLoad(scriptContext) { var form =…
-
OK thanks again Jervin
-
Thanks Jervin
-
No its a custom form. And yes, there is a customise form on the upper right. I cant seem to find the For Invoice Grouping field anywhere in the screen fields to be able to hide it! I have tried to hide the custpage_ fields in the before load event of the invoice, but it does not hide them. //Hide delivery terms var…
-
Morning Jervin Thanks for looking into this,
-
If you select Express Entry, and scroll down, you can select a status there that applies to all entries.
-
I have resolved the issue now, thank you.
-
Add a Button on the Employee Record That Will Generate a PDF via SuteScript 2.0 (custhelp.com)
-
I've found an article in Suite Answers and copied that and it seems to work! /** * @NApiVersion 2.1 * @NScriptType ClientScript */ define(['N/url','N/currentRecord'], function (url,currentRecord) { var exports = {}; function pageInit(context){ } function onButtonClick(){ //CALL FOR SUITELET TO PRINT PDF var cr =…