Do you have just one auto number field or are you using auto number more than once?
If you use auto number on more than one field, each instance should have its own Auto ID parameter.
AutoNumber(num(year(TempDate)) & num(month(TempDate), '00'), 'MonthSeq') as MonthSeqNum,
Also the sequence created by auto number does not persist between reloads.
See this blog for more details. QlikView Addict: QlikView Functions: autonumber()