add warningtimes to order & inventory histories