My Stuff
Share Your SuiteWorld Experience & Earn a Special Badge!
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite. Learn more
Comments
-
I have used a slightly different name, then changed the field name on the form to be the same by using "Apply to forms" on the field. Hope that helps.
-
Use a text field to post date/time to? Create two fields (Time & Date) and post to both of them to get date and time? Not sure if that is what you are looking for. Have fun!
-
I agree it would be helpful to have this option (since other lists do - i.e items). In the meanwhile, I have used a script and custom field before to write the sub since scripting does require hierarchy. Best of luck! :)
-
I'm not sure if it will help, but take a look at: https://usergroup.netsuite.com/users/showthread.php?t=17550 Hope that helps. :)
-
johana, Additional info: You will need two custom elements and place each one separately. Custom elements are {custbody_customerphone} (custbodyXXXXXX where XXXXX is the scripting name given when creatng the field). You can choose to show or not show label. I have found that getting the right placement is easiest by…
-
In the meanwhile, you can make a custom field (Start Date - display as in-line text) and use a script to copy the start date to the custom field on save. Custom fields are available for the form. Have used this many times to get fields on Picking Ticket. :) function onSave() { var startDate = nlapiGetFieldValue(startdate);…
-
You will likely need to create a server-side script to accomplish this automatically. Alternatively, there is also a way to delete large numbers of records in the UI in a list view. Allow list edit, shift select "inactive", then delete 1st record from the dropdown (far left). Hope that helps. :)
-
I would think that a custom search on Items with the Results columns having fields from the linked custom record should work. You may need to use "Group" on the results fields depending on what you are trying to get. Hope that helps.
-
Happy hunting. :)
-
Give access to forms through Setup > Users/Roles> Manage Roles. Take away access for all roles except manager. Hope that helps.
-
Did you try 'line'? Not sure about Opportunity. That would be it for other transactions if you are looking for the line ID (number). Hope that helps. :)
-
p.s. You should probably deploy this script also to Leads, Prospects, Vendors, Partners, Other Name entities. Edit the script deployment and add those as in Item 2) of the instructions (Setup > Customization > Scripts).
-
steph, try the following: /*Start File************************************************************ * Function to format Australian phone numbers. * In Australia, use format xxxx-xxx-xxx for mobile phone, xx-xxxx-xxxx for residential phone line. * Installation Instructions: * 1) Save the text from start of line 1 through…
-
steph, I think what this all means is that yes, you can get a pop-up to ask users to properly format the phone number. This should be a fairly simple script. Furthermore, you could create a script to automatically check the format and re-format as needed (more complex script, though) or ask the user to reformat if not…
-
Thanks for the assist Yang!! I'm just rumbling, bumbling, stumbling along. Yang, Possible you could look at https://usergroup.netsuite.com/users/showthread.php?t=17897 for a second? :o Have a fun day! :)
-
/**************************************************************************** * onBeforeSubmit function set a customer field from a field on a transaction. * * Save this text as a file with extension .js * Setup > Customization > Scripts > New. User Event type. * Add script file. Enter onBeforeSubmit in "Before Submit…
-
Try removing filter[0]. Journals don't have a true "mainline". This is s known anomaly. In the user events, that filter is ignored (I believe). Let me know. :)
-
You might try something like this to stop before you run out of resources: if (haveResources()) { [INDENT] doSomething(); [/INDENT][INDENT] }else{ [/INDENT][INDENT] return; // leave the script [/INDENT] } function haveResources(){ [INDENT] var context = nlapiGetContext(); [/INDENT][INDENT] var usageRemaining =…
-
We are seeing the same thing. Have you tried setting the quantity to 'null' for type subtotal?
-
Yang, Thanks for the update. I agree that change is an improvement. I just wish I had known sooner. ;) Keep those improvements coming! Best regards, :)
-
I believe it is: Home > Set Preferences > Defaults Section > Show Internal IDs. Give that a try. :)
-
Possibly the scripts may, in themselves, exceed the metering limits. Alternately, schedule script 46 from script 45, script 47 from script 46 and so forth as the last method in the script (schedule the next script). Wouldn't that work? Have fun! :)
-
Wouldn't you calculate the metering and if used >= x% of allowed 10,000 metering, then schedule the next script? That's the way we did it anyway. Alternate back and forth between two scripts, with a third scheduled script to start them off. That works at least where we can use search results and searchresults.length > 0.
-
xedit will only return the field changed. You would need to load the changed record to get all fields (I think). Have fun! :)
-
LibertyTen You know you are right. We found that you cannot access the billable time/items/expenses in server-side or client-side scripts. We had to use a web service. You can make a client/server-side script fire off a web service, I believe. We researched this and NS has accessing those sublists as an enhancement request…
-
Have you tried using the debugger? It should show all the available fields and lists when you load a case record. Have fun. :)
-
It will be difficult to use a hidden field because I don't believe you can "write" to a hidden field via script (unless that has changed). You also cannot write a field formula for a Checkbox type field. The script will likely need to evaluate the same criteria as the original script. Hope that helps. :)
-
Yang, That's great news about writing to a hidden field. Some time back you could only read hidden fields via Client-side Script. I'm clearly not up to date. Please help me out on the formula field. When I create a new custom field of type "Checkbox", there is not a place to define a formula as there is with most of the…
-
You will likely need to create an "on Init" script to set the field as disabled when the record loads. Scripts will only set the field as disabled when in Edit mode, so you will want to evaluate the same conditions when the record is loaded. You will probably want to determine if this is a new record versus an existing…
-
I believe you might be better served using this script as a validate line function. Would run when Add is clicked. [COLOR=#007700]function validateLine(type) { //get value of Location line item field var lineLocationValue = nlapiGetCurrentLineItemValue('item', 'location'); //check if location in the line item has a value,…