My Stuff
Comments
-
jimk If this is the case why you can't just deploy a simple after submit user event script which read the email template contain the message and survey link. Thanks, Ashish
-
You can directly schedule sending of emails from saved search and there is no need to have additional WorkFlow. Thanks, Ashish
-
Hello Sireesha, To use non inventory item for sale with customer transaction and use different pricing for different customers, follow these steps - 1. Create price levels you wants to use by going Setup -> Accounting -> Accounting List (or you can use standard as well) 2. Create a Non-Inventory Item for sale and assign…
-
Hello Carol, As mentioned by Hernal, since scrap quantity is not available in saved searches, you can go with following alternative solution - 1. Create a custom transaction field say "WO Scrap Quantity" 2. Using User event script or WorkFlow set the value of above custom field by getting the value from actual scrap…
-
Hi, You can print vendor record information using following syntax - ${record.entity.phone} ${record.entity.email} Thanks, Ashish
-
Hello, You should use {applyingtransaction.amount} instead of {appliedtotransaction.amount} Thanks, Ashish
-
Hi, Yes, you are correct that nlapiLoadConfiguration API is only supported in server side scripts. As an alternative, you can do following - 1. Create a hidden custom field on the record of interest 2. Using beforeLoad user event script call API nlapiLoadConfiguration and get the value of companyname and set this value in…
-
Hi, You are correct that you can get record id using - nlobjRecord.id but since it is not documented by NetSuite or officially supported so it's better and safe to use getId(). Thanks, Ashish
-
Hello, Below are the working samples of RESTlet in SuiteScript 2.0 (updating memo field on Return Authorization record) and Node.js client - RESTlet - //****************************************************// /** *@NApiVersion 2.x */ define(['N/record', 'N/error'], function (record, error) { function doValidation(args,…
-
Hi, Hope following information will help - [h=3]TBA: Calling a Token Endpoint[/h] In addition to creating a token manually through the NetSuite UI, developers and users can also acquire a token programmatically using a token endpoint. [LIST] [*]To create their own tokens, users can call a token endpoint using the system…
-
Hi, Yes you can change or modify the proffered bin on item record using SuiteScript. Following is the tried and tested code for your reference - var itemRec = nlapiLoadRecord('inventoryitem', 629); var binCount = itemRec.getLineItemCount('binnumber'); for(var i = 1; i <= binCount; i++) { var isPreferredBin =…
-
Hi, You can assign a phone call /event /task to only one transaction since transaction field on these records is not a multi select field. Thanks, Ashish
-
Hi, I think we can create memorized transactions (sales order in your case) using nlapiCreateRecord(). You will need to set "memorized" checkbox field to "T". Following would be code - var record = nlapiCreateRecord('salesorder', {recordmode: 'dynamic'}); record.setFieldValue('entity','5264'); record…
-
Thanks for response. But can you please show me how to iterate through all lines of component list and how to configure inventory detail for each line.
-
Unfortunately you can't select or enter transaction date on asset transfer transaction. There are are only to dates - date created and last modified, which are calculated automatically. Thanks, Ashish
-
Hi, As per my knowledge you can not develop SuiteScripts in Jcurve but you can install the scripts via SuiteBundle. Basically you you to develop and test the script in NetSuite, bundle them and install in target Jcurve account. Hope this will help! Thanks, Ashish
-
Hi, Could you please try following - var digitalItemId = <%=getCurrentAttribute('item', 'custitem_digital_version')%> And than Var digitalDispName = <%=getAttribute('item', Number(digitalItemId), 'displayname')%> OR var displayName = nlapiLookupField('item', digitalItemId, 'displayname'); Hope this will help. Thanks, Ashish
-
Hi, Below is the C# code to search for invoices with status = Open private List<Invoice> GetOpenInvoices() { TransactionSearch invoiceSearch = new TransactionSearch(); TransactionSearchBasic invoiceSearchBasic = new TransactionSearchBasic(); SearchEnumMultiSelectField invoiceStatus = new SearchEnumMultiSelectField();…
-
Hi, Here is the C# code - private List<Invoice> GetCustomerSpecificOpenInvoices(string customerId) { TransactionSearch invoiceSearch = new TransactionSearch(); TransactionSearchBasic invoiceSearchBasic = new TransactionSearchBasic(); SearchEnumMultiSelectField invoiceStatus = new SearchEnumMultiSelectField(); string[]…
-
Your welcome Karenn!!
-
Hello Karenn, In the code you only specified the custom record you wants to update, not the custom record type. You have to mention the both. Please refer following code - CustomRecord customRecord = new CustomRecord(); RecordRef recordType = new RecordRef(); recordType.internalId = "14"; // // Record Type's internal ID…
-
Hi Karenn, To get the id of newly added or created record use the following code - WriteResponse response = objService.add(_order); if (response.status.isSuccess || response.status.isSuccessSpecified) { string recordId = ((RecordRef)response.baseRef).internalId; } Hope this help. Thanks, Ashish
-
Hi, Please try using "vendorBill" as type instead of "Bill". Thanks, Ashish
-
Hi, The search function only returns a set of records. You will need to perform searchMore and searchNext methods to get all the vendors records.
-
Hi Browngw & Gary, If Invoice or cash sales record is created against a sales order (created from field is populated on Invoice/Cash Sale record) than you can join with Fulfilling/Receiving Transaction field to get the value from fulfilment record. Thanks, Ashish
-
You can import Google Analytic data in NetSuite using Schedule script (We did in past). And store this information in custom records to perform reporting using saved searches. Thanks, Ashish
-
Your problem can be solved using SuiteScript. Following would be the flow - - Create a button on sales order using user event script (button will be displayed only on sales orders with credit on hold) - When user will click on this button, it will execute a Suitelet in backend and release the sales order from credit on…
-
Hi, You have to use "Inventory Number" record to plug your workflow or custom code. Thanks, Ashish