nc 5:
// 根据数据源编码获取数据源名称
import hz.bs.sm.login.AccountXMLUtil;
dnsName = AccountXMLUtil.findDsNameByAccountCode(accountCode);
// 设置系统默认的数据源名称
InvocationInfoProxy.getInstance().setUserDataSource(dnsName);
/**
* 添加默认字段值的代码块
* 如果需要该代码,请放开该注释
BillField fileDef = BillField.getInstance();
String billtype = getUIControl().getBillType();
String pkCorp = getEnvironment().getCorporation().getPrimaryKey();