CreateInsert problem: different data to see and to commit

Hi,
I have edit.JSFF with master and detail tables. Master allows only edit and detail for insert and delete detail records.
There are two iterators.
There is button to create to create new record in detail table. This button sets some binding variables, gets current row from master table, does createInsert on detail table and fill some attributes of detail from master record. Then continues by action to insert.JSFF to provide data for insert to user.
If detail table is emty, everything works fine but when I insert second row insert.JSFF shows data from previously inserted row even I set different data by method.
Insert and edit.JSFF have same iterator and operations.
I don't know how it is possible.
Thanks for help

I haven't demo schmea implementaion.
[EditForm binding|http://www.upnito.sk/imggal.php?viewImage=e33223a9f832cd26914989beb6fa0190]
[NewForm binding|http://www.upnito.sk/imggal.php?viewImage=f1e3423d97bda8e3e1de50f319b03b4c]
[Part of taskflow from edit master/detail to new detail form|http://www.upnito.sk/imggal.php?viewImage=d7abd38833ca76650aefbf928aff7ed8]
There is snipped of actionNewSubTask method called as action on button NEW
public String actionNewSubTask() {
BindingContainer bindings = ADFUtils.getBindings();
DCIteratorBinding dciter = (DCIteratorBinding)bindings.get("TaskViewParTaskTypeIdEx1Iterator");
Row currentRow = dciter.getCurrentRow();
log.info("Task name: " + currentRow.getAttribute("TaskName"));
//executeOperation("CreateInsert");
log.info("ADFUtils.executeOperation (before execution): CreateInsert");
BindingContainer bindings = getBindings();
OperationBinding method = bindings.getOperationBinding("CreateInsert");
if (method != null){
log.info("method: CreateInsert found in bindings: " + bindings.getName());
method.execute();
log.info("ADFUtils.executeOperation (after execution): CreateInsert");
if (method.getErrors().isEmpty()) {
return true;
} else {
log.severe(Method: CreateInsert missing in bindings: " + bindings.getName());
BindingContainer bindings = ADFUtils.getBindings();
DCIteratorBinding dciter = (DCIteratorBinding)bindings.get("TaskView6Iterator");
Row subTaskcurrentRow = dciter.getCurrentRow();
// copy data from parent task
log.info("Task name: " + subTaskcurrentRow.getAttribute("TaskName"));
subTaskcurrentRow.setAttribute("TaskName", currentRow.getAttribute("TaskName"));
log.info("Task name: " + subTaskcurrentRow.getAttribute("TaskName"));
subTaskcurrentRow.setAttribute("TtTypeIdFk", currentRow.getAttribute("TtTypeIdFk"));
subTaskcurrentRow.setAttribute("ItemNumber", currentRow.getAttribute("ItemNumber"));
subTaskcurrentRow.setAttribute("DueDate", currentRow.getAttribute("DueDate"));
return "actionNewSubTask";
Log information shows correct data but in form shows something different :(
Log infromation in "CreateInsert" part:
<ADFUtils> <executeOperation> ADFUtils.executeOperation (before execution): CreateInsert
<ADFUtils> <executeOperation> method: CreateInsert found in bindings: jsf_fragments_tasks_contentEditTaskPageDef_WEB_INF_taskflow_task_flow_tasks_content_xml_task_flow_tasks_content
<ADFUtils> <executeOperation> ADFUtils.executeOperation (after execution): CreateInsert

Similar Messages

  • Screen refresh problem where data is entered and the screen doesn't refresh

    Many people in the company are experiencing the odd screen refresh problem where data is entered and the screen doesn't refresh to show the updated result in corresponding cell formulas.
    Microsoft have issued a hotfix to fix the issue for Excel 2003 as shown. Microsoft released a hotfix for this problem (<a href="advisory?ID=978908">KB978908</a>). Display memory tends to pick up data from hidden sheets and pastes it
    into the active screen. No impact on the file. This occurs when protecting and unprotecting worksheets in VBA. I also suspect that enabling and disabling screen refresh contributes to this problem. In any case there is a fix, albeit with the following disclaimer:
    As of yet I have not been able to find a fix for this for office 2010 and 2013, Any suggestions would be great.

    Hi,
    Based on your description, Excel does not show the text strings when you typing. It may be caused by the cell format, if we set the cell format as ";;;" in custom format, it will not display the text that you typed. 
    And the issue may be caused by the third-party input method, there are some compatibility issue between them.
    If the issue still exits, please try the following methods
    Verify/install the latest updates
    Repair your Office program
    Regards,
    George Zhao
    TechNet Community Support

  • Weird Problem With Dates in Finder and Mail

    I have a MBPr running 10.8.2 which is exhibiting a very strange behaviour related to dates.
    Initially, the problem manifested in Mail where the date shown in the message list for each message was exactly the same, regardless of the date sent/received. Oddly, this problem only manifested in the "new" mail view. Switching to "Classic" view in Mail prefs works fine. This seemed odd enough, but only related to mail.
    Then, I noticed the exact same date was the Creation, Modification, and Last Opened date for many files (including all of the .emlx files in the Mail folder) as shown in the preview column in the Finder's column view. Oddly, the exact same files show different Creation/Modification/Opened dates when viewed in a Get Info window or when listed in the Terminal with ls -l.
    Clearly there is some kind of issue with a cache, or an index of some sort that is accessed by the Finder and/or Mail. I'm attaching a screenshot of the Get Info window and the Finder preview column for a file. Thanks for any info anyone can shed on this.

    Embarrassingly, the "More Like This" box to the immediate right of my post shows a discussion titled "Incorrect dates in column view preview" that fixed the problem.
    How this affects the "new" view in Mail and not the "Classic" view is beyond me, but I'm also beyond caring at this point.

  • Problem with Date of files and email

    Hi,
    I have a MacBook with MacOSx snow Leopard 10.6.3.
    I have a problem with the date showed for the files inside Finder and for my emails on Apple Mail. All files show a date with correct day and correct hour but with wrong month; all files have as month January. Except for files modified or email received in the last two days all the other files displayed by Finder (and also for email) have this wrong date. But when I want to attach a file to an email or insert a file (for example word) inside another file word the system displays correct date.
    Someone had the same problem?
    The version of Apple Email is 4.2 and the Finder is 10.6.4.

    You make no mention that you have checked your calendar settings.
    System Preferences>Time & Date>Date & Time
    Was this done?
    I am not at my SL MBP at the moment but, the above should be the same and/or similar as the Tiger OS.
    "MacOSx snow Leopard 10.6.3."
    Update to OS 10.6.4, repair permissions and restart your computer.
    !http://i50.tinypic.com/izvwo1.gif!

  • Problem increasing dates with REGEXP_REPLACE and TO_DATE

    Hello all,
    i'm trying to increase dates in a string with a single statement, but i ran into the problem that Oracle doesn't interpret the regex backtrace operators when they are used in TO_DATE:
    SELECT
      REGEXP_REPLACE(
        'Test: 01.01.2001 Test: 02.02.2002',
        '([0-9]{2})\.([0-9]{2})\.([0-9]{4})',
        TO_CHAR(TO_DATE('\1\2\3', 'DDMMYYYY') + 1, 'DD.MM.YYYY')
    FROM DUALLeads to a ORA-01858: 01858, 00000, "a non-numeric character was found where a numeric was expected".
    However, using other functions on the backtrace operators like UPPER('\1') works like a charm. Is this a limitation of the TO_DATE function?
    Is there any possibility to replace the dates in a small, simple statement?
    Thanks in advance,
    -sd

    How should I show you an example, when it's simply
    not possible? I know I mixed up parameters and
    callbacks mistakenly and took the wrong approach.Ok. In your last post, you've added a question mark, so
    it did look as you weren't aware of the problem.
    However, I thought there was some possibility in
    Oracle regex to apply a callback function to
    regex-replacement like other languages have
    (preg_replace_callback in PHP for example) like:Interesting. Unfortunately PL/SQL is not PHP and there's
    (yet) no callback feature implemented.
    FUNCTION chg_date(
    p_string
    REGEXP_REPLACE_CALLBACK('Test: 2001', '[0-9]{4}',
    'chg_date')
    ...I too miss the possibility to extend the use of backtrace
    parameters, maybe in one of the future versions.
    C.

  • Problems with Data Objects, streams, and openDoc

    When I try to use this.openDataObject("myObject") in Acrobat 8, I get
    NotAllowedError: Security settings prevent access to this property or method.
    Doc.openDataObject:1:Console
    I have checked that the attachment type is allowed in the registry (and it is by default since the attachment is PDF), so is there a setting that can prohibit JavaScript from opening attachments?  If so, can I change this setting somewhere?
    I have discovered that while the above issue needs to be resolved, it is only part of the problem.  I am trying to read in a PDF file using Net.HTTP.request, convert the response using stringFromStream, then feed the response to createDataObject.  The result is not a valid PDF file.  Is this process possible or am I going about this the wrong way?  I have also tried app.openDoc, but since the PDF is located on our intranet https://someserver.com/doc.pdf I get a security error.  Using only folder level JavaScript, is it possible to open a remote file from a web server, evaluate its Doc object (fields, etc), then save the file back out to the local file system?
    Thanks,
    Scott
    Message was edited by: AcroBishop

    I have hundreds of Acrobat PDF forms out on the company web server.  There is a web service that produces an xml feed which lists all of the documents hosted on that server.  I read in the XML and query it to return the URL of a desired PDF.  What I need is a way to import the Doc object of that PDF so that I can enumerate over all of the fields and populate a listbox in the current document with those field names.  If I could then save the imported PDF to a local folder, well... that would just be icing on the cake.  The way I have been trying to go about this is to feed the URL to Net.HTTP.request which should (in theory) return the PDF as a stream object.  I run util.stringFromStream on that object because I want to feed it to createDataObject which requires a string to act upon.  My problems at this point in the operation are:
    1. I don't think this creates a valid PDF document object and I'm not sure if it should or if I am doing something wrong.  Though I am passing the correct MIME type to the createDataObject (application/pdf)
    2. regardless of the type or validity of the attachment, I get the error message that I mentioned in my original post which leads me to believe that somehow this company has disabled opening attachments via JavaScript.  If that is the case I need to know how to change that configuration.

  • Strange problem: different hierarchy in InfoObject and RSSM hierarchy auth

    Dear Experts,
         I faced a strange problem: we had defined hierarchy on InfoObject 0ORGUNIT, for example, Organization unit: 50106592 under company A department AA.
         When we define hierarchy authorization via Tcode:RSSM ( we still not migrate to new authorization conception), when I search OU:50106592, it was found under "not assignment" .
         I can not understand why it appear different hierarchy, anyone can help me ?
    Regards
    Jie

    Hi Sushant,
    I went through the note, but we do not have any variable on the hierarchy. Its a navigational attribute which is restricted on Hierarchy.
    Thank you,
    -Jaimin

  • Only the suthor of ABAP programs can see and edit his/her code

    Hi:
    We've created developer accounts with the following authorization profiles: A_ABAP_ALL, S_A.DEVLOPER, AND S_A.USER.
    The account holder can access the system, create ABAP programs, and successfully run them. However, there is a problem: a user can see and edit the programs of others.
    Can we set up the account in such a way that only the author of the program can see and edit it? If YES, what should we do?
    Thanks a lot for the help,
    Thuan Nguyen

    Hi Gus:
    Thanks a lot for the help. For creating profiles, I read into 2 different books to get the steps that show how to do it. however, both of them only discuss the general things and do not get to the steps of how to do it.
    Do you know what I need to do to create profiles or where I can get some documentation with details of how to do it?
    Thanks a lot

  • Comapre 2 same channels from two different dat filea

    Hi ,
    I want to compare the wave forms of two same channels names (in my sample data which is in attachment, the same channel names are S1KNSLLE00H3DSZP) from different dat  file(S2100044 and S2100041) .
    Load the 2 dat files from navigator.
    Come to report and open two 2d axis systems to see the wave forms of two different channels ( Like in attachment result.jpg)
    I need an autosequence to do the same for all the channels for 2 dat files automatically.
    Attachments:
    cmp.zip ‏1967 KB
    result.JPG ‏158 KB

    Hi RSH,
    I appreciate you posting 2 data files and the jpg, but I'm afraid I still have lots of questions before I can advise you.  You sent 2 *.dat files which each had 1 channel in them named "Data", which is different from your email text and the jpg you posted.  Will your data sets typically have many channels in them?  Your posted *.dat files had no time channel and the "Data" channel was not a waveform channel, yet the 2 different "Data" channels were different lengths.  Do you want to plot your channels vs. the array index all the time (as is shown in your jpg)?
    Do you want to have N sheets in REPORT, one for each channel?  Why don't you want to have both "S1KNSLLE00H3DSZP" channels as curves with different colors on the same graph-- wouldn't that make it easier to compare them?
    When you drag over the data channel onto a REPORT graph, you will get a reference like "[1]/Data" or "[2]/Data", which is exactly what you want to compare the "Data" channel from 2 arbitrary data files (note that the file name does not show up in the channel references).  So it seems to me that the REPORT layout you sent a jpg of already satisfies what you're asking us to create for you.  Why do you need a script at all?
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Best approach for combinng cubes of different data

    Hi Guys,
    I have two different cubes with much different data in them and only a couple of shared characteristics.
    Im looking to merge most of the data of cube 2 with the data of cube number 1.
    Multiprovider wont work( not many shared characteristics)
    I cant do a routine to pull the data as I cant build a simple routine as it is difficult to extract from Dimensions.
    I have tried Infoset but this does not appear to work.
    Scenario is I have two fields in cube 1 that exist in cube 2, I want to look up these values in cube 2 and return some of their key figures that exist
    Is the easiest way around this to create transformation from Cube to ODS and extract data via a lookup routine?

    Hello,
    Is the data being loaded directly to the Cube, is there no underlying DSO.
    I think if you want to look up on cube based on 2 char it should be not a difficult look up routine to code in the transformation.
    If the above you feel is not feasible, load data to DSO first and then to the cube and use this DSO for your look up. BUt note here you would be consuming DB space again
    Regards,
    SHashank

  • Firefox home doesn't load my bookmarks ? I have tried to do everything that they suggest to fix the problem from disabling the add-ons to reseting my data. nothing works, and yes I did check to see if private browser is not on. I am running window xp and

    firefox home doesn't load my bookmarks ? I have tried to do everything that they suggest to fix the problem from disabling the add-ons to reseting my data. nothing works, and yes I did check to see if private browser is not on. I am running window xp and everything is up to date.
    == This happened ==
    Every time Firefox opened
    == from the first time I tried it.

    Are you talking the the Firefox Home iPhone App?
    If not, please explain what you mean a little clearer.
    This is the location of the '''Firefox Home iPhone App Support Forum''':
    https://support.mozilla.com/en-US/forum/6

  • I'm having problems downloding Itunes - I have tried 6 times on different dates and I can get it to run - please help

    I'm having problems downloding Itunes - I have tried 6 times on different dates and I can get it to run - please help

    The master password protects saved passwords in Thunderbird and has nothing to do with connecting to your providers server. You need to work with your email provider if you have forgotten your email password. Go to their email help site and look for a link to reset your password.
    If you are truly working with a forgotten master password this article tells you how to remove it.
    https://support.mozilla.org/en-US/kb/master-password

  • Problem with SQL*Loader and different date formats in the same file

    DB: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    System: AIX 5.3.0.0
    Hello,
    I'm using SQL*Loader to import semi-colon separated values into a table. The files are delivered to us by a data provider who concatenates data from different sources and this results in us having different date formats within the same file. For example:
    ...;2010-12-31;22/11/1932;...
    I load this data using the following lines in the control file:
    EXECUTIONDATE1     TIMESTAMP     NULLIF EXECUTIONDATE1=BLANKS     "TO_DATE(:EXECUTIONDATE1, 'YYYY-MM-DD')",
    DELDOB          TIMESTAMP     NULLIF DELDOB=BLANKS          "TO_DATE(:DELDOB, 'DD/MM/YYYY')",
    The relevant NLS parameters:
    NLS_LANGUAGE=FRENCH
    NLS_DATE_FORMAT=DD/MM/RR
    NLS_DATE_LANGUAGE=FRENCH
    If I load this file as is the values loaded into the table are 31 dec 2010 and 22 nov *2032*, aven though the years are on 4 digits. If I change the NLS_DATE_FORMAT to DD/MM/YYYY then the second date value will be loaded correctly, but the first value will be loaded as 31 dec *2020* !!
    How can I get both date values to load correctly?
    Thanks!
    Sylvain

    This is very strange, after running a few tests I realized that if the year is 19XX then it will get loaded as 2019, and if it is 20XX then it will be 2020. I'm guessing it may have something to do with certain env variables that aren't set up properly because I'm fairly sure my SQL*Loader control file is correct... I'll run more tests :-(

  • Can seeded Elements and Balance have different Date Track

    hi,
    The Elements created in our instance is date tracked to 01-JAN-1900 and the seeded balance date tracked to 01-APR-2005. Can seeded Elements and Balances have different date track both being seeded. Example Element is "PF INFORMATION" and Balance Named by "Leave Encashment"
    How to resolve this problem when I am trying to add seeded Balance which is date tracked to 01-APR-2005 to Element date Tracked to "01-JAN-1900". I am not able to find the Balance in that Element as balance is date tracked later than Element.
    If I want to add custom Element which is date tracked to 01-JUN-2002 and Seeded Balance which is date tracked to 01-JUN-1950. Since in this case i am not able to see the Custom Element in the Balance screen.
    Thanks
    Ram

    you are not allowed to add feeds to a seeded balance type.
    Can the dates be different? Sure. Look to your own dates.
    By the way, why bothering about dates in 2005 and 1900, if you want to run a payroll now?

  • I get this message "can not read because it was created by a newer version" I restored twice at different dates, uninstalled and installed again.. But nooo still there.

    I get this message, "can not read because it was created by a newer version" I restored twice at different dates and uninstalled all apple stuff and reinstaled it again. Still nothing   Help John

    That message is usually a sign that you tried to roll back to an earlier build of iTunes, but occasionally I've seen it connected to a new upgrade. This technique should fix things.
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

Maybe you are looking for

  • Canon LBP5000 does not work after Leopard Upgrade

    Hi all, We have a Canon LBP5000 that is directly connected to one of our iMac's and worked like a charm when we were using Tiger. After upgrading to Leopard, everything went weird. It is still installed but when we tried printing, we get a 'Load Pape

  • Why does my macbook pro get hot

    Why does my Macbook pro get hot while I am only on my email account?  This is a recent change.  It gets too hot too put in my lap.  Is it a battery issue.

  • Substitution for Cost Center

    Dear all, I need to use substitution for cost center in some business scenario. Because FI document is automatically created by SD MM side, so cost center maynot be filled in if this account is configured for default accoun assignment in OKB9. Now, I

  • Syntax error in GP_ERR_RSAPTD1

    I encountered this error while attempting to activate my InfoSource for 0fiar_C02 cube "Syntax error in GP_ERR_RSAPTD1_____________, row 25 (-> long text) Message no. RG102 Diagnosis "DTFIAR_1" must be a flat structure. You cannot use internal tables

  • My phone number was added to someone els's iPad and it says they are using my number for iMessage

    My phone number was added to someone els's iPad and it says they are using my number for iMessage