View link between calculated attributes

Hi all,
I'm having a problem with a view link. See, I'm linking two view objects on attributes that are calculated. The two view objects are result of sql query (not EO based) - plus, this attribute is present in the SQL query and in the db table for both view object.
The SQL query is like, for both view object :
select to_char(DATE_FO, 'dd/MM/yyyy), a, b, from ...
And, as I said, I made a view link on these attributes. The cardinality is 1 to *.
When testing the ApplicationModule, I'm getting
(oracle.jbo.SQLStmtException) JBO-27122: SQL error during statement preparation. SELECT ....... ) QRSLT WHERE DATETOCHAR = :Bind_ToCharGdaCrahDateCrahDdMm
----- Level 1: Detail 0 -----
(java.sql.SQLException) ORA-00904: "DATETOCHAR" : identificateur non valide
DATETOCHAR is the alias of the calcultated attribute in detail vo.
Please help ! Also I've been reading Steve's article : urlhttp://radio.weblogs.com/0118231/2003/11/13.html[url] ; what is jbo.viewlink.consistent property exactly ?
Regards
Luc

Hi again,
ok I found it ... I needed to add an alias in the SQL query and override the default sql where clause in the view link. Something weird btw, because the alias in the sql query seems to be not bind to the alias property in the attribute properties... and it add another attribute. But it works fine.
Therefore, if Steve muench might explain jbo.viewlink.consistent property, I'm stil interested in knowing that :)
Luc

Similar Messages

  • View Link between two query views

    Hi is it possible to create a view link between two views having the where clause bind variables.
    How you set the bind variables at the run time for the View objects. It is giving hard time for me to use the Master view in the XmlData bean to generate the Xml document.
    I am able to set the Master views bind variables, but for view link destination view
    where clause bind variables are not able to set ( link object link condition bind variables are binded run time but the views where chause bind variables of destination view are unable to setand bind)
    Thanks
    null

    Easiest way to do this is to add additional transient attributes to your master view object, and then include those additional transient attributes in the list of source attributes for your view link. This way, you can get BC4J to automatically refer to their values with no additional code on your part.

  • View link between 2 public view object(PVO)

    Hi,
    Can we create a view link between 2 Public View Object(PVOs)? Is as same as creating view link b/w normal VOs.
    Regards,
    Suresh

    Hi,
    whats mean Public View Object? do you use BI?

  • View link between VO from two application modules

    Is it possible to create view link between VOs from 2 different Application modules?

    Here is what it says:
    SymptomsYou have an ADF BC (BC4J) project and you are getting the following error:
    oracle.jbo.domain.Number; local class incompatibleA more detailed error looks similar to:
    oracle.jbo.domain.Number; local class incompatible: stream classdesc
    serialVersionUID = -7171468674200794918, local class serialVersionUID =
    -6507359405709672486
    CauseThis problem is caused by either that:
    You have inadvertently mixed two mutually exclusive domain libraries like "BC4J Generic Domains" (bc4jdomgnrc.jar) and "BC4J Oracle Domains" (bc4jdomorcl.jar).
    or
    You have added the "BC4J Datum" library (bc4jdatum.jar) to your middle-tier class path, and are trying to use a JDBC driver different from the one that ships with JDeveloper 10g in the box.
    The BC4J Generic Domains and the BC4J Oracle Domains are never meant to be used in the same application classpath. They contain different implementations of the same set of classes, one destined for use in Oracle JDBC driver environments, and the other for use with other non-Oracle JDBC drivers.
    The BC4J Datum library is designed for use in a thin-client Classpath that is remotely accessing an ADF Business Components middle tier deployed as an EJB Session bean. It contains only the domain classes (typically jar'ed up as part of the whole Oracle JDBC Driver JAR) without having to have the rest of the JDBC Driver JAR on the thin client. SolutionPlease check if any of the above suggested scenarios is applicable to your application.
    If you have the BC4J Generic Domains and the BC4J Oracle Domains in the same project despite that they are never meant to be used in the same application classpath you will get this error. They contain different implementations of the same set of classes, one destined for use in Oracle JDBC driver environments, and the other for use with other non-Oracle JDBC drivers.
    Goto the Project Properties for you project.
    Select Profiles -> <Profile Name> -> Libraries
    Check in the Selected list (to the right) if you have both BC4J Generic Domains and the BC4J Oracle Domains there. If so, remove the one not appropriate for your project.

  • Create view link between two view objects (from programmatic data source)

    Hi Experts,
    Can we create a link between two view objects (they are created from programmatic datasource ; not from either entity or sql query). If yes how to create the link; ( i mean the like attributes?)
    I would also like to drag and drop that in my page so that i can see as top master form and the below child table. Assume in my program i will be only have one master object and many child objects.
    Any hits or idea pls.
    -t

    Easiest way to do this is to add additional transient attributes to your master view object, and then include those additional transient attributes in the list of source attributes for your view link. This way, you can get BC4J to automatically refer to their values with no additional code on your part.

  • To find the view link in the attribute definition

    Hi, I am using Jdev 10.1.3.2 and ADFBC. I have two master/detail view objects which have view link defined between them. Now I am trying to do deep copy, but I don't want to hard code the view link accessor name in the code. Here is the part of the code to get the list of attributes:
    ParentVORow newRow = (ParentVORow)parentVO.createRow();
    StructureDef def = newRow.getStructureDef();
    AttributeDef[] attrs = def.getAttributeDefs();
    Now view link accessor is in attrs, but how can I tell which attribute in attrs is a view link accessor without comparing to the attribute name?
    Thanks!

    Please see section "25.3.4.1 Determining the Attribute Kind at Runtime" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html for more information on this.

  • View link between view based on entity(table) and view based on stored proc

    I've created a view based on a stored procedure. I need to link this view to a view based on an entity which is based on a table.
    I can create the view without issue, but when I attempt to run the application module that contains the relationship I get this error:
    (oracle.jbo.InvalidOperException) JBO-26016: Cannot set user query to view "SalesentityModuleApiView2" because it is a destination in a view link
    One thing that may be notable about this is that this view started out based on a database view. I later overrode the select related methods using the example here:
    http://download-east.oracle.com/docs/html/B25947_01/bcadvvo008.htm
    Any ideas? I will gladly post some code if someone will let me know what might help diagnose this.

    Hi,
    I solved my problem with adding transient field, and changing the value of it (true | false) on set method of field that can be changed so I can get which row was updated. What exactly do you mean when you say not updateable, I'm using a vo with no entity, and I can add, remove rows, in fact I think it's a good solution because I don't want to write to database immediately.

  • I have a view link between 2 views that refuses to show up on a diagram

    i can create the view link from the "new-adf companant-view link" menu (right click mouse). if i start from scratch i CAN'T create the view link using the component palette. i get the error Message
    BME-99004: A Java runtime exception has occurred.
    Cause
    This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.bm.uml.validation.AssociationValidation.validateAssociationEnds(AssociationValidation.java:315)
         at oracle.bm.uml.validation.AssociationValidation.validate(AssociationValidation.java:108)
         at oracle.jbo.dt.modeler.validation.BC4JAssociationValidation.validate(BC4JAssociationValidation.java:35)
         at oracle.bm.data.validation.ValidationEngine.validate(ValidationEngine.java:201)
         at oracle.bm.data.cacheimpl.TransactionImpl.validate(TransactionImpl.java:1713)
         at oracle.bm.data.cacheimpl.ProjectCacheImpl.closeTransaction(ProjectCacheImpl.java:5055)
         at oracle.bm.common.registry.CRNWayEdge.createEdge(CRNWayEdge.java:208)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.doCreateEdge(CreateRegisteredShapeTracker.java:537)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.mav$doCreateEdge(CreateRegisteredShapeTracker.java:111)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker$6.performAction(CreateRegisteredShapeTracker.java:336)
         at oracle.bm.diagrammer.LockMonitor.performLockedAction(LockMonitor.java:64)
         at oracle.bm.diagrammer.BaseDiagram.performDiagramLockedAction(BaseDiagram.java:2437)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.processEvent(CreateRegisteredShapeTracker.java:279)
         at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:403)
         at oracle.bm.diagrammer.track.TrackerStack.pop(TrackerStack.java:198)
         at oracle.bm.diagrammer.track.TrackerStack.safePop(TrackerStack.java:320)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.mousePressed(CreateRegisteredShapeTracker.java:1022)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.mousePressed(CreateRegisteredShapeTracker.java:819)
         at oracle.bm.diagrammer.track.ModularTracker.processEvent(ModularTracker.java:191)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.processEvent(CreateRegisteredShapeTracker.java:230)
         at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:389)
         at oracle.bm.diagrammer.BaseDiagramView$53.processEvent(BaseDiagramView.java:719)
         at oracle.bm.diagrammer.PageView$PageViewPanel.fireEvent(PageView.java:2904)
         at oracle.bm.diagrammer.PageView$PageViewPanel.processEvent(PageView.java:3090)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    Message
    BME-02038: Exception thrown during validation
    Cause
    Action
    any insight would be helpful
    ________________________________________________________________________________

    I have iPhone 4s but the same problem with calendar on 8.2 iOS - no sound, no notification appears - but everything is switched on.

  • How to create a view link between ViewObject Instance in nested AM

    Hi all,
    I am using JDev 11.1.1.0. I am a bit confused about working with nested AM
    I have found the sample #33 in http://blogs.oracle.com/smuenchadf/examples/ to solve my problem, where the link is created programmatically.
    Is it that an old example? Because it seems to be that I can create the link in a declarative way in a tab of the Application Module.
    What is the advantage of creating the link on runtime?
    Thanks

    This sample is really old.
    If you can do the link declarative just do so. I guess this was not possible in the older version of jdev.
    Timo

  • View Link between a recursive static View Object

    Is it Possible?
    I have...
    -MenuVO (Id, Nombre, IdPadre)
    I Want...
    -MenuFkMenuLink (Id, IdPadre)
    Regards

    yes, I create VO, VL and ViewCriteria for: IdPadre is blank,
    AM
    ->FatherVO (ViewCriteria applied)
    --->SonVO (by VL)
    It's not work, in the FatherVO there are SonVO Rows (This is the mistake).
    Jdeveloper 11.1.2.1.0
    Regards.
    Edited by: sergio rodriguez 896551 on 16-feb-2012 4:19

  • View Links for Programmatic View Objects

    Hi All,
    I created a read only VO called MyVO based on a sql query.
    I created 2 programmatic view objects, MasterView and ChildView.
    In a custom method in AMImpl class ,I iterate through this MyVO resultset and get the rows in a Row object.
    Based on some attributes values of the Row, I populate both master and child View Objects.
    I have created a view link between Master and Child Programmatic View Objects and have exposed them in AM.
    Now I run the AM, and run the method exposed in client interface.
    Now I click on my master and child programmatic views.
    I see that the rows are populated in both of these programmatic VOs.
    But when I click on viewlink which I have exposed under master, it doesnt show me any
    record for child.
    This is my method of AMImpl which is exposed in AM client interface.
    public void constructLines(){
    ViewObject vo= this.getMyVO1();
    ViewObject master=this.getTransientVO1();
    ViewObject child=this.getTransientLineVO1();
    Row r,masterRow,childRow;
    int count=0;
    while(vo.hasNext()){
    ++count;
    r=vo.next();
    masterRow = master.createRow();
    if(r.getAttribute("QuoteHeaderId")!=null)
    masterRow.setAttribute("QuoteHeaderId",
    r.getAttribute("QuoteHeaderId").toString());
    if(r.getAttribute("QuoteLineId")!=null)
    masterRow.setAttribute("QuoteLineId",
    r.getAttribute("QuoteLineId").toString());
    if(r.getAttribute("LineNumber")!=null)
    masterRow.setAttribute("LineNumber",
    r.getAttribute("LineNumber").toString());
    master.insertRow(masterRow);
    childRow= child.createRow();
    if(r.getAttribute("RefLineId")!=null)
    childRow.setAttribute("RefLineId",
    r.getAttribute("QuoteLineId").toString());
    if(r.getAttribute("QuoteHeaderId")!=null)
    childRow.setAttribute("QuoteHeaderId",
    r.getAttribute("QuoteHeaderId").toString());
    child.insertRow(childRow);
    This is stopping me from my development progress.
    Any suggestion to solve this will be of great help.
    Thanks,
    Prabhanjan

    Hi..
    have you define relationship correctly between masterVO and childVO.sometime there may be the problem.

  • Creating a Static view link association creates a null entityImpl error

    294] {{ type: 'METAOBJECT_LOAD' Loading meta-object: myModel.view.assoc.DeptTypesFkLink
    [295] {{ type: 'METAOBJECT_LOAD' Loading meta-object: myModel.view.assoc.assoc
    [296] Loading from individual XML files
    [297] Loading the Containees for the Package 'myModel.view.assoc.assoc'.
    [298] }}+++ End Event9 null
    [299] }}+++ End Event8 null
    [300] {{ type: 'METAOBJECT_LOAD' Loading meta-object: myModel.view.DeptsView
    [301] {{ type: 'METAOBJECT_LOAD' Loading meta-object: myModel.view.view
    [302] Loading from individual XML files
    [303] Loading the Containees for the Package 'myModel.view.view'.
    [304] }}+++ End Event11 null
    [305] {{ type: 'METAOBJECT_LOAD' Loading meta-object: myModel.entity.Depts
    [306] {{ type: 'METAOBJECT_LOAD' Loading meta-object: myModel.entity.entity
    [307] Loading from individual XML files
    [308] Loading the Containees for the Package 'myModel.entity.entity'.
    [309] }}+++ End Event13 null
    [310] Custom class myModel.entity.nullImpl not found
    [311] }}+++ End Event12 null
    [312] }}+++ End Event10 null
    [313] JUErrorHandlerDlg.reportException(oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper)
    [314] UIMessageBundle (language base) being initialized
    ## Detail 0 ##
    java.lang.ClassNotFoundException: myModel.entity.nullImpl
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:166)
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:202)
         at oracle.jbo.server.AssociationDefImpl.initFromXML(AssociationDefImpl.java:940)
         at oracle.jbo.server.AssociationDefImpl.loadFromXML(AssociationDefImpl.java:907)
         at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:4274)
         at oracle.jbo.server.EntityDefImpl.loadAttributes(EntityDefImpl.java:4232)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:3063)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2700)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:584)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:817)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:482)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:420)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:402)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:808)
         at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:469)
         at oracle.jbo.server.ViewDefImpl.doAddEntityUsage(ViewDefImpl.java:4245)
         at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:4317)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2940)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2744)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:588)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:817)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:482)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:420)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:402)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:808)
         at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:560)
         at oracle.jbo.server.ViewLinkDefImpl.resolveReferences(ViewLinkDefImpl.java:718)
         at oracle.jbo.server.ViewLinkDefImpl.findDefObject(ViewLinkDefImpl.java:130)
         at oracle.jbo.server.ViewDefImpl.resolveViewLinkAccessorAttribute(ViewDefImpl.java:5191)
         at oracle.jbo.server.ViewDefImpl.processViewLinkAccessors(ViewDefImpl.java:5363)
         at oracle.jbo.server.ViewDefImpl.getAttributeDefImpls(ViewDefImpl.java:592)
         at oracle.jbo.server.ViewObjectImpl.initViewAttributeDefImpls(ViewObjectImpl.java:7136)
         at oracle.jbo.server.ViewObjectImpl.getAttributeDefs(ViewObjectImpl.java:4769)
         at oracle.adf.model.bc4j.meta.StructureDefinitionImpl.loadAttributes(StructureDefinitionImpl.java:281)
         at oracle.adf.model.bc4j.meta.StructureDefinitionImpl.loadStructure(StructureDefinitionImpl.java:150)
         at oracle.adf.model.bc4j.meta.StructureDefinitionImpl.getAttributeDefinitions(StructureDefinitionImpl.java:64)
         at oracle.jbo.jbotester.binding.TesterBinding.getAttributeNames(TesterBinding.java:257)
         at oracle.jbo.jbotester.binding.TesterBinding.createIteratorBinding(TesterBinding.java:172)
         at oracle.jbo.jbotester.binding.TesterBinding.createIteratorBindings(TesterBinding.java:163)
         at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:119)
         at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:82)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:587)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)

    I created a static view object called StaticDepartments with the data from the DEPT table, but typed in statically.
    I created a normal, entity-based EmpView VO over an Emp EO.
    I created a 1-to-* view link between StaticDepartments and EmpView based on the Deptno attribute.
    I added the master/detail to the AM's data model and tested, and it worked ok.
    What's different about the way you're creating the view link here?

  • Create view link programatically

    Hi all,
    I am working on this weird requirement.
    Basically, I have to create a detail table on a search resullt table. The search result is seeded search, for Item Advance search in Oracle PIM module which is not based upon a VO. The search result table is dynamically built at run time in the EgoItemSearchHelper class and that's where they build the search result VO (EgoItemSearchResultsVO).
    Now, I need to access this VO in the controller class, and create a view link programatically between details table VO and this VO. The problem is since I do not have Impl class for the EgoItemSearchResultsVO, how do I accees the column that is the key attribute. Second I do not know how to create view link between the two VOs programatically.
    Please help it's urgent.
    Thanks

    Pratap, My problem is the seeded VO is in seeded AM and my details VO will be in my custom AM, I don't know if we can have a view link between View objects that are in different AMs.
    To bypass that problem, I tried to create a VO in the seeded AM programatically and then created a view link. Now since the AM is seeded, and I am adding my details VO to this AM programatically, I thought of creating a table also programatically on the detais VO.
    In the end it does not work, I end up getting a show button on the main table, but when I click I get an error (Cannot find <null> attribute in the EOGITEMSEARCHRESULTVO) which is the seeded VO class. Unfortunately there is no boolean variable on the dynamic seeded VO, so don't know what to put in oatablebean.setDetailViewAttributeName("") method;
    Any clues on this, appreciate all responses from the forum gurus.
    ViewObject voEmp = oaapplicationmodule.createViewObject("MyEmp", "xxuss.oracle.apps.ego.item.eu.server.DetailsOrderLinesVO");
    ViewObject voEmp = am.createViewObject("MyEmp", "xxuss.oracle.apps.ego.item.eu.server.DetailsOrderLinesVO");
    AttributeDef[] prjLinkAttrs = new AttributeDef[]{oaapplicationmodule.findViewObject("EgoItemSearchResultsVO").findAttributeDef("INVENTORY_ITEM_ID_B")};
    System.out.println("definition for attr = "+ prjLinkAttrs[0]);
    AttributeDef[] taskLinkAttrs = new AttributeDef[]{voEmp.findAttributeDef("InvId") };
    ViewLink vl = am.createViewLinkBetweenViewObjects("MyLink3",
    "DetailInv", // accessor name--more on this below
    am.findViewObject("EgoItemSearchResultsVO"), // master
    prjLinkAttrs, // department attributes
    voEmp, // detail
    taskLinkAttrs, // employee attributes
    null); // assoc clause
    System.out.println("view link =" + vl.getName());
    OATableBean tb = (OATableBean)createWebBean(oapagecontext,TABLE_BEAN,null,"table");
    tb.setViewUsageName("MyEmp");
    OAMessageStyledTextBean beans = (OAMessageStyledTextBean)createWebBean(oapagecontext,MESSAGE_STYLED_TEXT_BEAN,OAWebBeanConstants.VARCHAR2_DATATYPE,"number");
    beans.setPrompt("column1");
    beans.setViewUsageName("MyEmp");
    beans.setViewAttributeName("InvId");
    tb.addIndexedChild(beans);
    oatablebean.setDetail((OAWebBean)tb);
    oatablebean.setDetailViewAttributeName("SelectFlag"); // I just tried this, SelectFlag is not a boolean attribute though, is there a way to create a boolean attribute programatically for seeded VO EGOITEMSEARCHRESULTVO and set it here, will it help
    oatablebean.setAllDetailsEnabled(true);

  • View Link w/ Transient View Objects

    I'm trying to create 2 view objects that contain only transient attributes and create a view link between them. I have a key defined in the parent and 2 keys in the child. When I create the view link I'm unable to generate the accessor in the source because the boxes are all grey'd out. The destination side works correctly.
    Is there any reason this shouldn't be possibly in BC4J? I've been scouring the documentation and so far I haven't found any mention that a view link will not work in this situation.
    This is in JDev. 9.0.4.
    Thank you

    A view link builds its corresponding where clause based on the selected attributes. On the source side, the attributes are used as parameters to the query, so transient attributes are fine. Attributes on the dest side get built into a where clause which would not work with transient attributes, so they are disabled.
    for example:
    select * from blah where (%1 == destVo.attr1) would not work if destVo.attr1 is transient.

  • View Link sql window is non editable

    Hi All,
    I am creating view link between two views using wizard, but when I reach view link sql window it is blank and non editable. any ideas on this?
    Thanks in advance.
    Hitesh

    Hitesh,
    This a very generic case and happens when the source VO join attribute and destination VO join attribute are not of same type, i.e. data type and data length. Make sure that is happening in your case, this will solve your problem.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Podcast episodes will not download from podcast stream

    I have set up a podcast on my website to download sermons. I created the xml file which I tested in my feeds section of my browser. The xml file works perfectly there in that all the episodes are listed with thier respective audio files. If you click

  • Working with previous version of FCP

    Please excuse me if this has been recently answered, as my computer has been stalling a lot as I search for an answer (that twirling thing going around and around) and I need some feedback as soon as I can. I have to make a trailer within the next mo

  • Scan to email on Color LaserJet Pro MFP M177fw

    I am trying to download the Printable "Scan to Email" onto my  Color LaserJet Pro MFP M177fw but It keeps throwing an error? When I  bought the printer (yesterday) i was told that I could set it up to Scan in a document and have it automatically send

  • How do I install CS6 with Windows 8?

    How do I install CS6 design and web premium on my Dell desktop running Windows 8 after I've downloaded it?

  • How do you limit the number of rings before your answerphone kicks in?

    People calling me have sometimes complained that if I am not available to take the call, they have to wait for many rings - and hence a long time - before the messaging system kicks in. And sometimes, callers give up, assuming I don't have voicemail.