A new label is useful only if it points back to a reliable record. When a business cuts bulk tamarind blocks or blends several source packs, it should still be possible to identify which input lots could be in each finished unit.
Decide where the code changes
Define whether the new code represents a shift, a run or another boundary meaningful to the operation. Record the input identifiers and quantities for that boundary. Make a specific field for material carried from one session to the next so an apparently clean changeover does not hide leftover ingredients.
Make the tag durable and legible
Use sample packs at real temperature and handling conditions to verify adhesion, readability and scanner performance if relevant. Record what happens if labels are misprinted. A lot should keep its identity even if an outer carton is replaced or a package is moved to a holding area.
Prove that the records join
Select a finished pack and trace it to the input codes. Then select an input and find every finished batch and shipment that might contain it. Reconcile weights to agreed tolerances and identify any unexplained quantity. Record elapsed time and responsibility for rebuilding missing records.