Owb beta 3 / master detail mapping with sequence ora-00936 error

I'm not able to use sequence operator in mapping to create relationships between different record type from the same flat file. I have got an sql error ORA-00936: expression absente
The problem seem to be the sequence is not referenced in the sql loader parameter. The sequence exists, was deployed sucessfully, the mapping is validated and successfully deployed. The problem occurs during execution

Good afternoon "micwic",
In general, mappings with flat files make use of data generators, not sequence operators. This is what the User Guide (10gR1 but I guess R2 works similar) says for the Data Generator Operator :
Use a Data Generator operator to provide information such as record number, system date, and sequence values.
For mappings with flat file sources, the Data Generator operator also provides a place to enter constant information. For mappings with Flat File sources and targets, the Data Generator operator connects the mapping to SQL*Loader to generate the data stored in the database record.
The following functions are available:
RECNUM
SYSDATE
SEQUENCE
It is possible for Warehouse Builder to generate data by specifying only sequences, record numbers, system dates, and constants as field specifications. SQL*Loader inserts as many records as are specified by the LOAD keyword.
Setting a Column to the Data File Record Number
Use the RECNUM keyword to set an attribute to the number of the records that tthe record was loaded from. Records are counted sequentially from the beginning of the first data file, starting with record 1. RECNUM increments as each logical record is assembled. It increments for records that are discarded, skipped, rejected, or loaded.
For example, if you use the option SKIP=10, the first record loaded has a RECNUM of 11.
Setting a Column to the Current Date
A column specified with SYSDATE gets the current system date, as defined by the SQL language SYSDATE function.
The target column must be of type CHAR or DATE. If the column is of type CHAR, then the date is loaded in the format dd-mon-yy. After the load, you only access it in that format. If the system date is loaded into a DATE column, then you can only access it in a variety of formats including the time and the date. A new system date/time is used for each array of records inserted in a conventional path load and for each block of records loaded during a direct path load.
Setting a Column to a Unique Sequence Number
The SEQUENCE keyword ensures a unique value for a column. SEQUENCE increments for each record that is loaded or rejected. It does not increment for records that are discarded or skipped.
Recommendation: For PL/SQL mappings use a Constant Operator or Mapping Sequence Operator instead of a Data Generator.
etc.
Good luck, Patrick

Similar Messages

  • Master Detail Form with Report - Referring a column in another table

    I have master detail form with a report option. The master table has a column that also references a look up table.
    When the report is displayed the lookup column id is displayed. Rather I want to get the look-up value from a lookup table
    and display in the report.
    When I see the report region Query definition , it just has the columns to add/remove only from the master table.
    Could you pls help me with this regard.
    Eg :
    Dept Table
    dept_id
    dept_name
    location_id
    Employee Table
    employee_id
    employee_name
    dept_id
    location
    location_id_id
    location_name
    Master is Dept, Detail is dept and lookup table is location.

    Simply add the lookup table to the FROM clause and join its PK with the FK in the master table in your query. That's basic SQL, and you definitely must get a good grasp of SQL to do more than very basic work in APEX.
    For a good example, please see http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10498/build_app.htm#BCEBJJGB
    While you're at it, read and implement the tasks outlined in the 2 Day + Application Express Developer's Guide - http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10498/toc.htm. After that, read the "Oracle Application Express 3.0-- Building a Functional Application" OBE in http://www.oracle.com/technology/obe/apex/obe30/apexdev30.htm - great stuff.
    Georger

  • Master detail view with drill down

    I am trying to develop a simple app for my Ipad. This app is supposed to have a Master/details look and should behave similar to the native Mail app (2x levels of navigation and the last level updates the details view).
    My problem is that I am not familiar to Apple IOS development so tend to get stuck all the time so I prefer to follow a tutorial or start with a sample project. I have searched for hours but I always either get a pure navigation drill down project without the details view or a pure master/details project with only a single level of navigation. I tried to take these projects and modify them but my knowledge sadly is very limited and I did not succeed.
    So can anybody direct me to a tutorial or a sample project where a Mail like app is being built with more than 1 level of navigation ?

    I have a GridBagLayout panel with a jtable and some jtextfield Well, we don't know exactly what constraints you have set up to its hard to say exactly why its happening.
    In general, you should create your JTextField using new JTextField(int) and I think the problem will go away.
    An easier solution would also be to use different LayoutManagers to achieve the desired layout.

  • Export Results ORA-00936 Error Reported

    In an attempt to extract all of a package's source code in one file as well as work in a file-oriented fashion (which other posters have commented is not well supported), I issued a select dbms_metadata.get_ddl(...) from dual. This generated the output I wanted in the worksheet results. However, the ORA-00936 error is thrown when I try to export this as text to overwrite my (checked out from source control) file. My only recourse then becomes to copy the result, open my file (outside SQL-D) and replace what's there (which does work, by the way).
    There was another post on this issue in a prior version where the error was attributed to double quotes around aliases, but I'm still getting the error (see Re: Export query results error, v. 5 / 1343

    This is a bug with how SQL Developer does it's export (not that I could find it logged on MetaLink).
    When you export a query, SQL Developer writes a wrapper select around your query to drive the export. In an example of what you are trying to do, it converts the following query (I added an alias to see if that helped, but it didn't):
    select dbms_metadata.get_ddl('PACKAGE', 'MY_PKG') my_ddl from dual;
    to (based on the trace file with sql_trace switched on):
    select * from (select from ( select dbms_metadata.get_ddl('PACKAGE', 'MY_PKG') my_ddl from dual));
    Your immediate options are to continue with your current workaround, switch to a query on DBA_SOURCE for this export, or cope with the way SQL Developer currently does it's file based development.
    As far as getting this fixed (hopefully before 1.1), you would either need to log an SR on MetaLink or hope that one of the SQL Developer team logs a bug based on this thread.

  • ORA 00936 error

    ORA 00936 errorI c
    reated a new object in BO  universe.
    That object picks data from app_pat.curr_det_ind
    Table is loaded with data. Domain values of that column is 0 and 1.
    When we try to include this object in the report to filter for value 1, we get the following error
    message.
    ORA 00936
    It seems it should list the values and we should select from it.
    Do u have any solution to this?

    Hi
    After i create object i am using that object in query prompt iam getting error ORA 00936.
    can any boby help me outThe object having list of values
    Thanks in advance

  • Master/Detail form with modal edit

    I have a master/detail form that I generated using the wizard that I want to change to have a modal Edit button; i.e. the behavior I want is that the form view is initially read-only and you then have to click an Edit button to make the form editable.
    I figured out how to do this for the master row by making the edit button redirect back to the same page with the request set to 'EDIT' and then making all the page items read-only with a condition REQUEST <> 'EDIT'.
    I cannot find a good way to do this for the detail rows, which are actually a report with editable columns. The problem is that the 'Tabular Form Element' section of the 'Column Attributes' page does not have a read-only condition.
    The only work around I can come up with so far is to have a second read-only report region with the same SQL query and then display either the editable or non-editable report region conditionally depending on whether the request is EDIT. But this obviously not ideal (having same SQL in two places, etc.).
    If anyone can think of a better way to do this, I'd be grateful.
    HTML DB Team: Can you log the addition of a read-only condition attribute on editable report columns as an enhancement request?

    Simply add the lookup table to the FROM clause and join its PK with the FK in the master table in your query. That's basic SQL, and you definitely must get a good grasp of SQL to do more than very basic work in APEX.
    For a good example, please see http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10498/build_app.htm#BCEBJJGB
    While you're at it, read and implement the tasks outlined in the 2 Day + Application Express Developer's Guide - http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10498/toc.htm. After that, read the "Oracle Application Express 3.0-- Building a Functional Application" OBE in http://www.oracle.com/technology/obe/apex/obe30/apexdev30.htm - great stuff.
    Georger

  • Several reports on joined master-detail tables with single row source

    I have 1 master table (Fixed Assets) and several datail tables (Improvements, Depreciation, ...)
    I need to create several reports based on them all with criteria
    'Select ALL from Master and join details
    /1 total row from details for 1 master row/
    filtered by [on_date <= report_date]'
    How to do it better and not copy same code in every report?
    As mentioned on this forum, ApEx is not able to use RefCursor as row source for ApEx reports
    So I tried this Tom Kyte's example:
    create type apex_user.myRecordType as object
    (seq int,
    a int,
    b varchar2(10),
    c date
    Create Or Replace Type Apex_User.Mytabletype As Table Of Apex_User.Myrecordtype;
    create or replace function Apex_User.my_function return Apex_User.myTableType
    Is
    l_data Apex_User.myTableType;
    Begin
    l_data := Apex_User.myTableType();
    for i in 1..5
    loop
    L_Data.Extend;
    l_data(i) :=Apex_User.myRecordType(i, i, 'row ' || i, sysdate+i);
    end loop;
    Return L_Data;
    End;
    Select *
    from TABLE (cast(Apex_User.my_function() as Apex_User.mytableType))
    Where C > Sysdate+1
    Order By Seq Desc
    SEQ A B C
    5 5 row 5 22.08.2010
    4 4 row 4 21.08.2010
    3 3 row 3 20.08.2010
    2 2 row 2 19.08.2010
    4 Rows Selected
    - and it really works from ApEx reports.
    The questions are:
    1) is this the best solution for my task (one centralized code for several reports with parameter filtering detail tables)?
    2) how to change example properly to have here -
    loop
    L_Data.Extend;
    l_data(i) :=Apex_User.myRecordType(i, i, 'row ' || i, sysdate+i);
    end loop;
    - simple SELECT from my MASTER-DETAILS joined tables?

    Hi,
    if (row != null)
    Row masterRow = row;
    vo.setCurrentRow(masterRow);
    // not needed : getMesReponsesPourTiersVO1().executeQuery();
    You shouldnot execute the child VO after setting current row in master VO.
    When the current row is set in master VO, then the child rows will get refreshed automatically.
    Cheers,
    Prasanna

  • Urgent !!! Master- Detail Search with Hide/Show option

    Hi,
    I have developed a master-detail OAF page with hide/show option.
    in my searching option i have both master and detail columns.
    How can i control detail level vo query.
    Eg. If i pass Item no in the searching option along with customer, i sould get only that item line for that CUST.
    I have created parameters in the main query and I am passing param values in a methos at AM.
    When i click on Show details its throwing exception.
    Can any one please help me how to acheive this. Its urgent...
    Thanks,

    Hi Gyan,
    Thanks for your reply.
    Master VO query:
    SELECT qfbp.pricing_attribute_context,
    qfbp.pricing_attribute,
    qfbp.comparison_operator_code,
    qfbp.pricing_attr_value_from,
    qfbp.pricing_attr_value_to,
    qfbp.adjustment_factor,
    qfbp.start_date_active,
    qfbp.end_date_active,
    qfbp.list_line_id,
    qfbp.factor_list_id
    FROM qpfv_factor_base_pricing_attrs qfbp
    WHERE qfbp.factor_list_id = NVL(:1,qfbp.factor_list_id)
    AND qfbp.pricing_attribute = NVL(:2,qfbp.pricing_attribute)
    AND qfbp.comparison_operator_code = NVL(:3,qfbp.comparison_operator_code)
    AND NVL(qfbp.pricing_attr_value_from,'xxxxx') = NVL(:4,NVL(qfbp.pricing_attr_value_from,'xxxxx'))
    AND NVL(qfbp.pricing_attr_value_to,'xxxxx') = NVL(:5,NVL(qfbp.pricing_attr_value_to,'xxxxx'))
    AND qfbp.adjustment_factor = NVL(:6,qfbp.adjustment_factor)
    Detail VO Query:
    SELECT qfapa.list_line_id, qfapa.pricing_attribute_context,
    qfapa.pricing_attribute, qfapa.pricing_attr_value_from,
    qfapa.pricing_attr_value_to, qfapa.factor_list_id,
    qfapa.comparison_operator_code, qfapa.pricing_attribute_id,
    qfapa.creation_date, qfapa.created_by, qfapa.last_update_date,
    qfapa.last_updated_by, qfapa.orig_sys_header_ref,
    qfapa.orig_sys_line_ref, qfapa.orig_sys_pricing_attr_ref
    FROM qpfv_factor_asso_pricing_attrs qfapa
    WHERE qfapa.pricing_attribute = NVL (:2, qfapa.pricing_attribute)
    AND qfapa.comparison_operator_code = NVL (:3, qfapa.comparison_operator_code)
    AND NVL (qfapa.pricing_attr_value_from, 'xxxxx') = NVL (:4, NVL (qfapa.pricing_attr_value_from, 'xxxxx'))
    AND NVL (qfapa.pricing_attr_value_to, 'xxxxx') = NVL (:5, NVL (qfapa.pricing_attr_value_to, 'xxxxx'))
    Iam using view link to display master detail results in one page.
    AM Code : Searcharttr method is for details VO.
    public void searchparams(OAPageContext pageContext, OAWebBean webBean)
    FactorListSearchVOImpl vo = getFactorListSearchVO1();
    String FactorlistName ="";
    String FactorListId ="";
    String PricingAttribute ="";
    String CompOperator ="";
    String PricingAttrValFrom ="";
    String PricingAttrValTo ="";
    String AdjustFactor ="";
    if (pageContext.getParameter("FactorListNameId")!=null&&!pageContext.getParameter("FactorListNameId").equals(""))
    FactorListId =pageContext.getParameter("FactorListId").toString();
    vo.setWhereClauseParam(0,FactorListId);
    else
    vo.setWhereClauseParam(0,null);
    if (pageContext.getParameter("BaseAttrTypeId")!=null&&!pageContext.getParameter("BaseAttrTypeId").equals(""))
    PricingAttribute =pageContext.getParameter("BaseAttrTypeId").toString();
    vo.setWhereClauseParam(1,PricingAttribute);
    else
    vo.setWhereClauseParam(1,null);
    if (pageContext.getParameter("BaseOperator")!=null&&!pageContext.getParameter("BaseOperator").equals(""))
    CompOperator =pageContext.getParameter("BaseOperator").toString();
    vo.setWhereClauseParam(2,CompOperator);
    else
    vo.setWhereClauseParam(2,null);
    if (pageContext.getParameter("BaseAttrValueFrom")!=null&&!pageContext.getParameter("BaseAttrValueFrom").equals(""))
    PricingAttrValFrom =pageContext.getParameter("BaseAttrValueFrom").toString();
    vo.setWhereClauseParam(3,PricingAttrValFrom);
    else
    vo.setWhereClauseParam(3,null);
    if (pageContext.getParameter("BaseAttrValueTo")!=null&&!pageContext.getParameter("BaseAttrValueTo").equals(""))
    PricingAttrValTo =pageContext.getParameter("BaseAttrValueTo").toString();
    vo.setWhereClauseParam(4,PricingAttrValTo);
    else
    vo.setWhereClauseParam(4,null);
    if (pageContext.getParameter("BaseAdustFactor")!=null&&!pageContext.getParameter("BaseAdustFactor").equals(""))
    AdjustFactor =pageContext.getParameter("BaseAdustFactor").toString();
    vo.setWhereClauseParam(5,AdjustFactor);
    else
    vo.setWhereClauseParam(5,null);
    public void searchattrparams(OAPageContext pageContext, OAWebBean webBean)
    FactorListSearchVOImpl vo = getFactorListSearchVO1();
    String AssoAttribute ="";
    String AssoOperator ="";
    String AssoAttrValFrom ="";
    String AssoAttrValTo ="";
    if (pageContext.getParameter("AsscAttrType1")!=null&&!pageContext.getParameter("AsscAttrType1").equals(""))
    AssoAttribute =pageContext.getParameter("AsscAttrType1").toString();
    vo.setWhereClauseParam(1,AssoAttribute);
    else
    vo.setWhereClauseParam(1,null);
    if (pageContext.getParameter("AsscOperator1")!=null&&!pageContext.getParameter("AsscOperator1").equals(""))
    AssoOperator =pageContext.getParameter("AsscOperator1").toString();
    vo.setWhereClauseParam(2,AssoOperator);
    else
    vo.setWhereClauseParam(2,null);
    if (pageContext.getParameter("AsscAttrValueFrom1")!=null&&!pageContext.getParameter("AsscAttrValueFrom1").equals(""))
    AssoAttrValFrom =pageContext.getParameter("AsscAttrValueFrom1").toString();
    vo.setWhereClauseParam(3,AssoAttrValFrom);
    else
    vo.setWhereClauseParam(3,null);
    if (pageContext.getParameter("AsscAttrValueTo1")!=null&&!pageContext.getParameter("AsscAttrValueTo1").equals(""))
    AssoAttrValTo =pageContext.getParameter("AsscAttrValueTo1").toString();
    vo.setWhereClauseParam(4,AssoAttrValTo);
    else
    vo.setWhereClauseParam(4,null);
    Iam getting below error:
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT qfapa.list_line_id, qfapa.pricing_attribute_context,
    qfapa.pricing_attribute, qfapa.pricing_attr_value_from,
    qfapa.pricing_attr_value_to, qfapa.factor_list_id,
    qfapa.comparison_operator_code, qfapa.pricing_attribute_id,
    qfapa.creation_date, qfapa.created_by, qfapa.last_update_date,
    qfapa.last_updated_by, qfapa.orig_sys_header_ref,
    qfapa.orig_sys_line_ref, qfapa.orig_sys_pricing_attr_ref
    FROM qpfv_factor_asso_pricing_attrs qfapa
    WHERE qfapa.pricing_attribute = NVL (:2, qfapa.pricing_attribute)
    AND qfapa.comparison_operator_code = NVL (:3, qfapa.comparison_operator_code)
    AND NVL (qfapa.pricing_attr_value_from, 'xxxxx') = NVL (:4, NVL (qfapa.pricing_attr_value_from, 'xxxxx'))
    AND NVL (qfapa.pricing_attr_value_to, 'xxxxx') = NVL (:5, NVL (qfapa.pricing_attr_value_to, 'xxxxx'))) QRSLT WHERE (LIST_LINE_ID = :1)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2970)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2767)
         at OA.jspService(OA.jsp:41)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01008: not all variables bound

  • Can I set up a Master-Detail Page with report regions for 2 Detail Tables?

    Hi there,
    I am just starting to use Application Express.
    I have a Table (A) with Master-Detail relationships to two Tables B & C.
    I can set up a Master-Detail Page between Table A and Table B, where the records displayed in Table B change when switching between records in Table A. I would like to add Table C to the page and for this to work in the same way.
    Is this possible in APEX? (I've tried adding a report region for Table C and making the Region Source dependent on the same ID field as is used by the report region for Table B but I keep getting "No Data Found" for Table C).
    Many thanks.

    Thanks, but the text needs to be on a single master page which every page is assigned to. This is so the text alternates correctly regardless of whether new pages are inserted or moved. If I assigned separate master pages to individual pages and then moved the pages to a different location, the alternating footer text would then fall out of sync. I hope that made sense!

  • Master / Details Regions with yui Calendar

    I have a Calendar of Events that I need to display.  I have put a yui Calendar in my Master Region, and need it to control the Details Region.  I can get the Details Region to show a single event per day.
    Is there a way to let the Details Region show multiple Events if they are scheduled on the same date?
    I do not have access to an external web server to post my page to, but here is the code to the Master/Details Region on my site:
    <div id="sidebar2">
        <div id="yuicalendar1"></div>
    <script type="text/javascript">
    // BeginWebWidget YUI_Calendar: yuicalendar1   (function() {
        var cn = document.body.className.toString();
        if (cn.indexOf('yui-skin-sam') == -1) {
          document.body.className += " yui-skin-sam";
      })();  var inityuicalendar1 = function() {
        var yuicalendar1 = new YAHOO.widget.Calendar("yuicalendar1");    // The following event subscribers demonstrate how to handle
        // YUI Calendar events, specifically when a date cell is
        // selected and when it is unselected.
        // See: http://developer.yahoo.com/yui/calendar/ for more
        // information on the YUI Calendar's configurations and
        // events.
        // The YUI Calendar API cheatsheet can be found at:
        // http://yuiblog.com/assets/pdf/cheatsheets/calendar.pdf
        //--- begin event subscribers ---//
        yuicalendar1.selectEvent.subscribe(selectHandler, yuicalendar1, true);
        yuicalendar1.deselectEvent.subscribe(deselectHandler, yuicalendar1, true);
        //--- end event subscribers ---//
    yuicalendar1.cfg.setProperty("title", "Calendar of Events", false);    yuicalendar1.render();
      }  function selectHandler(event, data) {
      // The JavaScript function subscribed to yuicalendar1.  It is called when
      // a date cell is selected.
      // alert(event) will show an event type of "Select".
      // alert(data) will show the selected date as [year, month, date].
      var formattedDateString = data[0][0][1] + "/" + data[0][0][2] + "/" + data[0][0][0];
      var r = dsCalendar.findRowsWithColumnValues({"Date": formattedDateString }, true);
      var region = Spry.Data.getRegion("classDetail");
      if(r){
       dsCalendar.setCurrentRow(r.ds_RowID);
       region.setState("showClass", true);
       } else {
        region.setState("ready", true);
      };  function deselectHandler(event, data) {
      // The JavaScript function subscribed to yuicalendar1.  It is called when
      // a selected date cell is unselected.
      };      // Create the YUI Calendar when the HTML document is usable.
      YAHOO.util.Event.onDOMReady(inityuicalendar1);
    // EndWebWidget YUI_Calendar: yuicalendar1
    </script>
    <div spry:detailregion="dsCalendar" spry:setrow="dsCalendar" id="classDetail">
    <div spry:state="showClass">
    <table width="100%" border="0" cellpadding="1">
       <tr>
         <td colspan="2"><h4>{Class}</h4></td>
        </tr>
       <tr>
        <td colspan="2">{Description}</td>
        </tr>
       <tr>
         <td>{Location}</td>
         <td>{Date}</td>
       </tr>
    </table>
        </div>
        <div spry:state="ready">
    There are no classes on this date. Please select another date.
    </div></div>
      <!-- end #sidebar2 --></div>
    And, here is the code to my "schedule.htm" file:
    Class
    Logo
    Description
    Location
    Date
    Dreamweaver CS4 Intermediate
    Take your skills to the next level with this training.
    Austin, TX
    12/15/2008
    InDesign CS4 Advanced
    This class is for experienced users that want to go beyond the basics.
    Phoenix, AZ
    12/18/2008
    Flex CS4 Data Services
    Learn about Live Cycle Data Services in this training.
    Austin, TX
    12/19/2008
    Flash CS4 Rich Content Creation
    From beginning to intermediate, learn how to animate with the latest tools.
    Austin, TX
    12/30/2008
    Photoshop Advanced
    Experienced Photoshop users will learn how to use advanced tools for image manipulation.
    Phoenix, AZ
    12/20/2008
    Dreamweaver CS4 Intermediate
    Take your skills to the next level with this training.
    Austin, TX
    12/01/2008
    InDesign CS4 Advanced
    This class is for experienced users that want to go beyond the basics.
    Phoenix, AZ
    12/08/2008
    Flex CS4 Data Services
    Learn about Live Cycle Data Services in this training.
    Austin, TX
    12/25/2008
    Flash CS4 Rich Content Creation
    From beginning to intermediate, learn how to animate with the latest tools.
    Austin, TX
    12/26/2008
    Photoshop Advanced
    Experienced Photoshop users will learn how to use advanced tools for image manipulation.
    Phoenix, AZ
    8/21/2009
    Short Course
    Seminar where the engineers come together to discuss TxDOT.
    Austin, TX
    8/26/2009
    Long Course
    Around the cementary, down to the high school, and back.
    Wolfforth, TX
    8/21/2009
    No Class
    No classes on this date.
    n/a
    Notice on the schedule.htm file, there are some classes that have the same date.  I would like the Details region to show multiple classes based on the date.  Is that even possible?
    Thanks!

    @strick,
    Don't know if you got this sorted out already, but I'll add an answer since I looked here when trying to figure this out.
    I had the same problem.
    You can get this to do what you want in two steps:
    1.)  Just below the line in your code that reads
    var formattedDateString = data[0][0][1] + "/" + data[0][0][2] + "/" + data[0][0][0];
    add the following code:
    function myFilterFunc(dataSet, row, rowNumber)
    // Filter all rows with date = selected date
    if (row['Date'] == formattedDateString){
    return row;   }
    else {
    return null;}
    // Filter the data.
    dscalendar.filter(myFilterFunc);
    2.) Just after the line in your code that reads
    <table width="100%" border="0" cellpadding="1">
    add the following code:
    <tr spry:repeat="dscalendar">
    Ok, one last step for the code that you've listed here.  You should be able to get rid of all the <tr> tags except for the outermost ones.  So, it could
    look like this:
    <table width="100%" border="0" cellpadding="1">
       <tr spry:repeat="dscalendar">
        <td colspan="2"><h4>{Class}</h4></td>
        <td colspan="2">{Description}</td>
        <td>{Location}</td>
        <td>{Date}</td>
       </tr>
    </table>
    You can see a working example of this at http://www.coloradogreenline.com/YUISpryCalendar/sprytest6.html.  October 13, 2009 has more than one event scheduled.  This one doesn't display the data in table format, but you can still it working.
    Hope this helps.

  • Master-detail page with form layout -- insert only -- not in create mode

    JDeveloper 10.1.3.1 with JHeadstart
    I have the following master-detail structure in JHeadstart:
    Group 1, Table a, Layout: table-form
    Group 2, Table b, Layout: table-form
    Group 3, Table c, Layout: form
    Group 4, Table d, Layout: form (on same page as master table c)
    Table a, b and c are updatable (insert, update and delete).
    I have problems with the last page, tables c and d, master-datail both in form layout.
    The master-table (c) is not an insert-only table, the detail table needs to be an insert-only form on the same page as the master table c.
    Settings Table d:
    Advanced search and quick search: none
    Autoquery: disabled
    Single row insert allowed (other options in Operations disabled)
    In my view object I have used the settings in the JDeveloper guide 8.1.2 ('no rows...' in tab Tuning).
    I run my application in JDeveloper (with the option run in my ViewController-project, which means that I am not running my detail page directly in JDeveloper??) and when I open this last page, the detail form is not in create mode (I see no rows found and a create rows button).
    I have read several threads in this forum, but I do not know how to solve this problem.

    This does not work.
    In my first post I made an mistake in describing my application, it is not a table-form, but a tree-form application:
    Group 1, Table a, Layout: tree-form
    Group 2, Table b, Layout: tree-form
    Group 3, Table c, Layout: tree-form
    Group 4, Table d, Layout: form (on same page as master table c)
    If I override the executeQueryForCollection method in the ViewObjectImpl of table d I get a message ('JBO-27122: SQL-fout tijdens voorbereiding van statement' and 'java.sql.SQLException: OALL8 is in an inconsistent state').
    while clicking on the tree (with table b and c). It seems that the QueryForCollection method is being executed to early.

  • Error "field required" in master-detail form with FORMS 10G!!

    I have a Master-Detail Form.
    When the cursor stay in detail block and i chage the master record with the mouse, clicking in scroll bar, i get error "field required".
    In Forms 6i, works fine!!

    Master block has more than one record displayed. When I click on any item in detail (except first one) and then click on different master record (return navigation to master block, but not current record) I have FRM-40202: Field must be entered on first item in detail block.
    I found that reason is this part of clear_all_master_details procedure (automatically created by Oracle Forms):
    IF :System.Cursor_Item <> startitm THEN
    Go_Item(startitm);
    Check_Package_Failure;
    END IF;
    Does any have same experience?
    Is it Oracle bug or I am missing something?

  • Master Detail Forms with 2 composite primary keys - Is there a workaround?

    Hello All,
    I have been searching for a workaround to the maximum 2 part primary key restriction on the multi-row updates, and master-detail forms, and am hoping that someone can help me. I am using HTMLDB v2.0.0.00.49 with IE 6 against a 9.2 DB.
    I successfully implemented the workaround of Fred Stoopendaal's (see Updata PK on HTML DB ) and it works fine for single page multi-record updateable forms, but alas I haven't been able to extend it to master detail forms (I think it is something to do with Oracle not allowing the "returning" clause on views).
    Here is what I tried:
    two tables, one with a 2 part composite primary key, which is the master table, and a detail table with 3 part composite primary key -
    --------- BEGIN SQL ---------
    create table master_table
    ( master_col1 number
    , master_col2 number
    , master_col3 varchar2(30)
    , constraint master_pk primary key (master_col1,master_col2));
    create table detail_table
    (detail_col1 number
    ,detail_col2 number
    ,detail_col3 number
    ,detail_col4 varchar2(30)
    , constraint detail_pk primary key(detail_col1,detail_col2,detail_col3)
    , constraint master_detail_fk foreign key (detail_col1,detail_col2) references master_table(master_col1,master_col2));
    create or replace view v_master_table as
    select rowid mata_rowid,mata.*
    from master_table mata;
    create or replace view v_detail_table as
    select rowid deta_rowid,
    (select rowid from master_table mata where mata.master_col1 = deta.detail_col1 and mata.master_col2 = deta.detail_col2) deta_mata_rowid
    , deta.*
    from detail_table deta;
    create or replace trigger mata_ins_upd_trg
    instead of insert or update on v_master_table
    referencing new as new old as old
    for each row
    begin
    if inserting then
    insert into master_table (master_col1, master_col2, master_col3)
    values (:new.master_col1, :new.master_col2, :new.master_col3);
    end if;
    if updating then
    update master_table
    set master_col1 = :new.master_col1,
    master_col2 = :new.master_col2,
    master_col3 = :new.master_col3
    where rowid = :old.mata_rowid;
    end if;
    end;
    create or replace trigger deta_ins_upd_trg
    instead of insert or update on v_detail_table
    referencing new as new old as old
    for each row
    begin
    if inserting then
    insert into detail_table ( detail_col1, detail_col2, detail_col3, detail_col4)
    values (:new.detail_col1, :new.detail_col2, :new.detail_col3, :new.detail_col4);
    end if;
    if updating then
    update detail_table
    set detail_col1 = :new.detail_col1,
    detail_col2 = :new.detail_col2,
    detail_col3 = :new.detail_col3,
    detail_col4 = :new.detail_col4
    where rowid = :old.deta_rowid;
    end if;
    end;
    --------- END SQL ---------
    Then I created a master-detail form in Apex on the two views, using the mata_rowid and deta_rowid as primary keys, and mata_rowid=deta_mata_rowid as the link. I realise that using a function to fetch the master rowid within the detail view query is costly, but it was my intention to modify the record fetch queries to use the real FK columns once things were up and running.
    It seems to generate the pages ok, and I can insert/update master table records, but as soon as I modify records in the detail table things go a bit haywire. I can't find any documentation on how the inbuilt MRU/MRD logic works, so can't figure out the issue.
    Can anyone out there tell me what the problem is with the logic above, or if they have come up with a neat solution to this annoying limitation. I know that many will say that I should modify the data model to use surrogate primary keys, but many of the uses for HTMLDB are new interfaces for old schemas, so a workaround that doesn't involve wholesale data model changes would be preferable.
    Thanks in advance,
    Mike Cretan

    Hi, this is likely not the most elegant way...but perhaps the simplest -- and I didn't have much time to play.
    I used Wizard to create two separate Master Detail forms, each with a separate detail table. Thus I ended up with four pages:
    Page "A" - "Selector" page for Master (Report), with Edit link driving to Detail-1
    Page "B" - Editable Master/Detail-1 page (HTML / Report)
    Page "C" - "Selector" page for Master (Report), with Edit link driving to Detail-2
    Page "D" - Editable Master/Detail-2 page (HTML / Report)
    Then I selected the primary key column TWICE on the Report on Page A. Modified the second instance of this column to navigate to Page D (passing primary key) exactly the way the original instance of this column navigates to Page B. Then I deleted Page C.
    Since you can have only one Tabular Entry form per page, this seemed the best way to drive two separate detail tables from a common interface.

  • Populate row of master detail form with selection from LOV?

    Hi Guys,
    Total noobe, Hope you can help me out with a project I am working on in Oracle Apex 4.1 with 11g XE
    I am sure this is a simple enough issue but I just can’t see the solution.
    I have a table called ‘STOCK’ this contains all new parts and delivery details.
    ‘STOCK_ID’ NUMBER PK
    ‘DELIVERY DATE ‘ DATE
    ‘PART’ VARCHAR2
    ‘PART_SN’ VARCHAR2
    ‘PART_AN’ VARCHAR2
    ‘INSTALLED’ CHECKBOX
    I have a table that list all the current physical locations of hardware for example
    ID, Till number, store location etc…
    I have an table to list the devices and modification to the hardware in these store locations.
    Move Date, Device, Device Serial number, Device Asset Number, Comments
    I have a report & form that displays all the current physical locations of hardware and a master detail form linked to this to add devices and modifications to each store location.
    I have a LOV setup on the Devices column that is based on a simple select query
    SELECT PART from STOCK
    ORDER BY 1
    This provides me the list of parts in the stock table.
    What I need to figure out is how do I get the data from the ‘STOCK’ table when I select a part in the LOV to auto populate ‘DEVICE_SN’ ‘DEVICE_AN’ in my master detail tubular form. this information is contained in the 'PART_SN' & 'PART_AN' columns of the STOCK table.
    I also need to figure out how to identify the part because by default the LOV only displays one column and I have no idea which part I am selecting other than by name. i could use a popup LOV and scan a barcode into the search box and get the retuen value to display the part name in the field.
    I also would like to reduce the number of records displayed in the LOV by using the ‘INSTALLED’ checkbox i.e. if checked this part has been used and will not be available for selection. The ‘PART_SN’ field can be duplicated as we often get the same part back again as a replacement after repair but this should be valaditated against i.e if the parts is ticked as installed and not available for selection in the list it can be added again this could possibly be validated based on the ‘DELIVERY DATE‘?
    I hope this make some sense to you guys if you need any further details let me know.
    Cheers
    Darren

    Hi,
    I am from the Oracle Forms background too and I have been using Oracle Apex for a while. Oracle Forms is just like client-server application although it uses the Forms servlet to render its Web front-end. I think...if you're really trying to develop true-Web application, you should try to forget such features as "master with many details" in Oracle Forms. Loading all the details in a single page will cause overheads anyway. When you discover more about ajax and such third-party javascript libraries as jquery and mootools, you'll have a different mind of Web development.
    Thanks.
    Andy

  • Item master Item mapping with multiple vendors

    Hi Experts,
    I need your help, I have one item like 'TV' in item master and need to enter multiple prices make wise samsung,sony,lg like.
    How can I maintain this in SAP B1 2005B.
    One Item mapping with multiple vendors with price...
    Thanks,

    Dear Aarti,
    I would recommend to have multiple items for the different brands you are selling.
    For example, you can call the item code Samsung, Sony etc and all of these item can be added to an item group called TV.
    Then you can assign a price to the items in the price lists.
    Alternatevely, if you need to have one single item called TV and different prices according to the brand, create a number of price lists called Sony, Sumsung etc and then if you know which customers buy a particular brand you can connect the price list to the customer under
    Business partner master data - Payment Terms - Price list.
    Please, if these 2 options are not helpful let us know the exact scenario and business reason behind your request.
    Kind Regards,
    Marcella Rivi
    SAP Business One Forums Team

Maybe you are looking for

  • Cisco ASA SFR Access control policy

    Hi All, I got an issue while applying access control policy on defense center . it's saying as "does not have a Protection license (required for Intrusion Policy support, File Policy support, and Security Intelligence)" . But when i checked in device

  • Macs forget wireless login password

    I installed a Time Capsule last night for some friends. They have an iMac, 3 Macbooks, and a Canon wireless printer. They previously had an old Netgear router, so I pulled the Netgear and gave the Time Capsule the same SSID and WPA password. Everythi

  • Lookups to External Data Sources

    Is it possible to create data object lookup fields that point to data objects that are External Data Sources rather than Internal Data Objects. Thanks, Mark.

  • BUG - TransitionManager.as Squeeze

    Hello everybody, first of all - sorry for my bad english :) well i think i found a bug in the TransitionManger.as Class File - Let's go through the script and the problem occurs running the script with the "Squeeze" Transition. Look at this AS script

  • Labview unload dll empty path

    In Labivew 8.2 Help, under "Call Library Function Dialog Box," it has the following tip listed: " You can use the reference in input to unload a previously referenced library from memory. Wire an empty or invalid path to the reference in input to unl