Hello everyone, I have a saved search I copy the r...
# suitescript
n
Hello everyone, I have a saved search I copy the results to to a custom record -> what is the most effective way to have the custom record maintain the most recent version of the record? I am creating several records and then linking them together which is why I'm doing it
b
most up to date will probably be relying on sourcing
depending on the type of record, a user event script deployed to the copied from record may work
the most dependable will usually be the map/reduce script
n
yeah I am using a map/reduce as im grouping & summing some results
@battk is there a code structure that would make it easier to update or delete/recreate the records to have them be up to date?
b
Section 2.3.4 Using Parent-Child Relationships to Perform Mass Create/Update of theĀ SAFE guide
not really easier, but potentially faster
n
Ok, thank you I will check it out
b
only thing that would be easier is if you could get sourcing fields to work
n
Yeah i mean its a group/summing of time records