应用ST模板创建GUI单据
原创约 389 字大约 1 分钟...
11-应用ST模板创建GUI单据.md
注意
本博文仅供学术研究和交流参考,严禁将其用于商业用途。如因违规使用产生的任何法律问题,使用者需自行负责。
- 创建单据视图
















- 修改界面代码

/**
* (non-Javadoc)
* @see com.kingdee.eas.st.common.client.STBillBaseEditUI#createNewDetailData(com.kingdee.bos.ctrl.kdf.table.KDTable)
*/
protected IObjectValue createNewDetailData(KDTable table){
//此处为new一个单据分录的info对象
return new TestBillEntryInfo();
}
protected OrgType getMainBizOrgType(){
//主业务组织的组织类型:请根据需求自行添加
// OrgType.Admin;//行政组织
// OrgType.Company;//财务组织
// OrgType.ControlUnit;//管理单元
// OrgType.CostCenter;//成本中心
// OrgType.HRO;//HR组织
// OrgType.NONE;//无组织属性
// OrgType.ProfitCenter;//利润中心
// OrgType.Purchase;//采购中心
// OrgType.Quality;//质检中心
// OrgType.Sale;//销售中心
// OrgType.Storage;//库存组织
// OrgType.Transport;//发运组织
// OrgType.UnionDebt;//合并范围
return OrgType.Storage;
}
//忽略组织过滤
protected void setOrgF7(KDBizPromptBox f7,OrgType orgType)throws Exception{
com.kingdee.eas.basedata.org.client.f7.NewOrgUnitFilterInfoProducer oufip = new com.kingdee.eas.basedata.org.client.f7.NewOrgUnitFilterInfoProducer(orgType);
f7.setFilterInfoProducer(oufip);
}

protected OrgType getMainBizOrgType(){
return OrgType.Storage;
}
protected String getPropertyOfBizOrg(OrgType orgType){
return "storageOrgUnit.id";
}
- 创建客户端菜单



- 未解决的问题,如下图所示

分割线
相关信息
以上就是我关于 应用ST模板创建GUI单据 知识点整理与总结的全部内容,希望对你有帮助。。。。。。。
Powered by Waline v2.15.4