SunShine
02/08/2025, 2:47 PMCeligo AI
02/08/2025, 2:48 PMAI generated answer (using internal Slack threads):Based on the conversations, it is possible to find if a specific item is available in a specific location using SuiteScript. You can achieve this by running a search or query on a map/reduce or scheduled script. If you only have a single item, you may be able to use the N/record module instead of a search/query. Here is a sample code snippet that was shared in the conversations:
javascript
let searchObj = search.load({
id: savedSearchId,
type: search.Type.INVENTORY_BALANCE
});
In this code, savedSearchId
is the ID of the saved search that you want to load. The search.Type.INVENTORY_BALANCE
is used to specify the type of the search.
Please note that the Last Quantity Available Change
column is related to the quantity of an item that is updated at a specific location. The search related APIs only have a single body level one while the query exposes it at the location level.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
02/08/2025, 2:48 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.838471532
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833794236
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823021352
Celigo AI
02/08/2025, 2:48 PM