Master-Detail Updation

Hi All,

I want to create an invoice where I want to fill in the header data and
dynamically add line items in one page. It should update the invoice and
invoice_items table from one page. I looked around and was not able to
find a solution for this.

Has anybody here done something similar to this before? Please help…

Thanks
Binu