其它開(kāi)發(fā)手冊(cè)_第1頁(yè)
其它開(kāi)發(fā)手冊(cè)_第2頁(yè)
其它開(kāi)發(fā)手冊(cè)_第3頁(yè)
其它開(kāi)發(fā)手冊(cè)_第4頁(yè)
其它開(kāi)發(fā)手冊(cè)_第5頁(yè)
已閱讀5頁(yè),還剩23頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

ORACLE應(yīng)用技 CreationDate: Last ReferenceNumber> <Approver<ApproverCopy ControlChange4ChangeNoPrevious 1234NoteToIfyoureceiveanelectroniccopyofthisandprintitout,pleasewriteyournameontheequivalentofthecoverpage,forcontrolIfyoureceiveaofthis,pleasewriteyournameonthefrontcover,forcontrolpurposes. 概 背景與基具有oracleerpOracleConfigurator應(yīng)用是OracleEBS中的一個(gè)模塊,用于定制產(chǎn)品或者服務(wù),OracleConfiguratorOracleConfiguratorDeveloper->Repository常用的主要對(duì)象類(lèi)型有Folder,Model,Property,ConfiguratorExtensionArchive。ConfiguratorExtensionArchive是主要用于使用java編寫(xiě)的自定義規(guī)則打成的jarConfiguratorExtensionLogicRule、Numeric parisonRule、StatementRule、ExplicitCompatibility、DesignChart、Property-BasedCompatibility、Configurator測(cè)試 TestModel在EBS中查看設(shè)置好的規(guī)則。OracleConfiguratorModelPublication主要功能將已經(jīng)一個(gè)完整的Model發(fā)常用表及Model的id于EBS性域的概念常用ConfiguratorInterfaceObject:這是一個(gè)JavaAPI,需要從EBS上獲得,主要用如果需要在自己的客戶(hù)化應(yīng)用中使用OracleConfiguratorInterfaceObject(簡(jiǎn)稱(chēng)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中庫(kù)文件$ORACLE_HOME/lib/$ORACLE_HOME/lib//root/CIO/bin,執(zhí)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");先設(shè)置可添項(xiàng)if(p!=null&&p.hasStringValue()&&p.getStringValue().equals(prop)){if(irninstanceofBomNode)((BomNodeirn).setState(IState.UNKNOWN);對(duì)于和modeltype相同的}}}privatevoidexcludeRelatedNode(IRuntimeNodeirn,StringthrowsLogicalExceptionPropertypirn.getPropertyByName("OptionType");if(p==||!p.hasStringValue()||!p.getStringValue().equals(prop))if(irninstanceofBomNode){((BomNode)irn).setState(IState.FALSE);//對(duì)于和modeloption}}}署登錄Configurator,進(jìn)入OracleConfiguratorOracleConfiguratorDeveloper->RepositoryMain->創(chuàng)建選擇ConfiguratorExtension上傳ArchivePath選中待使用的Extension,點(diǎn)擊AddtoSelectedCratronfigurao的好個(gè)接口在戶(hù)化應(yīng)中夠動(dòng)加載規(guī)對(duì)的類(lèi)即完(ConfigratrExtenson預(yù)定義事件,以下摘自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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論