Modified sqldiff to add period Type to report defintion