Fixed error on save order.
Fixed db script to match new schema.
Fixed rdl to match new schema.