https://netsuiteprofessionals.com logo
Join Slack
Powered by
# suitescript
  • 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
    j
    • 3
    • 2
  • 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
    r
    • 3
    • 11
  • c

    Craig

    10/27/2025, 9:59 AM
    Has anyone considered this concept in NetSuite?
    Memoization is a computer programming optimization technique that speeds up programs by storing the results of expensive function calls and returning the cached result when the same inputs occur again
    I want to add a beforeSave() function to journal records so I can map/swap account IDs before a journal is saved. I have the mapping stored in a custom record; I'm looking at ways to make this as quick as possible. Are N/cache reads quicker than searches or record loads? I could always store the mapping in the cache based on what's in the mapping table/record. If the mapping record changes, I can force the new values into the cache and expire the old values.
    s
    c
    t
    • 4
    • 12
  • m

    M Ureddy17

    10/28/2025, 7:38 AM
    HI Guys, We have developed a SuiteApp and installed it in multiple accounts. While testing the uninstallation process, I observed that only the custom records and fields are being removed. However, the scripts and lists are not getting uninstalled, and I’m currently unable to identify the root cause and i need your suggestions
  • n

    Nag

    10/28/2025, 2:03 PM
    Hi, has anyone handled applying a Credit Memo to an Invoice when a customer has 10K+ open invoices? My Map/Reduce script stops at 10K due to the search limit. Any ideas to get around this? Thank you
    j
    r
    • 3
    • 2
  • i

    Isaac M

    10/28/2025, 5:49 PM
    Does anyone have a better way to unlink customer deposits from sales order? My accounting team does not want to have to go into the sales order and change the form to cash sale.
    t
    n
    • 3
    • 3
  • t

    texmc

    10/28/2025, 5:59 PM
    is it possible to generate price lists via script (like using the render module)
  • n

    Netsuite Tragic

    10/28/2025, 9:27 PM
    Is the Sales Quota record available via N/Query? My script just say it’s an invalid record type.
    n
    • 2
    • 2
  • c

    Craig

    10/29/2025, 2:44 PM
    Is there anywhere in the DB that links a transaction to an account? I looked through the transaction table but don't see anywhere an account is stored This is on netsuite2.com
    d
    g
    • 3
    • 12
  • f

    FAgudelo

    10/29/2025, 6:20 PM
    I'm trying to group items utilizing a descriptive item in Netsuite, has anyone done any work like this in Shopify ?
  • m

    Mike Robbins

    10/31/2025, 2:14 PM
    Does anyone know why this code works in
    beforeLoad
    for a user event script, but doesn't work in a Suitelet? In the Suitelet
    window
    appears to be
    undefined
    .
    Copy code
    form.addButton({
        id: 'custpage_cancel',
        label: 'Cancel',
        functionName: "window.open('" + revenueArrangementUrl + "','_self' );"
    });
    b
    • 2
    • 2
  • d

    David Na

    11/02/2025, 2:58 PM
    I’m trying to set up an approval system for purchase orders using a Suitelet. The idea is that an email is sent via a Workflow with an email template, and the template contains a link to the Suitelet that performs the ā€œApproveā€ action. Example of the link sent in the email:
    Copy code
    <https://9319243-sb1.extforms.netsuite.com/app/site/hosting/scriptlet.nl?script=1372&deploy=1&custscript_approvalmail_action=approve&custscript_approvalmail_recid=43283>
    Even though the Suitelet is set as Available Without Login and the audience is Online Form User, clicking the link returns the error:
    Copy code
    Invalid page parameter. Unable to view page.
    Has anyone encountered this issue? What is the correct way to send parameters to a Suitelet via email so that non-logged-in users can perform actions?
    b
    • 2
    • 7
  • c

    cweier

    11/03/2025, 5:21 AM
    Hi team, building a (hopefully) straightfoward Suitelet to allow us to accurately reconcile landed cost estimates vs actuals (FX involved and the bosses want a good indication of how close we are). Basic plan is to have a few header fields then a sublist populated from a saved search, and checkbox to select each transaction to be dealt with. Pretty confident with most of that, but I am hoping to have a header field that shows the 'balance' of the selected transactions (ie the variance). Is this best achieved via a fieldUpdated script for the sublist to add/subtract the value of the relevant line when the checkbox is ticked/unticked, or is there a better way to handle this?
    n
    • 2
    • 1
  • s

    Slackbot

    11/05/2025, 4:57 PM
    This message was deleted.
    šŸ‘€ 1
    j
    p
    +2
    • 5
    • 13
  • s

    Sim Greenbaum

    11/05/2025, 9:14 PM
    using the https module and ping external service, how can i know if the other service redirected to a different page
    Copy code
    let raw = https.get({
          url: url,
          headers: {
            "Content-Type": "application/json",
            Authorization: `Bearer ${response_token.access_token}`,
          },
        });
        log.debug("res", { raw, url });
    r
    • 2
    • 2
  • c

    Chris

    11/05/2025, 10:18 PM
    Server logs used to be around for 30 days, did that change in the last year? Do they get truncated early if there's excessive logging going on?
    b
    d
    • 3
    • 2
  • s

    Stephen Gosner

    11/06/2025, 10:24 PM
    Hello - have a SS 2.x map/reduce script that I've written. We have a custom transaction type in our instance for consolidated invoices, and each line is made up of underlying invoices. We have custom currency fields that we are leveraging, and so the goal is to keep the native total (header level) and native amount (line level) at $0, since this is a consolidated invoice, is non-posting, and want to avoid GL impact. When I attempt to set the value to $0 as shown below
    Copy code
    ciRecord.setCurrentSublistValue({sublistId : 'line', fieldId : 'amount', value : 0.0});
    I receive the following error message... Value 0.0 outside of valid min/max range for field amount For additional context, this is a rewrite of the original process and SS 1.0 that created these consolidated invoices via scheduled script, and was able to set the amount line item field to $0. Anyone have an idea of how I can get around this and set the value to $0. I'm able to edit the transaction after it has been created, through the UI and set the value to $0
    c
    • 2
    • 3
  • l

    Luke Collins

    11/11/2025, 3:15 AM
    Does anyone know if there's a way to access the intelligent recommendations via suitescript?