Is it possible to update last modified date/time o...
# general
a
Is it possible to update last modified date/time of kit item if inventory of anyone of its inventory item is changed ?
@battk can you help sir
b
sounds like a weird request, write a scheduled or map/reduce script to make a search for items matching your criteria and perform an update on the kit item to change its last modified date
a
actually , I want to update the last modified date time of kit item if any of its member has inventory quantity updated (through inventory adjustment). The reason for doing this is that i am calculating and exporting kit item quantity to web store using a schedule script which looks out for kit items updated within last 1 hour and export its quantity to web store. I know it sounds weird
is this possible to check the parent kit item of an inventory item using suitescript ?
b
you might be better off using the member item join and use the member item's last quantity available change date instead of the kit item's last modified date
a
great. i can use that for inventory items as well ? . To get inventory items whose quantity updated within an hour
b
not without using search expressions and making your search rather complex
a
thanks sir . last question .. how can i use conditional expressions in searches using suitescript
*saved searches i mean
b
a
Great .Thank you sir for helping me out. Extremely thankful 👍