Tracking history of update from forms

hello
I want to keep track of changes
to my table namely A .I have a history table namely B, its copy of table A.
Whenever the user makes any changes to any of the record of table A that record along with the changes made should be copied into the history table B.
How should i go about, I wrote the on update trigger
but how do i get the previous value (ie before change)
which is actually in the base table ,so that i can insert it into the history table
All this should be done on frontend forms...
thanks in adv

get_item_property('ITEM', database_value)should help you.

Similar Messages

  • Tracking history while loading from flat file

    Dear Experts
    I have a scenario where in have to load data from flat file in regular intervals and also want to track the changes made to the data.
    the data will be like this and it keep on changes and the key is P1,A1,C1.
    DAY 1---P1,A1,C1,100,120,100
    DAY 2-- P1,A1,C1,125,123,190
    DAY 3-- P1, A1, C1, 134,111,135
    DAY 4-- P1,A1,C1,888,234,129
    I am planing to load data into an ODS and then to infocube for reporting what will be the result and how to track history like if i want to see what was the data on Day1 and also current data for P1,A1,C1.
    Just to mention as i am loading from flat file i am not mapping RECORDMODE in ODS from flat file..
    Thanks and regards
    Neel
    Message was edited by:
            Neel Kamal

    Hi
    You don't mention your BI release level, so I will assume you are on the current release, SAP NetWeaver BI 2004s.
    Consider loading to a write-optimized DataStore object, to strore the data.  That way, you automatically will have a unqiue technical key for each record and it will be kept for historical purposes.  In addition, load to a standard DataStore object which will track the changes in the change log.  Then, load the cube from the change log (will avoid your summarization concern), as the changes will be updates (after images) in the standard DataStore Object.
    Thanks for any points you choose to assign
    Best Regards -
    Ron Silberstein
    SAP

  • Update Short History in BPEL Task Form / Worklist

    Hi all,
    I'm currently facing a problem and hopefully to get some idea or solutions from here. It is about how to update the task:shortHistory. The reason to do this is due to I have to manually update the track history / short history in the task form from BPEL.
    Currently while I tried to update the shortHistory(in one of the human task), it keeps throw me the error with some kind of zero node in the task:shortHistory. Just right before I assign or append the task:shortHistory, I did copy the global human task variable to the update task variable, so it should carry forward the existing shortHistory.
    Below is the error from BPEL console:
    <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    -<part name="summary">
    <summary>
    XPath query string returns zero node.
    According to BPEL4WS spec 1.1 section 14.3, The assign activity &lt;to&gt; part query should not return zero node.
    Please check the BPEL source at line number "493" and verify the &lt;to&gt; part xpath query.
    </summary>
    </part>
    </selectionFailure>
    the <to> part query should be the task:shortHistory node, please help if you have any idea on this.
    Thanks.
    Jyno
    Edited by: loneboy62 on Nov 11, 2009 10:28 PM

    Make sure that your result varaible is al ready 'prepared'. It can not assign, because the variable does not coantins this element (only in the definition).
    Solution 1: use the assign XML fragment to add this element in your variable.
    Solution 2: Use a stylesheet to to create this 'empty' element.
    Marc
    http://orasoa.blogspot.com

  • SAP HCM P&F - Update an infotype field which is NOT passed from Form

    Dear Experts,
    I have a requirement to update the Infotype with the entries in the HCM form (input by Employee in ESS) upon Manager's approval in MSS.
    We are achieving this functionality using HCM P&F (FPM) with an Workflow associated.  In this Workflow Standard Task (TS17900108) is used to Save the form data into the Database.
    But there is one field (APPROVED_DATE) in the Infotype whose value is not from the FORM but should be updated in the Infotype.
    Please help me with your inputs.
    Regards,
    Shankar

    Dear Christopher,
    I am extremely thankful to you for all the replies.  But, unfortunately, we are messed up with this requirement and we couldn't achieve it.
    In this regard, could you please give us the step-by-step procedure to achieve this functionality?
    Requirement in brief again:
    We have designed Overtime HCM form (FPM) using which employee requests for the Overtime.  This form is sent for the Manager for approval.  We have achieved this functionality.  With the Manager Approval, the database is also updated perfectly.
    Then we have added one more field in the infotype to track the Approved Date.  This field is to be updated along with the other fields (sent from FORM) upon the approval of the manager.
    And now though the other fields are updated correctly into the infotype, the approved date is not updated.
    Thanks a ton in advance for your guidance as this is very critical and urgent requirement for us.
    Regards,
    Shankar.

  • Regarding updating the Flags for tracking history in customer dimension

    Hi Friends,
    I need help,regarding tracking history in dimension tables.Actaully we have customer table and there is id and effective_date/expiration .Previously we were recieving 31/dec/9999 as highend date and I was able to update the active_flag based on this date in the table.Right now we started recieving the different dates
    as 31/dec/2014,31/dec/9999.
    I was using the below query :
    UPDATE MDM_CUSTOMER_MST
    SET ACTIVE_FLAG = 'N',
    DELETE_FLAG = 'Y',
    EFFECTIVE_END_DATE = TRUNC(CURRENT_DATE) -1
    WHERE TRUNC(EXPIRATION_DATE) <>
    (select max(EXPIRATION_DATE)
    FROM MDM_CUSTOMER_MST
    where ACTIVE_FLAG = 'Y'
    AND CUSTOMER_TYPE = 'FACILITY'
    and ACTIVE_FLAG = 'Y'
    and CUSTOMER_TYPE = 'FACILITY'
    AND CUSTOMER_KEY <> '-1'
    it is working only if the highend date is '31-dec-9999' it is not working to track the history if it is '31-dec-2014' .could some one please help me to how to update the flag.

    Hi,
    user9977206 wrote:
    Hi Friends,
    I need help,regarding tracking history in dimension tables.Actaully we have customer table and there is id and effective_date/expiration .Previously we were recieving 31/dec/9999 as highend date and I was able to update the active_flag based on this date in the table.Right now we started recieving the different dates
    as 31/dec/2014,31/dec/9999.
    I was using the below query :
    UPDATE MDM_CUSTOMER_MST
    SET ACTIVE_FLAG = 'N',
    DELETE_FLAG = 'Y',
    EFFECTIVE_END_DATE = TRUNC(CURRENT_DATE) -1
    WHERE TRUNC(EXPIRATION_DATE) <>This site doesn't like to display the &lt;&gt; inequality operator. Always use the other (equivalent) inequality operator, !=, when posting here.
    Did you mean to use TRUNC (expiration_date) above, but expiration_date (without TRUNC) below?
    (select max(EXPIRATION_DATE)
    FROM MDM_CUSTOMER_MST
    where ACTIVE_FLAG = 'Y'
    AND CUSTOMER_TYPE = 'FACILITY'
    and ACTIVE_FLAG = 'Y'
    and CUSTOMER_TYPE = 'FACILITY'
    AND CUSTOMER_KEY <> '-1'Again, it looks like a != sign is missing.
    >
    it is working only if the highend date is '31-dec-9999' it is not working to track the history if it is '31-dec-2014' .could some one please help me to how to update the flag.I'm willing to share what I know about SQL. Are you willing to share what you know about this problem? Post a complete test case that people can run to re-create the problem and test their ideas. Include CREATE TABLE and INSERT statements for some sample data (as the table is before the UPDATE) and the results you want from that sample data (that is, the contents of the table after the UPDATE). Explain how you get those results from that data.
    As Jeneesh said, see the forum FAQ {message:id=9360002}

  • HT203128 iTunes 12.1.050 - Rollback: Updated from 12.01, now I cant't change track numbers and add additional data fields. How can I roll back to the previous version? @Apple, I want a $100 gift card for the inconvenience.

    iTunes 12.1.050 - Rollback: Updated from 12.01, now I cant't change track numbers and add additional data fields. How can I roll back to the previous version? @Apple, I want a $100 gift card for the inconvenience.
    - it's all said in the title. I can't understand why the developers turn things bad ... risking loosing Apples valuable customers.
    More examples needed? (check out the communities and the reviews)
    - OSX: Maverick to Yosemite = not recommended (check it out > http://roaringapps.com/apps)
    - iPad: older versions as iPad2 should not upgrade to iOS7/8 (it's not supporting its hardware accordingly, it's designed for the latest hardware)
    - iTunes (it's possible to rollback to 10.7 - 11.4, but you need to breech OSX system security framework)
    - Pages (was a real alternative for many of us, each update reduced features and created incompatibility to older work files)
    The list could easily extend to ...

    You can offer Apple feedback here: http://www.apple.com/feedback/
    as for "
      "@Apple, I want a $100 gift card for the inconvenience"
    dream on.

  • How do I remove a secondary apple id from my Mac? I am being prompted for a apple id password for a former user; I do not have the information.  Prevents updates from App Store.

    How do I remove a secondary Apple ID that is not in use from my MacBook pro? The ID does not belong to me and when I attempt to download updates from App Store with my Apple ID, I am prompted for the password of the secondary Apple ID.

    Is this a second hand Mac? If so, you need to erase the Mac and install the version of OS X that shipped installed on the Mac from the factory. Then you set the Mac up as new with your Apple ID.
    User Linc Davis explains how a new owner can prepare a 2nd hand Mac for their own use.
    https://discussions.apple.com/message/25468326

  • Help tracking the condition of a form

    Hi All
    Thank you for viewing my post.
    I am a relavtive beginner with Livecycle but have got a reasonable grasp on scripting with javascript etc.
    Here's my problem.
    I have created an internal order acknowledgement form.
    This form is filled in by our internal sales dept, and in the form they indicate the reviews required to process the order e.g. engineering review, operations review, sales review or a combination of them.
    They do this via checkboes.
    Currently when they submit the form, I have background script that saves the form based on specific information in the form i.e. order number + initals of user + customer name + todays date.pdf on our server (using the trusted application method). After this operation a Mailto command is specified to mail the form to the departments that are ticked.
    Each department that is selected for review then has its own comments area and submit button on the form. Once the department has reviewed the order and done whatever work is required for it they simply submit the form which in turn gets saved as order number + initals of user + customer name + todays date + departmentname review completed.pdf, and emails the form back to the order processor.
    OK this all works great!!
    But it now means I have up to 4 forms being saved for each order, which is OK but now I have been asked to make it more tracable for metrics.
    i.e. if a department looks at the folder where the forms are stored can they view quickly the forms requiring their attention.
    So I have a few options but not sure how to achieve any of them.
    1. - When each file is saved it then deletes the last? - risky because if it is open at hte time on anybodys computer this process wont happen, and I am not sure if it is possible to delete files with javascript through adobe reader?
    2. - export certain fields on each submit  (just the order number, customer name and current status of submit buttons) to a single external file which I can then interrogate with excel or something similar). This sounds good but I have no idea how.
    3. use a mysql database to collect the data from these fields but again not sure what is involved with this / or if its possible.
    ANY HELP IS MUCH APPRECIATED.
    THANK YOU IN ADVANCE.

    Hi Paul
    Thankyou for your response.
    Is it possible to move a file from one directory to another using
    JavaScript under adobe control?
    Thankyou for the invite to your seminar I will attend.
    Thanks
    Graham
    pguerett <[email protected]>
    19/03/2010 15:44
    Please respond to
    [email protected]
    To
    Graham Spaull <[email protected]>
    cc
    Subject
    Help tracking the condition of a form
    Understand your issue and typically this is handled by a Process
    Management or workflow product. LiveCycle has an option for this but it
    might be overkill for what you are trying to do. Anyways regarding your
    points:
    1. You cannot delete anything from th efile system form inside of Acrobat
    (because of security)
    2. You cannot export specific fields, you can export all of the data then
    manipulate it using some 3rd party program. Think in terms of submitting
    it to a srver then having a server program extract the bits you needd and
    do the update.
    3. You can have the forms communicate with a DB but that requires the need
    for another LiveCycle module called Reader Extensions to allow Reader
    users to access the DB, If you are using Acrobat then that is not a
    requirement. I am giving a presentation on this topic next Tues (23rd of
    Mar) at 12 EST. If you are interested you can register here:
    http://acrobatusers.com/events/2220/tech-talk-database-connected-forms
    Paul

  • Can a workflow process continue from form trigger?

    in my workflow project i have launched a workflow process from a form.in the process there is a notification from which i can open a form for further modification of data .currently i am continuing this particular process by pressing an 'updated' button in the notification after updating the data from form. if not updated it'll send that notification back again.can i do the same functionality through a button say 'updated' in the form called from the notification?
    ie i want to continue my process from my custom form called from notification,not by responding the notification's button itself .
    anyway i have completed the project succesfully.if anybody needs any help related to the functionalities noted above ( like 1.launching workflow from form or concurrent program
    2.opening(querying a custom form with particular data) a custom form from notification.
    3.submitting concurrent program from a workflow process ) can contact me at [email protected]

    When we consider that email is simply a communications protocol being leveraged by the workflow, it becomes clear that the problem most likely lies in the email enablement of your Archive list.  If your Archive list is indeed identical to the Requests
    list, then I would take a look at configuration for email on that list as it probably isn't configured correctly.  Additionally, you may wish to double check the email alias you're using in the workflow.  Sending email to the wrong email address
    is just a slip of the keyboard but can result in many hours of debugging.  Ultimately, I would recommend tracking the email through Exchange logs to see if it's received and sent correctly.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • Update existing form

    We've created a form on FormsCentral, and it's working very well. We'd now like to add a reset button to the form.  I know we can do this in Adobe Acrobat to the base form we created before bringing it into FormsCentral, but I don't want to lose the form information we already have for the existing form that FormsCentral is tracking.
    Can we update the form we have without losing all the response information?  I suppose I could re-import the information into FormsCentral from an excel sheet or other if the existing information isn't carried forward, but I'd like some feedback on this before I start making changes to the form and the information collected.

    Hi;
    It sounds like you are distributing your FormsCentral form in PDF and want to edit that PDF before continuing distributing adding a "Reset Form" button which you would do in Acrobat - is that correct?  Assuming it is, you could do this by doing a "Save a Copy" in Acrobat which will remove the Ubiqutization (enabling rights in Reader), you could then edit the form adding the "Reset Form" button, re-do the Reader Enabling and then send the form out.  We don't explicitly support editing the PDF but as long as you don't modify form in a way that breaks the submit you should be OK.
    Regarding Importing your PDF back into FormsCentral and having to re-import your data into that new form, you would also lose the ability to edit your form further in FormsCentral and you would lose the URL to fill the form out in a web browser.  The Import PDF Form feature is best for existing forms you do not want to re-create using our design tools, but they don't have a URL to fill out the form, and are not editable.  You are going to get better results by editing the PDF in Acrobat and then re-ubiquitizing it. 
    Let me know if I understood correctly, hope this helps.
    Thanks,
    Johs

  • HT5361 Best way to track history of version releases for Apple Mail.app?

    Best way to track history of version releases for Apple Mail.app?
    A great many of the traditional OSX installtion history items are no longer available in 10.8  One can no longer consult the installation history of the "Software Update" preference pane, because that functionality has moved to the Mac App Store utility.  The Systems Information Utility does indeed show *some* installation history, but it does NOT include the Mail.app, for some reason.  Fianlly, I can't find a web posting where apple at least provides the list of all recent software updates for mail.
    Any suggestions?
    Thanks!

    UPDATE:
    I have partially answered my own question. I found that if go to the History window for the selected file, then double-click the "version" (indicated by the label, which is actually displayed in the "comment" field), it opens the file in html. But, there is a "save as" button in this preview window. If I save the file to a temporary location and optionally, give it a different file name (e.g., to indicate the rev #), I can then go to Windows Explorer, double-click the file, which then launches in a browser window and displays the formatted web file. So this will definately suit my purposes from a audit perspective.
    However, I still would like to understand how the tags, branches, and pinning works because that might be a better way?
    -Kristen

  • Tracking History

    Hello Everyone,
    I am having problem understanding the Tracking History Topic in Modeling. There are 4 scenarios to Model for user requirements. I could not find any doc or transcript on this topic. It would be very kind of u to provide one. Are these important topics?
    Its so confusing because u can mix different scenarios!!
    What is the Difference between Hierarchy Structure & an External Hierarchy? Why called External?
    Why is it said that Scenario D can be applied to scenario B & C? What does this mean?
    How can nodes appear more than once in a time-dependent hierarchy structure that is version-enabled? (Scenario C)
    Are Valid-From & Valid-To values copied from sys-to, sys-from which are generated by the system? (Scenario D)
    What main points should I understand from this topic?
    Please help me....I am drowning....

    Hello All,
    Somehow I'm able to get what i need. But still there is a problem.
    The steps we are doing are:
    Create a process level variable, which contains some hard coded state information.
    Map this variable to the pdf form's text field A.
    on the submit of the form, look at the field A and fill the history.
    Now the actual problem is, we have used text box with Allow multiple lines checked.  The requirement is history should be a listbox.
    In text box the longer text is wrapping to the next line which is not strictly needed.  If i remove that Allow multiple lines check box, we cannot scroll vertically when the text goes beyond the textbox boundary.
    Now the problem with list box:  We are facing a problem in using list box in mapping.  As we dont know exact number of items we cannot have that many items in the schema.  Is there any way to map a dynamic list box.
    If the forms moves from A to B to C.  Then the list box content should have 1 item when it goes to B, 2 items when it goes to C (along with #1), and so on.
    Please guide us,
    Thanks
    Deepak

  • Calling report from FORM - error Invalid value of paramente 'P_YEAR'

    Hi guys,
    Could you please help me to figure out what is going wrong
    with my form which run a report?
    I am using Developer suite 10g.
    when i run report from report application it run fine,
    but when i call that report from a form it gives me error.
    I have checked the datatype, checked the parameter value
    that I assign from form is available in the report parameter value.
    What else do i have to check in order to run this report
    from the form.
    Error Message from Report Queue Manager:
    Invalid value for parameter 'P_YEAR'.
    Your insight will be appreciated.

    Thank you for reply Denis,
    Here is the code which run_report from form.
    DECLARE
    -- variables for running individual reports
    report_filename               VARCHAR2(40);
    var_reportpath               VARCHAR2(100);
    report_otherparms      VARCHAR2(200);
    -- variables to keep track of successful reports in silent mode
    rep_status                         VARCHAR2(40);
    rep_req                                   NUMBER := 0;
    rep_count                              NUMBER := 0;
    dummy                                        NUMBER;
    -- variables to load the report names and checkboxes into the parameter list
    pl_id                                        PARAMLIST;
    plname                                   VARCHAR2(20) := 'rpt_list';
    -- variables to loop through the parameter list and run the reports
    i                                                  NUMBER;
    split_loc                              NUMBER;
         param_value                         VARCHAR2(40);
         checkbox_name                    VARCHAR2(40);
         report_basename               VARCHAR2(40);
         svc_name                              VARCHAR2(4);
         run_report                         BOOLEAN;
         disp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'DISP',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    hosp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'HOSPICE',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    orth_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'O/P',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    BEGIN
    -- Are any reports selected?
    IF BOXES_ARE_CHECKED(:System.Cursor_Block,'PRINT_NULL_REPORT') THEN
    if not CHECKBOX_CHECKED('print_null_report') then
    disp_exist := TRUE;
    orth_exist := TRUE;
    hosp_exist := TRUE;
    end if;
    -- Create Report Parameter Listing
    pl_id := GET_PARAMETER_LIST(plname);
    if NOT ID_NULL(pl_id) then
         DESTROY_PARAMETER_LIST(pl_id);
    end if;
    pl_id := CREATE_PARAMETER_LIST(plname);
    if ID_NULL(pl_id) then
         GENERIC_ALERT('Error creating report listing');
         RAISE Form_Trigger_Failure;
    end if;
    ADD_PARAMETER(pl_id,'id1', TEXT_PARAMETER,'cover_page_intro!INTRO');
    ADD_PARAMETER(pl_id,'id2', TEXT_PARAMETER,'utilization_profile!ALLUTIL');
    ADD_PARAMETER(pl_id,'id3', TEXT_PARAMETER,'utilization_summary!ALL_SUMMARY');
    ADD_PARAMETER(pl_id,'id4', TEXT_PARAMETER,'hiv_profile!HIV_PROFILE');
    ADD_PARAMETER(pl_id,'id5', TEXT_PARAMETER,'wound_care_profile!WOUND_CARE_PROF');
    ADD_PARAMETER(pl_id,'id6', TEXT_PARAMETER,'top_10_diagnosis!TOP10DIAG');
    ADD_PARAMETER(pl_id,'id7', TEXT_PARAMETER,'diagnosis_profile!DIAG_PROFILE');
    ADD_PARAMETER(pl_id,'id8', TEXT_PARAMETER,'physician_profile!PHYS_PROFILE');
    ADD_PARAMETER(pl_id,'id9', TEXT_PARAMETER,'physician_specialty!PHYS_SPECIALTY');
    ADD_PARAMETER(pl_id,'id10',TEXT_PARAMETER,'discharge_profile!DISCHARGE_PROFILE');
    ADD_PARAMETER(pl_id,'id11',TEXT_PARAMETER,'acute_care_discharge!ACUTE_DSCHRG');
    ADD_PARAMETER(pl_id,'id12',TEXT_PARAMETER,'excessive_cost_patients!EXCESSIVE_COST');
    ADD_PARAMETER(pl_id,'id13',TEXT_PARAMETER,'provider_profile!PROV_PROFILE');
    ADD_PARAMETER(pl_id,'id14',TEXT_PARAMETER,'service_profile!SERVICE_PROFILE');
    ADD_PARAMETER(pl_id,'id15',TEXT_PARAMETER,'age_gender_profile!AGE_GENDER_PROF');
    ADD_PARAMETER(pl_id,'id16',TEXT_PARAMETER,'network_services!NETWORK_SERVICES');
    ADD_PARAMETER(pl_id,'id17',TEXT_PARAMETER,'thh_section_header!THH_COVER');
    ADD_PARAMETER(pl_id,'id18',TEXT_PARAMETER,'thh_utilization!THH_UTILIZATION');
    ADD_PARAMETER(pl_id,'id19',TEXT_PARAMETER,'thh_service_profile!THH_SVC_PROF');
    ADD_PARAMETER(pl_id,'id20',TEXT_PARAMETER,'hit_section_header!HIT_COVER');
    ADD_PARAMETER(pl_id,'id21',TEXT_PARAMETER,'hit_utilization!HIT_UTILIZATION');
    ADD_PARAMETER(pl_id,'id22',TEXT_PARAMETER,'hit_service_profile!HIT_SVC_PROF');
    ADD_PARAMETER(pl_id,'id23',TEXT_PARAMETER,'hme_section_header!HME_COVER');
    ADD_PARAMETER(pl_id,'id24',TEXT_PARAMETER,'hme_utilization!HME_UTILIZATION');
    ADD_PARAMETER(pl_id,'id25',TEXT_PARAMETER,'hme_service_profile!HME_SVC_PROF');
    ADD_PARAMETER(pl_id,'id26',TEXT_PARAMETER,'disp_section_header!DISP_COVER');
    ADD_PARAMETER(pl_id,'id27',TEXT_PARAMETER,'disp_utilization!DISP_UTILIZATION');
    ADD_PARAMETER(pl_id,'id28',TEXT_PARAMETER,'disp_service_profile!DISP_SVC_PROF');
    ADD_PARAMETER(pl_id,'id29',TEXT_PARAMETER,'hosp_section_header!HOSP_COVER');
    ADD_PARAMETER(pl_id,'id30',TEXT_PARAMETER,'hosp_utilization!HOSP_UTILIZATION');
    ADD_PARAMETER(pl_id,'id31',TEXT_PARAMETER,'hosp_service_profile!HOSP_SVC_PROF');
    ADD_PARAMETER(pl_id,'id32',TEXT_PARAMETER,'orth_section_header!ORTH_COVER');
    ADD_PARAMETER(pl_id,'id33',TEXT_PARAMETER,'orth_utilization!ORTH_UTILIZATION');
    ADD_PARAMETER(pl_id,'id34',TEXT_PARAMETER,'orth_service_profile!ORTH_SVC_PROF');
    ADD_PARAMETER(pl_id,'id35',TEXT_PARAMETER,'encounter_detail!ENCOUNTER_DETAIL');
    --- set up other parameters to send to generate_report
    if :reports_control.output_choices = 'FILE' then
    var_reportpath := :global.report_directory || :reports_control.year_list;
    if :global.filename_suffix <> '_A10G' then
         var_reportpath := var_reportpath || 'q' || :reports_control.quarter_list;
    end if;
    var_reportpath := var_reportpath || '_G' || :reports_control.group_list || '_';
    else
         var_reportpath := '';
    end if;
    report_otherparms := 'p_year='||:reports_control.year_list;
    if :global.filename_suffix <> '_A10G' then
         report_otherparms := report_otherparms || '     p_quarter='||:reports_control.quarter_list;
    end if;
    report_otherparms := report_otherparms || ' P_REPORTGROUPID='||:reports_control.group_list;
    --- Check if reports are checked and submit to Reports Server
         for i in 1..35 loop
              GET_PARAMETER_ATTR(pl_id,'id'||i,dummy,param_value);
              split_loc := instr(param_value,'!');
              checkbox_name := substr(param_value,1,split_loc-1);
              report_basename := substr(param_value,split_loc+1,length(param_value));
    if CHECKBOX_CHECKED(checkbox_name) then
         run_report := TRUE;
         svc_name := substr(report_basename,1,4);
         if svc_name = 'DISP' then
              if not disp_exist then
                   run_report := FALSE;
              end if;
         elsif svc_name = 'ORTH' then
              if not orth_exist then
                   run_report := FALSE;
              end if;
         elsif svc_name = 'HOSP' then
              if not hosp_exist then
                   run_report := FALSE;
              end if;
         end if;
         if run_report then
              report_filename := :global.filename_prefix || report_basename || '_10G';---- :global.filename_prefix || report_basename || :global.filename_suffix;
         GENERIC_ALERT(report_filename || ' ' || report_otherparms);
              rep_status := GENERATE_REPORT(report_filename,:reports_control.output_choices,var_reportpath,report_otherparms);
              rep_req := rep_req + 1;
              if rep_status = 'FINISHED' then
                   rep_count := rep_count + 1;
              end if;
         end if;
         end if;
         end loop;
    -- if we're in silent mode, display a completion message
         if :reports_control.output_choices = 'FILE' and CHECKBOX_CHECKED('chk_silent') then
              SET_ALERT_PROPERTY('REPORT_CREATED',alert_message_text,
         '' || rep_count || ' of ' || rep_req || ' reports created successfully');     
              dummy := SHOW_ALERT('REPORT_CREATED');
    end if;
    ELSE
    dummy := SHOW_ALERT('select_report');
    END IF;
    END;

  • Error while updating from front end

    Hi,
    I'am using oracle forms 6i to connect to a table and i'am trying to update from the frontend, but i get an error saying the following,
    'Could not reserve record( 2 tries )...'
    what is the reason, is it because the record is locked???
    and if so is there any way to find out whether a record is locked without trying to update and find it out??? kindly reply as soon as possible...
    Thanks And Regards,
    Vairavan.S

    Yes.. This message comes when the record that you are trying to update is opened for update by another application or explicitly locked by some other user. So, whenever you try to update the record, the standard practice is to lock the row.
    If you are able to lock the row then you can update it.
    Example :
    CURSOR emp_cur(p_emp_id NUMBER)
    SELECT *
    FROM emp
    WHERE emp_id = p_emp_id
    FOR UPDATE OF emp_id NOWAIT;
    l_emp_rec EMP_CUR%ROWTYPE;
    When you open this cursor and fetch into a Record variable, it fetches the data if the record is not locked. Else it gives you NULL in record variable fields.
    Use this if you are using a backend procedures to do operations on your record
    Cheers
    Kumar

  • Error ORA-03108 While connecting to database on 8.1.6 from Form 6i

    I am getting error while running updates on database running on Oracle 8.1.6. from Form 6i. Both are Oracle latest products and Oracle homes are running Net8 versions shipped with products.
    ORA-03108 oranet: ORACLE does not support this interface version.
    Are there incompatibility problems in Net8 versions shipped with Oracle products?
    null

    Can I get some clarification on following:
    1. When Form runs as WebForm mode, the webform runs as appellet. Does this mean that connectivity shifts from Net8 to JDBC?.
    2. Is there possibility of above error comming because of JDBC connectivity.
    Thanks
    Sanjay Sharma
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sanjay Sharma ([email protected]):
    [Here is further input on the error:
    1. I am not running any database link.
    2. the error is coming only when form is running as WebForm Mode. It is not coming in Client-Server Mode.
    3. The occurance is random. there is no pattern of occurance. The eror might crop-up 5 times in 50 updates. Which is strange???]Originally posted by [email protected]:
    [b]Can you confirm if the problem happens with a simpe DEPT table. Ensure you are not using database links or any other complexities. It should be ok to run against this combonation but you may want to remove any possibilites that your application could be contributing to the error.
    Regards
    Grant Ronald<HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Drag and Drop Interaction Wizard

    I am having problems with the Drag and Drop Interaction Wizard.  I am using Captivate (6.1) and when I launch the wizard I am able to select the drag objects and drop targets, but when I get to Step 3 (mapping), I am unable to map the drag sources to

  • Variable has no value when executing a scenario

    Hi, I have a simple package consists of two steps: 1. Refresh a variable "V_FILENAME_D501" to get the value inputted from user. The refreshing statement is "select '#V_FILENAME_D501' and it is running in a SQLServer environment. 2. Execute an interfa

  • How to cancel ERS invoices

    Dear all, service entry sheet were entered twice and approved, upon approval, goods receipt documents were created and because the vendor is ERS, invoices were created and paid. Then AP issued credit memo to the vendor and post the refund check from

  • What is the best way to make drawings an notes during class (on my iPad), which I can add to my (digital) handout later on?!

    What is the best way to make drawings an notes during class (on my iPad), which I can add to my (digital) handout later on?!

  • Powerpoint crashing

    Hi, not sure where to post this, but I was wondering if someone could help me with a crash log. I am running Powerpoint 2004 with the latest updates on my intel mac with 10.4.8. Powerpoint is crashing every 10 min or so for no apparent reason. Can an