During the meeting it was discovered that the accountQueryService is not limiting the results to active accounts (parent account must also be active). This will be corrected on USASR-3154.
When selecting an inactive account the created date and user custom fields are removed. After further testing, errors on the item will wipe out the custom fields, but not on the header.
After much debugging, I found that the customFields for createdDate and user were getting saved to the database. However, the relationship between the receipt and customFields was not being persisted. We believe that the customFields were created when the error occurred, and then persisted when the error was fixed. The fix for this was to set the customFields to null, and then set the value again.
The user would like saved entities to be updated with the correct created-by user and created date.
The user created a Receipt in the system but, when saved, the created date and created by user were blank.
Investigate, record findings in comments, and fix
Link to screenshot: https://mcoecn.atlassian.net/wiki/x/rcAw
During the meeting it was discovered that the accountQueryService is not limiting the results to active accounts (parent account must also be active). This will be corrected on USASR-3154.
When selecting an inactive account the created date and user custom fields are removed. After further testing, errors on the item will wipe out the custom fields, but not on the header.
Research and fix.