Difference between createpo and createdpo on Advanced PDF/HTML Template of Picking Ticket

When editing an Advanced PDF/HTML Template for a Picking Ticket in NetSuite, users may encounter two fields under the Item sublist of the Sales Order: createpo and createdpo. These fields, listed in the SuiteScript Records Browser for Sales Order, appear similar in syntax but serve distinct purposes. This article clarifies the differences between these two… Continue reading Difference between createpo and createdpo on Advanced PDF/HTML Template of Picking Ticket

Exclude special or drop ship orders from the workflow

Purpose This article describes how to implement a Workflow Action Script in NetSuite to exclude special or drop ship orders from progressing through a workflow. The script checks if any item line in a transaction has the “Create PO” checkbox selected. If none are selected, the workflow bypasses the state meant for purchase order creation. Script Code /**  * Workflow Action Script to check if any item line has “Create PO” checked.… Continue reading Exclude special or drop ship orders from the workflow

Preventing Duplicate Record Creation on Form Resubmission

Scenario : Identified that when the Submit button is clicked, and the user subsequently navigates back to the form using the browser’s Back/Forward button, the previously entered content is still present. If the Submit button is clicked again, a duplicate record is created. Solution: To resolve this issue, we have implemented a solution that clears… Continue reading Preventing Duplicate Record Creation on Form Resubmission

Corner Radius vs. Border-Radius

Corner Radius (Design Term): “Corner radius” refers to the rounded curvature at the junction of two surfaces or edges. In traditional design disciplines such as industrial or graphic design, it’s a physical or visual descriptor used to soften corners. Border-Radius (CSS Property): In web development, border-radius is the CSS property used to apply this visual… Continue reading Corner Radius vs. Border-Radius

Embedding a PDF in an Advanced PDF Template

Embedding a PDF in an Advanced PDF Template within NetSuite can enhance the customization of generated documents. This allows users to display or include external PDFs directly within their templates, streamlining the document creation process. Step 1: Upload the PDF to the File Cabinet Navigate to the file cabinet in NetSuite. Upload your PDF file. After… Continue reading Embedding a PDF in an Advanced PDF Template

Resolve Error: ” child is text node, which is disallowed” When Printing GL Impact Using Advanced PDF Templates

Scenario There are cases when users encounter an unexpected error: The template cannot be printed due to the following errors: Error on line 7, column 14 in template. Detail… <macro> child is text node, which is disallowed: ignoring” This line of code<macro> child is a text node, which is disallowed: ignoring” when printing the GL… Continue reading Resolve Error: ” child is text node, which is disallowed” When Printing GL Impact Using Advanced PDF Templates

Troubleshooting cloning errors

If you’re having trouble cloning a repository, check these common errors. HTTPS cloning errors There are a few common errors when using HTTPS with Git. These errors usually indicate you have an old version of Git, or you don’t have access to the repository. Here’s an example of an HTTPS error you might receive: >… Continue reading Troubleshooting cloning errors

compare Dates

Comparing the “date” element of each format and exclude any “time” element. Then with both dates converted to milliseconds, simply compare the values. You could do something like this. If dates are equal it returns 0, if the first date is less that the second then return -1, otherwise return 1. Javascript function compareDates(milliSeconds, dateString)… Continue reading compare Dates

Transferring Funds

A transfer is a movement of funds from one bank account to another bank account. In NetSuite, bank accounts include accounts for petty cash. NetSuite enables you to perform two types of bank transfers. You can transfer funds between two bank accounts if they share the same currency, and you can transfer funds between a… Continue reading Transferring Funds

Link a transfer order to a specific sales order in NetSuite

There are a few ways to link a transfer order to a specific sales order in NetSuite, even if the SKUs are not serialized. Option 1: Custom field You can create a custom field on the transfer order record to store the sales order number. Once the transfer order is received, you can use a… Continue reading Link a transfer order to a specific sales order in NetSuite