REQUIREMENT The requirement is to delete a few subscription records created in NS. The subscription records are of different statuses- Draft, Closed, Active, and Pending Activation. The subscriptions include change orders associated with them. Develop a script to delete subscription records through scripting. SOLUTION The requirement can be achieved by using the map /reduce script.… Continue reading Deleting Subscription Records
Month: December 2022
Change Company Logo Size for Transaction Form PDF LayoutS
Solution: Navigate to Setup > Company > Printing & fax (under Preferences Section) Click Printing subtab Locate PDFs Section Locate Logo Scaling Factor Change value as necessary Click Save Note: The smaller the value, the smaller the logo. You can reload the Printed Transaction to see the logo size change Real-Time.
Change the Base Unit in Unit of Measure
If Unit of Measure has not been used, we can still change the Base Unit of the Unit of Measure. 1. Unmark the current Base Unit2. Check the new Base Unit Note: If Unit of Measure has already been used, we cannot change the Base Unit of the Unit of Measure.
Clone an integration
Use the following steps to clone an integration:On the Home page, go to the integration. Based on the integration view you use, follow the steps given below.Tile view 1.Click the overflow (…) menu in the upper-right corner of the tile, and select Clone integration. 2.In the Clone integration page, enter details. Name: Enter a unique name for the clone. Make sure that… Continue reading Clone an integration
Sending Transaction Email in Bulk using mass update
Bulk emailing action using mass update
To get the data in a field, primarily by Text, if not present then by Value
To get the data in a field, primarily by Text, if not present then by Value
Total Amount after rounding into 2 fixed decimal place
To display the total amount after rounding into a fixed decimal place in Advanced PDF template, refer sample code below
Clone a flow
Open the integration tile that contains the flow you want to clone. On the Flows dashboard, click the flow’s Actions overflow (…) menu and select Clone flow The Clone flow page opens. 3.In the Clone flow page, enter details. Name: Enter a unique name for the clone. Environment: Select the Production or Sandbox radio button. Integration: Select the integration tile you want to save the cloned… Continue reading Clone a flow
Show alert message in Suitelet POST
/** * * @param scriptContext */ function alertMesage(scriptContext){ var html = ‘<script> alert(“The quantity should be greater than Zero”);window.close() </script>’; scriptContext.response.write(html) } The alert message will show and on clicking ok will close the whole suitelet page
Function to retrieve Item Fulfillment and Sales Order details
Function to retrieve Item Fulfillment and Sales Order details