# Creating a tag that records a cumulative total of parts being made in a shift, storing it at the end of the shift and then resetting it to 0

**URL:** <https://forum.inductiveautomation.com/t/creating-a-tag-that-records-a-cumulative-total-of-parts-being-made-in-a-shift-storing-it-at-the-end-of-the-shift-and-then-resetting-it-to-0/50521>\
**Category:** General Discussion\
**Created:** [September 1, 2021, 3:47pm UTC](https://forum.inductiveautomation.com/t/creating-a-tag-that-records-a-cumulative-total-of-parts-being-made-in-a-shift-storing-it-at-the-end-of-the-shift-and-then-resetting-it-to-0/50521 "2021-09-01T15:47:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [September 1, 2021, 8:55pm UTC](https://forum.inductiveautomation.com/t/creating-a-tag-that-records-a-cumulative-total-of-parts-being-made-in-a-shift-storing-it-at-the-end-of-the-shift-and-then-resetting-it-to-0/50521/2 "2021-09-01T20:55:14Z")

</div>

Store each box weight in the database. You can then query the database for total production, or production on one side or the other, what time each box is completed, etc.

---

_[View the full topic](https://forum.inductiveautomation.com/t/creating-a-tag-that-records-a-cumulative-total-of-parts-being-made-in-a-shift-storing-it-at-the-end-of-the-shift-and-then-resetting-it-to-0/50521)._
