/// <summary> /// Entity used to Dual-Write document attachments for the <c>CustomerAttachmentsV2Entity</c> table. /// </summary> public class CustomerAttachmentsV2Entity extends common { /// <summary> /// Populates virtual fields. /// </summary> public void postLoad() { super(); // Virtual fields are not auto-populated from the base entity, so an extra select is necessary. if (this.RecId && this.DocumentId != emptyGuid()) { DocuRefEntity baseEntity; select firstonly baseEntity where baseEntity.DocumentId == this.DocumentId; this.FileContents = baseEntity.FileContents; this.fieldExternallySet(fieldNum(CustomerAttachmentsV2Entity, FileContents), false); } } }
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 2,257
André Arnaud de Cal... 913 Super User 2025 Season 2
Sohaib Cheema 611 User Group Leader