For a sales order with committed line items can be converted by setting default value as inventory location. Kindly refer to the transform code below. let trecord = record.transform({ fromType: “salesorder”, fromId: salesOrderId, toType: “itemfulfillment”, defaultValues: { ‘inventorylocation’: locationInternalId } }); If the sales order is uncommitted and the feature “Allow uncommitted” is enabled in… Continue reading Transform sales order to item fulfillment
Month: April 2023
Adding scroll bar to dialog box
css code can be added to add scroll bar: body { overflow-y: hidden; /* Hide vertical scrollbar */ overflow-x: hidden; /* Hide horizontal scrollbar */} we can also specify the height of the dialog box for which the scroll bar is added: body { overflow-y: scroll; display: block; height:150px;}
How to set height for the Item Description in PDP page while some items have more and some have less description without causing issue while clicking on More and Less Buttons.
Scenario: In some Cases, Some Items have less description some have more description while clicking on more or less button it working fine for which have more description and for which have less description it will work reversly so using this solution we can solve this issue. Template: SCSS: JavaScript:
How to show a tooltip for Item Options of type text in Quick View page by using events in entrypoint.
In Quick View page while we editing item for personalization, tooltip don’t show we can use this solution to show tooltip using events in entrypoint of JavaScript. JavaScript:
To change Date Format
To change date format to 2023-02-01
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
Test Scenarios for payment method.
Successful Payment: Enter valid payment details and click on the ‘Pay’ button. Verify that the payment is processed successfully. Verify that the payment receipt is generated and displayed. Invalid Payment Details: Enter invalid payment details such as incorrect card number, expiry date, CVV, or billing address. Verify that an error message is displayed on the… Continue reading Test Scenarios for payment method.
Pair Testing
Pair Testing is a software testing technique in which two testers work together on testing the same software or system. One tester is the driver, and the other is the observer. The driver performs the testing by executing test cases, while the observer watches and takes notes. The testers switch roles frequently to ensure that… Continue reading Pair Testing
Adding Rates to the Currency Exchange Rates List
Go to Lists > Accounting > Currency Exchange Rates > New. In the Base Currency field, select the base currency for this exchange rate. Select a foreign currency in the Currency field.For example, if you are setting the exchange rate for the Euro to your base currency, the U.S. dollar, select the name of your base currency, USA in the Base Currency field and… Continue reading Adding Rates to the Currency Exchange Rates List
Missing Subtab in JOB record.
Missing Subtab in JOB record.