Dynamics AX Knowledge

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2008年10月29日

摘要: 1, Copy axwebdeploy.dll to system32 folder and register it.2, Make a web page and insert a ActiveX. classid=clsid:B6905E70-4B33-11D3-A498-0008C7DB06E6。 (AX3 is OK)Create those folder:axcab(axwebdeploy.cab); axsetup(AX3 Client installation program); axsp(AX3SP3 web client); axxpo (.xpo file).Web Desi 阅读全文
posted @ 2008-10-29 16:55 Jacky Xu 阅读(393) 评论(0) 推荐(0) 编辑

2008年10月15日

摘要: “U”是一种表示机架式服务器外部尺寸的单位,是unit的缩略语,详细尺寸由作为业界团体的美国电子工业协会(EIA)决定。 之所以要规定服务器的尺寸,是为了使服务器保持适当的尺寸以便放在铁质或铝质机架上。机架上有固定服务器的螺孔,将它与服务器的螺孔对好,用螺丝加以固定。 规定的尺寸是服务器的宽(48.26cm=19英寸)与高(4.445cm的倍数)。由于宽为19英寸,所以有时也将满足这一规定的机架称为“19英寸机架”。 厚度以4.445cm为基本单位。1U就是4.445cm,2U则是1U的2倍为8.89cm。也就是说所谓“1U的PC服务器”,就是外形满足EIA规格、厚度为4.445cm的产品。. 阅读全文
posted @ 2008-10-15 14:37 Jacky Xu 阅读(3753) 评论(0) 推荐(0) 编辑

2008年10月14日

摘要: SQL触发器[转] 一、创建一个简单的触发器触发器是一种特殊的存储过程,类似于事件函数,SQL Server™ 允许为 INSERT、UPDATE、DELETE 创建触发器,即当在表中插入、更新、删除记录时,触发一个或一系列 T-SQL语句。触发器可以在查询分析器里创建,也可以在表名上点右键->“所有任务”->“管理触发器”来创建,不过都是要写 T-SQL 语句的,只是在查询分析器里要先确定当前操作的数据库。创建触发器用 CREATE TRIGGERCREATE TRIGGER 触发器名称ON 表名FOR INSERT、UPDATE 或 DELETEAS T-SQL 语句注意:触发 阅读全文
posted @ 2008-10-14 15:07 Jacky Xu 阅读(304) 评论(0) 推荐(0) 编辑

2008年10月7日

摘要: You can copy it to a job: LoginProperty loginProperty = new LoginProperty(); ODBCConnection con; Statement stmt; strsqlString, result; ResultSetresultSet; ; loginProperty.setServer('servername'); loginProperty.setDatabase('DB name'); loginProperty.setUsername('username'); log 阅读全文
posted @ 2008-10-07 16:14 Jacky Xu 阅读(282) 评论(0) 推荐(0) 编辑

摘要: When u defined a int variable, it max value is 2147483647=(2^32)-1 and min value is -2147483648=-(2^32) 阅读全文
posted @ 2008-10-07 15:28 Jacky Xu 阅读(146) 评论(0) 推荐(0) 编辑

摘要: From http://fredshen.spaces.live.com/blog/In X++, we can use Like '*someIdentifier' to implement the Like keyword.e.g. select firstonly purchTable where purchTable.purchId like '00007*';However if you want to use 'Not Like' in X++ SQL statement, you have three options: The fi 阅读全文
posted @ 2008-10-07 13:37 Jacky Xu 阅读(335) 评论(0) 推荐(0) 编辑

2008年10月6日

摘要: Each of the layers is stored in physical file with the naming AX.AOD. Each layer has two file, one is layer file and another is Services Packs file.The filename for the sys layer is AXSYS.AOD(AXSY... 阅读全文
posted @ 2008-10-06 11:03 Jacky Xu 阅读(216) 评论(0) 推荐(0) 编辑

2008年9月28日

摘要: 在Axapta,有时我们的物料的库存维组需要改变,比如增加Color维度。 这个时候我们就需要更新还是open状态的SalesLine上物料属性,加上相应的Color。 但一旦SalesLine上的物料的Color维度改变,其Sales Price往往也会变化。 在数据库日志里面反映的是这个订单行的InventDimID变化,这是因为SalesLine的物料的维组信息是保存在InventDim里面... 阅读全文
posted @ 2008-09-28 17:03 Jacky Xu 阅读(292) 评论(1) 推荐(0) 编辑

2008年9月23日

摘要: In Database has a table named SystemSequences in Axapta 3. It saved RecId for each company two types:TransId, SEQNOand likes NS In Dynamics AX, recId is assigned according to the nextVal (ID -1, name ... 阅读全文
posted @ 2008-09-23 15:39 Jacky Xu 阅读(990) 评论(0) 推荐(0) 编辑

摘要: select * into PBATableInstanceCopy from dbo.PBATableInstance 阅读全文
posted @ 2008-09-23 12:19 Jacky Xu 阅读(116) 评论(0) 推荐(0) 编辑

2008年9月22日

摘要: This tip is excerpted from Craig Mullins' new book Database administration: The complete guide to practices and procedures. The second and third parts of this series are also available. Database perfo... 阅读全文
posted @ 2008-09-22 17:36 Jacky Xu 阅读(238) 评论(0) 推荐(0) 编辑

2008年9月18日

摘要: According as a test, the below detail can create a number sequence in Axapta. 1, Basic->Setup->Number Sequences-> Number Sequence Form. Create a NS code such as "SN_TEST" from 1 to 999999 and format i... 阅读全文
posted @ 2008-09-18 14:08 Jacky Xu 阅读(216) 评论(0) 推荐(0) 编辑

2008年9月9日

摘要: Wanted to know how big your AOS latency really is? On many Axapta pages you can read that you should not test it with the "ping" command but with Axapta's built-in feature to test the latency. And so ... 阅读全文
posted @ 2008-09-09 21:19 Jacky Xu 阅读(260) 评论(0) 推荐(0) 编辑

摘要: Ever wondered why your COM connection was working while you were logged on to the PC and not working without being logged on? Here's a short guideline how to set-up your COM+ correctly: You hav... 阅读全文
posted @ 2008-09-09 21:17 Jacky Xu 阅读(209) 评论(0) 推荐(0) 编辑

摘要: Have you ever got an error or info message in Axapta saying "Cannot post...." and wanted to know where that error is coming from? Here's a tip how to find out where the info message is thrown. First,... 阅读全文
posted @ 2008-09-09 21:13 Jacky Xu 阅读(229) 评论(0) 推荐(0) 编辑

摘要: Every record in Axapta will have one unique identifier: the RecId. The RecId will be unique per company and the system gets the next RecId number from the table SYSTEMSEQUENCES, field "NEXTVAL". Somet... 阅读全文
posted @ 2008-09-09 21:07 Jacky Xu 阅读(336) 评论(0) 推荐(0) 编辑

摘要: AOS Clustering on one Server Although the time might be near that we do not see the AOS clusters as they are now anymore(4.0 is coming!), here are a few words about clustering AOS in Axapta 3.0: Nor... 阅读全文
posted @ 2008-09-09 21:02 Jacky Xu 阅读(224) 评论(0) 推荐(0) 编辑

2008年9月5日

摘要: SQL Database维护(交易频繁,数据量大的)一般如下: 1, 定期全备份数据库比如说每天 2, 定期备份日志文件,比如每三小时一次 3, 定期做索引,比如说1,2个月一次 如果Database服务器的内存一直上不去,在2GB左右,那么请参看http://www.cnblogs.com/JackyXu1981/articles/1285132.html 阅读全文
posted @ 2008-09-05 15:33 Jacky Xu 阅读(93) 评论(0) 推荐(0) 编辑

摘要: 以下方法是鄙人按照网络上的方法操作步骤 1,打开操作系统中的大内存支持(windows) 大于4GB的物理内存,必须将参数 /pae 添加到 boot.ini 文件中。 [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdi... 阅读全文
posted @ 2008-09-05 14:32 Jacky Xu 阅读(1433) 评论(0) 推荐(0) 编辑

2008年2月26日

摘要: Axapta如何得到系统时间?(Axapta3) 一般本地时间随个人改动,不准确。在2层模式下,Axapta只能得到本地时间。 在三层模式下可以得到系统(AOS)的时间。 首先保证你的应用是在server上运行的。方式如下,在AOT写一个class,这个class call方式是Server。 写一个函数得到当前时间。 三层的客开发只要调用这个类时间就可以了。2层下不行。 阅读全文
posted @ 2008-02-26 11:42 Jacky Xu 阅读(216) 评论(0) 推荐(0) 编辑

2008年2月21日

摘要: 由于IE7默认对安全控制高,当没有设置IE时,对于有的脚本的Web程序默认是无法刷新的,或者出现的是乱码,要将Internet的安全设置调整 1,Internet options-〉advanced-〉Reset 2,打开IE时出现的一个系统默认页面-〉选择‘Let me select from a list of other search providers.’然后保存;这样用户就可以自己设置... 阅读全文
posted @ 2008-02-21 15:24 Jacky Xu 阅读(110) 评论(0) 推荐(0) 编辑

摘要: 鄙人用msn自带工具检查显示DNS,IP等信息都是可以得到的。但是依旧报80048820错误。网络正常,就是msn不可以。 检查是自己更改了系统时间。到windows上更新一下或者调到目前时间即可。如果还不可以就重新注册messenger-dll-files 阅读全文
posted @ 2008-02-21 09:11 Jacky Xu 阅读(204) 评论(0) 推荐(0) 编辑

2008年2月20日

摘要: IIS6 Webconfig文件提示截取错误信息,customerror mode 为Off。错误提示: The current identity (NT AUTHORITY"NETWORK SERVICE) does not have write access to 'C:"WINDOWS"Microsoft.NET"Framework"v2.0.50727"Temporary ASP.NET ... 阅读全文
posted @ 2008-02-20 18:32 Jacky Xu 阅读(188) 评论(0) 推荐(0) 编辑

2008年2月19日

摘要: 1, 在已有的配置文件(Navision Axapta Configuration Utility),确保user是空的 2,在管理-〉用户选项-〉概述-〉用户中,网络账户名和密码必须是计算机登录的名称和密码 阅读全文
posted @ 2008-02-19 12:40 Jacky Xu 阅读(179) 评论(0) 推荐(0) 编辑

2008年2月1日

摘要: 问题描述:对一个6GB的标删除了大概4GB的数据,sp_msTableSpace察看可以看到这个表确实变小了。但是整个数据库的data大小一点也没有变小,且log大小随着删除而膨胀。 解决方法: 1,对于log文件应该周期备份,减少log大小 2,对于data文件,应该shrink。 2.1 shrink database 这个一般效果不大,可以对log文件有些作用 2.2 shrink file... 阅读全文
posted @ 2008-02-01 11:51 Jacky Xu 阅读(375) 评论(0) 推荐(0) 编辑

2008年1月25日

摘要: Temporary Table: 1, All the data will be saved in AOT and not in Database 2, Declared a system table and you can set it as a temporary. Then you can operate the table and it will not take effect in sy... 阅读全文
posted @ 2008-01-25 12:22 Jacky Xu 阅读(218) 评论(0) 推荐(0) 编辑

2008年1月23日

摘要: Concurrent number of AOS' for this application exceeds the licensed number; UDB, AOI 阅读全文
posted @ 2008-01-23 23:10 Jacky Xu 阅读(931) 评论(2) 推荐(0) 编辑

2008年1月18日

摘要: From Quihao 1, 在AOT/Class/application/startuppost下增加以下代码: winApi::shellExecute("net", "time \\\\XXX.XXX.XXX.XXX /set /y", '', '', 0) ; 把XXX.XXX.XXX.XXX改为时间服务器的IP地址。 2, 在Global函数里面添加这样两个函数 Static Serve... 阅读全文
posted @ 2008-01-18 15:30 Jacky Xu 阅读(242) 评论(0) 推荐(0) 编辑

摘要: 除了args直接传递之外还有两个方法 1。strPurchId =PurchTable_PurchIdAdvanced.text() ,直接读这个control的值 2。PurchTable _pt ; _pt = PurchTable_DS.cursor() ; strPurchId = _pt.PurchId ; 对于方法1在... 阅读全文
posted @ 2008-01-18 12:04 Jacky Xu 阅读(272) 评论(0) 推荐(0) 编辑

2008年1月10日

摘要: kill spid,sp_who 阅读全文
posted @ 2008-01-10 11:21 Jacky Xu 阅读(892) 评论(0) 推荐(0) 编辑