Author: Litha Mukunthan
Global code not pulling in Excel
Requirement: The Global Code is not pulling into the downloaded excel pricelist. Solution: Check the global code field in the related form.
Filters using suitelet script
Problem: Create a suitelet script that loads a custom search US CASES – HOURS TO CLOSE search result in a given format for klipfolio and create filters for ‘created date condition’ also replace the same condition with that of UI by using splice() method. Solution load the custom search 2.Add the filters 3.Replace the condition… Continue reading Filters using suitelet script
Saved search result in a given format
Create a suitelet script to provide search result in the format.
Replacing Barcode Number on Invoice Form
In order to replace the barcode number with scannable barcode of type “EAN” use <barcode> tag in the pdf template. But using the code results an error In order to bring the EAN type of barcode in the invoice form use code:
TypeError: newRecord.getValue is not a function
solution: TypeError: newrecord.getValue is not a function ,this error occurs when we tries to get the value of a custom field in DELETE context of after submit function. In order to resolve this issue we can use oldRecord.getValue. Since we are trying to delete an oldrecord that is modified.
Setting the value to custom field
Problem: Error occur when tries to set the value of custom field in after submit context. Solution:In after submit context in order to set the value to custom field it is better to use record.submitFields()
BAD REQUEST
{“type”:”error.SuiteScriptError”,”name”:”400_BAD_REQUEST”, SOLUTION The 400 (Bad Request) status code indicates that the server cannot or will not process the request because the received syntax is invalid, nonsensical, or exceeds some limitation on what the server is willing to process. If the server is programmed with a file size limit, then you might encounter a 400 error. {“fulfillment”: {“location_id”:60986949890,”tracking_number”:null,”line_items”:[ { “id”:”11751945470210″,”quantity”:2 } ] }} How… Continue reading BAD REQUEST
Integrating with Postman
Postman provides an API development toolchain aimed at integrating with your workflow.The Postman team develops an open ecosystem in conjunction with industry partners tobuild integrations that facilitate your API projects. Integrations allow you to automatesharing data and functionality between Postman and other tools you might use for your API development. 1.Body field corresponding to item… Continue reading Integrating with Postman
Requirement:Encrypted QR code on invoice
Solution