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.
Author: Litha Mukunthan
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