Hi Susan,
The Total Days to Pay field is stored in the database as an integer value, which indeed means that there is a maximum value of 32,766, which is 2 to the power of 15, minus 2. If the maximum value is exceeded, indeed that could result in getting set to zero. As would the average days to pay, which is calculated from the total days to pay divided by the total paid invoice count. This calculation is why when you put in the maximum 32,766 for Total Days, the 'new' average days is about half of what you were expecting, because the 'real' total days is close to double the maximum.
These field values get reset when Year End Processing is performed. So for customers that have a high volume of invoices that aren't paid promptly in a given year, it is possible to blow the maximum. For example, having 1000 invoices in a year and taking on average 33 days to pay. Or perhaps Year End Processing is not run, in which case these statistics values would never get reset.
It would take a database change to the customer records to increase this maximum. I will forward your comments to R&D.
_________________________
Regards,
Softrak Tech Support