Unable to insert or update fields in custom local table after v15 upgrade

Hello,

We upgraded to v15.0.6 around May this year. I discovered in error in a seldom-used custom local table that we have to help capture name tag information for special events. The local table as application access through a constituent's custom tab. When either trying to edit or create a new entry for that name tag, I would receive error 8152 (String or binary data would be truncated). This seemed odd as the 4 fields (Customer name + 3 other detail fields) were all given datatypes of varchar(255) or higher.

When looking at the other columns in SSMS, I saw that there were created_by and last_updated_by fields with char(8) datatypes for each. This still seemed odd as all of our users have usernames with 8 character maximums. I decided to alter the columns in TEST as an experiment to see if this was causing the error and, sure enough, it did. However, not in the way I expected.

We are on RAMP, so I thought that since we opted to use the single signon feature in v15 that my RAMP login would populate those fields, but, instead, "tessitura_app" was the username called by the trigger associated with that local table. This was just my guess. Turned out to be correct, but for a different reason.

Has anyone else run into this with custom local tables? I'm wondering if there is a better workaround than altering the columns? Any suggestions are appreciated.

Tony ;})

Parents Reply Children
No Data