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
-
that is VERY helpful. Found the error straight away. Thank you.
-
I'm trying to do this but can't get the script to fire. I've got a script similar to the example above that i've deployed with the following: Applies to: LEAD Status: Released Event Type: Create Audience: Every man and his dog When I use the online form to create a lead it's not firing. Is the role == 31 an account…
-
any ideas why my script isn't firing then? I'm going nuts here submitting online form after online form but getting nowhere!
-
PS, the script I'm using is: function NewOnlineLeadSetFields() { var role = nlapiGetRole(); var currentrecord = nlapiGetNewRecord(); // if we're creating a new lead from an online form (i.e. user role=Online Form User) if ( type == 'create' && role == 31 ) { currentrecord.setFieldValue('unsubscribe', 'F', false);…
-
have you tried running the script on page save instead of when you change the line item?
-
thanks Yang. What's the problem? Can you tell? I still can't get the script to work even if I remove the field sourcing. I've just tried putting a button on an opportunity that runs this test script: function EventTest2() { var recordCreated = nlapiCreateRecord('calendarevent'); var createddate =…
-
Turns out that the problem is that the script fails if I set organizer to be anything except the current user (nlapiGetUser). Does anyone know how I can set attendees for an event using a script? Ideally I want the organizer to be someone other than the current user but if that isn't possible, I at least want to add…
-
Just tried that but it didn't work... Any other ideas or can someone tell me how i can check the other values being passed to the fields to make sure they're correct?
-
I'm using account 623926 and I'm on my own login (ID = -5) I've been trying to strip the script right down to the basics but I can't even get this to work: >> var recordCreated = nlapiCreateRecord('calendarevent'); alert('Record Created....Setting 5 Field Values'); recordCreated.setFieldValue('title', 'Lead');…
-
thanks Yang!
-
it doesn't affect the invoices CREATED from the memorised transaction, but the memorised transaction itself. So if I was to do it manually, my process would be 1. Edit the memorised transaction 2. Change the field value 3. Click memorise 4. Click cancel on the pop up (to have the effect of overwriting the memorised…
-
When i say a server script, i mean a scheduled script that runs once a day...
-
PS - I am trying to deploy it as a scheduled script. One of my worries was that nlapiGetFieldValue couldn't be used on scheduled scripts but someone in the UserGroup told me it was ok...
-
I've wanted to do this for a while but i don't think it's possible. From what i can see the beforesubmit is only called when the record is actually 'saved' by a user (rather than saved by the system). You could possibly set the PO not to send out by email then run a server script on all POs created today that adds your…
-
got some more detail on the error: Stack Trace: #setMgrOnInvoicesCreatedToday.nlapiSearchRecord(invoice, null, filters, null) #setMgrOnInvoicesCreatedToday
-
Thanks, that worked a treat. However, I'm still getting an unexpected error when I try to hardcode the search (instead of using a saved search ID). I have a saved search with criteria: - type = invoice - main line = true - date created = today The saved search ID is 132. I am therefore trying to replace this line in my…
-
Thanks Yang. I was reading the guide and at the top of page 28 it says: nlapiSetFieldValue is available only in Client and User Event SuiteScripts. That's why I thought it wasn't possible but I figured there must be a way (there's always a way!). Thanks for the help. Cheers,
-
I have created a custom field of type Text Area, Store Value = False and the default value is a formula. If I put {shipaddressee} into the Default Value field with the Formula check box ticked i get the error. I am trying to put a custom field on the main page of a client that shows the default billing address. At the…
-
hi, i'm trying to populate a field using a formula and the field names listed above. I'm having trouble with 'shipaddressee' - when i add it into my formula i get an "ERROR: Field Not Found" Has this field name changed since 2006?
-
Thanks Yang, I have changed it to be record.getFieldValue but now I'm getting an error: Script: setMgrOnInvoicesCreatedToday Error: UNEXPECTED_ERROR Can't find method nlobjRecord.setFieldValue(string,string,boolean). (setMgrOnInvoicesCreatedToday#11) I have changed the script to be: function setMgrOnInvoicesCreatedToday()…
-
is it possible to do what i'm trying to do with a script? Or is shipaddressee not availabe for anything to use? I guess this is an ER then?
-
I only want the formatting to apply to this field - not the whole system...
-
did you manage to fix this? i'm now having the same problem. or did you figure out a workaround?? thanks, charlie
-
i've raised a case. i'll let you know how i get on.
-
Sounds like the right sort of thing. Can we make that sublist available on a tab on the client record?
-
I am trying to do the same thing here (have batch processed bill payments to be defaulted to print voucher) but it's not working for me. I have ticked the box at Setup > Company > Printing, Fax, and E-mail preferences > Printing > Transactions > Print Seperate Voucher for Bill Payments However, when I then go to…
-
so you use: units = number of connections rate = connector fee per month amount = total fee per month If you are invoicing these on a monthly basis you could memorize the invoice that you create for one month with 'number remaining' = number of months. There's also a feature in advanced billing called 'billing shedules'…
-
why don't you just rename 'units' to 'months' and 'rate' to 'fee per month'? won't that achieve what you want to do?
-
yep, that's what i meant. Thanks!
-
when you say 'bulk billing' i guess you're referring to the 'bill sales orders' part of the process?