Scenario: We need to create a suitelet page for resource allocation. The suitelet page should contain similar pages like the same. The Body fields should contain, Project Name. Common project fields. The sublist structure should same as the below image. Solution We can use a client script for the validation and another suitelet for background… Continue reading Suitelet Page For Resource Allocation
Tag: Client Script 2.0
Script for Updating shipping cost in ItemFulfilment Record.
This is a Client script for updating shipping costs in the IF record based on a custom field ( Shipping methods). Based on different Ship methods the shipping cost will be set. Except for Ship methods: ( ‘blank’, Truck (LTL), other, Customer Pickup, FedExGD Collect, Broker, TBD) The shipping cost will be zero. in all… Continue reading Script for Updating shipping cost in ItemFulfilment Record.
Case pack quantity updation with the sales order line quantity
Requirement: In the sales orders, we can enter any number of item line quantities. But from the client business perspective, they need to control the quantity based on the item case pack. The quantity should be multiples of the case pack number and if the quantity is not a case pack multiple we need to… Continue reading Case pack quantity updation with the sales order line quantity
Scheduling Fixed Asset Creation
Scenario: If the bill/journal contains lines that don’t have fixed assets created is greater than 100, The script will create fixed assets with scheduled process. The script will be scheduled for every 1 hour. And the scheduled script will send the email to the bill owner after creating the fixed asset for that bill. Solution:… Continue reading Scheduling Fixed Asset Creation
Automatically creates Fixed Assets from Vendor bill/ Journal
Scenario: Automatically create fixed assets from Bills/Journals when these records are created in Netsuite Solution: When a vendor bill/journal creates corresponding fixed asset records will be created automatically if the line count is less than 10. //JJ UE FA Automation QG-118.js //JJ CS Validations for FA Creation QG-119.js Vendor bill Example:
Add Address Limit Checkbox to Restrict Adding/Editing/Deleting of any Address to the Address book of Customer Record in Netsuite.
Create an entity field(checkbox) and add the condition if the checkbox enabled the customer not allowed to add or delete the address. For achieving the solution we can use the Client script 2.0 : first, need to create a custom entity field in NetSuite with type as a checkbox. Add the enity field to customer… Continue reading Add Address Limit Checkbox to Restrict Adding/Editing/Deleting of any Address to the Address book of Customer Record in Netsuite.
Restrict the adding of address in customer Record
Create suite script to restrict the adding of address in customer Record. “Address Lock” so if the customer has 30 addresses in the address book, he won’t be able to edit/delete/add the address. The user should not be allowed to edit, create or delete when the customer has 30 addresses on the address book in… Continue reading Restrict the adding of address in customer Record
Auto journal creation & application in Payment
Scenario: Create a journal for applying in the credit section of the payment. Ultimate need is to capture the credit info from the custom record, need to create a journal or custom transaction of journal type then apply the same in the payment record.We have seen a limitation of once payment is saved the credit… Continue reading Auto journal creation & application in Payment
Sublist Line Item not Committing via SuiteScript 2.0 Client Script
Sometimes the user is not able to commit a line item via SuiteScript 2.0 Client Script. The reason why the line item is not committed on the script is because the forceSyncSourcing parameter retains its default value is false.We can resolve this by making forceSyncSourcing true. The forceSyncSourcing parameter indicates whether to perform field sourcing synchronously. If set to… Continue reading Sublist Line Item not Committing via SuiteScript 2.0 Client Script