Hi all, I need to be able to sync quantity of an i...
# suitescript
k
Hi all, I need to be able to sync quantity of an inventory item from netsuite in a specific location via real time or by schedule. Does anyone know how I can achieve this via suitescript or whether it is possible?
b
the usual suitescript solutions will be based on running a search or query on a map/reduce or scheduled script and then exporting the results via N/https to make a web service request
there are older solutions like uploading files via something like sftp, but thats not usually the case if you think realtime is an option
another alternative is changing the start flow and making a request to a restlet to run the search/query and make the restlet return the results
if you really only have a single item, you may be able to use N/record instead of a search/query
k
Will Schedule script and map/reduce able to help me export inventory of an item based on recent quantity changed? For example if we do an item transfer for a specific item, we then only want to sync the quantity of the item that is updated at a specific location?
@battk
b
thats related to the
Last Quantity Available Change
column
the search related apis only have a single body level one while the query exposes it at the location level
k
Got it, let me look into it . Thank you!