Becomes a problem if you are inserting 40 items to order_items table.
Doing the extra work in stored procedures is noticeably faster than relying on triggers.