In the table customer_invoice I have a fields " invoice_date " and the fields " invoice_payment_date "
After entering the fields " invoice_date " I want to automatically calculate and insert the date of the fields " invoice_payment_date ".
The value for the calculation is in the second table “customer” in the fields “customer_payment_day”
and is for example 8 days, 15, days, 30 days…
Example: invoice date = 01.10.2013 and invoice_payment_date = 16.10.2013 if value is 15 days.
Is it possible this to automatically calculate and enter the value in the fields?
Thanks for any idea or. solution.
Rik