eclipse中NC服务器端的配置属性
-Dnc.exclude.modules=${FIELD_EX_MODULES} -Dnc.runMode=develop -Dnc.server.location=${FIELD_NC_HOME} -DEJBConfigDir=${FIELD_NC_HOME}/ejbXMLs -DExtServiceConfigDir=${FIELD_NC_HOME}/ejbXMLs
-XX:PermSize=100M -Xms256m -Xmx584m
-Duser.timezone=Asia/Shanghai
比较耗时的操作,加运行中弹窗 避免出现假死现象
runnable checkrun = new runnable(){
public void run(){
//线程对话框,系统运行提示框
bannerdialog dialog = new bannerdialog(clientui);
dialog.start();
try{
//将需要做处理的方法写在这里
//code
}catch(exception e){
e.printstacktrace();
}finally{
dialog.end();
}
}
};
//启用线程
new thread(checkrun).start();
获取单据模板一个页签的数据构造成一个billcardpanel
card.getbilldata().setheaditems(cardmodel.getbilldata().getheaditems("tabname"));
card.setbilldata(card.getbilldata());
公式加载
card.setautoexecheadeditformula(true);
card.execheadeditformulas();
单据表体不能排序,行号不显示
table.setsortenabled(false);
card.getbodypanel().setrownoshow(false);
nc打开其他节点,
nc.ui.uap.sf.SFClientUtil.showNode("节点号",2);
NC建库脚本:
CREATE TABLESPACE NNC_DATA01 DATAFILE 'J:\oracledatabase\ORADATA\ORA9I\nnc_data01.dbf' SIZE 500M AUTOEXTEND ON NEXT 50M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K ;
CREATE TABLESPACE NNC_DATA02 DATAFILE 'J:\oracledatabase\ORADATA\ORA9I\nnc_data02.dbf' SIZE 300M AUTOEXTEND ON NEXT 50M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K ;
CREATE TABLESPACE NNC_DATA03 DATAFILE 'J:\oracledatabase\ORADATA\ORA9I\nnc_data03.dbf' SIZE 500M AUTOEXTEND ON NEXT 100M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 512K ;
CREATE TABLESPACE NNC_INDEX01 DATAFILE 'J:\oracledatabase\ORADATA\ORA9I\nnc_index01.dbf' SIZE 500M AUTOEXTEND ON NEXT 50M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K ;
CREATE TABLESPACE NNC_INDEX02 DATAFILE 'J:\oracledatabase\ORADATA\ORA9I\nnc_index02.dbf' SIZE 300M AUTOEXTEND ON NEXT 50M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K ;
CREATE TABLESPACE NNC_INDEX03 DATAFILE 'J:\oracledatabase\ORADATA\ORA9I\nnc_index03.dbf' SIZE 500M AUTOEXTEND ON NEXT 100M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K ;
CREATE USER NC50 IDENTIFIED BY NC50 DEFAULT TABLESPACE NNC_DATA01 TEMPORARY TABLESPACE temp;
GRANT connect,dba to NC50;