ADF tree-table using the single object view

Hi all

I'm pretty new (in fact, quite new) to the development of the ADF so bear with me here.

I use JDev version 11.1.1.7.0

My question is this: -.

I have a single table, with a single entity object and view read-only of the object, metaphorically, sitting on it. This table contains attributes such as Type of system, Application name, content of the Message, etc. It is used as a repository of audit trail for many applications in our field.

Now what I want to do is create a style tree-table menu to allow the user to select a system Type (is there a lot of them) and cross the names of applications that are related to the type of system selected. Getting the granularity I'm not further than the name of the Application. When a user clicks on the Type system or a given Application name, the ADF array element that I have on my page .jspx should perform a partial page refresh to filter results accordingly.

That's what I'm thinking the tree-table to look like:-l' user must be able to expand and collapse the nodes as needed.

Type of <>

< A system >

< A.1 application name >

< A.2 application name >

< A.3 application name >

< B > system

< application B.1 name >

< name B.2 of the application >

< system C >

< name C.1 of the application >

etc...

I did some research and I'm not sure I'm able to do what I ask with a single view object. Many articles and tutorials I've read up to now focus on the view of the objects that contain the link relationships with one or more display objects. This obviously creates a relationship master / detail that is easily available for the course I guess...?

Any help would be greatly appreciated.

Thank you

JimBob

No, you probably can't perform this operation with VO alone (because you do not have a recursive structure if I understood your sample).

You'll need VO to 'Types of system' (as the root of the tree), VO for the 'systems' (logged on 'Types of system' VO with ViewLink) and VO for 'Requests' (connected on 'Systems' VO of ViewLink).

Dario

Tags: Java

Similar Questions

  • Create a tree of a single object View table

    Hi all

    I use Jdeveloper 11 g PS2

    Can someone tell me how to create a table of tree of a single VO?

    Looks like Frank Nimphius has posted an article on this entitled 'how-to create a picture of the tree to a single object View and how to get access backstage for the data lines' but all links to it repoint towards http://www.oracle.com/technetwork/developer-tools/jdev/overview/index.html. I couldn't find it on Connotea, nor was it explained in the book the Oracle Fusion developer's Guide.

    I have no problem, creating a tree with two table, but it is redundant in my case, because the tree is based on a car that references the table. My association of entity is already created that binds the parent_id column column id. And I have a link to view based on the association of the entity. I also create a view for my VO that filters the parent (parent_id = null) records and criteria applied to the instance of VO in the data model. I also have a detail THAT VO from my view link.

    I drag the object instance view my page of the data control panel and select create table tree. In the Edit Connection dialog tree, I press the icon ' green more "to create the level rule tree to the child nodes, and then select the accessor to display the child records and he applies it my rule of high level (normally with two your I get a rule of the child based on the accessor). When I run the page it seems to work a certain number of records but I get duplicate at the end lines and page crashes.

    I'm sure it's something simple, I am on here. Any help will be appreciated.

    Thank you

    Hello

    OTN has got a new infrastructure and ADF Code corner had to be rebuild. I'm working on this week (looks good so far). The URL will change to

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

    The sample should be back this week

    Frank

  • Inserting data in several related tables using the database

    Hello world
    I'm working on a BPM application using Oracle BPM 11.1.1.5.0 and JDeveloper 11.1.1.5.0.

    In my database, I have two tables, loan and guarantee that are related by a field named employeeID (PK on loan) and FK in warranty.
    Each line can have several lines of guarantee.

    At this point, I'm doing an entry form for the user to insert data in the two tables.

    I did successfully before with a single table that has no relations.

    The way I'm doing here is, after the creation of the database successfully adapter, a type of LoanCollection is created in the types module, which can be used to create business objects and data objects of.

    The problem is when I create an object of type loanCollection process data and then create a UI generated automatically on that basis, only the fields in the primary table (the Table of loan) appear in the form.
    On the other hand, if I create a business object based on the LoanSchema, the form for all of the two tables is created automatically (the loan as a form, the guarantee in a table), but then, when I try to access it in the section processing service mission which calls the database adapter, I have no access to such.
    In fact, the only type which can be used in the service task is the process based on the loanCollection data object.

    To summorize, I have to use the type of business for my UI object to include all the fields in both tables, so I have to use the data object from the collection process in the transformation of service task dialog box.
    And I can't find a way to map to another.

    Can someone help me with this please?
    Thank you very much

    Try to follow these steps.

    1. create a new module in your catalogue our BPM project management section
    2. in this new module create 3 Business Objects - (LoanBusinessObject, GuaranteeBusinessObject and GuaranteeArrayBusinessObject)
    3. Add the attributes appropriate to the LoanBusinessObject and the GuaranteeBusinessObject so that they mimic your database tables, then to the GuaranteeArrayBusinessObject add an array of type attribute GuraranteeBusinessObject
    4. now you need to create two process data objects, type loanProcessObject LoanBusinessObject and type guaranteesProcessObject GuaranteeArrayBusinessObject
    5. as inputs to your human task adds the loanProcessObject and guaranteesProcessObject, these should now be available in your data controls and can be used to auto generate the form
    6. in your dbadapter you'll then use XSL Transformation and use for each so that it will write the data to the ready table and all the line items of warranty for the warranty table.

  • Get the 500 error trying to create a table using the REST API

    Hello

    I tried to create a table using the REST API for Business Intelligence Cloud, but I got 500 Internal Server Error for a while now.

    Here are the details that I use to create a table.

    Capture.JPG

    and the json to create the schema that I use is

    [{'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ["ROWID"]}]

    , {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['RELATIONID']},

    {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['ID']}

    , {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['RESPONDEDDATE']},

    {'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [255], 'columnName': ['RESPONSE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_CREATEDDATE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['SYS_CREATEDBYID']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_LASTMODIFIEDDATE']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [18], 'columnName': ['SYS_LASTMODIFIEDBYID']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['TIMESTAMP'], 'precision': [0], 'length': [0], 'columnName': ['SYS_SYSTEMMODSTAMP']},

    {'Nullable': [false], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [10], 'columnName': ['SYS_ISDELETED']},

    [{'Nullable': [true], 'defaultValue': 'dataType' [null],: ['VARCHAR'], 'precision': [0], 'length': [50], 'columnName': ['TYPE']}]

    I tried this using postman and code, but I always get the following response error:

    Error 500 - Internal server error

    Of RFC 2068 Hypertext Transfer Protocol - HTTP/1.1:

    10.5.1 500 internal Server Error

    The server encountered an unexpected condition which prevented him from meeting the demand.

    I am able to 'get' existing table schemas, delete the tables, but I'm not able to make put them and post operations. Can someone help me to identify the problem, if there is no fault in my approach.

    Thank you

    Romaric

    I managed to create a table successfully using the API - the only thing I see in your JSON which is different from mine is that you have square brackets around your values JSON where I have not. Here is my CURL request and extract my JSON file (named createtable.txt in the same directory as my CURL executable):

    curl u [email protected]: password UPDATED h x ' X-ID-TENANT-NAME: tenantname ' h ' Content-Type: application/json '-binary data @createtable.txt https://businessintell-tenantname.analytics.us2.oraclecloud.com/dataload/v1/tables/TABLE_TO_CREATE k

    [

    {

    'columnName': 'ID',

    'dataType': 'DECIMAL ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': false

    },

    {

    'columnName': 'NAME',

    'dataType': 'VARCHAR ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    "columnName': 'STATUS."

    'dataType': 'VARCHAR ',.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    "columnName': 'CREATED_DATE."

    'dataType': 'TIMESTAMP '.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    },

    {

    'columnName': 'UPDATED_DATE ',.

    'dataType': 'TIMESTAMP '.

    'Length': 20,.

    "accuracy": 0.

    'Nullable': true

    }

    ]

  • Update a table using the clause

    Hello

    I want to update a table using the selected values.

    Cases in the sample:


    create table as empsalary)

    Select 1 as empid, 0 in the wages of all the double union

    Select option 2, the double 0);

    Data update are as follows

    with saldata as

    (

    Select 1 as empid, 5000 as wages, 500 as double pf

    Union of all the

    Select option 2, 10000,1000 like double pf

    )

    Select empid, salary saldata

    I tried the following query but does not work

    updated set of empsalary table (empid, salary) =

    (

    Select * from)

    with saldata as

    (

    Select 1 as empid, salary, 500 5000 as pf Union double all the

    Select option 2, 10000,1000 like double pf

    )

    Select empid, salary saldata

    ) sl

    where sl.empid = empsalary.empid

    )

    I use oracle 10g.

    Help, please.

    Krishna Devi wrote:

    Hello

    I want to update a table using the selected values.

    Cases in the sample:

    create table as empsalary)

    Select 1 as empid, 0 in the wages of all the double union

    Select option 2, the double 0);

    Data update are as follows

    with saldata as

    (

    Select 1 as empid, 5000 as wages, 500 as double pf

    Union of all the

    Select option 2, 10000,1000 like double pf

    )

    Select empid, salary saldata

    I tried the following query but does not work

    updated set of empsalary table (empid, salary) =

    (

    Select * from)

    with saldata as

    (

    Select 1 as empid, salary, 500 5000 as pf Union double all the

    Select option 2, 10000,1000 like double pf

    )

    Select empid, salary saldata

    ) sl

    where sl.empid = empsalary.empid

    )

    I use oracle 10g.

    Help, please.

    Thanks for posting creates table and test data.

    The error message would have helped because it's pretty obvious that this is the problem:

    Update table empsalary

    *

    ERROR on line 1:

    ORA-00903: invalid table name

    Just remove the word "table".

  • How to use the Credential object?

    I had an obligation to create a password confirmation form in vCO. I detailed what I came here:

    http://www.jonathanmedd.NET/2015/01/presenting-a-password-confirmation-form-in-VCO-VRO.html

    It has been suggested in the comments that:

    "A better solution would be to use an entry of type 'credential' (which includes natively password confirmation checking)."

    Although the credential object solves the problem of the confirmation of the password very well, she introduced a new show that I fight to manipulate its contents when you work in the workflow using as input.

    I tried to use the credentials object once before, but he had problems with the password property. Once the workflow, the password property is not currently available. The API Explorer for the password property indicates "[obsolete] passwords are not available in the script". For example, I want to use the credentials with the "Execution of the Guest program" workflow, I need to provide a username (String) and the password (SecureString), but just picking on the properties username and password of the credentials object does not. I can confirm in the workflow using the method checkPassword that the password matches a known value. However, when you try to use the password property and assign a different workflow requiring password authentication always fails.

    Does anyone have examples of use of the object of identification information on the work plan with the password in the workflow in script tasks or other work streams?

    Thank you :-)

    I didn't know that this was the case.

    It was definitely a fix to avoid someone making a server.getCredential () in a workflow to steal user passwords.

    If the credential object can only serve to set methods taking as parameter.

  • Any ideas how can I insert a pdf into word, by using the option object to insert. However, the pdf file that I want to insert text and annotated lines, but once inserted comments do not appear?  any help would be greatly appreciated.

    Any ideas how can I insert a pdf into word, by using the option object to insert. However, the pdf file that I want to insert text and annotated lines, but once inserted comments do not appear?  any help would be greatly appreciated.

    You will need to find a forum for MS Word, since it is the software you are trying to manipulate in the present.  If you think that the treatment/creation of the PDF file plays a role, then you should ask in the forum for the software that you use to create the PDF file.

    This forum is for a question about downloading and installing Adobe products test, so in all circumstances, your question does not fit in this forum.

  • white screen when connecting using the client to view

    Hello

    I have a situation on my hands if I try to connect to my office using the client to view I can connect but when I click to start all I get is a black sceren.  If I can access the external url of my security server, I can connect and my desktop appears.  If anyone has experienced this? any ideas would be greatly appreciated.

    You can connect from a WAN using PCoIP if you use a VPN. If you are

    using the server security, for now, you will need to use RDP.

    Ian

  • Creating external Tables using the EXECUTE IMMEDIATE in PL/SQL

    Hi guys,.

    I am trying to create an external Table using the EXECUTE IMMEDIATE in a procedure and I managed to compile and no errors were generated. But when I try to run it from sql using the exec command I get the following error:

    ------------------------------------------------------------------------
    ERROR on line 5:
    ORA-00911: invalid character
    ORA-06512: at "GEO. TEST_DDL', line 4
    ORA-06512: at line 5

    -------------------------------------------------------------------------

    I tried to check the whole statement to create the external table, but I can't find where is the error. Surprisingly, if I simply run the command table create external on sqlplus it works, but not a procedure.

    If anyone can help with ideas or experience?

    Geoffrey Kossami

    The error means that there is an identifier somewhere that starts with a nonalphanumeric. This is a typical mistake of editing. A procedure compiles correctly is not of course because the underlying dynamic sql running is OK. Which of course only be resolved when you try to run it.

    There is certainly a problem with the text you provide to be run as a piece of dynamic sql code. You should try to watch it with dbms_output and run this code in sqlplus. But your problem is with the code you run as dynamic PL/SQL, it is not itself compilable.

    Jack

  • Iterate through rows in the object using the pageflowscope variable view

    I'm looking for a way to browse multiple lines of a view object and the transaction using a variable that is stored in a variable pageflowscope programmatically.

    I have two view objects that have a relationship of the master / detail.  The jsf page ADF Master table secondary table created by the control of data objects. The requirement is to have a single button that when pressed will update all the selected record of the master detail records.  One of the operations that must be done is a value that is stored in a variable PageFlowScope.

    The approach adopted to accomplish this was based on the following video:

    ADF Insider Essentials: Iteration through rows in a view object programmatically

    Author: Grant Ronald

    Link: http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/IterateRows/IterateRows.html

    I created the Classes of line of sight for the two display objects and developed the method for updating the lines (code below).  The method that takes no parameters, has been added as a tool bar button to the page and works as expected when you use a hardcoded value.  I would add a second update statement in the while loop to update another column, but using the value of the variable PageFlowScope is stored a previous view in the taskflow.

    I thought I'd be able to use AdfFacesContext.getCurrentInstance () .getPageFlowScope().get("objectid") to get the value but I get a warning in the source editor, 'this guy or a variable 'AdfFacesContext' not found. "

    How can I do this?

    JDeveloper Studio Edition Version 11.1.2.4.0

    METHOD CODE:

    /**

    * Method to update the tool work order status

    */

    public void checkInTools() {}

    All lines wor (RowSet) = getWOToolAsg ();

    While (wor.hasNext ()) {}

    CurrentRow = (WOToolAsgVORowImpl) wor.next () WOToolAsgVORowImpl;

    currentRow.setToolActive("Y");

    Add code here to get OpNmb of pagescope variable and update record in table - type String

    }

    }

    Thank you.

    Scott

    You must import the class to use.

    Import oracle.adf.view.rich.context.AdfFacesContext;

    AdfFacesContext (Java QAnywhere for Oracle ADF Faces)

  • Insert the value in table in the business object

    Hi all

    I want to send a request to a web service (via the SOAP component) which accepts the array as one of the input parameters.

    I am confused.i can set table in the subject of Bussiness, but she accepts no values.how can I insert value in it.

    can someone guide me?

    Thanks for providing the XSD.

    That I can tell that you are using Oracle BPM 12 c.  It's a good thing for you, because the insertion of new elements in an array in 11g is a little more difficult.  Ignore all my previous posts on this thread, because they are needed only for 11g.

    Here's an Oracle BPM 12 c project you can download that uses your XSD and fills the chart "to" inside her: https://drive.google.com/file/d/0Bwqetn0fpi74SE1TM2swR3VJMXM/view?usp=sharing

    Included is a video you can watch that goes through this, but the steps to add items to an XSD based table in Oracle BPM 12 c using Groovy script are:

    1 use your XSD in the thread above to create a new business object in the catalog (remove the '///it's table."comment in your XSD before doing so).

    2. Add a new object to process data in your process that uses this business object (a process known as "amin" in my process data object (I added).  Add another object to process of string data (I added one called "newItemToAdd").

    3. Add a Script of the activity in your process of-> right mouse click-> click on 'go to the Script.

    4 with the dialog script Groovy upward, to add a single element to your table add this Groovy script:

    "amin" and "newItemToAdd" are the objects of load data useful process added in step 2

    Amin.to.Add ("0" + newItemToAdd)

    5. to prove that multiple items can be added to the table at the same time, add this logic below.  The text in the square brackets could be a set separated by commas of string variables that would have been added to the table:

    for (int i = 1; i)< 5;="" i++)="">

    amin.to.addAll ([i + "" + newItemToAdd])

    }

    Hope this helps,

    Dan

  • pass the binding variable to the af:table using the menu drop-down

    I need to create an af:table to pull all employees belonging to a Department. I created the table based on a viewobject.

    The query in the view object has a variabe bind, for example:

    Select * from employee where deptname to (select deptname of Department where deptid =: deptid)

    My question is how to get the deptid selected in a drop-down list value passed to the query of the table of the adf?

    The user, what version jdev you use?

    Where is the location THAT LOV located on the page? Once you have the service ID, you can use the executeWithParams to run the query and display the result in the table.

    If this isn't what you want to elaborate on the use case.

    Timo

  • sqlloader to load two tables of the single data file in a single operation

    Oracle 11.2.0.3 SE - One

    Oracle Linux 5.6

    I don't know if I need a second set of eyes or if I am missing something.

    Problem: Given a file of text csv with header and detail records (identified by the first field in the file) use sql loader to load the header and detail of the tables in a single operation.

    The header record is to take, but the detail records are rejected by omitting the WHEN clause.

    More comments after reading through the exhibits:

    In view of these two tables:

    SQL > desc EDSTEST_HEADER

    Name                                      Null?    Type

    ----------------------------------------- -------- ----------------------------

    EDSTEST_HEADER_ID NOT NULL NUMBER

    REC_TYPE VARCHAR2 (10)

    SOLD_TO_ACCOUNT VARCHAR2 (50)

    SCAC_RECEIVER_ID VARCHAR2 (50)

    FORMAT_TYPE VARCHAR2 (10)

    CLIENT_NAME VARCHAR2 (100)

    CUSTOMER_PICKUP_ADDRESS VARCHAR2 (100)

    CUSTOMER_PICKUP_CITY VARCHAR2 (50)

    CUSTOMER_PICKUP_STATE VARCHAR2 (10)

    CUSTOMER_PICKUP_ZIP VARCHAR2 (50)

    INSERT_USER VARCHAR2 (50)

    DATE OF INSERT_USER_DATE

    INSERT_STATUS_CODE VARCHAR2 (10)

    SQL > desc EDSTEST_DETAIL

    Name Null?    Type

    ----------------------------------------- -------- ----------------------------

    EDSTEST_DETAIL_ID NOT NULL NUMBER

    NUMBER OF EDSTEST_HEADER_ID

    REC_TYPE VARCHAR2 (10)

    SHIP_TO_NAME VARCHAR2 (100)

    SHIP_TO_ADDRESS VARCHAR2 (100)

    SHIP_TO_CITY VARCHAR2 (50)

    SHIP_TO_STATE VARCHAR2 (10)

    SHIP_TO_ZIP VARCHAR2 (50)

    STATUS_OR_APPT_REASON_CD VARCHAR2 (10)

    EVENT_DESCRIPTION VARCHAR2 (50)

    SHIPMENT_STATUS_CD VARCHAR2 (10)

    SHIPMENT_EVENT_DATE VARCHAR2 (10)

    SHIPMENT_EVENT_TIME VARCHAR2 (10)

    EVENT_TIME_ZONE VARCHAR2 (30)

    EVENT_CITY VARCHAR2 (100)

    EVENT_STATE VARCHAR2 (50)

    EVENT_ZIP VARCHAR2 (50)

    CUSTOMER_CONFIRM VARCHAR2 (100)

    DELIVERY_CONFIRM VARCHAR2 (100)

    TRACKING_NUMBER VARCHAR2 (50)

    MAIL_REC_WEIGHT VARCHAR2 (20)

    MAIL_REC_WEIGHT_CD VARCHAR2 (10)

    MAIL_RED_QTY VARCHAR2 (10)

    INSERT_USER VARCHAR2 (50)

    DATE OF INSERT_USER_DATE

    INSERT_STATUS_CODE VARCHAR2 (10)

    In light of this data file:

    Oracle: mydb$ cat eds_edstest.dat

    HDR, 0005114090, MYORG, CSV, MY NAME OF THE COMPANY, 123 ELM ST, STUCKYVILLE, OH, 12345

    DTL, TOADSUCK, NC, 27999, NS, ARRIVED at the UNIT, X 4, 20140726, 063100, AND, TOADSUCK, NC,.3861, 27999, 12345, 23456 lbs, 1

    DTL, TOADSUCK, NC, 27999, lbs, 1 NS, SORTING COMPLETE, X 6, 20140726, 080000, AND TOADSUCK, NC,.3861, 27999, 12345, 23456

    DTL, TOADSUCK, NC, 27999, NS, PRONOUNCED, D1, 20140726, 121800, TOADSUCK, NC, 27999, 12345, 23456,.3861, lbs and 1

    Given this control sqlloader file:

    Oracle: mydb$ cat eds_edstest_combined.ctl

    Load

    INFILE ' / xfers/oracle/myapp/data/eds_edstest.dat'

    BADFILE ' / xfers/oracle/myapp/data/eds_edstest.bad'

    DISCARDFILE ' / xfers/oracle/myapp/data/eds_edstest.dsc'

    ADD

    IN THE TABLE estevens.edstest_header

    WHERE (rec_type = 'HDR')

    FIELDS TERMINATED BY ', '.

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS

    (rec_type CHAR,

    sold_to_account TANK,

    scac_receiver_id TANK,

    format_type TANK,

    client_name TANK,

    customer_pickup_address TANK,

    customer_pickup_city TANK,

    customer_pickup_state TANK,

    customer_pickup_zip TANK,

    INSERT_USER "1"

    INSERT_USER_DATE sysdate,

    INSERT_STATUS_CODE CONSTANT 'I')

    IN THE TABLE estevens.edstest_detail

    WHERE (rec_type = 'PIF')

    FIELDS TERMINATED BY ', '.

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS

    (rec_type CHAR,

    ship_to_name TANK,

    ship_to_address TANK,

    ship_to_city TANK,

    ship_to_state TANK,

    ship_to_zip TANK,

    status_or_appt_reason_cd TANK,

    event_description TANK,

    shipment_status_cd TANK,

    shipment_event_date TANK,

    shipment_event_time TANK,

    event_time_zone TANK,

    event_city TANK,

    Event_State TANK,

    event_zip TANK,

    customer_confirm TANK,

    delivery_confirm TANK,

    tracking_number TANK,

    mail_rec_weight TANK,

    mail_rec_weight_cd TANK,

    mail_red_qty TANK,

    INSERT_USER "1"

    INSERT_USER_DATE sysdate,

    INSERT_STATUS_CODE CONSTANT 'I')

    -END CONTROL FILE

    And the time of execution of transactions:

    SQL * Loader: release 11.2.0.3.0 - Production the kill Jul 29 07:50:04 2014

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    Control file: /xfers/oracle/myapp/control/eds_edstest_combined.ctl

    Data file: /xfers/oracle/myapp/data/eds_edstest.dat

    Bad leadership: /xfers/oracle/myapp/data/eds_edstest.bad

    Delete the file: /xfers/oracle/myapp/data/eds_edstest.dsc

    (Allow all releases)

    Number of loading: ALL

    Number of jump: 0

    Authorized errors: 50

    Link table: 10000 lines, maximum of 256000 bytes

    Continuation of the debate: none is specified

    Path used: classics

    Silent options: your COMMENTS

    Table ESTEVENS. EDSTEST_HEADER, loaded when REC_TYPE = 0 X 484452 (character "HDR") add the option in effect for this table: APPEND TRAILING NULLCOLS option in effect

    Column Position Len term Encl. Datatype name

    ------------------------------ ---------- ----- ---- ---- ---------------------

    FIRST REC_TYPE *, O ("") CHARACTER

    SOLD_TO_ACCOUNT NEXT *, O ("") CHARACTER

    SCAC_RECEIVER_ID NEXT *, O ("") CHARACTER

    FORMAT_TYPE NEXT *, O ("") CHARACTER

    CLIENT_NAME NEXT *, O ("") CHARACTER

    CUSTOMER_PICKUP_ADDRESS NEXT *, O ("") CHARACTER

    CUSTOMER_PICKUP_CITY NEXT *, O ("") CHARACTER

    CUSTOMER_PICKUP_STATE NEXT *, O ("") CHARACTER

    CUSTOMER_PICKUP_ZIP NEXT *, O ("") CHARACTER

    INSERT_USER NEXT *, O ("") CHARACTER

    The SQL string for the column: "1."

    INSERT_USER_DATE SYSDATE

    CONSTANT INSERT_STATUS_CODE

    The value is 'I '.

    Table ESTEVENS. EDSTEST_DETAIL, loaded when REC_TYPE = 0X44544c ('PIF' character) in effect for this table insert option: APPEND TRAILING NULLCOLS option in effect

    Column Position Len term Encl. Datatype name

    ------------------------------ ---------- ----- ---- ---- ---------------------

    REC_TYPE NEXT *, O ("") CHARACTER

    SHIP_TO_NAME NEXT *, O ("") CHARACTER

    SHIP_TO_ADDRESS NEXT *, O ("") CHARACTER

    SHIP_TO_CITY NEXT *, O ("") CHARACTER

    SHIP_TO_STATE NEXT *, O ("") CHARACTER

    SHIP_TO_ZIP NEXT *, O ("") CHARACTER

    STATUS_OR_APPT_REASON_CD NEXT *, O ("") CHARACTER

    EVENT_DESCRIPTION NEXT *, O ("") CHARACTER

    SHIPMENT_STATUS_CD NEXT *, O ("") CHARACTER

    SHIPMENT_EVENT_DATE NEXT *, O ("") CHARACTER

    SHIPMENT_EVENT_TIME NEXT *, O ("") CHARACTER

    EVENT_TIME_ZONE NEXT *, O ("") CHARACTER

    EVENT_CITY NEXT *, O ("") CHARACTER

    EVENT_STATE NEXT *, O ("") CHARACTER

    EVENT_ZIP NEXT *, O ("") CHARACTER

    CUSTOMER_CONFIRM NEXT *, O ("") CHARACTER

    DELIVERY_CONFIRM NEXT *, O ("") CHARACTER

    TRACKING_NUMBER NEXT *, O ("") CHARACTER

    MAIL_REC_WEIGHT NEXT *, O ("") CHARACTER

    MAIL_REC_WEIGHT_CD NEXT *, O ("") CHARACTER

    MAIL_RED_QTY NEXT *, O ("") CHARACTER

    INSERT_USER NEXT *, O ("") CHARACTER

    The SQL string for the column: "1."

    INSERT_USER_DATE SYSDATE

    CONSTANT INSERT_STATUS_CODE

    The value is 'I '.

    value used for the parameter LINES increased from 10000 to 30 sheet 2: discarded - failed all WHEN clauses.

    Sheet 3: Discarded - failed all WHEN clauses.

    Folder 4: Discarded - failed all WHEN clauses.

    Table ESTEVENS. EDSTEST_HEADER:

    1 row loaded successfully.

    0 rows not loaded due to data errors.

    3 rows not loading because all WHEN clauses were failed.

    0 rows not populated because all fields are null.

    Table ESTEVENS. EDSTEST_DETAIL:

    0 rows successfully loaded.

    0 rows not loaded due to data errors.

    4 rows not loading because all WHEN clauses were failed.

    0 rows not populated because all fields are null.

    The space allocated to bind table: 247800 byte (30 lines)

    Bytes of read buffer: 1048576

    Total logical records ignored: 0

    Total logical records read: 4

    Total rejected logical records: 0

    Logical records discarded total: 3

    Run started the kill Jul 29 07:50:04 2014

    Run finished on Tue Jul 29 07:50:04 2014

    Time was: 00:00:00.07

    Time processor was: 00:00:00.01

    It works on linux, and the file data calculated from a Windows system to the time we get to it, but it's in the * nix format - with a simple x '0A' as the line terminator.

    If, in the control file, I comment on the block of INSERTION for the header table, retail inserts very well.

    If, in the control file, (return to the initial charge, two tables) I change the line

    INFILE ' / xfers/oracle/myapp/data/eds_edstest.dat'

    To read

    INFILE ' / xfers/oracle/myapp/data/eds_edstest.dat' "str" | "» \n' »

    The saved result becomes

    Table ESTEVENS. EDSTEST_HEADER:

    1 row loaded successfully.

    0 rows not loaded due to data errors.

    0 rows not loading because all WHEN clauses were failed.

    0 rows not populated because all fields are null.

    Table ESTEVENS. EDSTEST_DETAIL:

    0 rows successfully loaded.

    0 rows not loaded due to data errors.

    1 row not loaded because all WHEN clauses were failed.

    0 rows not populated because all fields are null.

    I try to help the developer on this, and it resists change to use external tables. Even if I can overcome that, I now have a puzzle I want to solve, just to add to my knowledge.  Plus, I have some concerns at this stage that whatever it is that miss me here could also come into play if I convert external tables.

    Ed,

    Are you sure that put you the post in the right place?  It should be located in the first definition of the following field each time after the first when clause clause.  Put after the first when the clause is optional.  When I use the following with what you have provided, it loads 1 record in the table header and 3 records in the Details table.  Did you actually do or tell your developer to do and wish that he understood and put it in the right place?

    Load

    INFILE 'eds_edstest.dat '.

    BADFILE "eds_edstest.bad."

    DISCARDFILE 'eds_edstest.dsc '.

    ADD

    IN THE TABLE edstest_header

    WHERE (rec_type = 'HDR')

    FIELDS TERMINATED BY ', '.

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS

    (rec_type CHAR,

    sold_to_account TANK,

    scac_receiver_id TANK,

    format_type TANK,

    client_name TANK,

    customer_pickup_address TANK,

    customer_pickup_city TANK,

    customer_pickup_state TANK,

    customer_pickup_zip TANK,

    INSERT_USER "1"

    INSERT_USER_DATE sysdate,

    INSERT_STATUS_CODE CONSTANT 'I')

    IN THE TABLE edstest_detail

    WHERE (rec_type = 'PIF')

    FIELDS TERMINATED BY ', '.

    SURROUNDED OF POSSIBLY "" "

    TRAILING NULLCOLS

    (rec_type POSITION (1) TANK,

    ship_to_name TANK,

    ship_to_address TANK,

    ship_to_city TANK,

    ship_to_state TANK,

    ship_to_zip TANK,

    status_or_appt_reason_cd TANK,

    event_description TANK,

    shipment_status_cd TANK,

    shipment_event_date TANK,

    shipment_event_time TANK,

    event_time_zone TANK,

    event_city TANK,

    Event_State TANK,

    event_zip TANK,

    customer_confirm TANK,

    delivery_confirm TANK,

    tracking_number TANK,

    mail_rec_weight TANK,

    mail_rec_weight_cd TANK,

    mail_red_qty TANK,

    INSERT_USER "1"

    INSERT_USER_DATE sysdate,

    INSERT_STATUS_CODE CONSTANT 'I')

  • using the JavaScript object and flow

    Two problems:

    Problem 1

    I'm trying to understand the best way to manage a service on the attached form (the form is under construction and messy!).

    There is a requirement to attach files to the form. I have it understood, but would like to cope better. There are about 8 places to attach files, and each time I move things around I need to change the code for each button, so I think that function in a script object implementation is the way to go (let me know if there is a better way!).

    I think I've learned how to work the script objects, but have not tried this although there are has a few pieces I could not understand yet.

    The way it works now, it's you click on the button to fixation, attach a file and the file name is entered in the field surrounding the button - there is a separate field around each button (see subform "subProjectInfo.subAttach" on page 2). What I can't understand, it is if I put this in a function/script object, how do I get the name of the file in the appropriate box? I have to return the data back to the button, I guess, which can then fill in the field?


    Problem 2

    At the bottom of the same page (2) is a subform (subProjectInfo.subMilestones) with a table in full expansion. I followed the example in the purchase order example, but I can't get the headers to repeat correctly. When it breaks to a new page, the header above is repeated whenever a row is added.

    Extra bonus question!

    I hope one of you more knowledgeable guys can take a look at the structure of the form and let me know what it feels like to a 'best practices' point of view - use of subforms, that sort of thing. I use a lot of subforms to wrap things and have been wondering about the performance, that kind of thing. This is the most complex form, I've done so far and want to make sure that I'm going down the correct road!

    Hi Jono,

    Hopefully, I've solved your problem 2, I deleted simoly repeat for each item in the MilestoneHeader.GeaderRow [0]. And now it is only repeated for new pages.

    When I have time, I'll try to check your problem 1.

    ARO

    Paul Butenko

  • Navigation in a tree by using the arrow keys

    When you click the arrow in a part of the tree down, she shows the empty fields, calling for the creation of documents rather than move down through the tree or child.

    I used the key press trigger button-up and set it to null and also tried to change the single record for block on yes. None of these works also tried setting the navigation tree object property. But nothing works.

    The user is looking at the data of correcespoding, but when you clik downwards, the corresponding data of all that disappear and it seems to be a new record created.
    I also have a list box on some of the blocks of data.

    Or is it possible to grab the button pressing trigger and ignore it programitacally?

    Thank you

    10 gr 2 forms

    Find your tree WHEN-TREE-NODE-SELECTED-trigger, I guess that there is a logic that is causing your problem.

Maybe you are looking for

  • How to download a video of Rumble?

    I saw an interesting video on the Rumble. That expansion would be preferable to download?

  • Microsoft genuine advantage - invalid lisence tool?

    Applications been removed somehow, so I tried to do a system restore but could not find.  We bought this machine at a garage sale.  No recovery disk.  What can I do to fix? Diagnostic report (1.9.0019.0):-----------------------------------------Given

  • do not connect to the net

    my other laptop does not connect to the net it's say no wireless perferred fo this computer are in range, but it has always worked before until I change 02 to sky what should I do to fix this

  • How to configure Aironet autonomous 1602i WAP

    Hi all.  I have 4 Aironet 1130AG autonomous WAP and I must add on 2 Aironet autonomous 1602i WAP as repeaters to extend the same network.  Is it possible for me to save the configuration of a 1130AG that is configured as a Repeater and then download

  • 1720 in VPN3K

    I am new to the concentrator and the vpn in general. I understand that the hub is based on UDP by default. Why when I set up a 1720 with IPSEC IOS router, I can create a vpn between my two networks, but when I try to use the LAN to LAN under the part