Hi,
in the context of my other message regarding that function:
```
async addOrderNote() {
SUL.log("Called addOrderNote from main file");
const ZoteroPane = Zotero.getActiveZoteroPane();
const selectedItems = ZoteroPane.getSelectedItems();
const items = selectedItems.filter(
(item) => item.itemTypeID === Zotero.ItemTypes.getID("book")
);
for (const item of items) {
const tags = item.getTags();
const { ddcs, orderCodes, budgetCode } = SUL.orderNote.extractTags(tags);
const orderNote = SUL.orderNote.constructOrderNote({ ddcs, orderCodes, budgetCode });
item.setField("volume", orderNote);
await item.saveTx();
}
},
```
I have the impression that the item.saveTx() processes each item essentially in a sequential way. In the docs, I've seen Zotero.DB.executeTransaction() which can be used with item.save() instead of .saveTx().
Is that still supported in Zotero 8? Also, would that be a good fit for my use case? Is my impression correct that would mean we only really save once at the end, which should speed things up quite a bit?
Best,
Denis