Hello, I used a tutorial on how to build an inventory sheetworker, and it works fine but my problem is I don't really understand the mechanisms and I need modify something. const section_attribute = (section, id, field) => `repeating_${section}_${id}_${field}`; on('change:repeating_inventaire:prix change:repeating_inventaire:poids change:repeating_inventaire:quantite change:repeating_inventaire:emplacement sheet:opened', () => { getSectionIDs('repeating_inventaire', id_inventaire => { const fields = []; id_inventaire.forEach(id => { fields.push(section_attribute('inventaire', id, 'prix')); fields.push(section_attribute('inventaire', id, 'poids')); fields.push(section_attribute('inventaire', id, 'quantite')); fields.push(section_attribute('inventaire', id, 'emplacement')); }); getAttrs(fields, values => { const output = {}; const stats = ['prix', 'porté', 'sac', 'sacrapide', 'coffre', 'bandoulière', 'sacoche', 'carquois', 'monture', 'ceinture', 'poids']; stats.forEach(stat => output[`total_${stat}`] = 0); id_inventaire.forEach(id => { const poids = +values[section_attribute('inventaire', id, 'poids')] || 0; const quantite = +values[section_attribute('inventaire', id, 'quantite')] || 0; const emplacement = values[section_attribute('inventaire', id, 'emplacement')]; output[`total_${emplacement.toLowerCase()}`] += poids * quantite; output.total_prix += (+values[section_attribute('inventaire', id, 'prix')] || 0); }); stats.forEach(stat => { if(stat != 'prix' && stat != 'poids') { output.total_poids += output[`total_${stat}`]; } }); setAttrs(output); }); }); }); I would like my total_prix (the total value) to show the addition of each item's quantite*prix value, but it only shows the addition of all item's prix, without taking into account the quantite of items i have for each row. I don't know if that's clear but basically my sheetworker doesn't take into account the number of objects when calculating the global value of the inventory. It does it for the total weight and separates it into the containers, which is perfect, but I don't know what to modify in the code and how to have my quantite*prix taken into account. Thank you for reading me !