Netsuite Credit Card
I've been ask to create a script, I would prefer a workflow, that when an invoice is created, the script copy the credit card info from the customer to the invoice.
I know I have to use nlapiGetFieldValue('ccnumber') but that's about it.
Can someone help me ?
See also questions close to this topic
How can I check permission a user has on the current record on NetSuite with SuiteScript?
We are programming a script on NetSuite to integrate with a third-party app.
When you access a record (whether is View or Edit) we need to determine what kind of the permission the NetSuite user has over the record.
I know by the documentation that these are the possible permission values:
I also I know I can get the user permissions by using:
var userObj = runtime.getCurrentUser(); var permission = userObj.getPermission('ADMI_ACCOUNTING')`
The problem is that I need to know what permission to ask for specifically based on the current record I'm in. I can't find a value in the currentRecord that can allow me to ask for the permission on the user object to be able to determine the permission level the user has over the record.
Anyone that has an idea on how to pull this off I would really appreciate it!
Netsuite SCA - mobile navigation macro example?
all, I am redevloping our companies website - we are using netsuite sca killamanjaro and I am trying to incorporate best practices for coding and want to integrate macro's as much as possible. Does anybody have any macro example - preferably in reference to a mobile navigation that I can reference?
Thanks in advance. Dominic.
Netsuite Saved Search a list of ID's by invoice No
I have a request to extract specific Invoices, over the course of an year. For target invoices i have the following information to use: Invoice Number, Invoice date, Order Ref, Value and currency. I tried extracting few months at a time, but it's too much data.
Is there a way to filter on about 200 unique Invoice No in Netsuite?
Thank you, Daniel
Suite nlapiSearchRecord adding filters via UI and code
is it possible to add filters in both the UI and a suitescript 1 function and use them in combination?
Im doing a search for items and would like to limit the search results by the criteria set in the UI but also add parameters into the suitescript code
Email selection screen, set default recipient email
I have an easy one, never had to do it before I'm on the invoice, I click on the + and I click on email. The recipient email is the customer, fine. But I have a case where I need to hardcode the email. I created a workflow and assign the email to the hardcoded address. It's not working and I'm not surprised. I want to update the email recipient field in the "popup" screen
I'm sure it's easy for all of you but it would help me