下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
ORACLE应用技 CreationDate: Last ReferenceNumber> <Approver<ApproverCopy ControlChange4ChangeNoPrevious 1234NoteToIfyoureceiveanelectroniccopyofthisandprintitout,pleasewriteyournameontheequivalentofthecoverpage,forcontrolIfyoureceiveaofthis,pleasewriteyournameonthefrontcover,forcontrolpurposes. 概 背景与基具有oracleerpOracleConfigurator应用是OracleEBS中的一个模块,用于定制产品或者服务,OracleConfiguratorOracleConfiguratorDeveloper->Repository常用的主要对象类型有Folder,Model,Property,ConfiguratorExtensionArchive。ConfiguratorExtensionArchive是主要用于使用java编写的自定义规则打成的jarConfiguratorExtensionLogicRule、Numeric parisonRule、StatementRule、ExplicitCompatibility、DesignChart、Property-BasedCompatibility、Configurator测试 TestModel在EBS中查看设置好的规则。OracleConfiguratorModelPublication主要功能将已经一个完整的Model发常用表及Model的id于EBS性域的概念常用ConfiguratorInterfaceObject:这是一个JavaAPI,需要从EBS上获得,主要用如果需要在自己的客户化应用中使用OracleConfiguratorInterfaceObject(简称cdjarcvforacle.apps.cz.jarjarcvfo mon.jaro jarcvforacle.apps.fnd.metadata.jaroracle/apps/fnd/metadata/*jarcvforacle.apps.fnd.multi .jaroracle/apps/fnd/multi jarcvforacle.apps.fnd.security.jaroracle/apps/fnd/security/*jarcvforacle.apps.fnd.util.jaroracle/apps/fnd/util/*jarcvforacle.apps.jtf.jaroracle/apps/jtf/*jarcvforacle.fnd.util.jaroracle/fnd/util/*jarcvfcom.sun.java.util.collections.jarcom/sun/util/collections/*jarcvfEDU.oswego.cs.jarEDU/oswego/cs/*mvninstall:install-file-Dfile=jar包的位置-DgroupId=上面的groupId-DartifactId=上面的artifactIdDversion=上面的versionDpackaging=jarmvninstall:install-file-Dfile=D:\mvn\oracle.apps.fnd.metadata.jar-DgroupId=oracle.apps.cz-DartifactId=oracle-apps-cz-Dversion=1.0-cd$FND_SECURE使用ftp工具dbc文从EBS中库文件$ORACLE_HOME/lib/$ORACLE_HOME/lib//root/CIO/bin,执export System.setProperty("FND_TOP","/root/CIO");System.setProperty(Const.JTFDBCFILE,"DEMO.dbc");Stringstr=System.getProperty("JTFDBCFILE");CZWebAppsContextctx=newCZWebAppsContext(str);System.out.println("CreatedCZWebAppsContext");WebAppsContextwac=newWebAppsContext(str);Stringusr="alin";//oracleappusernameStringpwd="handhand1";//oracleapppwdSessionManagersm=ctx.getSessionManager();booleanresult=sm.valida ogin(usr,pwd);sm.setResp(708,24188);CIOcio=newintmodelId=130960;//modelIDcz_devl_projectsConfigParameterscp=newConfigParameters(modelId);java.util.CalendarmodelLookupDate=Calendar.getInstance();getChildByID(intgetChildByName(StringprivatevoidexcludeCTO(IRuntimeNodeopt)throwsLogicalException,NoSuchChildException,SelectionNotMutexedException{("enteringexcludeCTOin:"+getClass());IRuntimeNodeserver=opt;if(server!=null)("serverNamePathis:"+server.getNamePath());Stringvalue=server.getPropertyByName("OptionListprocessorList=opt.getRootInstance().getChildByName("OD-ListmemoryList=opt.getRootInstance().getChildByName("OD-IteratorproIr=while(proIr.hasNext())this.includeRelatedNode((IRuntimeNode)
}proIr=while(proIr.hasNext())this.excludeRelatedNode((IRuntimeNode)
}IteratormemIr=while(memIr.hasNext())this.includeRelatedNode((IRuntimeNode)
}memIr=while(memIr.hasNext())this.excludeRelatedNode((IRuntimeNode)}}}privateprivatevoidincludeRelatedNode(IRuntimeNodeirn,StringthrowsLogicalExceptionPropertypirn.getPropertyByName("OptionType");先设置可添项if(p!=null&&p.hasStringValue()&&p.getStringValue().equals(prop)){if(irninstanceofBomNode)((BomNodeirn).setState(IState.UNKNOWN);对于和modeltype相同的}}}privatevoidexcludeRelatedNode(IRuntimeNodeirn,StringthrowsLogicalExceptionPropertypirn.getPropertyByName("OptionType");if(p==||!p.hasStringValue()||!p.getStringValue().equals(prop))if(irninstanceofBomNode){((BomNode)irn).setState(IState.FALSE);//对于和modeloption}}}署登录Configurator,进入OracleConfiguratorOracleConfiguratorDeveloper->RepositoryMain->创建选择ConfiguratorExtension上传ArchivePath选中待使用的Extension,点击AddtoSelectedCratronfigurao的好个接口在户化应中够动加载规对的类即完(ConfigratrExtenson预定义事件,以下摘自DeveloperEventRelatedEventParameterNameand EventdispatchedafterinitializationoftheConfiguratorExtension.Thiscanoccuroninitializationofaconfigurationsession,orruntimeadditionofaBaseNodeEventdispatchedimmediaybeforeterminationoftheConfiguratorExtension.Thiscanoccuronterminationofaconfigurationsession,orruntimedeletionofaBaseNodeComponentEventdispatchedimmediayafteraddingacomponentcompSet(ComponentSet)instance(Component)AllComponentEventdispatchedimmediayafterdeletingacomponentcompSet(ComponentSet)instance(Component)AllComponentEventdispatchedimmediayaftermakingacomponentinstanceeditable.instanceAllComponentEventdispatchedimmediayaftermakingacomponentinstancenon-editable.instanceAllComponentEventdispatchedimmediayafteracomponent’sinstancenameischanged.instanceAllRuntimeEventdispatchedwhenacomponentinstanceorotherassociatednodeiscreated,orbroughtintotheconfiguration.newNodeAllRuntimeEventdispatchedimmediayafteracomponentinstanceorotherassociatednodeiscreated,orbroughtintothenewNodeAllEventdispatchedduringthevalidationofeligibleConnectorinstances.AmethodboundtothiseventshouldreturnaBooleanvalue.OracleConfiguratorusesthisvaluetodecidewhethertheconnector(Connector)(Component)BaseNodeEventParameteriseligible.IftheboundmethoddoesnotreturnanyBooleanvalue,thenitassumesthatiseligible.EventdispatchedimmediayafteraConnectorisconnectedtoacomponentconnector(Connector)(Component)AllEventdispatchedimmediayafteraConnectorisdisconnectedfromacomponentinstance.connector(Connector)(Component)AllCustomEventdispatchedwhenOracleConfiguratorrunsacustom-definedcommand.Thiseventmustbeusedwhengeneratingcustomoutput.AllEventdispatchedimmediayafterinitializinganeworrestoredconfigurationsession.GlobalEventdispatchedimmediayafteranewconfigurationsessionhasbeeninitialized.GlobalEventdispatchedimmediayafterarestoredconfigurationsessionhasbeeninitialized.GlobalEventdispatchedimmediaybeforeterminatingaconfigurationsession.IntheUI,thisoccursafteruserclickseitherthe"Done"or"Cancel"buttonandthenclicksan"OK"buttontodismissanynotificationsorwarningsthatmightbedisplayedbyOracleGlobalEventdispatchedimmediaybeforecompletingaconfigurationsession.IntheUI,thisoccursafteruserclicksthe"done"buttonandthenclicksan"OK"buttontodismissanynotificationso
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 8D报告你真的会写吗先把这些搞清楚
- 《句型转换》系列微课
- 《我喜欢的水果》教学设计
- 51物流与电子商务物流教案
- 心内科旋转测试题及答案
- 职场人际关系管理测试答案
- 征兵心理测试题及应对策略研究
- 职业规划与职业发展测试题集附答案解析
- 2025上海宋庆龄幼儿园工作人员招聘2人笔试考试参考题库及答案解析
- 2026新疆天康生物校园招聘笔试考试参考试题及答案解析
- GB/T 3836.31-2021爆炸性环境第31部分:由防粉尘点燃外壳“t”保护的设备
- 日用百货购销合同标准范本
- GB/T 2423.29-1999电工电子产品环境试验第2部分:试验方法试验U:引出端及整体安装件强度
- GB/T 20666-2006统一螺纹公差
- GB/T 18847-2002聚氯乙烯覆膜金属板
- GB/T 11406-2001工业邻苯二甲酸二辛酯
- 需配备的物业办公物资表
- 洲际酒店员工培训l课件
- 涉电镀工艺企业(园区)安全隐患排查表
- 心愿(任志萍词伍嘉冀曲、吴小平编合唱)合唱谱图片格式-合唱谱
- 大华网络摄像机检测报告DHIPCHFW12XYZM
评论
0/150
提交评论