This question has been flagged
2 Replies
1305 Views

Hello, i am looking the way to get the data from an invoice at the moment to register the payment. 

I can run the search of the invoice but i cant figure out how to use the fields in the form, besides recreate all the fields into the account_payment table, but in that case, i am repeating myself.

Any ideas?

Avatar
Discard

what you want in your table ?

this is show only "rec_name" related to your table.

Author Best Answer

 I meant that i can access to the data through the field invoice_ids, but i can not use it in a new form to change the values, as example: if my invoice originally i set the currency to US and y want to change it in the payment in pounds, i need to get the selected data in the invoice, and change it in the new form, cause if i recreate the field in the "account_payment" table then i have the same information in two tables.

Avatar
Discard