Hard to tell without seeing how the relationship is defined. It would be better to post a compressed (and thinned-down) copy your file instead of screenshots.
but when I made the portal and I Choose the payment import to applay to that invoice it works,
Not entirely sure what that means … You realize that if you want to discount a payment against a specific invoice, you need to relate Payments to Invoices, not Customers?
I.e., you need a structure like
Customer --< Invoices --< Payments
I`ll attached the fm file.
Thank your very much for your help
2014-05-03 11:05 GMT-05:00 erolst <email@example.com>:
Discussion* - Visualizza la discussione completa<https://fmdev.filemaker.com/message/146662#146662>
You have (at least one) wrong field in the portal – it comes from the layout TO, not the portal TO, and so you're editing the identical (one) field, which is why it changes in both rows.
Make sure that the fields come from the same TO as the portal points at – at least until you know better what you're doing …
I've had a quick look at your file, and although I can't read the Spanish my guess, thanks to the helpful English colour guide, is that you do not have a payments table. I suggest that is what you need; you can then link payments to one or more invoices, and also to your customer table. Then back in your invoice table you can add a field that totals any payments made.
TThank you so much