Posts

Showing posts from July, 2025

D365 F&SCM - Get the Azure Attachment Document URL via X++

Image
 Problem Statement:            The user requires that all invoice-related document attachments be accessible from a single location within the voucher transaction window. Based on their needs, the user should be able to view each document by clicking on its corresponding hyperlink. Fix: Introduce one display method for fixing this requirement.  Step 1: Add a single-line text box to the existing voucher transaction window. (FormStringControl:  DocValue_AccessInformation )   Step 2: Use the COC to get the document location. [ExtensionOf(tableStr( GeneralJournalEntry ))] internal final class GeneralJournalEntry_Extension {           [SysClientCacheDataMethod(true)]           display Str1260 displayVendorTransactionAttachment()           {               DocuValue           docu...