new salesfunc

using the YearData object