Revenue Management For Make-To-Order And Make-To-Stock Systems