Field types in Dynamics Ax

2019-08-15 18:42发布

问题:

Is it possible to store binary information in a Dynamics field? For example, I'd like to store an MS Word document inside the Dynamics database.

回答1:

Yes, add a container field to the table, then use the BinData Class to read the file and convert the data to a container. For an examples of this, look at how the standard Document handling feature stores files in the database in the table method DocuValue.writeDocuValue(), or look at how image files are stored in the CompanyImage form.