Question:
When creating a Sample Transfer from the My Samples tab, end-user encounters the following error message:
Sample_Transaction_To_Audit_vod: execution of BeforeUpdate caused by: System.DmlException: Insert failed. First exception on row 0 first error: STRING_TOO_LONG, Zip: data value too large: Zip Code values (max length=6): [Zip_vod__c] Trigger.Sample_Transaction_To_Audit_vod: line 164, column 1.
Answer:
The Zip_vod values exceeds the 6-character long Text field.
With the introduction of V17R3, the Zip_vod field on the following objects now supports zip codes up to 20 characters:
- Rep_Roster_vod
- Sample_Transaction_vod
- Sample_Transaction_Audit_vod
- Sample_Order_Transaction_vod
For existing orgs prior to V17R3, the Zip_vod field character length can be updated to support up to 20 characters.
Related Documentation:
CRM Help Documentation: Introduction to Veeva CRM 17R3
Send us your feedback: We are always looking for feedback to help improve our Knowledge Base! Please let us know if this article is helpful or provide feedback on how we can improve your experience by clicking here.