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

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.

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