https://netsuiteprofessionals.com logo
Join Slack
Powered by
# suitescript
  • c

    Charan

    10/08/2025, 7:31 PM
    Hello everyone, I’m currently working on an Airtable integration between NetSuite (using SuiteScript 2.1) and Airtable. The goal is to update a specific field in Airtable whenever a record is changed in NetSuite. However, I’ve run into an issue — Airtable’s API uses the PATCH method to update a single field in a record, but NetSuite’s N/https module does not support PATCH requests (it only supports GET, POST, PUT, and DELETE)
    n
    c
    d
    • 4
    • 14
  • c

    Charan

    10/08/2025, 7:31 PM
    Any ideas here on airtable update request?
  • j

    jen

    10/08/2025, 11:23 PM
    Random one today. I used to leverage a SSP for an integration with slack. The SSP didn’t require authentication headers (which the slack call couldn’t generate) but it COULD run SuiteScript to generate the headers and then pass the request on over to my restlet to do the actual work. We recently moved our website/domain to a new platform so it’s no longer hosted on NetSuite. How can I access my SSP url on the system domain rather than our old company domain? I tried turned on “system domain” but I can’t see how to deploy to system and/or obtain the URL I’d need to use to hit the SSP.
  • a

    Artur Pacagnan

    10/09/2025, 5:02 AM
    Hi, Does someone know how to solve it?
    s
    • 2
    • 4
  • c

    Craig

    10/09/2025, 7:38 PM
    Does anyone know how NetSuite links a vendor bill back to an inbound shipment? I'm creating a vendor bill using record.create() and need to link it to an inbound shipment so it reflects the quantity billed.
    p
    • 2
    • 34
  • a

    Aaron McCausland

    10/09/2025, 10:20 PM
    Hey everyone. I'm converting the image-size project from nodejs to SuiteScript, and I'm unsure how to proceed. I need a way to load the image file into a Uint8Array. nodejs has the fs module but that's much more like PHP's module, and NetSuite has something different, the N/file module. Can I do with just File.getContents() or would that possibly read incorrectly since it's assuming I want text instead of whatever image files are encoded as?
    c
    • 2
    • 5
  • c

    Craig

    10/10/2025, 2:13 PM
    Is the NetSuite SFTP bundle only for bank file transfer? I need to give SFTP access to a file cabinet directory.
    d
    a
    • 3
    • 8
  • f

    Felix Divall

    10/12/2025, 12:54 PM
    Anyone here with experience of creating a subscription record with SuiteScript, server-side? I’m running into one error after the other.
    Copy code
    "You cannot save this subscription because one or more lines do not have a price."
    I can share more tomorrow. Throwing out the question now in hope of connecting with the right person.
  • n

    Nilesh Patil

    10/13/2025, 10:11 AM
    Hey Team, I want to get all the Subcustomers based on top level parent or get all parent and subcustomers to all hierarachy in single array, meaning if there are 5 parent customers then get 5 arrays. or get one by one array in Reduce function. tried many ways but not working Kindly help or guide! right now using map/reduce and passing top level parent from getInput to map and doing operation in reduce
    d
    n
    r
    • 4
    • 13
  • a

    Aaron McCausland

    10/13/2025, 10:41 PM
    How long does a record action task exist after completing, before it is removed and can't have its status retrieved with task.checkStatus() ? I submitted one about 1/2 hour ago and it completed in seconds. Now passing the task ID to task.checkStatus() returns nothing.
    ✅ 1
    s
    p
    • 3
    • 5
  • a

    Arūnas Žindžius

    10/14/2025, 11:15 AM
    Hey scripting pros. I have question related to some logic which I don't get it. There is a custom body field custbody_delivery_terms from Netsuite bundle "International Tax Reports". However this field is hidden and for some reason the user is asked to fill in delivery terms to scripted field custpage_delivery_terms and only after save the value is transferred from custpage_delivery_terms to custbody_delivery_terms. Why it is realized so complicated?
    a
    • 2
    • 1
  • k

    Kristopher Wood

    10/14/2025, 6:42 PM
    Hi all! Are any of you using Typescript, and if so, what does your compile process look like? I'm starting from a completely clean environment and am looking into what others are doing instead of just spinning up my usual in case there's a better way out there.
    a
    c
    +3
    • 6
    • 41
  • e

    Ellendhula Sreeja

    10/14/2025, 6:44 PM
    Hi Team,I’ve created a User Event (beforeSubmit) script that programmatically checks the Create WO checkbox on the Sales Order line level. However, even though the checkbox is being successfully checked, NetSuite’s native logic to automatically create Work Orders is not being triggered. Could you please advise if there’s any specific event, timing, or additional condition required for the standard Work Order creation process to initiate when this checkbox is set via script? Thanks In Advance
    c
    • 2
    • 2
  • e

    Ellendhula Sreeja

    10/14/2025, 7:17 PM
    When the Sales Order is in Pending Approval status, checking the “Create WO” checkbox from UE script triggers NetSuite’s native logic, and the corresponding Work Orders are created automatically upon approval. However, once the Sales Order is already approved (and in Billed or Pending Billing status), if we add new line items and check the “Create WO” checkbox from UE script, the checkbox gets selected but the Work Order creation process does not trigger automatically. We need a way to retrigger the native Work Order creation logic for the newly added Sales Order lines (after approval), so that checking the “Create WO” checkbox again will automatically generate the corresponding Work Orders even when the Sales Order is already approved.
    t
    b
    • 3
    • 2
  • k

    Kristopher Wood

    10/14/2025, 9:30 PM
    For a suitelet client script, how do you get fields when a button is clicked? I added a button to call my client script function but not sure of the best way to get the form field values on the client side?
    d
    b
    • 3
    • 6
  • a

    Aaron McCausland

    10/15/2025, 3:29 PM
    When I call Record.transform() on a Sales Order, to transform it to an Invoice, the Due Date doesn't automatically update based on the Terms field as it does when Terms are selected in the UI. What is the proper way to get Due Date to initialize in this scenario?
  • c

    Charan

    10/15/2025, 6:59 PM
    Hi team , any idea about how to calculate "aws signature version 4" in suitescript? I'm facing challenges generating it using crypto module. Is this even possible without using any lambda service?
    s
    • 2
    • 1
  • h

    heather

    10/15/2025, 8:03 PM
    has anyone found a good workaround to the "you cannot edit the end of a group" message when dealing with item groups on sales orders via script?
    j
    s
    n
    • 4
    • 9
  • h

    heather

    10/16/2025, 12:00 PM
    another question came up that I haven't had luck with yet. I'm trying to access the "schedule" tab on a sales order under billing that will show all future billing dates and billing amounts when billing schedules are used. I've looked through the schema and couldn't find anything with that specific information. does anyone know if it's available to access via suitescript or saved search?
    m
    • 2
    • 4
  • j

    jen

    10/16/2025, 6:19 PM
    Does anyone have a solution for sticky column headers for the transaction lines table that works anymore? We had one but it broke in 2024.
    t
    h
    +2
    • 5
    • 7
  • a

    apaule

    10/17/2025, 3:41 PM
    Anyone know if you can attach multiple transactionids on email.send for relatedrecords?
    b
    r
    • 3
    • 2
  • a

    Aithan

    10/19/2025, 1:13 AM
    Anyone tried doing a saved search on a support call(support case) with a filter criteria being the company(customer's internal id)? I looked at records catalog and it really has a company field but I cant have company in the filter criteria, it does but it's options are 'has keywords', 'starts with' 'contains' etc. Instead of anyof. I also tried doing suitescripts to do a search using n/search module, and searching support calls with a specific customerId and it doesn't seem to work? Even though the customerId I specified have lots of support calls. Thanks for the help
    j
    • 2
    • 1
  • b

    Benjamin Cookson

    10/20/2025, 2:52 PM
    This morning our buyer is getting an unexpected error on the order items page. I as an administrator do not get the error. Has anyone else seen this?
    d
    • 2
    • 1
  • l

    Lucas

    10/20/2025, 6:03 PM
    Is it possible to show a custom popup message/alert on itemscan on the wms based on info on the Purchase Order Line of said item?
    s
    • 2
    • 2
  • m

    Michael Pope

    10/20/2025, 10:21 PM
    Hey folks, using
    N/https
    , is it possible to send a
    PATCH
    https request? I'm not seeing an option 😕. NVM looked... it looks like Netsuite does not support it 😕 That's a real bummer.
  • m

    Mia Li

    10/21/2025, 5:42 AM
    Hi everyone,Does anyone know how to handle CORS issues in NetSuite (SL)? I'm building a front-end page with Vue and want to fetch data from a NetSuite script for testing, but I can't get around the cross-origin problem. I’ve tried using a proxy, but it didn’t work. I’m now looking for a way to solve the CORS issue on the server side. Any advice would be greatly appreciated!
    c
    n
    • 3
    • 4
  • c

    Craig

    10/21/2025, 8:21 AM
    This field was blank for invoices created by the 'Invoice Sales Order' page. Is that expected? I was under the impression that this page still uses bulk processing, the context on the record creation was 'Bulk Processing'.
    let intBulkProcessId = objNewRecord.getValue({
    fieldId: 'bulkprocsubmission'
    });
    l
    • 2
    • 3
  • j

    James Romito

    10/21/2025, 4:20 PM
    I'm trying to build a custom consolidated parent invoice process with a custom console to mimic NetSuite's native page, but I can't get past selection of invoices to run to a batched process based on selected invoice rules. I have custom fields that allow multiple rules to be applied for grouping methods. fyi novice programmer want-a-be. Has anyone overcome this issue that is willing to help?
  • s

    Santiago

    10/21/2025, 7:35 PM
    Hi everyone, I'm experiencing a strange issue on and Opportunity record with a Custom List value, I get this error when selecting a speciffic option in the list, I have a Client script but it doesn't throw any errors, I logged but it seems it doesn't reach the CS body Change Trigger. This looks like a NS default scripts errors for whatever reason.
    j
    • 2
    • 2
  • c

    Craig

    10/24/2025, 1:35 PM
    Is this a reasonable amount of time to create a single journal entry via the REST API?
    d
    • 2
    • 5