-- apps_transaction.getMaxOrderIDOwner (PROCEDURE) begin select max(OrderID)+1 as 'id' from header_transaction_owner1; end