/// <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 Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 765 Super User 2025 Season 2
CA Neeraj Kumar 743
Sumit Singh 551