-
Create a message, add attachment and attach to supportcase
Hi, I'm trying to create a restlet (SuiteScript 2.1 or 2.0) that allows me to manage "supportcase". Specifically, I need to create "supportcase" (which I know how to do), then I need to create "message", insert attachments to the "message", and attach the "messages" to specific "supportcase". I've found how to create…
-
NetSuite SuiteLet – Error "Invalid field value for billreceipts" When Partially Invoicing Item Recei
I am currently developing a Vendor Batch Invoicing platform in NetSuite using a SuiteLet script. The data source is Item Receipts, and the goal is to create vendor bills from multiple Item Receipts (from the same vendor, currency, and subsidiary) that may belong to different or the same Purchase Orders. However, I have…
-
How Can We Remove or Hide Cost Center Field from Bill Sublist?
Hi everyone, We're currently customizing our vendor bill entry process and noticed that the Cost Center field is showing on the Expenses sublist of the Bill form. We don’t use this field and would like to remove or hide it from the form to simplify the user experience. Has anyone successfully removed or hidden this field…
-
Creation of fund transfer results in an error.
When attempting to create a fund transfer, the following error occurs. Based on the format of the message, I believe this is not a SuiteScript error but rather a potential bug in NetSuite itself: { type: "error.SuiteScriptError", name: "UNEXPECTED_ERROR", message: "ReferenceError: "document" is not defined.…
-
search.create() with array
I created a NetSuite scheduled script to get items from an external endpoint. Everything works fine; I receive the data. However, when I search for projects (from the external API) that are related to jobs in NetSuite, I use search.create(), and in the filters, I send an array of IDs. Share my method: This method generated…
-
Client Script Deployment for Item
Hello there, So I want to create a Suite Script to execute when a user creates or updates an Item. So I gotten to the step in Scripts → Deployment → Applies To, but I cannot see "Item" in my list Is it named differently?
-
Suite Billing add an Add-on item to subscription with suitescript
Hello All, We have created a custom solutions to create subscriptions via a subscription plan and a pricebook. This is going well. However, I should now add an item after the subscription is active. If you do this via the Netsuite GUI, it is done with an Add-on catalog type, the item will not be added to the subscription…
-
About the field type DATETIMETZ
I created the page using suitelet script. But it is difficult to enter the time when the field type is datatimetz. Question 1: When the system language is not English (International), you cannot enter the afternoon time, and you cannot enter or modify the hour. Question 2: After the system language is switched to English…
-
What are the Entry point(s) for Email Capture Plugin implementation in script 2.0?
Hello, I am trying to create Email capture plugin implementation script in 2.0 (migrating from 1.0). When the email is sent , the email is returned/bounced and an error in logged in NetSuite. The error is SuiteScriptModuleLoaderError. I reckon this is because by entry point function is incorrect. I am using function name…
-
SuiteScript - You still need to reconfigure the inventory detail record after changing the quantity
Hello~ I'm working on automating the creation of Inventory Adjustments so that we can expense items from our item receipts with ease. However, I've run into a problem that I'm struggling to wrap my head around. {"type":"error.SuiteScriptError","name":"USER_ERROR","message":"You still need to reconfigure the inventory…