I am using this process to create 24 objects which represent the last 24 months working backwards from the Current Date
CREATE Chart WITH Chart.Month=DATE(CURRENT_DAY_OF_MONTH, CURRENT_MONTH-1, CURRENT_YEAR )
CREATE Chart WITH Chart.Month=DATE(CURRENT_DAY_OF_MONTH, CURRENT_MONTH-2, CURRENT_YEAR )
CREATE Chart WITH Chart.Month=DATE(CURRENT_DAY_OF_MONTH, CURRENT_MONTH-3, CURRENT_YEAR )
CREATE Chart WITH Chart.Month=DATE(CURRENT_DAY_OF_MONTH, CURRENT_MONTH-4, CURRENT_YEAR ) ..........etc etc etc 24 x
This works fine except when it gets to the - 12 Month the Date becomes "NULL"
Thereafter it continues to create the rest of objects as expected
Can anyone figure out why this would break on the -12 month - Is this a bug with the Function , is there a work around ?
Thanks