The SOAP web services feature must be enabled prior to submitting SOAP web services requests. To enable the SOAP web services feature: As administrator, click Setup > Company > Enable Features. Click the SuiteCloud subtab. Check the SOAP Web Services box. Click Save. Note that after you have enabled SOAP web services in your NetSuite account, you should set your SOAP… Continue reading Enabling the SOAP Web Services Feature
Author: Vishnudas P S
Custom GL Plugin script to Reverse the GL Posted.
function customizeGlImpact(transactionRecord, standardLines, customLines, book) { var recType = transactionRecord.getRecordType().toUpperCase(); nlapiLogExecution(‘DEBUG’, ‘Record Type’, recType); var lineCount = transactionRecord.getLineItemCount(‘item’); nlapiLogExecution(‘DEBUG’, ‘Line Count’, lineCount); var defaultAccountId = ‘YOUR_DEFAULT_ACCOUNT_ID’; // Replace with your actual default account ID if (recType === ‘VENDORBILL’ || recType === ‘VENDORCREDIT’) {… Continue reading Custom GL Plugin script to Reverse the GL Posted.
Enabling the Use of Employee-Specific Expense Folders
You can configure NetSuite to predefine dedicated folders where employee-specific expense report attachments are automatically saved. If you have the Administrator role, you can see the contents of these folders, but employees cannot locate or access these attachments from the File Cabinet. Employees must instead access their expense attachments from the expense report record. To… Continue reading Enabling the Use of Employee-Specific Expense Folders
Setting the Show Internal IDs Preference
You should set the Show Internal IDs preference when working with SOAP web services or SuiteScript. Setting this preference lets you see the internal IDs for all fields, records, lists, workflow actions, and custom forms in NetSuite. In SOAP web services (and in SuiteScript) you will reference many of these IDs in your code. Note: The Show Internal… Continue reading Setting the Show Internal IDs Preference
Setting Package Tracking Number Through Rest API
The Shipping Label Integration feature enables you to generate tracking numbers and shipping labels in your NetSuite account. After you register your FedEx, UPS, or USPS/Endicia account with NetSuite, you can create real-time rate shipping items so that the shipping charges on orders are always up to date. Note: If you use the Shipping Label… Continue reading Setting Package Tracking Number Through Rest API
Charge Rules – Project
Charge rules can be created on the Financial subtab after you have saved the project. There are four main types of charge rules: Fixed Fee Charge Rules — rules based on a fixed fee determined by date, milestones, or project progress Time-Based Charge Rules — rules based on time tracked against the project Expense-Based Charge Rules — rules… Continue reading Charge Rules – Project
Creating an External URL through Script.
Use url.resolveRecord to get the url of the created Invoices. Use url.resolveDomain to get the domain of the url. Use transformUrl function to transform the url into the desired format. let invoiceUrl = url.resolveRecord({ recordType: ‘record.Type.INVOICE’, … Continue reading Creating an External URL through Script.
Setting null value to multi-select field.
Code Used : nlapiSetFieldValues(‘custbody11’,”); This code looks correct at first look but in actual Multiselect field need array for setting data So if you want to add field you have to use nlapiSetFieldValues(‘custbody11’,[1,2,3,4]); Same way if you add array without any value will solve the issue. So use nlapiSetFieldValues(‘custbody11’,[]); to remove the all values.
Multi-Partner Management Feature
The Multi-Partner Management feature lets you assign multiple partner entities to a single customer record. When assigned, you can divide revenue for the purposes of partner commission or sales by partner reports. An administrator can enable the Multi-Partner Management feature at Setup > Company > Setup Tasks > Enable Features (Administrator). Click the CRM subtab, and… Continue reading Multi-Partner Management Feature
Saved Search Shows Inventory Aging
Navigate to Lists > Search > Saved Searches > New Click Transaction Title: Enter Title Filter: Note: For every required filter use the drop-down menu to select. Formula (Numeric) Formula: Enter case when {item.inventorylocation.id} = {location.id} then 1 end Formula (Numeric): equal to Value: Enter 1 Click Set Formula (Numeric) Formula: Enter case when {item.assetaccount.id} = {account.id} then 1 end Formula (Numeric): equal to Value: Enter 1 Click Set Posting Click Yes Click Set Click Results tab Fields: Note: For every required field… Continue reading Saved Search Shows Inventory Aging