随笔分类 -  D365/AX

摘要:1.在环境中,大家可以参考类LedgerConsolidate; 2.流文件的导入; CommaTextStreamIo commaTextIo; container trans; str value; commaTextIo = CommaTextStreamIo::constructForRea 阅读全文
posted @ 2020-06-12 09:28 Alfred_CN 阅读(619) 评论(0) 推荐(0)
摘要:1.将文件上传到Azure的特定容器下; 下面以将文件上传到Azure的Container下。 using Microsoft.WindowsAzure.Storage;using Microsoft.WindowsAzure.Storage.Auth;using Microsoft.Windows 阅读全文
posted @ 2020-06-02 20:28 Alfred_CN 阅读(408) 评论(0) 推荐(0)
摘要:今天有同事问我关于AX2012里,如何直接输出json字符串的问题,这里就顺手写点东西跟大家分享下。 一.AX2012中将字段信息序列化成json字符串: 1.1.AX2012中将字段信息序列化成json字符串截图; 1.2.关键代码: static void Alfred_Field2Json(A 阅读全文
posted @ 2020-06-01 22:09 Alfred_CN 阅读(732) 评论(0) 推荐(1)
摘要:这里演示下批量上传文件到D365的小程序工具,下载功能也是一样的思路跟逻辑。 这里分享下思路及关键代码。 1.上传下载都使用byte[]来接口传输流文件,把buffer当作参数传输。 fileStream = new FileStream(fullfilename, FileMode.Open, F 阅读全文
posted @ 2020-05-11 09:22 Alfred_CN 阅读(647) 评论(0) 推荐(1)