One to many Data entry example like Invoice form

I have seen some one to many exame tutorial using grid and its good. However it would be user friendly to management if the previous orders are not editable anymore. Is hope you can demo a blank form to create a new order header and a grid for order details. Just like the best practice in an invoicing application. Thanks.