I am generating a .pdf file in an asp.net/c# enviroment. Then I convert the file to byte[] and send it to Dynamics AX. Is there a way to convert the byte[] back to .pdf and save it as DocuRef.
Asked
Active
Viewed 1,842 times
1 Answers
2
If you want to save it as a file and reference it via a DocuRef
record then just recreate the file on a network share or something similar via .NET (e.g. using System.IO.FileStream)

DAXaholic
- 33,312
- 6
- 76
- 74
-
See this how to use a MemoryStream: http://dev.goshoom.net/en/2011/10/binary-data-in-ax2012/ – Jan B. Kjeldsen Jan 14 '15 at 11:06