On Data Collection Set Maintenance page if user set the Is Lot Number Required checkbox, then on the data collection question page the lot number and lot quantity field will be visible to enter.
Refer to attachment picture data collection set maintenance for the Is Lot Number Required checkbox, refer to the data collection set question picture for the lot number and lot quantity field.