Is it possible to make jquery ajax call to external API when viewing a record?

We have a custom app for receiving lots that posts data to a restlet. We create an item receipt from the purchase order. Restlet is using Token Auth and not every employee has a NetSuite account.

In a sql server we store each request including the employee id that submitted it.

What I’d like to do is create an external API call based on po and lot number to return the employee ID.  Then from within NetSuite use jquery to make ajax call and display that employee ID for each lot on an item receipt.

Is something like this even possible?

Rookie Asked on May 4, 2021 in How To's.
Add Comment
1 Answer(s)

Instead of doing that, why not during your call to the restlet, pass along the Employee ID, and store it in a custom body field in Item receipt or Purchase order.

Then you can easily display it on Item receipt

Rookie Answered on May 4, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor