This question has been flagged
1944 Views

When I try validating a payment i get the following error:

The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set

[object with reference: name - name]

Can someone explain what exactly is missing , how can I understand this type of error. Obviously some mandatory field is not set, but the error is not showing which one.

Thank you in advance

Avatar
Discard

You have the hint there, field named name is not set, so you are getting this error message

Author

That is my point, there is no field 'name' in the popup window, and the invoices name is set.

Check your log entries.

Author

Log entries give that there is null value for name in the sql when inserting into account_full_reconcile

bad query: INSERT INTO "account_full_reconcile" ("id", "exchange_move_id", "name", "exchange_partial_rec_id", "create_uid", "write_uid", "create_date", "write_date") VALUES(nextval('account_full_reconcile_id_seq'), NULL, NULL, NULL, 248, 248, (now() at time zone 'UTC'), (now() at time zone 'UTC')) RETURNING id