Search to Get the Percentage of Fulfilled Quantity Out of Ordered Quantity

1. Navigate to Lists > Search > Saved Searches > New > Select Transaction. 2. Under Criteria tab, set the following:Type is Sales OrderDate is (specify a specific period)Main Line is falseTax Line is falseCOGS Line is falseShipping Line is false 3. Under Results tab, set the following:   NumberNameQuantityQuantity Fulfilled/ReceivedFormula (Percent) > Formula = nvl({quantityshiprecv},0)/nullif(nvl({quantity},0),0) 4. Enter a Search Title.5. Click Save & Run.

Fetch the workflow field values related to the record deployed in suite-script using a saved search

Recently I had to fetch the values of workflow fields from within a Suitelet that is triggered by a button action. Workflow fields can be updated based on field value updates in a NetSuite record but there is no direct way of fetching these values in a script. For this, I used a saved search… Continue reading Fetch the workflow field values related to the record deployed in suite-script using a saved search

Saved Search to Get the Percentage of Fulfilled Quantity Out of Ordered Quantity

1. Navigate to Lists > Search > Saved Searches > New > Select Transaction. 2. Under Criteria tab, set the following:Type is Sales OrderDate is (specify a specific period)Main Line is falseTax Line is falseCOGS Line is falseShipping Line is false 3. Under Results tab, set the following:   Document NumberNameQuantityQuantity Fulfilled/ReceivedFormula (Percent) > Formula = nvl({quantityshiprecv},0)/nullif(nvl({quantity},0),0)4. Enter a Search Title.5. Hit Save & Run.

Fulfilling/receiving join in a sales order search shows results as item fulfillment and invoice

The reason for the task description is the item types in the transaction records. If a sales order contains a service item/ non-inventory item, the saved search will display invoice records in fulfill/ receipt transaction join fields. The reason is that service items in NetSuite are considered non-inventory items that require a fulfillment or receipt… Continue reading Fulfilling/receiving join in a sales order search shows results as item fulfillment and invoice

TRUNCATED – LIMIT REACHED error when sending CSV file from a saved search.

The scenario: When we schedule saved Netsuite search results, we get TRUNCATED – LIMIT REACHED. As a result, the results from the attached CSV file will be missing. Solution. We have resolved this issue with the help of the result configuration check box. We have checked the run-restricted checkbox and added the maximum result. This… Continue reading TRUNCATED – LIMIT REACHED error when sending CSV file from a saved search.

Saved search to Fetch the Tax Percentage From Purchase order

/** * @description search function to fetch the tax percent from the purchase order record * @param {number} poRecordsId – purchase order internal id * @return itemObj – object containing tax percentage */function purchaseOrderDetails(poRecordsId) { try { let purchaseorderSearchObj = search.create({ type: “purchaseorder”, filters: [ [“type”, “anyof”, “PurchOrd”], “AND”, [“internalid”, “anyof”, poRecordsId], “AND”, [“mainline”, “is”,… Continue reading Saved search to Fetch the Tax Percentage From Purchase order