I'm doing an "InsertOrUpdate" in a collection of "Purchases" which is a transaction with a subset of attributes from the "Documents" table.
This is giving me a foreign key error which I attached at the end with the EmployerId attribute which has the property Nullable = true and does not belong to the Shopping transaction.
I see that I see that in the insert, it is taking all the attributes of the table and not only those of the transaction Purchases.
It is known that in the BC "Empty as null" does not work, so I added the attribute to the transaction and I established & Purchase.EmployerId.SetNull (). Keep giving the error ...
Any clues?