会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
每天进步一点
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
4
5
6
7
8
9
10
11
12
···
22
下一页
2012年3月6日
直接打印报表
摘要: 在ax中有时可能需要在打印时,不显示报表的预览与设置窗口,而是直接Send到打印机。可以使用ClassFactory、PrintJobSettings、ReportRun来完成。 static void NJ_MF_DirectPrint(Args _args) { Args args = new Args(); Re...
阅读全文
posted @ 2012-03-06 08:55 perock
阅读(407)
评论(0)
推荐(0)
2012年3月5日
导出的MF_ToolBar文件xpo
摘要: Exportfile for AOT version 1.0 or later Formatversion: 1 ***Element: FTM ; Microsoft Dynamics AX MENUITEM : MF_QueryBrowser unloaded ; ---------------------------------------------------------...
阅读全文
posted @ 2012-03-05 08:58 perock
阅读(832)
评论(0)
推荐(0)
2012年3月2日
ax2009 在工作区中放置多个窗体
摘要: Ax2009与4.0在窗体显示上有所不同,2009中除Aot、编辑器之外的窗体一量失去焦点后会从工作区中隐藏,这时需要在窗口菜单中寻找,这使得开发人员十分不方便。 2009中默认窗体的属性WindowType多了三种类型: FormWindowType枚举值: ContentPage ListPage Popup Standard ...
阅读全文
posted @ 2012-03-02 10:15 perock
阅读(297)
评论(0)
推荐(0)
Find方法 Exist方法
摘要: 在ax中新建表时,通常要实现这两个方法,以便于重用。下面贴出Find与Exists方法示例,摘自表InvenBatch Find方法: static InventBatch find(InventBatchId _inventBatchId, ItemId _itemId, boolean _forupdate = false) { InventBatch inven...
阅读全文
posted @ 2012-03-02 08:53 perock
阅读(360)
评论(0)
推荐(0)
2012年3月1日
获取公司Logo 从资源中取图片
摘要: 使用FormLetter取Logo图,下面方法是某报表中display方法 display Bitmap dispCompanyLogo() { return FormLetter::companyLogo(); } display Bitmap dispCompanyName() { Image tempImage = ne...
阅读全文
posted @ 2012-03-01 16:09 perock
阅读(429)
评论(0)
推荐(0)
使用ExcelApplication读取Excel文件
摘要: public static server PwC_Import readexcel(filenameopen _file) { #Excel #AviFiles SysExcelApplication excelApp = SysExcelApplication::construct(); SysOperationPro...
阅读全文
posted @ 2012-03-01 15:52 perock
阅读(2261)
评论(1)
推荐(0)
领料过账 与 退料过账
摘要: 领料或退料过账,主要是用两个Class来完成 ProdJournalCheckPost ProdJournalCheckPostBOM::newJournalCheckPost(); 过账步骤: 在ProdJournalTable建立领料日志,插入相关数据与生成凭证编号 在ProdJournalBom插入领料日志行,与主表关联 使用上述两过账类: jour...
阅读全文
posted @ 2012-03-01 12:25 perock
阅读(490)
评论(0)
推荐(0)
主单位与次单位
摘要: static Qty ConvertUnit(InventTable _inventTable,Qty _qtyFrom,UnitID _unitTo) { qty qtyTo; ; setprefix("Unit Conversion"); if (_inventTable.inventTableModuleInvent()...
阅读全文
posted @ 2012-03-01 12:14 perock
阅读(378)
评论(0)
推荐(0)
使用自定义Form做 lookup窗体
摘要: 使用自定义窗体做为Lookup窗体,其实非常简单:关键地方有两处: CloseSelect方法 this.performFormLookup(formRun); 步骤: 新建一个窗体作为lookup窗体,将Frame设为Border; 添加一个数据源,这个数据源即是lookup内容; 覆盖窗体方法CloseSelect写上: (此处我们将Unit表作为Loo...
阅读全文
posted @ 2012-03-01 12:11 perock
阅读(311)
评论(0)
推荐(0)
num2eng
摘要: static str num2eng(real _num) { str ret, sign, sCents = ''; int tThousand, i; str sThousand[8]; //---------------------------------------------------------- ...
阅读全文
posted @ 2012-03-01 11:59 perock
阅读(303)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
22
下一页
公告