The retail units field refers to the total individual units in the inner packs.
A case of ice cream sandwiches may contain six -12 pack boxes in it.
Here the pieces would be set to 6, but the retail units would be set to 72, the number of individual ice cream sandwiches available in the entire case.
The piece item should have a retail units set to 12.