Code works on the new form not on the older form

Hello

I'm trying to modify an existing form (add the code). I tested the code in a new form, I have created on my computer but when I do the same thing on a form provided and created on another computer, the code does not work

What I see is that the properties of the shape of a new form on my computer give Version 9. XXX and on the form that was created on another computer, the Version is listed as 8.XX

Anyone know how I can convert Version 8. XX file Version 9.xx?

Or does anyone know how to set up a group of EnclosedOption necessary in Version 8 as an option? "In the 9 version that I use Gender.validate.nullTest ="error"or Gender.validate.nullTest =" disabled "but it does not work on the older Version 8.xx PDF file.

Help greatly appreciated!

concerning

Meir

Reason for the difference in the behavior of the form is one static pdf where the other is dynamic pdf. The objects are drawn differently depending on how the form is saved and made.  When static red boxes will not appear when changed dynamically on the fly.  However, the feature does not work, it does not allow a shipment but is not as noticeable without the red border as to where to find the missing information.

There was a tag http://www.xfa.org/schema/xfa-template/2.6/ LegacyEventModel:1 LegacyRendering:1? > when appropriate causes the form to behave differently.

Tags: Adobe LiveCycle

Similar Questions

  • Code works on an image, but not the other

    I have 2 images in my film, 2 buttons and a video.  On the first image, there is code button #1.  On the second picture, I code button #2, but I also want to appear on the first image. The problem is that when I put the code for the second button on the first image, the video will not play.  If I can have it only on the second image.  I can't understand why the code that works when its framework on 2, then will not work on frame 1.  When I put the code on frame 1, it breaks the functionality and the video will not play.

    This is the code on frame 1, button #1 (btn_skip):

    Stop();

    btn_skip.addEventListener (MouseEvent.CLICK, fl_ClickToGoToWebPage_2);

    function fl_ClickToGoToWebPage_2(event:MouseEvent):void

    {

    navigateToURL (new URLRequest ("http://www.brokerschoice.com/Black_Vault/innervault.html"), '_self');

    }

    Import fl.video.MetadataEvent;

    mymovie.addEventListener (MetadataEvent.CUE_POINT, fl_CuePointHandler_2);

    function fl_CuePointHandler_2(event:MetadataEvent):void

    nextFrame();

    This is the code on frame 2, for the key #2 (btn_skip): this code works if I put it on the frame 2, but breaks the video if I put it on frame 1. I need to have this code on frame 1 as well.

    btn_homePage.addEventListener (MouseEvent.CLICK, fl_ClickToGoToWebPage_3);

    function fl_ClickToGoToWebPage_3(event:MouseEvent):void

    {

    navigateToURL (new URLRequest ("http://www.brokerschoice.com"), '_blank');

    }

    Thank you

    If it were true you wouldn't have a double function error.  Alternatively, the error is not related to what I proposed.

    in any case, fix it if you don't have two names of the same functions.

  • Code works in the timeline panel, but not in the class

    Hello, I have the following code which works in the timeline, but if I change it to the class I get this error.

    I will be very happy if someone can help me solve this problem.

    Error here:

    TypeError: Error #2007: Parameter child must be non-null.
              at flash.display::DisplayObjectContainer/addChild()
              at Function/Main/private:completeMenuLoad/goContent()
    

    Code scenario here:

    import flash.display.*;
    import com.greensock.*;
    import com.greensock.easing.*;
    import flash.net.URLRequest;
    import flash.net.URLLoader;
    
    
    var signUpUrl:URLRequest = new URLRequest("../swf/signUp.swf");
    var logInUrl:URLRequest = new URLRequest("../swf/logIn.swf");
    
    
    var content1Loader:Loader = new Loader();
    var content2Loader:Loader = new Loader();
    
    
    content1Loader.load(signUpUrl);
    content2Loader.load(logInUrl);
    
    
    var buttonA:Array = [signUp_btn, logIn_btn];
    
    var prevOnStageLoader:Loader;
    
    for(var i:int=0;i<buttonA.length;i++){
    buttonA[i].addEventListener(MouseEvent.CLICK, goContent);
    }
    function goContent(e:MouseEvent):void
    {
    if(prevOnStageLoader){
    TweenLite.to(prevOnStageLoader,1,{x:stage.stageWidth});
    }
    prevOnStageLoader=Loader(this["content"+(1+buttonA.indexOf(e.currentTarget))+"Loader"]);
          addChild(prevOnStageLoader);
          prevOnStageLoader.x = -1250;
          TweenLite.to(prevOnStageLoader, 1, {x:0, ease:Elastic.easeInOut});
    }
    

    Code of the class here:

    package 
    {
    
    
              import flash.display.*;
              import flash.net.*;
              import flash.events.*;
              import com.greensock.*;
              import com.greensock.easing.*;
    
    
    
              public class Main2 extends MovieClip
              {
                        private var signUpUrl:URLRequest = new URLRequest("../swf/signUp.swf");
                        private var logInUrl:URLRequest = new URLRequest("../swf/logIn.swf");
                        private var content1Loader:Loader = new Loader();
                        private var content2Loader:Loader = new Loader();
    
    
                        public function Main2()
                        {
                                  content1Loader.load(signUpUrl);
                                  content2Loader.load(logInUrl);
    
    
                                  var buttonA:Array = [signUp_btn,logIn_btn];
                                  var prevOnStageLoader:Loader;
    
    
                                  for (var i:int=0; i<buttonA.length; i++)
                                  {
                                            buttonA[i].addEventListener(MouseEvent.CLICK, goContent);
                                  }
                                  function goContent(e:MouseEvent):void
                                  {
                                         if (prevOnStageLoader)
                                         {
                                                   TweenLite.to(prevOnStageLoader,1,{x:stage.stageWidth});
                                         }
                                         prevOnStageLoader = Loader(this["content" + (1 + buttonA.indexOf(e.currentTarget)) + "Loader"]);
                                         addChild(prevOnStageLoader);
                                         prevOnStageLoader.x = -1250;
                                         TweenLite.to(prevOnStageLoader, 1, {x:0, ease:Elastic.easeInOut});
                                  }
                        }
                }
    }
    
    

    OK, so the problem is SOLVED. I don't know where the problem was because I solved as so much ' try & test - try & test...» ', but

    I think that the problem was a table that should look like this:

    in the Main() public class

    private var buttonA:Array = new Array();

    in constructor

    Button = [signUp, login];

    and the full code here:

    package

    {

    import flash.display. *;

    flash.net import. *;

    import flash.events. *;

    import com.greensock;

    com.greensock.easing import. *;

    SerializableAttribute public class extends MovieClip Main2

    {

    private var container: charger;

    private var content1Loader:Loader = new Loader();

    private var content2Loader:Loader = new Loader();

    private var signUpUrl:URLRequest = new URLRequest("..) ("/ swf/signUp.swf");

    private var logInUrl:URLRequest = new URLRequest("..) ("/ swf/logIn.swf");

    private var buttonA:Array = new Array();

    constructor function

    public void Main2()

    {

    content1Loader.load (signUpUrl);

    content2Loader.load (logInUrl);

    Button = [signUp, login];

    for (var i: int = 0; i

    {

    buttonA [i] .addEventListener (MouseEvent.CLICK, goContent);

    }

    }

    private void goContent(e:MouseEvent):void

    {

    If (container)

    {

    TweenLite.to (container, 0.8, {x: 1250, ease:Cubic.easeInOut});})

    }

    container Loader = (this ["happy" + (1 + buttonA.indexOf (e.currentTarget)) + "Loader"]);

    addChild (container);

    Container.x =-1250;

    TweenLite.to (container, 0.6, {x: 0, ease:Quart.easeInOut});})

    }

    }

    }

  • Why my AS3 code working in 1 project, but not in another?

    I had a small project by working with simple buttons that worked very well. I had to restore my project and now it does not work. Ive cut all new code that I added and it did not work. I made a completely new project and copied the layers I'm testing and just the code that had the first working draft and it did not work either. any suggestions on why this might happen?

    This can be a bit of a twist when it comes to understand because this is what I consider an anomaly of the Flash.  If you have different instances of the same object in the adjacent images, then the object the latter will inherit properties of the thing seized.  Sometimes it works to your advantage and sometimes it will leave scratching you your head trying to solve a problem.

    You have shown just in case, you have an object in the frame of 30 and I guess it is the same object that is in frame 1.  Based on what I just explained as an anomaly, even if you were to remove the name of the instance of the object in the frame of 30, or call it something else, it will persist with the name of the instance assigned to it in box 1.  Try it and see - it should always work.

    However, if you interrupt (that ness adjacent) regarding placing a keyframe empty between frame 1 and 30, you will find that the button no longer works in the frame of 30.  He is most associated with the earlier proceedings.  To get back to work, you reassign Auditors properties.

  • Code works with Dreamweaver CS6 and not CC

    " < p > < a href =" javascript:void (0) "onclick =" window.open ('http://www.anything.comt', "'top = 20, left = 20, toolbar = 0, statusbar = 1, scrollbars = 1, resizable = 1')" title = "title" > name < /a > < /p > working with Dreamweaver CS6 and not CC


    [Edited the title and moved to Dreamweaver - JTS]

    I'm not sure I understand your point of view.

    I just tested the behavior of Dreamweaver CC open in browser window. It creates slightly different Dreamweaver CS6 code, but it works correctly. This is what is created in the HTML code:

    My http://www.adobe.com/ mywindow "," "," toolbar = Yes, location = Yes, status = Yes, menubar = Yes, ars scrollb = yes, resizable = yes') "> link"

    CC of Dreamweaver also adds the following code to theto the page:

    The MM_openBrWindow() function definition is necessary in thefor the code to work. But it really works OK.

    In regards to the _self and _blank not working do not, I find no problem with how Dreamweaver CC manages them.

    However, if you feel happier working with Dreamweaver CS6, you can download it from the following page:

    https://creative.Adobe.com/products/Dreamweaver

    Open the menu drop-down slot "in this version" and select next Dreamweaver CS6, as shown in the screenshot:

    With Dreamweaver CS6 selected, click the big button at the top right of the page download. You can download CS6 then install it alongside CC of Dreamweaver.

  • RT code works since the LabVIEW environment, but not when I create and deploy

    I think there are a lot of reasons why this can happen, but I can't seem to pin one.

    I have a classic controls program that runs on a cRIO. We recently decided to change the communication of a ProfiBus comsoft on Ethernet/IP card. (Industrial Protocol for Allen Renaud automata). For various reasons, we put the fuse in communication in the control loop.

    Now when I run the LabVIEW now, it works fine. I can see data going to and coming from the controller. I can sniff packets and they look good. I get about 30 milliseconds on the loop, which is long, but since I am running in the IDE, I think is not bad. (In other words, I get data in and out every 30 milliseconds).

    When I compile and set the binary on the cRIO, it breaks. I can still sniff packets, but what I'm getting now, is that all traffic to the controller of read requests. My write requests are missing. In addition to reading queries are poorly trained. Rather than ask 43 items in a table, they ask 1.

    A test that I tried was to disable the read request. For the binary file, I don't see any traffic. For the IDE, I see write queries.

    I use LV 2009 SP1. I have the version of NOR-Labs of the Ethernet/IP driver. (We have a request for a quote, but do not have the official driver.) In the meantime, faster I get this done, the happier everyone will be ;-)

    Any suggestions?

    Attention to the nodes of property which is usually my problem when it happens.  Some who say they work in RT do not work in compiled RT

  • Code works in the emulator, but not on the device?

    I am attemping to connect to the Google Talk XMPP using JXA libraries. If I try to connect with this code on the emulator, everything connects and I can connect fine and send messages. When I try this on the physical device, nothing happens. Someone has an idea?  I try an SSL connection as follows

    final SecureConnection sc = (SecureConnection)Connector.open("ssl://" + this.server + ":" + this.port, Connector.READ_WRITE);
    

    Understand the problem. I had to add

    deviceside=false
    

    At the end of the SSL connection to force the physical device to connect through MDS. Here is the final code

    final SecureConnection sc = (SecureConnection)Connector.open("ssl://" + this.server + ":" + this.port + ";deviceside=false", Connector.READ_WRITE);
    

    See http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is... to explain why it was necessary. Thanks to MSohm for the answer of thread on http://supportforums.blackberry.com/t5/Java-Development/Https-doesnot-work-on-real-device/td-p/44465...

  • Working in the code HTML doc but is not on board?

    So My Jquery code works out Board, but is not on board what I try to do is move the background IMG when the mouse moves

    Code:

    var tempX = 0;

    var tempY = 0;

    var oldTempX = 0;

    var oldTempY = 0;

    var IE =! (window.attachEvent & &! window.opera);

    function shiftImageXY (e) {}

    If {(IE)

    tempX = event.clientX + document.body.scrollLeft;

    tempY = event.clientY + document.body.scrollTop;

    } else {}

    tempX = e.pageX;

    tempY = e.pageY;

    }

    IMG = document.getElementById('#Stage_background');

    speedFactorDamping = 0.1;

    XDIR = (tempX - oldTempX);

    ydir = (tempY - oldTempY);

    parallexX xdir =-* speedFactorDamping;

    parallexY = ydir-* speedFactorDamping;

    currX = parseInt (img.offsetLeft);

    currY = parseInt (img.offsetTop);

    img.style.Left = (currX + parallexX) + 'px ';

    img.style.Top = (currY + parallexY) + 'px ';

    oldTempX = tempX;

    oldTempY = tempY;

    Returns true;

    }

    document. OnMouseMove = shiftImageXY;

    all thanks for the idea in advance

    Here's the violin: http://jsfiddle.net/NjVg9/

    you code it in the wrong way!

    Animate edge use jquery differently!

    You should do this way:

    at the stage > compositionReady:

    SYM. $("image") .css ({"location": "absolute"})

    var tempX = 0;

    var tempY = 0;

    var oldTempX = 0;

    var oldTempY = 0;

    var IE =! (window.attachEvent &! window.opera);

    sym.shiftImageXY = {Function

    If {(IE)

    tempX = event.clientX + $("body").scrollLeft)

    tempY = event.clientY + $("body").scrollTop)

    } else {}

    tempX = e.pageX;

    tempY = e.pageY;

    }

    IMG = sym.$("image");

    speedFactorDamping = 0.1; change that to a more rapid shift

    XDIR =-(tempX-oldTempX);

    ydir =-(tempY-oldTempY);

    xdir = parallexX * speedFactorDamping;

    ydir = parallexY * speedFactorDamping;

    currX = parseInt (img.offset () .left);

    currY = parseInt (img.offset () .top);

    IMG. CSS ({'left': (currX + parallexX) + 'px'})

    IMG. CSS ({"top": (currY + parallexY) + 'px'})

    oldTempX = tempX;

    oldTempY = tempY;

    Returns true;

    }

    at the stage > mousemove:

    sym.getComposition () .getStage () .shiftImageXY (e)

    Zaxist

  • Why selfie stick (wired) do not work on the Iphone 6 "9.3.2 iOS"?

    Hello

    I have iPhone with iOS 9.3.2 6 and I bought a wired stick selfie, tried to take a picture and nothing happened. Tried to charge my phone and download an app that reset all settings still do not work. I thought that the stick is broken, but then I got it for my brothers it go iOS iPhone 6 9.3.1 and it worked immediately. I can't think of any other problem that do not work. Maybe new iOS not recognize and block non-apple production. I'm really disappointed. Any suggestions what to do?

    Thank you.

    Yes! It fixed the problem was in the audio port. Checked with a bright light and found a cotton ball in it. Now, a careful extraction with a toothpick and my IPhone 6 works perfectly

  • Procedure failed when using bulk collect clause and works with the cursor

    Hi all

    I use "BULK collect into" clause in my procedure and it is a failure after 21 minutes and gives the error "end of file communication channel.
    After that this error comes when I tried to connect the database it gives following error.

    ORA-01034 - Oracle is not available.
    ORA - 27101-shared memory realm does not exist.
    SVR4 error: 2: no such file or directory.

    When I use the cursor instead of the COLLECTION in BULK IN the clause, it runs successfully.

    Following the code works with the slider.
    procedure work_kiosk_full (an_jobid in number, ac_sqlcode out varchar2, ac_sqlerrm out varchar2) is

    ld_curr_time Date;

    cursor cur_work_kiosk is
    Select distinct jt.jt_id AS jt_id,
    NVL ((ROUND ((jt_date_completed-jt_date_requested) * 24, 2)))
    ),
    0
    ) AS actual_hrs_to_complete,
    NVL ((ROUND ((jt_date_responded-jt_date_requested) * 24, 2)))
    ),
    0
    ) AS actual_hrs_to_respond,
    peo1.peo_name AS agent_name,
    peo1.peo_user_name AS asagent_soe_id,
    Le.lglent_desc AS ap_system,
    "" AS assign_work_request_comment,
    DECODE (jt.jt_bill_id,
    138802, 'BILLABLE CLIENT. "
    138803, "CONTRACTED"
    "138804, ' BILLABLE IN-HOUSE."
    NULL, ' '
    ) Billable.
    BL.bldg_name_cc BUILDING, bl.bldg_id_ls AS building_id,
    DECODE (bl.bldg_active_cc,
    'Y', 'ACTIVE',
    'INACTIVE '.
    ) AS building_status,
    DECODE (jt.jt_wrk_cause_id,
    141521, "STANDARD WEAR."
    141522, "NEGLIGENCE."
    141523, "ACCIDENTAL."
    141524, "MECHANICAL FAILURE."
    141525, "CONTROL."
    141526, "VANDAL."
    141527, 'STANDARD ',.
    141528, "WORK PROJECT",.
    6058229, "TEST."
    NULL, ' '
    ) AS cause_type,
    ' ' AS comments, peo3.peo_name AS completed_by,
    JT.jt_requestor_email AS contact_email,
    JT.jt_requestor_name_first
    || ' '
    || JT.jt_requestor_name_last AS contact_name,
    JT.jt_requestor_phone AS contact_phone,
    CC.cstctrcd_apcode AS corp_code,
    CC.cstctrcd_code AS cost_center,
    JT.jt_date_closed AS date_closed,
    JT.jt_date_completed AS date_completed,
    JT.jt_date_requested AS date_requested,
    JT.jt_date_responded AS date_responded,
    JT.jt_date_response_ecd AS date_response_ecd,
    JT.jt_date_scheduled AS date_scheduled,
    DECODE (jt.jt_def_id,
    139949, "WTG VENDOR RESPONSE."
    139950, "WAITING ON PARTS."
    139951, "AVAILABILITY OF THE HAND ŒUVRE."
    139952, "WORK DEFERRED-HI PRI."
    139953, "APPROVAL OF WIND TURBINES."
    139954, "FUNDING."
    139955, "ACCESS DENIED."
    139956, "WTG MATERIAL."
    NULL, ' '
    ) AS deferral_reason,
    JT.jt_description as description,
    JT.jt_date_resched_ecd IN the development of the young child,
    FMG.facility_manager AS facility_manager,
    FL.floors_text AS FLOOR, gl.genled_desc AS general_ledger,
    '' AS kiosk_date_requested,' ' AS kiosk_dispatch_confirmed.
    "" AS kiosk_dispatched,
    EQP.equip_customer_code AS linked_equipment_alias,
    EQP.equip_id AS linked_equipment_id,
    EQP.equip_text AS linked_equipment_name,
    DECODE (jt_originator_type_id,
    1000, "PROJECT MOVE REQUEST."
    138834, "CUSTOMER OPEN CORRECTION."
    138835, "OPEN REQUEST CUSTOMER."
    138836, "CORRECTIVE MAINTENANCE",.
    138837, "BOOKING CONFERENCE ROOM."
    138838, "PROJECT INITIATED REQUEST."
    138839, "PLANNED PREVENTATIVE MAINTENANCE."
    138840, "COULD START FREE APPLICATION."
    NULL, ' '
    ) AS originator_type,
    "" AS payment_terms, priority_text AS priority_code,
    swoty.sworktype_text AS problem_type,
    Prop.property_name_cc as a property,
    JT.jt_cost_quote_total AS quote_total,
    par.levels_name IN the region,
    DECODE (jt.jt_repdef_id,
    141534, 'ADJUSTED SETTING. "
    141535, "THE TRAINING OF THE END,"
    141536, "NEW REQUEST"
    141537, "NO INVESTIGATION OF REPAIR."
    141538 "REPLACED PARTS."
    141539, 'REPLACE EQUIPMEN.
    1000699, "NEW REQUEST"
    NULL, ' '
    ) AS repair_definitions,
    JT.jt_repairdesc AS MARKED_COR,
    JT.jt_requestor AS applicant, ' ' AS requestor_cost_center.
    JT.jt_requestor_email AS requestor_email,
    JT.jt_requestor_name_first AS requestor_name,
    JT.jt_requestor_phone AS requestor_phone,
    "" LIKE response_time, rm.room_name_cc ROOM,
    P1.peo_provider_code1 AS service_provider,
    P1.peo_address_1 AS service_provider_address,
    peocity.city_text service_provider_city,
    P1.peo_provider_code1 AS service_provider_code,
    peocity.city_country_name AS service_provider_country,
    peocur.currency_text AS service_provider_currency,
    P1.peo_name AS service_provider_description,
    P1.peo_dispatch_method AS serv_prov_dispatc_hmethod,
    P1.peo_rate_double AS serv_prov_double_time_rate,
    P1.peo_email AS service_provider_email,
    P1.peo_emergency_phone AS serv_prov_emergency_phone,
    P1.peo_fax AS service_provider_fax_number,
    P1.peo_home_phone AS service_provider_home_phone,
    P1.peo_rate_hourly AS service_provider_hourly_rate,
    P1.peo_title AS service_provider_job_title,
    P1.peo_method_id AS service_provider_method,
    P1.peo_cell_phone AS service_provider_mobile_phone,
    P1.peo_pager AS service_provider_pager,
    P1.peo_rate_differential AS service_provider_rates,
    P1.peo_rate_differential AS ser_prov_shift_differential,
    peocity.city_state_prov_text AS serv_prov_state_province,
    DECODE (p1.peo_active,
    'Y', 'ACTIVE',
    'INACTIVE '.
    ) AS service_provider_status,
    P1.peo_url AS serv_prov_web_site_address,
    P1.peo_phone AS service_provider_work_phone,
    P1.peo_postal_code AS serv_prov_zip_postal_code, ' ' shift, as.
    ' ' AS skill,.
    DECODE (jt.jt_bigstatus_id,
    138813, «NEWS»,
    138814 "PENDING."
    138815, 'OPEN ',.
    138816, "END."
    138817, 'CLOSED ',.
    138818, "CANCELLED."
    NULL, ' '
    ) The STATUS,
    Lev.levels_name IN the subregion, ' ' IN the trade.
    P1.peo_ls_interface_code1 AS vendor_id,
    P1.peo_fax AS vendor_purchasing_fax,
    P1.peo_vendor_site_code AS vendor_sitecode,
    JT.jt_id AS vendor_ticket, p1.peo_name AS vendor_companyname,
    JT.jt_requestor_vip AS vip, wo.wo_id AS work_order_no,
    JT.jt_id AS work_request,
    JT.jt_class_id AS work_request_class,
    woty.worktype_text AS work_type, ' ' AS wr_cost.
    JT.jt_description AS wr_description,
    "" AS wr_dispatch_method,
    DECODE (jt.jt_bigstatus_id,
    138813, «NEWS»,
    138814 "PENDING."
    138815, 'OPEN ',.
    138816, "END."
    138817, 'CLOSED ',.
    138818, "CANCELLED."
    NULL, ' '
    ) AS wr_status,
    ctrY.country_name as a country
    OF citi.jobticket jt,.
    Citi.Property prop,
    Citi.Bldg bl,
    Citi.bldg_levels bldglvl,
    civil LEVEL lev,
    civil by LEVELS.
    (SELECT crstools.stragg (peo_name) facility_manager,
    bldgcon_bldg_id
    OF citi.bldg_contacts, citi.people
    WHERE bldgcon_peo_id = peo_id
    AND IN bldgcon_contype_id (40181, 10142)
    FMG GROUP BY bldgcon_bldg_id),
    Citi.floors, fl,
    Citi.Room rm,
    Citi.general_ledger gl,
    the Citi.legal_entity
    Citi.cost_center_codes cc,
    Citi.Equipment eqp,
    Citi.workType woty,
    Citi.subworktype swoty,
    Citi.work_order wo,
    Jtwo Citi.jt_workers,
    Citi.Priority,
    Ctry Citi.Country,
    Citi.People p1,
    Citi.People peo3,
    Citi.People peo1,
    Citi.City peocity,
    Citi.Currency peocur
    WHERE jt.jt_bldg_id = bl.bldg_id
    AND bl.bldg_id = bldglvl.bldg_levels_bldg_id
    AND bldglvl.bldg_levels_levels_id = lev.levels_id
    AND lev.levels_parent = par.levels_id (+)
    AND prop.property_id = bl.bldg_property_id
    AND bl.bldg_active_ls <>' n
    AND jt.jt_floors_id = fl.floors_id (+)
    AND jt.jt_room_id = rm.room_id (+)
    AND jt.jt_bldg_id = fmg.bldgcon_bldg_id (+)
    AND jt.jt_genled_id = gl.genled_id (+)
    AND gl.genled_lglent_id = le.lglent_id (+)
    AND jt.jt_cstctrcd_id = cc.cstctrcd_id (+)
    AND jt.jt_equip_id = eqp.equip_id (+)
    AND jt.jt_id = jtwo.jtw_jt_id (+)
    AND jt.jt_worktype_id = woty.worktype_id (+)
    AND jt.jt_sworktype_id = swoty.sworktype_id (+)
    AND jt.jt_wo_id = wo.wo_id
    AND jt.jt_priority_id = priority_id (+)
    - AND jt.jt_date_requested > = ADD_MONTHS (SYSDATE,-12)
    AND jt.jt_last_update > = ADD_MONTHS (ld_curr_time-12)
    AND bl.bldg_country_id = ctry.country_id
    AND jtwo.jtw_peo_id = p1.peo_id (+)
    AND p1.peo_city_id = peocity.city_id (+)
    AND jt.jt_completed_by_peo_id = peo3.peo_id (+)
    AND p1.peo_rate_currency_id = peocur.currency_id (+)
    AND jt.jt_agent_peo_id = peo1.peo_id (+);


    BEGIN
    run immediately 'truncate table crstools.drt_bom_work_kiosk;
    Select sysdate in double ld_curr_time;
    FOR cur_rec in cur_work_kiosk LOOP
    IF MOD (cur_work_kiosk % rowcount, 10000) = 0 then
    COMMIT;
    END IF;

    INSERT INTO crstools.drt_bom_work_kiosk
    (JT_ID
    ACTUAL_HRS_TO_COMPLETE
    ACTUAL_HRS_TO_RESPOND
    AGENT_NAME
    ASAGENT_SOE_ID
    AP_SYSTEM
    ASSIGN_WORK_REQUEST_COMMENT
    BILLABLE
    BUILDING
    BUILDING_ID
    BUILDING_STATUS
    CAUSE_TYPE
    COMMENTS
    COMPLETED_BY
    CONTACT_EMAIL
    CONTACT_NAME
    CONTACT_PHONE
    CORP_CODE
    COST_CENTER
    DATE_CLOSED
    DATE_COMPLETED
    DATE_REQUESTED
    DATE_RESPONDED
    DATE_RESPONSE_ECD
    DATE_SCHEDULED
    DEFERRAL_REASON
    DESCRIPTION
    DPE
    FACILITY_MANAGER
    FLOOR
    GENERAL_LEDGER
    KIOSK_DATE_REQUESTED
    KIOSK_DISPATCH_CONFIRMED
    KIOSK_DISPATCHED
    LINKED_EQUIPMENT_ALIAS
    LINKED_EQUIPMENT_ID
    LINKED_EQUIPMENT_NAME
    ORIGINATOR_TYPE
    PAYMENT_TERMS
    PRIORITY_CODE
    PROBLEM_TYPE
    PROPERTY
    QUOTE_TOTAL
    REGION
    REPAIR_DEFINITIONS
    MARKED_COR
    APPLICANT
    REQUESTOR_COST_CENTER
    REQUESTOR_EMAIL
    REQUESTOR_NAME
    REQUESTOR_PHONE
    RESPONSE_TIME
    ROOM
    SERVICE_PROVIDER
    SERVICE_PROVIDER_ADDRESS
    SERVICE_PROVIDER_CITY
    SERVICE_PROVIDER_CODE
    SERVICE_PROVIDER_COUNTRY
    SERVICE_PROVIDER_CURRENCY
    SERVICE_PROVIDER_DESCRIPTION
    SERV_PROV_DISPATC_HMETHOD
    SERV_PROV_DOUBLE_TIME_RATE
    SERVICE_PROVIDER_EMAIL
    SERV_PROV_EMERGENCY_PHONE
    SERVICE_PROVIDER_FAX_NUMBER
    SERVICE_PROVIDER_HOME_PHONE
    SERVICE_PROVIDER_HOURLY_RATE
    SERVICE_PROVIDER_JOB_TITLE
    SERVICE_PROVIDER_METHOD
    SERVICE_PROVIDER_MOBILE_PHONE
    SERVICE_PROVIDER_PAGER
    SERVICE_PROVIDER_RATES
    SER_PROV_SHIFT_DIFFERENTIAL
    SERV_PROV_STATE_PROVINCE
    SERVICE_PROVIDER_STATUS
    SERV_PROV_WEB_SITE_ADDRESS
    SERVICE_PROVIDER_WORK_PHONE
    SERV_PROV_ZIP_POSTAL_CODE
    MAJ
    SKILLS
    STATUS
    SUBREGION
    TRADE
    VENDOR_ID
    VENDOR_PURCHASING_FAX
    VENDOR_SITECODE
    VENDOR_TICKET
    VENDOR_COMPANYNAME
    VIP
    WORK_ORDER_NO
    WORK_REQUEST
    WORK_REQUEST_CLASS
    WORK_TYPE
    WR_COST
    WR_DESCRIPTION
    WR_DISPATCH_METHOD
    WR_STATUS
    COUNTRY
    CREATE_DATE
    )
    VALUES
    (cur_rec.jt_id
    cur_rec, ACTUAL_HRS_TO_COMPLETE
    cur_rec, ACTUAL_HRS_TO_RESPOND
    cur_rec, AGENT_NAME
    cur_rec, ASAGENT_SOE_ID
    cur_rec, AP_SYSTEM
    cur_rec, ASSIGN_WORK_REQUEST_COMMENT
    BILLABLE cur_rec.
    cur_rec, BUILDING
    cur_rec, BUILDING_ID
    cur_rec, BUILDING_STATUS
    cur_rec, CAUSE_TYPE
    cur_rec.COMMENTS
    cur_rec.COMPLETED_BY
    cur_rec, CONTACT_EMAIL
    cur_rec, CONTACT_NAME
    cur_rec, CONTACT_PHONE
    cur_rec, CORP_CODE
    cur_rec, COST_CENTER
    cur_rec, DATE_CLOSED
    cur_rec, DATE_COMPLETED
    cur_rec, DATE_REQUESTED
    cur_rec, DATE_RESPONDED
    cur_rec, DATE_RESPONSE_ECD
    cur_rec, DATE_SCHEDULED
    cur_rec, DEFERRAL_REASON
    cur_rec, DESCRIPTION
    cur_rec, DEVELOPMENT OF THE YOUNG CHILD
    cur_rec, FACILITY_MANAGER
    cur_rec, FLOOR
    cur_rec, GENERAL_LEDGER
    cur_rec, KIOSK_DATE_REQUESTED
    cur_rec, KIOSK_DISPATCH_CONFIRMED
    cur_rec, KIOSK_DISPATCHED
    cur_rec, LINKED_EQUIPMENT_ALIAS
    cur_rec, LINKED_EQUIPMENT_ID
    cur_rec, LINKED_EQUIPMENT_NAME
    cur_rec, ORIGINATOR_TYPE
    cur_rec, PAYMENT_TERMS
    cur_rec, PRIORITY_CODE
    cur_rec, PROBLEM_TYPE
    cur_rec, PROPERTY
    cur_rec, QUOTE_TOTAL
    cur_rec, REGION
    cur_rec, REPAIR_DEFINITIONS
    cur_rec, MARKED_COR
    cur_rec, APPLICANT
    cur_rec, REQUESTOR_COST_CENTER
    cur_rec, REQUESTOR_EMAIL
    cur_rec, REQUESTOR_NAME
    cur_rec, REQUESTOR_PHONE
    cur_rec, RESPONSE_TIME
    cur_rec, ROOM
    cur_rec, SERVICE_PROVIDER
    cur_rec, SERVICE_PROVIDER_ADDRESS
    cur_rec, SERVICE_PROVIDER_CITY
    cur_rec, SERVICE_PROVIDER_CODE
    cur_rec, SERVICE_PROVIDER_COUNTRY
    cur_rec, SERVICE_PROVIDER_CURRENCY
    cur_rec, SERVICE_PROVIDER_DESCRIPTION
    cur_rec, SERV_PROV_DISPATC_HMETHOD
    cur_rec, SERV_PROV_DOUBLE_TIME_RATE
    cur_rec, SERVICE_PROVIDER_EMAIL
    cur_rec, SERV_PROV_EMERGENCY_PHONE
    cur_rec, SERVICE_PROVIDER_FAX_NUMBER
    cur_rec, SERVICE_PROVIDER_HOME_PHONE
    cur_rec, SERVICE_PROVIDER_HOURLY_RATE
    cur_rec, SERVICE_PROVIDER_JOB_TITLE
    cur_rec, SERVICE_PROVIDER_METHOD
    cur_rec, SERVICE_PROVIDER_MOBILE_PHONE
    cur_rec, SERVICE_PROVIDER_PAGER
    cur_rec, SERVICE_PROVIDER_RATES
    cur_rec, SER_PROV_SHIFT_DIFFERENTIAL
    cur_rec, SERV_PROV_STATE_PROVINCE
    cur_rec, SERVICE_PROVIDER_STATUS
    cur_rec, SERV_PROV_WEB_SITE_ADDRESS
    cur_rec, SERVICE_PROVIDER_WORK_PHONE
    cur_rec, SERV_PROV_ZIP_POSTAL_CODE
    cur_rec, UPDATE
    cur_rec SKILL.
    cur_rec, STATUS
    cur_rec subregion.
    cur_rec, TRADE
    cur_rec, VENDOR_ID
    cur_rec, VENDOR_PURCHASING_FAX
    cur_rec, VENDOR_SITECODE
    cur_rec, VENDOR_TICKET
    cur_rec, VENDOR_COMPANYNAME
    cur_rec, VIP
    cur_rec, WORK_ORDER_NO
    cur_rec, WORK_REQUEST
    cur_rec, WORK_REQUEST_CLASS
    cur_rec, WORK_TYPE
    cur_rec, WR_COST
    cur_rec, WR_DESCRIPTION
    cur_rec, WR_DISPATCH_METHOD
    cur_rec, WR_STATUS
    cur_rec, COUNTRY
    ld_curr_time
    );
    END LOOP;

    COMMIT;

    exception
    while others then
    Rollback;
    dbms_output.put_line('SQLCODE:'||) SQLCODE. "Error :'|| SQLERRM);

    end work_kiosk_full;

    Note: total record inserted 849000.

    The same code does not work with big collect in would adopt.

    Please help me why this is happening.


    Thanks and greetings
    Shyam ~.

    Shyam,

    I agree with Billy.

    Why are you not using an INSERT..SELECT ?
    
    Also, what are you trying to achieve by
    - incremental commits?
    - copying data from one table to another (using expensive I/O)?
    - using dynamic DML?
    
    Most of these approaches are typically wrong - and not recommended for scalable and performant Oracle applications.
    

    I could see you using a CURSOR for LOOP if you change the data inserted so that you could not encapsulate the changes in a query, but you do an insert in right in the table of your cursor. A much more effective way would be to use the following changes I made to your code sample:

    PROCEDURE WORK_KIOSK_FULL(AN_JOBID   IN NUMBER,
                              AC_SQLCODE OUT VARCHAR2,
                              AC_SQLERRM OUT VARCHAR2) IS
    BEGIN
       EXECUTE IMMEDIATE 'truncate table crstools.drt_bom_work_kiosk';
    
       /* Note:  The APPEND hint forces a Direct Path INSERT (see Link below code sample) and is combined with the NOLOGGING Hint */
       /*        To dramtically increase performance.  The Direct Path INSERT inserts records above the High-Water Mark on the table. */
    
       INSERT /*+ APPEND NOLOGGING */ INTO CRSTOOLS.DRT_BOM_WORK_KIOSK
          (JT_ID
          ,ACTUAL_HRS_TO_COMPLETE
          ,ACTUAL_HRS_TO_RESPOND
          ,AGENT_NAME
          ,ASAGENT_SOE_ID
          ,AP_SYSTEM
    --      ,ASSIGN_WORK_REQUEST_COMMENT     /* I commented out this COLUMN because it doesn't make sense to me to insert */
          ,BILLABLE                          /* a couple of space characters into a table.   If the intent is to leave the column NULL */
          ,BUILDING                          /* don't include it in your INSERT statement and it will be NULL.  If there is a valid reason */
          ,BUILDING_ID                       /* for inserting the spaces, then remove the "line comments" from the insert and select statments */
          ,BUILDING_STATUS
          ,CAUSE_TYPE
    --      ,COMMENTS
          ,COMPLETED_BY
          ,CONTACT_EMAIL
          ,CONTACT_NAME
          ,CONTACT_PHONE
          ,CORP_CODE
          ,COST_CENTER
          ,DATE_CLOSED
          ,DATE_COMPLETED
          ,DATE_REQUESTED
          ,DATE_RESPONDED
          ,DATE_RESPONSE_ECD
          ,DATE_SCHEDULED
          ,DEFERRAL_REASON
          ,DESCRIPTION
          ,ECD
          ,FACILITY_MANAGER
          ,FLOOR
          ,GENERAL_LEDGER
    --      ,KIOSK_DATE_REQUESTED
    --      ,KIOSK_DISPATCH_CONFIRMED
    --      ,KIOSK_DISPATCHED
          ,LINKED_EQUIPMENT_ALIAS
          ,LINKED_EQUIPMENT_ID
          ,LINKED_EQUIPMENT_NAME
          ,ORIGINATOR_TYPE
    --      ,PAYMENT_TERMS
          ,PRIORITY_CODE
          ,PROBLEM_TYPE
          ,PROPERTY
          ,QUOTE_TOTAL
          ,REGION
          ,REPAIR_DEFINITIONS
          ,REPAIR_DESCRIPTION
          ,REQUESTOR
    --      ,REQUESTOR_COST_CENTER
          ,REQUESTOR_EMAIL
          ,REQUESTOR_NAME
          ,REQUESTOR_PHONE
    --      ,RESPONSE_TIME
          ,ROOM
          ,SERVICE_PROVIDER
          ,SERVICE_PROVIDER_ADDRESS
          ,SERVICE_PROVIDER_CITY
          ,SERVICE_PROVIDER_CODE
          ,SERVICE_PROVIDER_COUNTRY
          ,SERVICE_PROVIDER_CURRENCY
          ,SERVICE_PROVIDER_DESCRIPTION
          ,SERV_PROV_DISPATC_HMETHOD
          ,SERV_PROV_DOUBLE_TIME_RATE
          ,SERVICE_PROVIDER_EMAIL
          ,SERV_PROV_EMERGENCY_PHONE
          ,SERVICE_PROVIDER_FAX_NUMBER
          ,SERVICE_PROVIDER_HOME_PHONE
          ,SERVICE_PROVIDER_HOURLY_RATE
          ,SERVICE_PROVIDER_JOB_TITLE
          ,SERVICE_PROVIDER_METHOD
          ,SERVICE_PROVIDER_MOBILE_PHONE
          ,SERVICE_PROVIDER_PAGER
          ,SERVICE_PROVIDER_RATES
          ,SER_PROV_SHIFT_DIFFERENTIAL
          ,SERV_PROV_STATE_PROVINCE
          ,SERVICE_PROVIDER_STATUS
          ,SERV_PROV_WEB_SITE_ADDRESS
          ,SERVICE_PROVIDER_WORK_PHONE
          ,SERV_PROV_ZIP_POSTAL_CODE
    --      ,SHIFT
    --      ,SKILL
          ,STATUS
          ,SUBREGION
    --      ,TRADE
          ,VENDOR_ID
          ,VENDOR_PURCHASING_FAX
          ,VENDOR_SITECODE
          ,VENDOR_TICKET
          ,VENDOR_COMPANYNAME
          ,VIP
          ,WORK_ORDER_NO
          ,WORK_REQUEST
          ,WORK_REQUEST_CLASS
          ,WORK_TYPE
    --      ,WR_COST
          ,WR_DESCRIPTION
    --      ,WR_DISPATCH_METHOD
          ,WR_STATUS
          ,COUNTRY
          ,CREATE_DATE
          )
       VALUES
          (SELECT DISTINCT
              JT.JT_ID AS JT_ID
             ,NVL((ROUND((JT_DATE_COMPLETED - JT_DATE_REQUESTED) * 24,2)),0) AS ACTUAL_HRS_TO_COMPLETE
             ,NVL((ROUND((JT_DATE_RESPONDED - JT_DATE_REQUESTED) * 24,2)),0) AS ACTUAL_HRS_TO_RESPOND
             ,PEO1.PEO_NAME AS AGENT_NAME
             ,PEO1.PEO_USER_NAME AS ASAGENT_SOE_ID
             ,LE.LGLENT_DESC AS AP_SYSTEM
    --         ,' ' AS ASSIGN_WORK_REQUEST_COMMENT
             ,DECODE(JT.JT_BILL_ID,138802,'CLIENT BILLABLE'
                                  ,138803,'CONTRACTED'
                                  ,138804,'INTERNAL BILLABLE',NULL,' ') AS BILLABLE
             ,BL.BLDG_NAME_CC AS BUILDING
             ,BL.BLDG_ID_LS AS BUILDING_ID
             ,DECODE(BL.BLDG_ACTIVE_CC, 'Y', 'ACTIVE', 'INACTIVE') AS BUILDING_STATUS
             ,DECODE(JT.JT_WRK_CAUSE_ID,141521,'STANDARD WEAR AND TEAR'
                                       ,141522,'NEGLIGENCE'
                                       ,141523,'ACCIDENTAL'
                                       ,141524,'MECHANICAL MALFUNCTION'
                                       ,141525,'OVERSIGHT'
                                       ,141526,'VANDAL'
                                       ,141527,'STANDARD'
                                       ,141528,'PROJECT WORK'
                                       ,6058229,'TEST',NULL,' ') AS CAUSE_TYPE
    --         ,' ' AS COMMENTS
             ,PEO3.PEO_NAME AS COMPLETED_BY
             ,JT.JT_REQUESTOR_EMAIL AS CONTACT_EMAIL
             ,JT.JT_REQUESTOR_NAME_FIRST || ' ' ||JT.JT_REQUESTOR_NAME_LAST AS CONTACT_NAME
             ,JT.JT_REQUESTOR_PHONE AS CONTACT_PHONE
             ,CC.CSTCTRCD_APCODE AS CORP_CODE
             ,CC.CSTCTRCD_CODE AS COST_CENTER
             ,JT.JT_DATE_CLOSED AS DATE_CLOSED
             ,JT.JT_DATE_COMPLETED AS DATE_COMPLETED
             ,JT.JT_DATE_REQUESTED AS DATE_REQUESTED
             ,JT.JT_DATE_RESPONDED AS DATE_RESPONDED
             ,JT.JT_DATE_RESPONSE_ECD AS DATE_RESPONSE_ECD
             ,JT.JT_DATE_SCHEDULED AS DATE_SCHEDULED
             ,DECODE(JT.JT_DEF_ID,139949,'WTG VENDOR RESPONSE'
                                 ,139950,'WAITING ON PARTS'
                                 ,139951,'LABOR AVAILABILITY'
                                 ,139952,'DEFERRED- HI PRI WORK'
                                 ,139953,'WTG APPROVAL'
                                 ,139954,'FUNDING REQUIRED'
                                 ,139955,'ACCESS DENIED'
                                 ,139956,'WTG MATERIAL',NULL,' ') AS DEFERRAL_REASON
             ,JT.JT_DESCRIPTION AS DESCRIPTION
             ,JT.JT_DATE_RESCHED_ECD AS ECD
             ,FMG.FACILITY_MANAGER AS FACILITY_MANAGER
             ,FL.FLOORS_TEXT AS FLOOR
             ,GL.GENLED_DESC AS GENERAL_LEDGER
    --         ,' ' AS KIOSK_DATE_REQUESTED
    --         ,' ' AS KIOSK_DISPATCH_CONFIRMED
    --         ,' ' AS KIOSK_DISPATCHED
             ,EQP.EQUIP_CUSTOMER_CODE AS LINKED_EQUIPMENT_ALIAS
             ,EQP.EQUIP_ID AS LINKED_EQUIPMENT_ID
             ,EQP.EQUIP_TEXT AS LINKED_EQUIPMENT_NAME
             ,DECODE(JT_ORIGINATOR_TYPE_ID,1000,'PROJECT MOVE REQUEST'
                                          ,138834,'CUSTOMER INITIATED CORRECTION'
                                          ,138835,'CUSTOMER INITIATED REQUEST'
                                          ,138836,'CORRECTIVE MAINTENANCE'
                                          ,138837,'CONFERENCE ROOM BOOKING'
                                          ,138838,'PROJECT INITIATED REQUEST'
                                          ,138839,'PLANNED PREVENTIVE MAINTENANCE'
                                          ,138840,'SELF INITATED REQUEST',NULL,' ') AS ORIGINATOR_TYPE
    --         ,' ' AS PAYMENT_TERMS
             ,PRIORITY_TEXT AS PRIORITY_CODE
             ,SWOTY.SWORKTYPE_TEXT AS PROBLEM_TYPE
             ,PROP.PROPERTY_NAME_CC AS PROPERTY
             ,JT.JT_COST_QUOTE_TOTAL AS QUOTE_TOTAL
             ,PAR.LEVELS_NAME AS REGION
             ,DECODE(JT.JT_REPDEF_ID,141534,'ADJUSTED SETTING'
                                    ,141535,'TRAINING FOR END'
                                    ,141536,'NEW REQUEST'
                                    ,141537,'NO REPAIR REQUIR'
                                    ,141538,'REPLACED PARTS'
                                    ,141539,'REPLACE EQUIPMEN'
                                    ,1000699,'NEW REQUEST',NULL,' ') AS REPAIR_DEFINITIONS
             ,JT.JT_REPAIRDESC AS REPAIR_DESCRIPTION
             ,JT.JT_REQUESTOR AS REQUESTOR
    --         ,' ' AS REQUESTOR_COST_CENTER
             ,JT.JT_REQUESTOR_EMAIL AS REQUESTOR_EMAIL
             ,JT.JT_REQUESTOR_NAME_FIRST AS REQUESTOR_NAME
             ,JT.JT_REQUESTOR_PHONE AS REQUESTOR_PHONE
    --         ,' ' AS RESPONSE_TIME
             ,RM.ROOM_NAME_CC AS ROOM
             ,P1.PEO_PROVIDER_CODE1 AS SERVICE_PROVIDER
             ,P1.PEO_ADDRESS_1 AS SERVICE_PROVIDER_ADDRESS
             ,PEOCITY.CITY_TEXT SERVICE_PROVIDER_CITY
             ,P1.PEO_PROVIDER_CODE1 AS SERVICE_PROVIDER_CODE
             ,PEOCITY.CITY_COUNTRY_NAME AS SERVICE_PROVIDER_COUNTRY
             ,PEOCUR.CURRENCY_TEXT AS SERVICE_PROVIDER_CURRENCY
             ,P1.PEO_NAME AS SERVICE_PROVIDER_DESCRIPTION
             ,P1.PEO_DISPATCH_METHOD AS SERV_PROV_DISPATC_HMETHOD
             ,P1.PEO_RATE_DOUBLE AS SERV_PROV_DOUBLE_TIME_RATE
             ,P1.PEO_EMAIL AS SERVICE_PROVIDER_EMAIL
             ,P1.PEO_EMERGENCY_PHONE AS SERV_PROV_EMERGENCY_PHONE
             ,P1.PEO_FAX AS SERVICE_PROVIDER_FAX_NUMBER
             ,P1.PEO_HOME_PHONE AS SERVICE_PROVIDER_HOME_PHONE
             ,P1.PEO_RATE_HOURLY AS SERVICE_PROVIDER_HOURLY_RATE
             ,P1.PEO_TITLE AS SERVICE_PROVIDER_JOB_TITLE
             ,P1.PEO_METHOD_ID AS SERVICE_PROVIDER_METHOD
             ,P1.PEO_CELL_PHONE AS SERVICE_PROVIDER_MOBILE_PHONE
             ,P1.PEO_PAGER AS SERVICE_PROVIDER_PAGER
             ,P1.PEO_RATE_DIFFERENTIAL AS SERVICE_PROVIDER_RATES
             ,P1.PEO_RATE_DIFFERENTIAL AS SER_PROV_SHIFT_DIFFERENTIAL
             ,PEOCITY.CITY_STATE_PROV_TEXT AS SERV_PROV_STATE_PROVINCE
             ,DECODE(P1.PEO_ACTIVE, 'Y', 'ACTIVE', 'INACTIVE') AS SERVICE_PROVIDER_STATUS
             ,P1.PEO_URL AS SERV_PROV_WEB_SITE_ADDRESS
             ,P1.PEO_PHONE AS SERVICE_PROVIDER_WORK_PHONE
             ,P1.PEO_POSTAL_CODE AS SERV_PROV_ZIP_POSTAL_CODE
    --         ,' ' AS SHIFT
    --         ,' ' AS SKILL
             ,DECODE(JT.JT_BIGSTATUS_ID,138813,'NEW'
                                       ,138814,'PENDING'
                                       ,138815,'OPEN'
                                       ,138816,'COMPLETED'
                                       ,138817,'CLOSED'
                                       ,138818,'CANCELLED',NULL,' ') AS STATUS
             ,LEV.LEVELS_NAME AS SUBREGION
    --         ,' ' AS TRADE
             ,P1.PEO_LS_INTERFACE_CODE1 AS VENDOR_ID
             ,P1.PEO_FAX AS VENDOR_PURCHASING_FAX
             ,P1.PEO_VENDOR_SITE_CODE AS VENDOR_SITECODE
             ,JT.JT_ID AS VENDOR_TICKET
             ,P1.PEO_NAME AS VENDOR_COMPANYNAME
             ,JT.JT_REQUESTOR_VIP AS VIP
             ,WO.WO_ID AS WORK_ORDER_NO
             ,JT.JT_ID AS WORK_REQUEST
             ,JT.JT_CLASS_ID AS WORK_REQUEST_CLASS
             ,WOTY.WORKTYPE_TEXT AS WORK_TYPE
    --         ,' ' AS WR_COST
             ,JT.JT_DESCRIPTION AS WR_DESCRIPTION
    --         ,' ' AS WR_DISPATCH_METHOD
             ,DECODE(JT.JT_BIGSTATUS_ID,138813,'NEW'
                                       ,138814,'PENDING'
                                       ,138815,'OPEN'
                                       ,138816,'COMPLETED'
                                       ,138817,'CLOSED'
                                       ,138818,'CANCELLED',NULL,' ') AS WR_STATUS
             ,CTRY.COUNTRY_NAME AS COUNTRY
             ,SYSDATE --LD_CURR_TIME
         FROM CITI.JOBTICKET JT,
              CITI.PROPERTY PROP,
              CITI.BLDG BL,
              CITI.BLDG_LEVELS BLDGLVL,
              CITI.LEVELS LEV,
              CITI.LEVELS PAR,
              (SELECT CRSTOOLS.STRAGG(PEO_NAME) FACILITY_MANAGER,
                      BLDGCON_BLDG_ID
                 FROM CITI.BLDG_CONTACTS, CITI.PEOPLE
                WHERE BLDGCON_PEO_ID = PEO_ID
                  AND BLDGCON_CONTYPE_ID IN (40181, 10142)
                GROUP BY BLDGCON_BLDG_ID) FMG,
              CITI.FLOORS FL,
              CITI.ROOM RM,
              CITI.GENERAL_LEDGER GL,
              CITI.LEGAL_ENTITY LE,
              CITI.COST_CENTER_CODES CC,
              CITI.EQUIPMENT EQP,
              CITI.WORKTYPE WOTY,
              CITI.SUBWORKTYPE SWOTY,
              CITI.WORK_ORDER WO,
              CITI.JT_WORKERS JTWO,
              CITI.PRIORITY,
              CITI.COUNTRY CTRY,
              CITI.PEOPLE P1,
              CITI.PEOPLE PEO3,
              CITI.PEOPLE PEO1,
              CITI.CITY PEOCITY,
              CITI.CURRENCY PEOCUR
        WHERE JT.JT_BLDG_ID = BL.BLDG_ID
          AND BL.BLDG_ID = BLDGLVL.BLDG_LEVELS_BLDG_ID
          AND BLDGLVL.BLDG_LEVELS_LEVELS_ID = LEV.LEVELS_ID
          AND LEV.LEVELS_PARENT = PAR.LEVELS_ID(+)
          AND PROP.PROPERTY_ID = BL.BLDG_PROPERTY_ID
          AND BL.BLDG_ACTIVE_LS = 'N'
          AND JT.JT_FLOORS_ID = FL.FLOORS_ID(+)
          AND JT.JT_ROOM_ID = RM.ROOM_ID(+)
          AND JT.JT_BLDG_ID = FMG.BLDGCON_BLDG_ID(+)
          AND JT.JT_GENLED_ID = GL.GENLED_ID(+)
          AND GL.GENLED_LGLENT_ID = LE.LGLENT_ID(+)
          AND JT.JT_CSTCTRCD_ID = CC.CSTCTRCD_ID(+)
          AND JT.JT_EQUIP_ID = EQP.EQUIP_ID(+)
          AND JT.JT_ID = JTWO.JTW_JT_ID(+)
          AND JT.JT_WORKTYPE_ID = WOTY.WORKTYPE_ID(+)
          AND JT.JT_SWORKTYPE_ID = SWOTY.SWORKTYPE_ID(+)
          AND JT.JT_WO_ID = WO.WO_ID
          AND JT.JT_PRIORITY_ID = PRIORITY_ID(+)
             --AND jt.jt_date_requested >= ADD_MONTHS (SYSDATE, -12)
          AND JT.JT_LAST_UPDATE >= ADD_MONTHS(LD_CURR_TIME, -12)
          AND BL.BLDG_COUNTRY_ID = CTRY.COUNTRY_ID
          AND JTWO.JTW_PEO_ID = P1.PEO_ID(+)
          AND P1.PEO_CITY_ID = PEOCITY.CITY_ID(+)
          AND JT.JT_COMPLETED_BY_PEO_ID = PEO3.PEO_ID(+)
          AND P1.PEO_RATE_CURRENCY_ID = PEOCUR.CURRENCY_ID(+)
          AND JT.JT_AGENT_PEO_ID = PEO1.PEO_ID(+)
          );
    
       COMMIT;
    
    EXCEPTION
       WHEN OTHERS THEN
          ROLLBACK;
          DBMS_OUTPUT.PUT_LINE('SQLCODE :' || SQLCODE || ' Error :' || SQLERRM);
    
    END WORK_KIOSK_FULL;
    

    Here is the link for infor the [Oracle Direct - Path INSERT | http://download.oracle.com/docs/cd/B10501_01/server.920/a96524/c21dlins.htm#10778].

    Also, if you are really wanting to use a CURSOR for LOOP COLLECTION in BULK, I suggest you read the article by Steven Feuerstein [PL/SQL practices: GEM VRAC | http://www.oracle.com/technology/oramag/oracle/08-mar/o28plsql.html].

    I hope this helps.
    Craig...

    If my response or response from another person was helpful, please mark accordingly

  • Why push button and stop button does not work in the structure of the casing and buckle my VI? (code attached)

    I am a beginner. I'm trying to create a simple VI only switches beetween two types of signals like sine and triangle when someone press on the push button and at the same time, save the data in the file to my desktop. I also have a stop button which no longer record data.  Here are my questions and dproblems:

    1. when I press the button, it does not the true and false in the structure of the case so that I can see the triangle wave stops and begins the sine waveform table.

    2 when I press the stop button, I want the program still running, but the process of writing data in time the loop stops. I don't mind if the graph of the wave stops too but it would be better for the user to see the wave form is running, but the data will stop recording.

    3. Although the condition of the loop did not accept the local variable for the stop button inside the loop or within the structure of the case, so I put the button outside all the loops and the structure.  (I know that this is a problem, I do not know how to use a single button several times in a single code. The local variable did not work the world premiere? I have to?)

    4. the data file it creates hase a lot of lines and columns. I expect a time column and a column of mixed signals based on the push button amplititude this user press every time.  I did that with the acquisition of data and a sensor, it automatically gives me the voltage and time in a column. I tried 2D and 1 d and it has not changed anything.

    Thank you for your help

    Like you said, you read only your entries at the beginning, then whatever value they had before you hit run is worth to be seen by the rest of the code. Programming LabVIEW is based entirely on the data flow and parallelism. It is incredibly powerful and has led to its success over the years (coupled with graphical programming), but is usually one of the first things the new developers stumble on. This is a simple resource to familiarize themselves with its functioning. The function to highlight execution is a great way to watch how your application uses data streams.

    Simple code goes like this:

    • Containing the main code of while loop

      • Inside of the whole loop is all user interaction code or modify the code entry
      • Stop the terminal loop is attached to stop certain criteria or user selection of a stop button
    • Loop initialization above all if necessary
    • Closing referrals and communications, etc after all loop

    It's very simple code. If you want to watch in more advanced architectures that are scalable, Google "LabVIEW State Machine" or "LabVIEW producer consumer."

    If you are just starting, you should do a free training have the capabilities of LabVIEW.

    "Give me six hours to chop down a tree and I will spend the first four sharpening the axe.  -Abraham Lincoln

    Here are some free training focused mainly on LabVIEW and hardware tools to help get started.

    Training center of NOR

    NEITHER start-up

    -Hardware Basics

    -Guide of MyRIO project Essentials (a lot of good simple circuits with links to youtube events)

    -LabVEW databases

    -DAQ Application tutorials

    -CRIO Developer's guide

    Learning OR training videos resources

    Introduction to LabVIEW for 3 hours

    Introduction to LabVIEW for 6 hours
    Paced self-study for students
    Self Paced Training beginner to advanced, required SSP
    LabVIEW training Wiki

  • PHP code the code works but aspx does not work...

    First of all - many apologies because it is NOT directly associated if I use Dw CS6 and Visual Studio 2012 set of Dreamweaver.

    I have two pages of contact - want it in aspx rather than php because I get vb code while I do not understand php.

    In addition to this, I add validation in the aspx version that I do not know how to do it in a php page.

    Then...

    The php version works with the mail command.

    It DOES NOT REQUIRE to have a specified smtp mail server AND IT WORKS.

    However try the same in VB/ASP.NET is a different baby.

    Thanks in advance for any comments.

    Terry

    the php file is: -.

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

    < body >

    <? PHP

    $recipient = ' [email protected] ';

    $subject = "EXAMPLE PHP CONTACT."

    Success message sent to the user after the e-mail was sent. / / You can leave it as what or change the wording.

    $success = "< h1 > thank you to fill out and submit the form. < / h1 > < p > someone will process your message and get back to you as soon as posible. "< /p > < p > < a href =" / "> < /a > back to Home Page < /p >";

    error message sent to the user. / / You can leave it as what or change the wording.

    $failure = "< h1 > there was an error by e-mail information < / h1 > < p > we could not send your information to return of form at the moment." < /p > < p > please wait a few minutes and try again. "< /p > < p > < a href =" / "> < /a > back to Home Page < /p >";

    ###########################################

    Do not edit below this line

    ###########################################

    Collect all the information on the form and check that all fields have been filled.

    $email = $_POST ['email'];

    If (sizeof($_POST)) {}

    $message = "";

    While (list ($key, $val) = {each($_POST)})

    If ($key == 'Submit') {}

    do nothing

    }

    else {}

    $message. = "$key: $val\r\n";

    Checks if the $val contains data

    {if (Empty ($Val))}

    ECHO ("< h1 > error in the entry of the form < / h1 > < p > all the form fields must be filled in and some have not been filled in. < /p >")

    < p > please visit < a href = "javascript: history.go(-1)" ' > back < /a > and try again < /p > ");"

    Exit();

    //}

    }

    }}

    Validate email address

    If(!preg_match("/^[a-z0-9]+([_\\.-][a-z0-9]+) * '. ' @". " ([a-z0-9]+([\.-][a-z0-9]+)*) + ". » \\. [a - z] {2,}"." $/ "(,$email)) {}"

    ECHO ("< h1 > error in form input < / h1 > < p > a wrong e-mail address was entered.") < /p > < p > please go < a href = "javascript: history.go(-1)" ' > < < /a > /a > back, and then try again > /p > ");"

    Exit();

    }

    ###########

    function filter_email_header ($form_field) {}

    Return preg_replace ('/ [\0\n\r\|\!\/\<\>------^-$-%------*--------&] + / ', ", $form_field);

    }

    $email = filter_email_header ($email);

    $headers = "from: $email\n";

    $sent = mail ($recipient $subject, $message, $headers);

    If ($sent)

    {

    the below html code can be modified to change the user receives the message of thanks

    ? >

    Success of < h1 > < / h1 >

    < /P > < p > SUCCESS

    <? PHP

    } else {}

    the message that is sent to the user if the form information has not been sent.

    ? >

    < h1 > something went wrong < / h1 >

    < p > SOMETHING going ON WRONK < /p >

    <? PHP

    }

    ? >

    < / body >

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

    The aspx file is: -.

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

    Imports System.Net

    Imports System.Net.Mail

    Partial Class _Default

    Inherits System.Web.UI.Page

    Protected Sub btnSubmit_Click (ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click

    Me.lblError.Text =""

    Me.divResultDiv.InnerHtml = "XXXX".

    lblName.Text = «»

    lblEmail.Text = «»

    ' -------------------  validation  ---------------------

    If Trim (Me.txtName.Text) = "" then

    lblName.Text = "this field is required.

    Exit Sub

    End If

    If Trim (Me.txtEmail.Text) = "" then

    lblEmail.Text = 'this field is required.

    Exit Sub

    End If

    If Trim (Me.txtEmail2.Text) = "" then

    lblEmail2.Text = 'this field is required.

    Exit Sub

    End If

    If (txtEmail.Text) Trim <>Trim (txtEmail2.Text) then

    lblEmail2.Text = "e-mail addresses must match to.

    Exit Sub

    End If

    If Ucase (Trim (txtAnswer.Text)) then <>'WHITE'

    lblError.Text = 'Did not question correctly.'

    Exit Sub

    End If

    ' -------------------  validation  ---------------------

    ' --------------------------------------------------------

    "IF WE GET HERE then EVERYTHING OK - BUILD THE MESSAGE

    ' --------------------------------------------------------

    Dim mail as new System.Net.Mail.MailMessage

    mail. Body = Me.txtComment.Text

    mail. Subject = "MESSAGE FROM WEB.

    mail. To.Add ("[email protected]")

    mail. From = new System.Net.Mail.MailAddress (Me.txtEmail.Text)

    Dim smtp as new System.Net.Mail.SmtpClient

    Dim strMessage As String = «»

    Try

    SMTP. Send (mail)

    "Me.lblStatus.Text ="Message sent... We will answer you as soon as possible"

    strMessage = "< h2 > < / h2 > < h2 > thank you for your inquiry." "< / h2 >" & _

    "< br / > < /p > to SUCCESS."

    Catch ex As Exception

    "Me.lblStatus.Text ="There is an error in sending, please try again in a moment"

    strMessage = "< h2 > < / h2 > < h2 > error sending message < / h2 >" & _

    "< br / > < FAILURE P > < /p >.

    End Try

    Me.Panel1.Visible = False

    Me.divResultDiv.InnerHtml = strMessage

    End Sub

    End Class

    You use System.Net.Mail , which in turn uses SMTP rather than the PHP mail() function.

    To see more

    or Google the topic.

  • Recovery disks do not work with the new hard drive?

    Hello, everyone.

    I have a laptop HP (pavilion dv7-1245dx) and the hard drive is dead. I had never gotten to burn my recovery disks, so I ordered new ones from HP. When I installed the new hard drive and popped in the disk to reinstall the operating system, it gave me the error message:

    "This PC is not supported by the system recovery discs. You can continue to recover this system with these discs. »

    Error code: 0100-30 FC-3602-3603

    The original hard drive was a Hitachi, 320 GB SATA

    The new hard drive is a WD 500 GB SATA

    Any assistance anyone can give would be great. :]

    Thank you for your time,

    C

    EDIT: Trying to recover a Vista operating system

    For anyone who has the same problem, I found a solution. I cloned the original hard drive using the Clonezilla fallback option. After using Clonezilla to image on the new hard disk, the partition which held that most of the data of the laptop is not mountable, however the partition containing the restore partition was a perfect copy. I turned on the computer, hit escape to access the menu (for a list of options such as boot order, etc, which included an option for recovery), and then choose recovery option. While the recovery discs, I received from HP refused to work with the new hard drive, the Vista restored cloned recovery partition without flaw.

  • DVD player does not appear error - the driver may be corrupted or missing. Code 39, fix the driver installation fails, virtual drives don't work - same results if the material under tension

    Original title: drive does not appear, difficulty he pilot installation fails, virtual drives don't work - same results if the material under tension

    A few weeks ago, as my two DVD players (the two Samsung Lightscribe SH-S223Q of) disappeared after a repair installed, I did for the other problems (not sure if it was directly after installation because I don't notice it right away, but it was no doubt). In Device Manager, it gives the message:

    "Windows cannot load the driver for this hardware device. The driver may be corrupted or missing. (Code 39) »

    I tried the Microsoft Fix It tool (Mats_Run.dvd.exe) that detects the problem and says "Install device driver" in a popup, but then he says "software device driver failed to installed. At the end it says under the issue, the "CD/DVD drive is not detected" and the status of Fix 'not set '. Note that, when I boot from another hard drive (with Vista 64 on it installed from the same DVD, just a new installation) disks appear very well. Also I can boot from the drive as well.

    I can't do a repair installation, since it must initiate Windows, and I can't load the disc. I tried to update my BIOS but that has no effect.

    Recently I actually moved this hard drive to another one, with another brand of hard drive and all the rest. Just like before, if I boot from another hard drive (this one with Windows 7), the drive unit-a Optiarc AD-7230 s - looks and works, and I can also boot from the drive at startup. But since the drive hard as I want to use, the drive does not appear. Fix it, etc. Device Manager gives the same messages as before.

    I tried virtual drives - Daemon Tools Lite and Virtual Clonedrive. When I try to add virtual devices to help, nothing happens. The new drive will be displayed in the Manager of devices, but with the same error Code 39 as the real drive.

    What are my options at this point? How can I get the drive to appear or to fix my copy of Windows?

    I could solve this problem. I started in Ubuntu and deleted the existing cdrom.sys, cdrom.inf etc. files (as in Windows, they were protected and I couldn't delete them), then I copied the files from another installation of Vista I had on another hard drive. After having done that, I updated the drivers in device, disabled/enabled readers and readers management that presented themselves.

  • GADMEI USB TV Tuner card does not work on the new Windows 7 computer

    Original title: usb tv card is not supported in windows 7 x 64

    Hello

    I have new office... everything works fine, the problem is with my tv usb card.

    I tried gadmei model utv882e and utv332e... no one works with my office... but in my laptop with the same version of windows, two tv cards works very well.

    I have no other problems in my pc or tv... cards all drivers are up to date.

    Here is my desktop specs:

    model of motherboard is asus b85m-k

    Hello Faysal,

    Thank you for visiting Microsoft Community.

    As described in the question, I understand that your two cards of Gadmei USB TV Tuner does not work on your Windows 7 desktop. The same card works fine on another computer in Windows 7 with the same configuration.

    I would be grateful if you can provide us with the following information to help us better understand the issue.

    1. What happens when you plug-in card TV Tuner? Your computer will detect the device? Do you have a code or a message when it fails to connect?
    2. Did you check connecting them via a different USB port?

    There may be a possibility that drivers for Gadmei TV sticks are not correctly installed on the computer. We will try these methods below and check if that helps.

    Method 1:

    First of all, I suggest you to run the following Microsoft Fixit to get the problem diagnosed and fixed automatically.

    Hardware devices do not work or are not detected in Windows

    http://Support2.Microsoft.com/mats/hardware_device_problems?WA=wsignin1.0

    Method 2:

    If the fixit above does not resolve the problem, I suggest to download the best compatible driver on the device manufacturer (Gadmei) site or contact Gadmei to get the best driver for your computer and install it.

    You can also read the article below to help update the device driver.

    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-in/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    I hope this helps. Please let us know the results. Do not hesitate to write back for any further assistance with Windows, we will be happy to help you.

Maybe you are looking for

  • I phone 6 more does not

    My iPhones 6 + will not turn on the first launched the prayers of screen with lines through it back I power off then do tried resetting would be stuck in power or reset to mode will not cut back on at all it is the charge that I don't know what to do

  • If I close a tab accidentally how can I recover instantly

    guys I accidentally closed one of the tabs, I was browsing accidentally I closed it rather than another is possible to restore it help me please. Thanks in advance

  • Qosmio F60 - battery is not sustainable

    Hi all I have a Qosmio F60, I bought it almost a month. preformance is good, better, forever and ever. but the problem, it's juts into the battery. my battery is not sustainable. not less then an hour. I don't know what the issue is. the program is n

  • Microphone does not

    Manufacturer: SamsungDevice name: Galaxy SModel: GT-I9000The Android OS version: 2.3.4 (stock version)Network: wifiVersion of the Skype client installed: 4.0.0.17847 Since version 4.0 of Skype my microphone did not work. If I try ringing the Test ser

  • Topology change syslog, how to disable messages?

    I have a number of switches BNT/Lenovo (8124, 8052, 8264) and all are connected to our central syslog server. I have quite a few switches in the same vlan, and I get a lot of topology messages of change like this: 2016 03-11 T 05: 39:01.143556 - 07:0