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

浙公网安备 33010602011771号