I have a general design/philosophy question. If trying to manage a sync of data between the line items on a transaction and a sublist of custom records that should always be in sync with those line items. Is it better to use a script that would delete all custom records and re-create with the latest data everytime the record is edited<
OR
Try and have the script manage some sort of review of the custom records and add/update/delete as necessary to keep all the data in sync?