I created a new entry in the Customer table with the following:
Assign Value to ActionResult: resultName = New Company 33
Insert record into Customer table:
CompanyName = resultName
Contact = resultName
Name = resultName
When I export the Entity table I see the following entry:
CompanyName = New Company 33
Contact = New Company 33
Name = New Company 33
RecordID = 6876
...but this is in the Contacts table:
CompanyName = New Company 33
Entity = New Company 33
EntityRecordID = 6876
Name = New Compa 33
The Contacts.Name field is "New Compa 33" NOT "New Company 33". The "ny" is missing from the middle word! The Contacts table is linked to the Entity table by the Entity dropdown. This does not happen everytime I add a customer but often enough to cause errors with another routine I use (checking if contact name = company name). Could this be due to not using Customer.FirstName and Customer.LastName to create the contact name in the customer table? I have added several customers with this method and most are created without errors.
When the Contacts.Name field is missing letters, I've noticed a strange behavior. If I edit the Customer and set everything to the same name again, it temporarily switches to the correct values. When I open a job of this customer (for example, New Company 33:Test Person), the Contacts.Name field reverts to "New Compa 33"... missing letters again. If the Contacts.Name field is correct, the system behaves correctly and names are not changed. It seems to only happen with records whose Name field is somehow corrupted.
Any ideas how to fix this or prevent it from happening? Thanks!