Issue with programmatically created LOV on Advanced Search Screen in OCO.

Hi All,
I am trying to create a LOV programmatically on Advanced search screen of Oracle Customer's Online module for the country field present there, i have extended a controller and
in it i am carrying out the creation for this.
i am using the below code to do this.
i am able to access the particular rowlayout bean and code below is starting after that.
OARowLayoutBean CountryRowLayoutBean =
                        (OARowLayoutBean)RgtColTableLayoutBean.getIndexedChild(8);
                    if (pageContext.isLoggingEnabled(PROCEDURE))
                        pageContext.writeDiagnostics(this,
                                                     "CountryRowLayoutBean: " +
                                                     CountryRowLayoutBean,
                                                     PROCEDURE);
                    int CountryRowLytChldCount =
                        CountryRowLayoutBean.getIndexedChildCount();
                    if (pageContext.isLoggingEnabled(PROCEDURE))
                        pageContext.writeDiagnostics(this,
                                                     "CountryRowLytChldCount : " +
                                                     CountryRowLytChldCount,
                                                     PROCEDURE);
                    OAMessageTextInputBean CountryMsgTxt =
                        (OAMessageTextInputBean)CountryRowLayoutBean.getIndexedChild(2);
                    if (pageContext.isLoggingEnabled(PROCEDURE))
                        pageContext.writeDiagnostics(this,
                                                     "CountryMsgTxt : " +
                                                     CountryMsgTxt,
                                                     PROCEDURE);
                    CountryMsgTxt.setRendered(false);
                    OAMessageLovInputBean CountryLOV =
                        (OAMessageLovInputBean)createWebBean(pageContext,
                                                             LOV_TEXT, null,
                                                             MatchRuleAttrId); //MatchRuleAttrId - the fields are rendered through DQM so, this is the Id for the text input , same is taken as id for LOV, to enable search later.
                    if (pageContext.isLoggingEnabled(PROCEDURE))
                        pageContext.writeDiagnostics(this,
                                                     "CountryLOV : " + CountryLOV,
                                                     PROCEDURE);
                    CountryRowLayoutBean.addIndexedChild(CountryLOV);
                    Integer webBeanRegionAppId =
                        (Integer)webBean.getAttributeValue(REGION_APPLICATION_ID);
                    CountryLOV.setAttributeValue(REGION_APPLICATION_ID,
                                                    webBeanRegionAppId);
                    // Specify the path to the base page.
                    CountryLOV.setAttributeValue(REGION_CODE,
                                                    "/oracle/apps/imc/ocong/search/webui/ImcSearchPage");
                              CountryLOV.setAttributeValue(LOV_REGION_APPLICATION_ID,
                                                    webBeanRegionAppId);
                    // Specify the LOV region definition.
                    CountryLOV.setLovRegion("/oracle/apps/ar/hz/address/webui/HzCountryLOV",
                                               webBeanRegionAppId.intValue()); //Standard LOV region used
                    // Validation should be enabled for LOVs unless it's essential for the field to allow a partial value (in a "Search" region, for example).
                    CountryLOV.setUnvalidated(false);
                    CountryLOV.setAttributeValue(SELECTIVE_SEARCH_CRITERIA,
                                                    true);
                    CountryLOV.setAttributeValue(SEARCH, true);
                    // Configure the LOV mappings.
                    // Note that you must call this method after you add the messageLovInput item
                    // to the web bean hierarchy.
                    // base page item
                    // lov item
                    // direction
                    if (pageContext.isLoggingEnabled(PROCEDURE))
                        pageContext.writeDiagnostics(this,
                                                     "webBeanRegionAppId : " +
                                                     webBeanRegionAppId,
                                                     PROCEDURE);
                    if (pageContext.isLoggingEnabled(PROCEDURE))
                        pageContext.writeDiagnostics(this,
                                                     "MatchRuleAttrId : " +
                                                     MatchRuleAttrId,
                                                     PROCEDURE);
                    CountryLOV.addLovRelations(pageContext,
                                                  MatchRuleAttrId,
                                                  "TerritoryShortName",
                                                  LOV_RESULT,
                                                  LOV_REQUIRED_NO); // base page item
                    // lov item
                    // direction
                    CountryLOV.addLovRelations(pageContext,
                                                  MatchRuleAttrId,
                                                  "TerritoryShortName",
                                                  LOV_CRITERIA,
                                                  LOV_REQUIRED_NO);
I am facing the issue that the torch icon is visble on the screen but when i click on it, it does not display the LOV region and a blank page saying website declined to show the page is displayed.
Please suggest what needs to be added that i am missing right now.
Thanks,
Mayank

on the first option I mean you can add new region  programaticaly like this on Processrequest
            OAStackLayoutBean newLocationLovs=
                (OAStackLayoutBean)createWebBean(pageContext
                                                    ,"/yandex/oracle/apps/csi/instance/location/webui/YaLocationLovsRN"
                                                    , "xxnewLocationLovs"
                                                    ,true);
              webBean.addIndexedChild(newLocationLovs);   

Similar Messages

  • LOV in Advanced Search Mode Problem

    Hi all,
    I have a strange problem with LOV!.
    In advanced search of our pages, sometimes we used LOV.
    As a normal way, we used two entities for the whole page, one as updatable
    one, and another which is referenced in LOV and I defined that as reference.
    After choosing a value from LOV, I want to assign its return values (from
    selected row) to other fields. The returned values from LOV that are comming
    from updatable entity is available and I could access them, but I can not see
    the returned values from the reference entity.
    At the end, I repeat that our LOV is working now for create mode and our problem with that is only in Advanced Search mode.
    Thanks for ur helps:)

    Hi Nasser2,
    You could try to make the attribute in the reference entity that you want to put a new value in, updateable.
    I guess you don't see the return value in that attribute in advanced search, because the VO-attr is readonly (which makes sense, because it is a reference-attribute!).
    Regards
    Evert-Jan
    JHeadstart Team

  • Issue with Generate Create Script in new ODT 11.1.0.6.10 beta

    I've tried this on several tables in my database. I choose Generate Script to ... a file, for a given table it gives me the error message "An error occurred while writing to fil: \nValue was either too large or too smal for an Int32."
    (It doesn't matter if I'm in a Oracle database project or some other project.)
    Trying to Generate Script To Project... when I'm in a Oracle Database Project, Visual Studio (2005) crashes. It appears to be some overflow exception according to crashinfo:
    EventType : clr20r3 P1 : devenv.exe P2 : 8.0.50727.762 P3 : 45716759
    P4 : mscorlib P5 : 2.0.0.0 P6 : 461eee3d P7 : 407b P8 : a3
    P9 : system.overflowexception
    (With ODT 11.1.0.5.10 beta it worked fine dispite the issue discussed in thread: Re: Issue with Generate Create Script in new ODT 11.1.0.5.10 beta
    /Tomas

    Tried to debug this error and got these exception details. Hope it helps!
    /Tomas
    System.OverflowException was unhandled
    Message="Value was either too large or too small for an Int32."
    Source="mscorlib"
    StackTrace:
    Server stack trace:
    at System.Decimal.ToInt32(Decimal d)
    at System.Decimal.op_Explicit(Decimal value)
    at Oracle.Management.Omo.TableSpaceQuotaDetails.FillTableSpaceQuota(OracleDataReader reader)
    at Oracle.Management.Omo.User.FillTableSpaceQuotas(OracleDataReader reader)
    at Oracle.Management.Omo.Connection.GetUserCollection(Boolean refresh)
    at Oracle.Management.Omo.Connection.GetUsers(Boolean refresh)
    at Oracle.Management.Omo.TableSQLGenerator.GetCreateSQLs(OmoObject obj, ArrayList& typeAndNames, Boolean checkRequired, Boolean appendSchemaName)
    at Oracle.Management.Omo.TableViewBase.GetCreateSQLs(Boolean appendSchemaName)
    at Oracle.VsDevTools.OracleUILDBProjectServices.GenerateCreateScript(OracleUILConnCtx connCtx, String[] objectNames, String objectOwner, OracleUILObjectType objectType)
    at Oracle.VsDevTools.OracleUILDBProjectServices.GenerateCreateScriptAsyncMethod(IntPtr ppvObj, OracleUILConnCtx connCtx, String[] objectNames, String objectOwner, OracleUILObjectType objectType, ICollection& scriptText)
    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
    at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
    at Oracle.VsDevTools.OracleUILDBProjectServices.GenerateScriptAsyncMethodDelegate.EndInvoke(ICollection& scriptText, IAsyncResult result)
    at Oracle.VsDevTools.OracleUILDBProjectServices.OnGenerateScriptAsyncCompletion(IAsyncResult ar)
    at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
    at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
    at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

  • HT4623 Is anyone else having issues with scaling down photos to fit the screen for home and lock screens with ios7??

    Is anyone else having issues with scaling down photos to fit the screen for home and lock screens with ios7??  Installed ios7 this morning. Tried to use one of my photos from camera roll as background for lock screen and I can't scale the photo to fit the screen.  Never had a problem before and now when I pinch the photo to get it to the right size of the screen, it won't stay that way. The photo is enlarged way beyond the screen size so it doesn't look right. Does anyone know how to fix this?

    Hello, cliffiapp4.  
    Thank you for visiting Apple Support Communities.  
    Here are the steps that I would recommend going through when experiencing this issue.  
    Resolution
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If the above steps do not resolve the issue, contact Apple.
    iOS: Not responding
    http://support.apple.com/kb/TS3281
    Cheers, 
    Jason H.  

  • Unable to create Table Bean advanced search criteria

    Hi,
    I want to create new search criteria for advanced search region. The reason being new search criteria i tried to add by personalization it didnt worked may be guessing construction mode is autocustomization mode. Somewhere i have seen if resultsbased it will work. Can someone confirm on this??
    I'm trying to create new bean for search criteria at the specified location under <oa:table akRegionCode="EAM_AD_ASSET_RESULTS_TABLE" but unable to do so:
    Here is the part of the page
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile(120.15.12000000.2=120.18)(115.26=120.1):~PROD:~PATH:~FILE &fullpath_~PROD_~PATH_~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath_~PROD_mds_directory -->
    <page xmlns="http://xmlns.oracle.com/jrad" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:user="http://xmlns.oracle.com/jrad/user" file-version="$Header: EAM_AD_ADVSEARCH_PAGE.xml 120.18.12010000.3 2009/02/11 09:21:55 smrsharm ship $" version="10.1.3_1147" xml:lang="en-US" xmlns:jrad="http://xmlns.oracle.com/jrad">
    <content>
    <oa:pageLayout id="EAM_AD_ADVSEARCH_PAGE" akRegionCode="EAM_AD_ADVSEARCH_PAGE" regionName="Asset Search" amDefName="oracle.apps.eam.asset.server.AdvSearchAM" controllerClass="oracle.apps.eam.asset.webui.AdvSearchPageCO" appMenu="EAM_MAIN_SS" amStateRequired="false" helpTarget="EAM_AD_ADVSEARCH_PAGE">
    <ui:corporateBranding>
    <oa:image id="corporateBranding" source="/OA_MEDIA/FNDSSCORP.gif" shortDesc="Oracle"/>
    </ui:corporateBranding>
    <ui:productBranding>
    <oa:image id="productBranding" source="/OA_MEDIA/EAMBRAND.gif" shortDesc="Asset Management"/>
    </ui:productBranding>
    <ui:contents>
    <oa:query id="EamAssetQueryRegion" mode="autoCustomizationCriteria" dispSimple="true" dispCustomized="true" dispAdvanced="true" defaultPanel="customized" controllerClass="oracle.apps.eam.asset.webui.AdvSearchSearchCO" simpleSearchPanelButtonLabel="Simple Search" viewConfPanelButtonLabel="Views" advSearchPanelButtonLabel="Advanced Search" customizePanelTitle="Views" saveSearchButtonText="Save Search">
    <oa:simpleSearchPanel>
    <oa:defaultSingleColumn id="AssetSimpleSearchRegion" headerDisabled="false" text="Simple Search">
    <ui:contents>
    <oa:messageTextInput readOnly="false" columns="25" prompt="Asset Number" rows="1" secret="false" maximumLength="30" shortDesc="Asset Serial Number" id="EamAssetNumber" promptTranslationExpansion="100%" user:akAttributeCode="EAM_ASSET_NUMBER" user:akAttributeApplicationId="426" required="no" selectiveSearchCriteria="true"/>
    <oa:messageLovInput externalListOfValues="/oracle/apps/eam/lov/webui/EAM_ASSET_CATEGORY_LOV" readOnly="false" columns="25" prompt="Category" rows="1" secret="false" id="EamAssetCategory" promptTranslationExpansion="100%" user:akAttributeCode="EAM_ASSET_CATEGORY" user:akAttributeApplicationId="426" selectiveSearchCriteria="true" shortDesc="Category">
    <lovMappings>
    <lovMap criteriaFrom="EamAssetCategory" lovItem="EamAssetCategory" id="lovMap1"/>
    <lovMap resultTo="EamAssetCategory" lovItem="EamAssetCategory" id="lovMap2"/>
    <lovMap id="lovMap39" lovItem="EamAssetCategoryId" resultTo="EamAssetCategoryId"/>
    </lovMappings>
    </oa:messageLovInput>
    <oa:messageChoice readOnly="false" prompt="Asset Route" pickListViewDef="oracle.apps.eam.asset.server.PicklistYesNoVO" pickListDispAttr="Meaning" pickListValAttr="LookupCode" id="EamNetworkAsset" promptTranslationExpansion="100%" user:akAttributeCode="EAM_NETWORK_ASSET" user:akAttributeApplicationId="426" shortDesc="Asset Route" allowBlankValue="false" defaultValue="N"/>
    <oa:formValue id="EamAssetCategoryId" dataType="NUMBER"/>
    </ui:contents>
    </oa:defaultSingleColumn>
    </oa:simpleSearchPanel>
    <oa:simpleSearchMappings>
    <oa:queryCriteriaMap id="AssetNumberMapSS" criteriaItem="EamAssetNumber" resultsItem="AssetNumber1"/>
    <oa:queryCriteriaMap id="AssetCategoryMapSS" criteriaItem="EamAssetCategory" resultsItem="AssetCategory1"/>
    <oa:queryCriteriaMap id="AssetRouteMapSS" criteriaItem="EamNetworkAsset" resultsItem="AssetRoute"/>
    <oa:queryCriteriaMap id="AssetCategoryIdMapSS" criteriaItem="EamAssetCategoryId" resultsItem="AssetCategoryId"/>
    </oa:simpleSearchMappings>
    <ui:contents>
    <oa:tableLayout akRegionCode="EAM_AD_ADVSEARCH_RESULTS" regionName="Results" controllerClass="oracle.apps.eam.asset.webui.AssetResultsCO" addChildren="true" id="EamResultsNr" user:akAttributeCode="EAM_RESULTS_NR" user:akAttributeApplicationId="426">
    <ui:contents>
    <oa:tableLayout id="ResultsTableLayout2" width="100%" rendered="true">
    <ui:contents>
    <oa:rowLayout id="RowLayoutRegion2">
    <ui:contents>
    <oa:cellFormat id="CellFormatRegion2">
    <ui:contents>
    <oa:switcher id="MappedTableRegion">
    <ui:case name="ShowTable" id="ShowTable">
    <oa:table akRegionCode="EAM_AD_ASSET_RESULTS_TABLE" regionName="Asset Search" blockSize="25" standalone="true" height="1" id="MappedTable" user:akAttributeCode="EAM_RESULTS_NR" user:akAttributeApplicationId="426" width="100%" rendered="true" userCustomizable="true" shortDesc="Mapped Table">
    <ui:contents>
    <oa:messageStyledText id="AssetNumber1" viewName="AdvSearchVO" viewAttr="InstanceNumber" shortDesc="Serial Number" prompt="Asset Number"/>
    <oa:messageStyledText id="AssetDescription1" viewName="AdvSearchVO" viewAttr="DescriptiveText" shortDesc="Asset Description" prompt="Asset Description"/>
    <oa:messageStyledText id="AssetCategory1" viewName="AdvSearchVO" viewAttr="AssetCategory" shortDesc="Asset Category" prompt="Asset Category"/>
    I tried several ways :
    OAPageLayoutBean pageLayout = oapagecontext.getPageLayoutBean();
    OAQueryBean query=(OAQueryBean)pageLayout.findChildRecursive("EamAssetQueryRegion");
    OATableBean oawebbeantb = (OATableBean)query.findChildRecursive("EAM_AD_ASSET_RESULTS_TABLE");
    OAMessageLovInputBean ccidbean = (OAMessageLovInputBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, OAWebBeanConstants.LOV_TEXT, null, "xxValidation");
    if (oawebbeantb==null){                    
    throw new OAException("Error this is a test!", OAException.ERROR);
    oawebbeantb.addIndexedChild(ccidbean); --here it getting null
    OR
    OATableBean oawebbeantb = (OATableBean)oawebbean.findIndexedChildRecursive("EAM_AD_ASSET_RESULTS_TABLE");
    OAMessageLovInputBean ccidbean = (OAMessageLovInputBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, OAWebBeanConstants.LOV_TEXT, null, "xxValidation");
    oawebbeantb.addIndexedChild(ccidbean); --here it getting null
    Please someone help me on this..
    thanks,
    mallik

    1) Search panel textinput item should be search allowed true and prompt is need. no other property need to set.
    HERE YOU DONT WANT TO SET VIEW INSTANCE AND ATTRIBUTE SINCE WE ARE DOING FOR EXTENDED VO ITEM AS SEARCH ITEM.THAT'S OK. I TRIED WITH YOUR COMMENTS FOR TEXTINPUT ITEM TOO.
    Comment--
    textinput item created is a simple item without any VO instance , etc.
    There is no question of extended VO item, its a simple textinput item.
    value in this field is going to compare with the values in result table.
    2) Search mapping, only search item id and result item id need to set.
    I'M DOING HERE MAPPING FOR ABOVE SEARCH ITEM ID AND RESULT ITEM ID
    Comment-- Perfect !!
    3) Item created in table , after you extended Vo, view instance and attribute needs to set.
    WHERE DO YOU WANT THIS TO BE SET?? CAN YOU ELABORATE THIS MORE PLEASE.MAY BE I'M MISSING HERE SOMETHING.
    Comment-- you must have created message styled text item in adv table bean, assign VO instance and attribute to it, right?
    4) One more thing Parag, do i need to include where clause for extended VO item in view object??
    for ex:
    where attribute(this is extended vo item)=:4
    Comment-- No need. this will be handled by point#2 above, i.e. criteria and result items.
    --Parag Narkhede                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Issue with WSDL created for sender agreement

    Hi,
    Can you please help me why I am getting the erroe with WSDL that has been created from directory Sener agreement in PI 7.1 EHP1?
    My interface is a SOAP to file ASYNC scenario and we have been given 5 XSDs that are referencing one each other ,5 XSDs are imported successfully and referenced properly,no errors/issues found.
    Created all ESr and directory objects and I tried creating WSDL from sender agreement for my Source/outbound inteface that is created with XSDs in ESR.
    When I try to import WSDL into SOPA UI to validate ,the import process stuck for ever while trying to import "http://www.w3.org/2001/xml.xsd" and finally throws me error.
    After that I tried importing WSDL created in Directory into AltovaXML spy to created the webservice request,I am getting the following error""invalid XML Schema:"xml:lang" is already declared in the schema dcument C:|..my WSDL.
    Even our partner who wants to make Webservice calls using this WSDL,they are not able to develop their Webservices they are getting errors something related to schema not found /not defined etc.
    Please let me know,what might be the issue?I verified several times with my XSD imports and referencing properly and configuration objects.
    Thank you for your help in advance.
    Regards,
    Prem

    Hi Mark,
    I am not getting issue while displaying/Exporting  as WSDL in ESR.I am getting issue while trying import WSDL that is generated out of Service Interface into SOAP UI or Altova XML Spy.
    I don't think PI created the WSDl out of W3 standards.
    This is the error I am getting in XML Spy:
    File C:\Documents and Settings\Prem\Desktop\SI_XYZ_O.wsdl is not valid
         Invalid XML schema: ''xml:lang' is already declared.
              Error location: schema / attribute++
    and in SOAP UI:It is trying to import the WSDL and it stuck for ever while trying to import http://www.w3.org/2001/xml.xsd and never imprts the WSDL into SOAP UI project.
    Please let me know,if you have any ideas.
    Thank you,
    Prem.

  • Issue with Generate Create Script in new ODT 11.1.0.5.10 beta

    So I'm trying to determine if there's an issue with the Generate Create Script option in the new ODT 11.1.0.5.10 beta (when you right click on a table in Server Explorer).
    The SQL create script that it generates lacks the slash between lines. For example I generated the create script for my User table and this is what was generated:
    CREATE TABLE "DEV"."SYSTEM_USER_TB" ("RID" NUMBER(10,0),"USER_NAME" VARCHAR2(256 CHAR),"APPLICATION_RID" NUMBER(10,0),"FIRST_NAME" VARCHAR2(256 CHAR),"LAST_NAME" VARCHAR2(256 CHAR),"PW" VARCHAR2(128 CHAR),"PW_FORMAT" NUMBER,"PW_SALT" VARCHAR2(128 CHAR),"LAST_ACTIVITY_DT" DATE,"EXPIRATION_DT" DATE,"EMAIL" VARCHAR2(256 CHAR),"PW_QUESTION" VARCHAR2(256 CHAR),"PW_ANSWER" VARCHAR2(256 CHAR),"APPROVED_FLG" NUMBER(1,0),"LOCKED_OUT_FLG" NUMBER(1,0),"LAST_LOGIN_DT" DATE,"LAST_PW_CHANGED_DT" DATE,"LAST_LOCKOUT_DT" DATE,"FAILED_PW_ATTEMPT_CNT" NUMBER(6,0),"FAILED_PW_ATTEMPT_WINSTART" DATE,"FAILED_PW_ANSW_ATTEMPT_CNT" NUMBER(8,0),"FAILED_PW_ANSW_ATTEMPT_WINSTRT" DATE,"CREATED_BY_RID" NUMBER(10,0),"CREATED_DT" DATE,"MODIFIED_BY_RID" NUMBER(10,0),"MODIFIED_DT" DATE) TABLESPACE "USERS" PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 131072 MAXEXTENTS 2147483645 MINEXTENTS 1 )
    CREATE UNIQUE INDEX "DEV"."XPKSTAFF" ON "DEV"."SYSTEM_USER_TB" ("RID" ) TABLESPACE "USERS"
    ALTER TABLE "DEV"."SYSTEM_USER_TB" ADD ( CONSTRAINT "SYS_C0033033" PRIMARY KEY ("RID") USING INDEX "DEV"."XPKSTAFF" ENABLE VALIDATE )
    ALTER TABLE "DEV"."SYSTEM_USER_TB" ADD ( CONSTRAINT "SYS_C0033032" CHECK ("RID" IS NOT NULL) ENABLE VALIDATE )
    CREATE TRIGGER "DEV"."SYSTEM_USER_TRG1"
    BEFORE
    INSERT
    ON "DEV"."SYSTEM_USER_TB"
    FOR EACH ROW
    begin
         select SYSTEM_USER_SEQ.nextval into :new.RID from dual;
    end;
    In my new Oracle Database Project, if I right click on the script and select "Run" or "Run On", the script fails saying:
    Connected.
    CREATE UNIQUE INDEX "DEV"."XPKSTAFF" ON "DEV"."SYSTEM_USER_TB" ("RID" ) TABLESPACE "USERS"
    ERROR at line 2:
    ORA-00922: missing or invalid option
    If I then add, a slash between lines, the script runs successfully and creates the table/trigger and whatever else just fine. For example, I changed the above generated code to look as follows:
    CREATE TABLE "DEV"."SYSTEM_USER_TB" ("RID" NUMBER(10,0),"USER_NAME" VARCHAR2(256 CHAR),"APPLICATION_RID" NUMBER(10,0),"FIRST_NAME" VARCHAR2(256 CHAR),"LAST_NAME" VARCHAR2(256 CHAR),"PW" VARCHAR2(128 CHAR),"PW_FORMAT" NUMBER,"PW_SALT" VARCHAR2(128 CHAR),"LAST_ACTIVITY_DT" DATE,"EXPIRATION_DT" DATE,"EMAIL" VARCHAR2(256 CHAR),"PW_QUESTION" VARCHAR2(256 CHAR),"PW_ANSWER" VARCHAR2(256 CHAR),"APPROVED_FLG" NUMBER(1,0),"LOCKED_OUT_FLG" NUMBER(1,0),"LAST_LOGIN_DT" DATE,"LAST_PW_CHANGED_DT" DATE,"LAST_LOCKOUT_DT" DATE,"FAILED_PW_ATTEMPT_CNT" NUMBER(6,0),"FAILED_PW_ATTEMPT_WINSTART" DATE,"FAILED_PW_ANSW_ATTEMPT_CNT" NUMBER(8,0),"FAILED_PW_ANSW_ATTEMPT_WINSTRT" DATE,"CREATED_BY_RID" NUMBER(10,0),"CREATED_DT" DATE,"MODIFIED_BY_RID" NUMBER(10,0),"MODIFIED_DT" DATE) TABLESPACE "USERS" PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 131072 MAXEXTENTS 2147483645 MINEXTENTS 1 )
    CREATE UNIQUE INDEX "DEV"."XPKSTAFF" ON "DEV"."SYSTEM_USER_TB" ("RID" ) TABLESPACE "USERS"
    ALTER TABLE "DEV"."SYSTEM_USER_TB" ADD ( CONSTRAINT "SYS_C0033033" PRIMARY KEY ("RID") USING INDEX "DEV"."XPKSTAFF" ENABLE VALIDATE )
    ALTER TABLE "DEV"."SYSTEM_USER_TB" ADD ( CONSTRAINT "SYS_C0033032" CHECK ("RID" IS NOT NULL) ENABLE VALIDATE )
    CREATE TRIGGER "DEV"."SYSTEM_USER_TRG1"
    BEFORE
    INSERT
    ON "DEV"."SYSTEM_USER_TB"
    FOR EACH ROW
    begin
         select SYSTEM_USER_SEQ.nextval into :new.RID from dual;
    end;
    So, does anyone know if this is a bug? Could I be missing an option to add in the slashes to the generated code? Is there an option to not require the slashes? Could there be another way to execute these scripts?
    Seriously, I think I'm having deja vu from the last release of the Dev Tools: Generate Create Script creates scripts that won't run: ORA-00922: missing..
    ...except this time the documentation says I should be able to use the "Run" and "Run On" commands in the Oracle Database Project (see page 8): http://www.oracle.com/technology/tech/dotnet/pdf/ODT11_whatsnew.pdf
    null

    There are 2 issues in the generated script :
    1. Missing semicolons at the end of the create stmts
    2. Missing slashes
    Both of these fixes will be available in the ODT 11.1 release.

  • Having issues with getting the slide to advance properly after audio is done playing

    Before I describe the problem I will describe what I'm trying to do.
    I have a slide that plays a video.  When the video is finished the user clicks a Continue button, and a short audio clip plays, and then the slide advances to the next screen.  The problem comes when I'm trying to integrate closed captions.  Since CC is only allowed at the slide lever I created an advanced action that is intended to display the audio text and play the audio.  The caption with the audio text displays fine, but one of two things happens with the audio:
    The slide advances before the audio is done playing.
    I add a pause action to the advanced action and the slide does not advance at all.
    Does anyone have any advice on how to control the slide so it will advance once the audio is done?  Thanks in advance for your help.

    The Pause action WILL pause the slide if invoked.  And there is no way to set the duration of the Pause in the Advanced Action.
    I would suggest you add a button to the slide that the user clicks to go to the next slide.  Add the short audio clip that you want the learner to hear to the On Success caption of that button and set the button properties to Pause for Success/Failure captions.  You can add the CC text for the short audio clip into the success caption so that it appears as the audio is playing.  As soon as the audio clip finishes playing the success caption will disappear and the timeline will continue to the next slide.
    No Advanced Actions required for this solution.

  • Issues with multiple hard drives (no luck searching)

    Hi!
    I've bought a 5th gen. Airport Extreme, and I have some issues with connecting multiple drives to it.
    We've got multiple Macs in the house, and they have all been backed up on separate external hard drives.
    One of these drives has been split into two partitions, one for backup and one for data. They are both formatted as GUID HFS+.
    I've bought a powered USB-hub, and tried connecting the drives, but it doesn't work.
    I get the following results:
    - The AEBS only sees one of the drives.
    - The AEBS sees neither of the drives.
    - Everything seems to work, until I try using Time Machine on one of the drives, and everything stops working.
    I've tried unplugging the AEBS, but I get nothing else than these issues.
    This is my setup:
    The AEBS:
    The hub with the drives:
    The hub:
    I've tried searching numerous sites, but I haven't found an answer.
    Some people have had luck downgrading to a previous firmware, but I can't for some reason.
    Have any of you got some ideas how to fix it? I think I've tried almost everything.

    The drives have been password protected.
    I tried adding user accounts for access, but the password setting seemed to work better.

  • Buyer is unable to view the purchase order in advance search screen

    Hi Experts,
    I have an issue, the issue is when a shopping cart is created by the requisitioner and got approved, following document purchase order is created.
    When buyer is trying to view the purchase order in advance search he could not view the purchase order.
    Zero results found message is populating when buyer wants to retreive the purchase order, buyer wants to delete the purchase order, but he is not able to view the purchase order in advance search.
    Can anyone among you let me know what can be done to acheive this.
    Your quick help is highly appreciated.
    IGA

    Hi Summer,
    I have checked the status of the PO and it is in ordered state, I am able to view the PO because i have local admin role productin support role.
    But when buyer is trying to retrieve the PO it is not happening even though the user has buyer role.
    regards,
    IGA

  • Display issue with vertical windows start menu and dual screen

    Hello everyone
    I never reported it and I didn't find any information on google or mozilla support about this so here it is :
    I am on windows 7 and I set up my windows start menu vertically. I also have 2 screens. These both points are important. If I put the start menu horizontally I do not have the issue anymore, and If I turn off one screen to have the display only on one screen, I do not have the issue anymore, which is a rare setup I guess so it could explain why this bug has never been detected.
    HERE IS THE ISSUE
    I have display issues on website with a big width, even the default add-ons Manager firefox page doesn't display correctly. Here is a screen shot:
    http://img15.hostingpics.net/pics/368172bugFirefoxDisplay.png
    So as you can see the disable and remove button on the right are not displayed, and at the bottom there isn't any scroll bar to scroll ! So I have no way to display the information on the right of the page, and it happens on a lot of other website (gmail, etc)
    It is not such a big issue because my start menu is on my left screen and I can move firefox on the right screen to have a correct display.
    I still think this is worth reporting this bug. I hope it is clear, feel free to ask questions if you didn't understand.

    You can try to disable hardware acceleration in Firefox (you need to close and restart Firefox).
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration

  • How do you fix the issues with the OS X mountain lion? Screen freezes pages just swipe on own

    Having issues with the lion operating system

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Defaulting a programmatically created LOV

    Hi,
    I'm trying to default the LOV created Programmatically on the Notifaction Details Page. The LOV gets defaulted to value with oamessagelovinputbean.setValue method.
    defUser = "Clark, Mary";
    oacellformatbean = (OACellFormatBean)oawebbean.findIndexedChildRecursive("userNameCell");
    OAMessageLovInputBean oamessagelovinputbean = (OAMessageLovInputBean)oawebbeanfactory.createWebBean(oapagecontext, "LOV_TEXT", null, "wfUserName" + i);
    oacellformatbean.addIndexedChild(oamessagelovinputbean);
    oamessagelovinputbean.setAttributeValue(OAWebBeanConstants.REGION_CODE, s);
    oamessagelovinputbean.setAttributeValue(OAWebBeanConstants.REGION_APPLICATION_ID, integer);
    oamessagelovinputbean.setAttributeValue(OAWebBeanConstants.DATA_TYPE, "VARCHAR2");
    oamessagelovinputbean.setVAlign("middle");
    oamessagelovinputbean.setShortDesc(oapagecontext.getMessage("FND", "WF_NTF_SEARCH_USER_TIP", null));
    oamessagelovinputbean.addLovRelations(oapagecontext, "wfUserName" + i, "wfUserNameDisplay", "CRITERIA", "N");
    oamessagelovinputbean.addLovRelations(oapagecontext, "wfUserName" + i, "wfUserNameDisplay", "RESULT", "N");
    oamessagelovinputbean.addLovRelations(oapagecontext, "wfUserType" + i, "wfUserOrigSys", "PASSIVE_CRITERIA", "Y");
    oamessagelovinputbean.addLovRelations(oapagecontext, oapagecontext.getParameter("wfFormValName" + i), "wfUserName", "RESULT", false, true);
    oamessagelovinputbean.setValue(oapagecontext,defUser);
    But when I click on Forward without tabbing or clicking on the LOV(I'm not clicking on LOV fiield Since the LOV is already defaulted), the page gives an error
    "Clark, Mary is not a valid role or user name. Please use the list of values to select a user or role"
    This is a programmatic LOV and thus dont have the property of "Disable Validation" tobe set to true.
    Going by intuition of an end user, since the LOVvalue is defaulted and is acceptable to him,then he need not go for further validation.
    My plight is that the page is not even considering the default value to search into the LOV.
    Please suggest any ideas how can I disable validation for a programmatic LOV since I dont have property of "Disable Validation" tobe set to true.
    I've tried oamessagelovinputbean.setUnvalidated(true) but to no avail.
    Thanks

    In short, without validating the value in the LOV if its defaulted , the page should be submitted.
    Alas due to the LOV being programmatic, I cannot set the Disable Validation property to false.
    I've tried the oamessagelovinputbean.setUnvalidated(true) but no success.
    Please throw some light on to this...
    Thanks

  • Issue with displaying international characters returned by Search And Promote.

    Hi,
         I am trying to display international characters being returned by Search and Promote. The actual text returned by S&P is televisión, while the one being displayed is televisión
    I am usging r.get() to fetch values returned by S&P. The issue is only with data returned by S&P. Local international texts are being properly displayed.
    Thanks in advance!

    Thanks Sham! Found the fix. I am checking for invalid characters in the byte stream and then applying corresponding encoding.
    This method checks for invalid characters.
    public static boolean isValidUTF8( byte[] input ) {
        CharsetDecoder cs = Charset.forName("UTF-8").newDecoder();
        try {
            cs.decode(ByteBuffer.wrap(input));
            return true;
        catch(CharacterCodingException e){
            return false;
    This statement performs corresponding encoding.
    String utf8 = new String(inputString.getBytes(encoded format), Charset.forName("UTF-8"));

  • Issue with Returns created using BAPI_CUSTOMERETURN_CREATE

    I have been able to create customer returns using BAPI_CUSTOMERETURN_CREATE in a wed-dynpro java application. However, the issue is when I review the order in VA02 or VA03, the order quantity field is not populated. I input the order quantity in 'TARGET_QTY' field of the RETURN_ITEMS_IN table.
    Is the order quantity supposed to go in another field ? Dont see any fields like REQ_QTY in the RETURN_ITEMS_IN table.
    Thanks in advance for your response.

    Hi,
    I think that qty should be in RETURN_SCHEDULES_IN-REQ_QTY
    Plus ITM_NUMBER, SCHED_LINE, REQ_DATE have to be filled for schedule line and also RETURN_SCHEDULES_INX for corresponding fields.
    Br,
    Einar

Maybe you are looking for