create records automatically in a portal via drop down list
I have a 4 tables for Customers, Invoices, Line Items and Products
I am using Line Itmes to link invoices and Products
I am creating records in Line items via a portal from Invoices.
On Invoices table i choose customer using foreign key and populate his details.
and then in the Portal i choose the products that customer wants to buy and add the Quantity.
Now most of my customer wants to buy all the products available. (15 products)
So on my portal, i have a dropdown of my products (Foreign Key) where i choose my producst one by one,
i would like to have a button with script, which fills all the products in the drop down list in my portal thus creating records automatically in Line Items.
Could anyone help me please.
Thanks in advance