How can download attachment file in Microsoft Dynamics AX using DocumentHandlingService and C#(API)?
public FileResult fileDownload(long docRefRecId,string fileName) { byte[] fileByte; CallContext context = new CallContext(); DocumentHandlingServiceClient client = new DocumentHandlingServiceClient(); DocumentFileDataContract contract; client.ClientCredentials.Windows.ClientCredential.D...