Problem To Insert Multiple Record


I have two models Expenses and ExpensesDetails. How do I insert multiple record in ExpenseDetails with the current Expense id in to database.

Please somebody help…

From Expese grid,you can add button like view,pass expense id,and it will be get from $_REQUEST,while saving data.

You can use add more with recopy extension,for multiple details.

During save you can use



Your other variables and this way,you will able to save.