Error 907 at line 0, column 0

Forms [32 Bit] Version 10.1.2.3.0 (Production)
When I am in debug mode, I am getting the error (in a live environment) - works in (development):
Error 907 at line 0, column 0
cannot load library unit xxxx_pkd (referenced by xxxxx)
**UPDATED**
not the ideal solution, I copied all procedures to the form and re-compiled..works now..thanks anyways

I found the solution.
I was mistakenly not writing colon before block name.
The solution will be as follows :-
BEGIN
IF :labour_master.police_ver_dt IS NOT NULL THEN
IF :labour_master.police_ver_dt < SYSDATE - 180 THEN
MESSAGE('Police verification should be less than six months');
RAISE FORM_TRIGGER_FAILURE;
END IF;
END IF;
END;

Similar Messages

  • Error(1,1): Line 1, Column 1 : XML-20108: (Fatal Error) Start of root elem

    Hi
    Plz tell me the solution of the following error .
    D:\JDeveloperOAF\jdevhome\jdev\myhtml\OA_HTML\WEB-INF\web.xml
    Error(1,1): <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
    D:\JDeveloperOAF\jdevhome\jdev\myhtml\OA_HTML\test_fwktutorial.jsp
    Error: java.lang.NullPointerException

    Where r u getting the error?
    --Shiv                                                                                                                                                                                                                           

  • What does this error means? "Line 20 column 57: character content of element "language" invalid; must be a string with length equal to 3 (actual length was 7) at XPath /package/book/metadata/languages/language" "

    Hi there.
    I am about to publish a book in English and Chinese.
    What does this error means?
    Line 20 column 57: character content of element "language" invalid; must be a string with length equal to 3 (actual length was 7) at XPath /package/book/metadata/languages/language"
    And where is line 20, column 57?
    Thanks folks!

    Go into iTunes Producer and select from the dropdown, don't type.
    cs
    iBooks Author Guide

  • Error 357 at line 2, column 19

    I am getting following error :-
    Error 357 at line 2, column 19
    Table, View Or Sequence reference 'LABOUR_MASTER.POLICE_VER_DT' is not allowed in this context
    Error 0 at line 2, column 2
    Statement ignored.
    I am trying to give message when anyone submits police verification document older than six months. The procedure for giving message is as follows :-
    BEGIN
    IF labour_master.police_ver_dt IS NOT NULL THEN
    IF labour_master.police_ver_dt < SYSDATE - 180 THEN
    MESSAGE('Police verification should be less than six months');
    RAISE FORM_TRIGGER_FAILURE;
    END IF;
    END IF;
    END;
    The error comes from this procedure. I am using Form 6i. and All blocks are database blocks.

    I found the solution.
    I was mistakenly not writing colon before block name.
    The solution will be as follows :-
    BEGIN
    IF :labour_master.police_ver_dt IS NOT NULL THEN
    IF :labour_master.police_ver_dt < SYSDATE - 180 THEN
    MESSAGE('Police verification should be less than six months');
    RAISE FORM_TRIGGER_FAILURE;
    END IF;
    END IF;
    END;

  • JDBC receiver error:ORA-06550: line 1, column 7: PL/SQL

    Hi,
    I am geting this error in JDBC Receiver adapter. when  i call the stored procedure.
    Last week it works fine.But i today i faced this error.
    Error Unable to execute statement for table or stored procedure. 'spec_utilities.SP_DELETE(Structure 'unassign') due to java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'SPEC_UTILITIES.SP_DELETE' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored 
    Error JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'spec_utilities.SP_DELETE(structure 'unassign'): java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'SPEC_UTILITIES.SP_DELETE' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored 
    Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'spec_utilities.SP_DELETE (structure 'unassign'): java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'SPEC_UTILITIES.SP_DELETE'must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored 
    My stored procedure structure is:
    <unassign>
    <SP_DELETE action="EXECUTE">
      <table>spec_utilities.SP_DELETE</table>
      <PAE isInput="true" type="VARCHAR">447848</pAEIC>
      <SKEY isInput="true" type="NUMERIC">4548545</pSKEY>
      <USER isOutput="true" type="VARCHAR" />
      <UNIT  isOutput="true" type="VARCHAR" />
      <EMAIL isOutput="true" type="VARCHAR" />
      </SP_DELETE>
      </unassign>
    Can you suggest me where is this error.
    Thank you
    Sateesh

    Hi,
       if it was executing fine earlier then check the below
    1. user permissions level at the database..whether it has access to the required SP or not..
    2. Check if there was any change in the SP..which has not been communicated...
    HTH
    Rajesh

  • ERROR ITMS-3000: Line 141 column 29

    I didn't find anything on this error.
    there are people with errors in ling 79.
    is there anyone experiencing the same error and having a solution?
    I tried:
    - renaming the file
    - checking the file in book proofer
    I don't know what to do and change.

    Yeah, I remember when they started teh 1400 pixel requirement, I was not a happy camper that day...
    Amazon doesn't care at all about the data ha! However, their awful pricing rules over shadow their ease of uploading. I still can't believe Apple got in trouble for "price fixing" when Amazon forces us to fit our titles into their "fixed" range, or else we get hit with a massive penalty (loss of royalty, which is the same thing)! That's the one reason I like iTunes over Amazon/Barnes & Noble, though we actually haven't uploaded to B&N yet.
    Anyways, my workflow is: InDesign ePub export, Clean it up with Sigil, then use Calibre to split the pages, generate the TOC, and convert to Mobi.
    Also, remember ePub is just a Zip file. So if you really want to inspect the file, change it's file extension to .zip and unzip it. I've tried doing this through Finder but it never seems to work so I do it via command line (Terminal). Then I can manually tweak it if needed. One example of this being a requirement, was when I was getting an error from Book Proofer that the ePub was encrypted! Turned out that InDesing placed a little xml file named "encrypted.xml" inside the META-INF folder. Luckily the fix was to just delete the file, zip the data backup and then change the extension back to .epub.

  • Error 103 at line 6 column 17

    hi All,
    m very new in oracle forms, using oracle forms 6i
    m using this code
    BEGIN
         IF
         :GLOBAL.FABRIC = 'PURCHASE' THEN
         GO_BLOCK('PURCHASE_ORDER');
    ELSE
         :GLOBAL.FABRIC = 'LOOMS' THEN
         GO_BLOCK('LOOMS_CONTRACT');
    ELSE
         :GLOBAL.FABRIC = 'KNITTING' THEN
         GO_BLOCK('KNITTING_CONTRACT');
         END IF;
    END;
    where is the mistake plzzz do some need full.
    thnks.
    Edited by: 940133 on Jun 26, 2012 9:42 PM
    Edited by: 940133 on Jun 26, 2012 9:47 PM

    Try this
    BEGIN
    IF :GLOBAL.FABRIC = 'PURCHASE' THEN
    GO_BLOCK('PURCHASE_ORDER');
    ELSif :GLOBAL.FABRIC = 'LOOMS' THEN
    GO_BLOCK('LOOMS_CONTRACT');
    ELSif :GLOBAL.FABRIC = 'KNITTING' THEN
    GO_BLOCK('KNITTING_CONTRACT');
    END IF;
    END;

  • TempInit, Line 2, Column 14     1086: Syntax error: expecting semicolon before minus.

    Hey! First time posting here, I am a student taking classes on flash. I use Flash CC and obviously AS3. I've got a project I am working on, and have encountered a very frustrating problem. I have emailed my teacher but I thought I would ask around the web as well.
    I get a compiler error saying:
    tempInit, Line 2, Column 14
    1086: Syntax error: expecting semicolon before minus.
    I have tried commenting out the entire script, and I still get the same error. The weird thing is there is nothing on line 2, column 14. Line two simply reads:
    stop();
    I've also considered that I had some symbols named after keywords or with illegal characters that could somehow be causing this issue. It turns out I did, so I changed all suspected items to more appropriate names. Yet even after I did this, the error persists. I cannot find any other explanation as to why this error occurs at this point, hence why I am turning to the internet.
    A notable factor here is that I have imported items from illustrator cs5, some of which had illustrator symbols included. These were the culprits with the first issue of illegal and keyword names; examples: "Mountain1-2" and "New Symbol"
    Many thanks,
    Lee
    I'll paste my code here:
    import flash.events.MouseEvent;
    stop();
    var Htraesea_mc:Htraesea = new Htraesea();
    /*Aisa*/
    var TheEverlands_btn:TheEverlands = new TheEverlands();
    var everlandsdesc_mc:everlandsdesc = new everlandsdesc();
    var TheClaruslands_btn:TheClaruslands = new TheClaruslands();
    var claurslandsdesc_mc:claurslandsdesc = new claurslandsdesc();
    var TheDwarvallisLands_btn:TheDwarvallisLands = new TheDwarvallisLands();
    var dwarvallisdesc_mc:dwarvallisdesc = new dwarvallisdesc();
    var TheGreyLands_btn:TheGreyLands = new TheGreyLands();
    var greylandsdesc_mc:greylandsdesc = new greylandsdesc();
    var TheLandsofGineder_btn:TheLandsofGineder = new TheLandsofGineder();
    var TheLandsofHumara_btn:TheLandsofHumara = new TheLandsofHumara();
    var humaradesc_mc:humaradesc = new humaradesc();
    var TheLandsofJurgious_btn:TheLandsofJurgious = new TheLandsofJurgious();
    var TheLandsofMiddterrus_btn:TheLandsofMiddterrus = new TheLandsofMiddterrus();
    var TheLandsofOtrannas_btn:TheLandsofOtrannas = new TheLandsofOtrannas();
    var TheLandsofWeshan_btn:TheLandsofWeshan = new TheLandsofWeshan();
    var TheLowerAltiorlands_btn:TheLowerAltiorlands = new TheLowerAltiorlands();
    var TheMiddaltiorlands_btn:TheMiddaltiorlands = new TheMiddaltiorlands();
    var TheStarkLands_btn:TheStarkLands = new TheStarkLands();
    var starklandsdesc_mc:starklandsdesc = new starklandsdesc();
    var TheUnderlands_btn:TheUnderlands = new TheUnderlands();
    var TheUpperAltiorlands_btn:TheUpperAltiorlands = new TheUpperAltiorlands();
    var TheViridilands_btn:TheViridilands = new TheViridilands();
    var TheWestlands_btn:TheWestlands = new TheWestlands();
    var westlandsdesc_mc:westlandsdesc = new westlandsdesc();
    var TheBroadlands_btn:TheBroadlands = new TheBroadlands();
    /*Acierma*/
    var TheBleaklands_btn:TheBleaklands = new TheBleaklands();
    var bleaklandsdesc_mc:bleaklandsdesc = new bleaklandsdesc();
    var TheConvullands_btn:TheConvullands = new TheConvullands();
    var TheInfractlands_btn:TheInfractlands = new TheInfractlands();
    var infractdesc_mc:infractdesc = new infractdesc();
    var TheLandsofFragmenus_btn:TheLandsofFragmenus = new TheLandsofFragmenus();
    var fragmenusdesc_mc:fragmenusdesc = new fragmenusdesc();
    var TheLandsofJunosto_btn:TheLandsofJunosto = new TheLandsofJunosto();
    var junostodesc_mc:junostodesc = new junostodesc();
    var TheLandsofMusttrupis_btn:TheLandsofMusttrupis = new TheLandsofMusttrupis();
    var TheLandsofRelinas_btn:TheLandsofRelinas = new TheLandsofRelinas();
    var TheLandsofSundara_btn:TheLandsofSundara = new TheLandsofSundara();
    var sundaradesc_mc:sundaradesc = new sundaradesc();
    var TheLaniatosLands_btn:TheLaniatosLands = new TheLaniatosLands();
    var TheRiftLands_btn:TheRiftLands = new TheRiftLands();
    var riftlandsdesc_mc:riftlandsdesc = new riftlandsdesc();
    var TheSardustLands_btn:TheSardustLands = new TheSardustLands();
    var TheSypelands_btn:TheSypelands = new TheSypelands();
    var sypelandsdesc_mc:sypelandsdesc = new sypelandsdesc();
    var TheTruntusLands_btn:TheTruntusLands = new TheTruntusLands();
    var TheUmorousLands_btn:TheUmorousLands = new TheUmorousLands();
    var TheVulnerosLands_btn:TheVulnerosLands = new TheVulnerosLands();
    /*Oceania*/
    var Unusra_btn:Unusra = new Unusra();
    var unusradesc_mc:unusradesc = new unusradesc();
    var Risura_btn:Risura = new Risura();
    var Jusurua_btn:Jusurua = new Jusurua();
    var Desura_btn:Desura = new Desura();
    var FrostPeakIsland_btn:FrostPeakIsland = new FrostPeakIsland();
    var frostpeakislanddesc_mc:frostpeakislanddesc = new frostpeakislanddesc();
    var Cornuia_btn:Cornuia = new Cornuia();
    var cornuiadesc_mc:cornuiadesc = new cornuiadesc();
    var Caligan_btn:Caligan = new Caligan();
    var Acitra_btn:Acitra = new Acitra();
    var acitradesc_mc:acitradesc = new acitradesc();
    Htraesea_mc.x = 0;
    Htraesea_mc.y = 0;
    /*Aisa*/
    TheEverlands_btn.x = 1088.60;
    TheEverlands_btn.y = 405.80;
    TheClaruslands_btn.x = 926.40;
    TheClaruslands_btn.y = 395.75;
    TheDwarvallisLands_btn.x = 593.05;
    TheDwarvallisLands_btn.y = 468.00;
    TheGreyLands_btn.x = 895.15;
    TheGreyLands_btn.y = 448.95;
    TheLandsofGineder_btn.x = 593.05;
    TheLandsofGineder_btn.y = 369.7;
    TheLandsofHumara_btn.x = 808.25;
    TheLandsofHumara_btn.y = 570.70;
    TheLandsofJurgious_btn.x = 542.30;
    TheLandsofJurgious_btn.y = 577.25;
    TheLandsofMiddterrus_btn.x = 686.95;
    TheLandsofMiddterrus_btn.y = 367.20;
    TheLandsofOtrannas_btn.x = 829.30;
    TheLandsofOtrannas_btn.y = 330.05;
    TheLandsofWeshan_btn.x = 739.75;
    TheLandsofWeshan_btn.y = 264.15;
    TheLowerAltiorlands_btn.x = 839.05;
    TheLowerAltiorlands_btn.y = 251.95;
    TheMiddaltiorlands_btn.x = 815.65;
    TheMiddaltiorlands_btn.y = 114.65;
    TheStarkLands_btn.x = 1055.25;
    TheStarkLands_btn.y = 501.05;
    TheUnderlands_btn.x = 593.05;
    TheUnderlands_btn.y = 699.80;
    TheUpperAltiorlands_btn.x = 950.10;
    TheUpperAltiorlands_btn.y = 114.65;
    TheViridilands_btn.x = 855.55;
    TheViridilands_btn.y = 652.30;
    TheWestlands_btn.x = 665.65;
    TheWestlands_btn.y = 227.35;
    TheBroadlands_btn.x = 795.3;
    TheBroadlands_btn.y = 414.5;
    /*Acierma*/
    TheBleaklands_btn.x = 297.95;
    TheBleaklands_btn.y = 429.45;
    TheConvullands_btn.x = 307.65;
    TheConvullands_btn.y = 209.6;
    TheInfractlands_btn.x = 178.4;
    TheInfractlands_btn.y = 218.05;
    TheLandsofFragmenus_btn. x = 162.40;
    TheLandsofFragmenus_btn.y = 376.45;
    TheLandsofJunosto_btn. x = 232.4;
    TheLandsofJunosto_btn.y = 762.20;
    TheLandsofMusttrupis_btn. x = 138.05;
    TheLandsofMusttrupis_btn.y = 524.45;
    TheLandsofRelinas_btn. x = 134.4;
    TheLandsofRelinas_btn.y = 472.45;
    TheLandsofSundara_btn.x = 178.4;
    TheLandsofSundara_btn.y = 588.50;
    TheLaniatosLands_btn.x = 284.15;
    TheLaniatosLands_btn.y = 316.80;
    TheRiftLands_btn.x = 272.1;
    TheRiftLands_btn.y = 536.15;
    TheSardustLands_btn.x=168.05;
    TheSardustLands_btn.y = 670.50;
    TheSypelands_btn.x = 261.4;
    TheSypelands_btn.y = 387.25;
    TheTruntusLands_btn.x = 380.1;
    TheTruntusLands_btn.y = 578.50;
    TheUmorousLands_btn.x = 316.45;
    TheUmorousLands_btn.y = 650.15;
    TheVulnerosLands_btn.x = 140.05;
    TheVulnerosLands_btn.y = 298.05;
    /*Oceania*/
    Acitra_btn.x = 422.60;
    Acitra_btn.y = 1.10;
    Caligan_btn.x = 18.15;
    Caligan_btn.y = 829.80;
    Cornuia_btn.x = 450.45;
    Cornuia_btn.y =832.20;
    FrostPeakIsland_btn.x = 898.45;
    FrostPeakIsland_btn.y = 79.50;
    Desura_btn.x = 959.35;
    Desura_btn.y = 835.55;
    Jusurua_btn.x = 966.60;
    Jusurua_btn.y = 822.15;
    Risura_btn.x = 1041.85;
    Risura_btn.y = 843.05;
    Unusra_btn.x = 715.95;
    Unusra_btn.y = 794.95;
    mainscroll_btn.x = 572.10;
    mainscroll_btn.y = 1012.25;
    addChild(Htraesea_mc);
    /*Aisa*/
    addChild(TheLandsofJurgious_btn);
    addChild(TheUnderlands_btn);
    addChild(TheLandsofMiddterrus_btn);
    addChild(TheDwarvallisLands_btn);
    addChild(TheLandsofGineder_btn);
    addChild(TheLandsofHumara_btn);
    addChild(TheViridilands_btn);
    addChild(TheBroadlands_btn);
    addChild(TheGreyLands_btn);
    addChild(TheClaruslands_btn);
    addChild(TheWestlands_btn);
    addChild(TheLandsofOtrannas_btn);
    addChild(TheStarkLands_btn);
    addChild(TheEverlands_btn);
    addChild(TheMiddaltiorlands_btn);
    addChild(TheUpperAltiorlands_btn);
    addChild(TheLowerAltiorlands_btn);
    addChild(TheLandsofWeshan_btn);
    /*Acierma*/
    addChild(TheInfractlands_btn);
    addChild(TheVulnerosLands_btn);
    addChild(TheLandsofFragmenus_btn);
    addChild(TheLandsofRelinas_btn);
    addChild(TheLandsofMusttrupis_btn);
    addChild(TheConvullands_btn);
    addChild(TheLaniatosLands_btn);
    addChild(TheSypelands_btn);
    addChild(TheBleaklands_btn);
    addChild(TheRiftLands_btn);
    addChild(TheLandsofSundara_btn);
    addChild(TheTruntusLands_btn);
    addChild(TheUmorousLands_btn);
    addChild(TheSardustLands_btn);
    addChild(TheLandsofJunosto_btn);
    /*Oceania*/
    addChild(Acitra_btn);
    addChild(Caligan_btn);
    addChild(Cornuia_btn);
    addChild(FrostPeakIsland_btn);
    addChild(Desura_btn);
    addChild(Jusurua_btn);
    addChild(Risura_btn);
    addChild(Unusra_btn);
    TheEverlands_btn.addEventListener(MouseEvent.CLICK,goeverlands);
    function goeverlands(evt:MouseEvent):void {
              everlandsdesc_mc.x = 309.9;
              everlandsdesc_mc.y = 554.95;
              addChild(everlandsdesc_mc);
    everlandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme);
    function closeme(evt:MouseEvent):void {
              removeChild(everlandsdesc_mc);
    TheBleaklands_btn.addEventListener(MouseEvent.CLICK,gobleaklands);
    function gobleaklands(evt:MouseEvent):void {
              bleaklandsdesc_mc.x = 309.9;
              bleaklandsdesc_mc.y = 554.95;
              addChild(bleaklandsdesc_mc);
    bleaklandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme1);
    function closeme1(evt:MouseEvent):void {
              removeChild(bleaklandsdesc_mc);
    Acitra_btn.addEventListener(MouseEvent.CLICK,goacitra);
    function goacitra(evt:MouseEvent):void {
              acitradesc_mc.x = 309.9;
              acitradesc_mc.y = 554.95;
              addChild(acitradesc_mc);
    acitradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme2);
    function closeme2(evt:MouseEvent):void {
              removeChild(acitradesc_mc);
    TheClaruslands_btn.addEventListener(MouseEvent.CLICK, goclaruslands);
    function goclaruslands(evt:MouseEvent):void {
              claurslandsdesc_mc.x = 309.9;
              claurslandsdesc_mc.y = 554.95;
              addChild(claurslandsdesc_mc);
    claurslandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme3);
    function closeme3(evt:MouseEvent):void {
              removeChild(claurslandsdesc_mc);
    Cornuia_btn.addEventListener(MouseEvent.CLICK,gocornuia);
    function gocornuia(evt:MouseEvent):void {
              cornuiadesc_mc.x = 309.9;
              cornuiadesc_mc.y = 554.95;
              addChild(cornuiadesc_mc);
    cornuiadesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme4);
    function closeme4(evt:MouseEvent):void {
              removeChild(cornuiadesc_mc);
    TheDwarvallisLands_btn.addEventListener(MouseEvent.CLICK,godwarvallis);
    function godwarvallis(evt:MouseEvent):void {
              dwarvallisdesc_mc.x = 309.9;
              dwarvallisdesc_mc.y = 554.95;
              addChild(dwarvallisdesc_mc);
    dwarvallisdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme5);
    function closeme5(evt:MouseEvent):void {
              removeChild(dwarvallisdesc_mc);
    TheLandsofFragmenus_btn.addEventListener(MouseEvent.CLICK,gofragmenus);
    function gofragmenus(evt:MouseEvent):void {
              fragmenusdesc_mc.x = 309.9;
              fragmenusdesc_mc.y = 554.95;
              addChild(fragmenusdesc_mc);
    fragmenusdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme6);
    function closeme6(evt:MouseEvent):void {
              removeChild(fragmenusdesc_mc);
    FrostPeakIsland_btn.addEventListener(MouseEvent.CLICK, gofrostpeakisland);
    function gofrostpeakisland(evt:MouseEvent):void {
              frostpeakislanddesc_mc.x = 309.9;
              frostpeakislanddesc_mc.y = 554.95;
              addChild(frostpeakislanddesc_mc);
    frostpeakislanddesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme7);
    function closeme7(evt:MouseEvent):void {
              removeChild(frostpeakislanddesc_mc);
    TheLandsofHumara_btn.addEventListener(MouseEvent.CLICK,gohumara);
    function gohumara(evt:MouseEvent):void {
              humaradesc_mc.x = 309.9;
              humaradesc_mc.y = 554.95;
              addChild(humaradesc_mc);
    humaradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme8);
    function closeme8(evt:MouseEvent):void {
              removeChild(humaradesc_mc);
    TheInfractlands_btn.addEventListener(MouseEvent.CLICK,goinfract);
    function goinfract(evt:MouseEvent):void {
              infractdesc_mc.x = 309.9;
              infractdesc_mc.y = 554.95;
              addChild(infractdesc_mc);
    infractdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme9);
    function closeme9(evt:MouseEvent):void {
              removeChild(infractdesc_mc);
    TheLandsofJunosto_btn.addEventListener(MouseEvent.CLICK,gojunosto);
    function gojunosto(evt:MouseEvent):void {
              junostodesc_mc.x = 309.9;
              junostodesc_mc.y = 554.95;
              addChild(junostodesc_mc);
    junostodesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme10);
    function closeme10(evt:MouseEvent):void {
              removeChild(junostodesc_mc);
    TheRiftLands_btn.addEventListener(MouseEvent.CLICK, goriftlands);
    function goriftlands(evt:MouseEvent):void {
              riftlandsdesc_mc.x = 309.9;
              riftlandsdesc_mc.y = 554.95;
              addChild(riftlandsdesc_mc);
    riftlandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme11);
    function closeme11(evt:MouseEvent):void {
              removeChild(riftlandsdesc_mc);
    TheStarkLands_btn.addEventListener(MouseEvent.CLICK,gostarklands);
    function gostarklands(evt:MouseEvent):void {
              starklandsdesc_mc.x = 309.9;
              starklandsdesc_mc.y = 554.95;
              addChild(starklandsdesc_mc);
    starklandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme12);
    function closeme12(evt:MouseEvent):void {
              removeChild(starklandsdesc_mc);
    TheLandsofSundara_btn.addEventListener(MouseEvent.CLICK,gosundara);
    function gosundara(evt:MouseEvent):void {
              sundaradesc_mc.x = 309.9;
              sundaradesc_mc.y = 554.95;
              addChild(sundaradesc_mc);
    sundaradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme13);
    function closeme13(evt:MouseEvent):void {
              removeChild(sundaradesc_mc);
    TheSypelands_btn.addEventListener(MouseEvent.CLICK,gosypelands);
    function gosypelands(evt:MouseEvent):void {
              sypelandsdesc_mc.x = 309.9;
              sypelandsdesc_mc.y = 554.95;
              addChild(sypelandsdesc_mc);
    sypelandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme14);
    function closeme14(evt:MouseEvent):void {
              removeChild(sypelandsdesc_mc);
    Unusra_btn.addEventListener(MouseEvent.CLICK, gounusra);
    function gounusra(evt:MouseEvent):void {
              unusradesc_mc.x = 309.9;
              unusradesc_mc.y = 554.95;
              addChild(unusradesc_mc);
    unusradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme15);
    function closeme15(evt:MouseEvent):void {
              removeChild(unusradesc_mc);
    TheWestlands_btn.addEventListener(MouseEvent.CLICK, gowestlands);
    function gowestlands(evt:MouseEvent):void {
              westlandsdesc_mc.x = 309.9;
              westlandsdesc_mc.y = 554.95;
              addChild(westlandsdesc_mc);
    westlandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme16);
    function closeme16(evt:MouseEvent):void {
              removeChild(westlandsdesc_mc);
    TheGreyLands_btn.addEventListener(MouseEvent.CLICK, gogreylands);
    function gogreylands(evt:MouseEvent):void {
              greylandsdesc_mc.x = 309.9;
              greylandsdesc_mc.y = 554.95;
              addChild(greylandsdesc_mc);
    greylandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme17);
    function closeme17(evt:MouseEvent):void {
              removeChild(greylandsdesc_mc);

    it appears i may have a corrupt image as a symbol in my library. I will have to replace each one manually one by one to see if this is indeed the problem. I am prepearing to leave out of town for the weekend, but I will update this as soon as a figure it out.
    Thanks again

  • ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments

    I am getting an error:
    "ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'XYZ' ORA-06550: line 1, column 7: PL/SQL: Statement ignored".
    Stored Procedure:
    PROCEDURE XYZ
    (ip_number IN NUMBER,
    op_error_code OUT NUMBER,
    op_error_text OUT VARCHAR2,
    ret_cursor OUT OUT_CURSOR);
    In the procedure I am selecting a details from few tables with respect to the input parameter 'ip_number'.
    VB Code:
    strConnectionString = CONNECTION_STRING
    Set objConnection = Server.CreateObject("ADODB.Connection")
    objConnection.Open strConnectionString
    Set objCommand = Server.CreateObject("ADODB.Command")
    With objCommand
    .ActiveConnection = objConnection
    .CommandType = adCmdStoredProc
    End With
    With objCommand
    .CommandText = "Pkg_1.XYZ"
    .Parameters.Append objCommand.CreateParameter_
    ("ip_ipnumber",adNumeric,adParamInput,8,strIPNumber)
    .Parameters.Append objCommand.CreateParameter_
    ("op_error_code",adNumeric,adParamOutput,10)
    .Parameters.Append objCommand.CreateParameter_
    ("op_error_text",adVarChar,adParamOutput,512)
    Set RS = .Execute()
    End With
    Its working fine with ASP(VB)+ Oracle9i + Windows2000.
    But in ASP(VB) + Oracle 8.1.7 + Windows2000, its giving this error:
    "ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'XYZ' ORA-06550: line 1, column 7: PL/SQL: Statement ignored".
    Please help.

    Your procedure has 4 parameters 1 in and 3 out parameter
    whereas in your VB code
    Parameters.Append objCommand.CreateParameter_
    ("ip_ipnumber",adNumeric,adParamInput,8,strIPNumber)
    .Parameters.Append objCommand.CreateParameter_
    ("op_error_code",adNumeric,adParamOutput,10)
    .Parameters.Append objCommand.CreateParameter_
    ("op_error_text",adVarChar,adParamOutput,512)
    There are only 3 parameter added where is the 4 th one ?
    With Warm Regards
    SSR

  • Error: missing ] after element list Source File: javascript:%20[object%20XULElement] Line: 1, Column: 9 Source Code: [object XULElement]

    Can you help me out in letting me know what this means and how I can fix this? I found it in my tools menu under error console. It was listed as a warning, but then there was a option to highlight and evaluate the original warning message that was listed as
    Warning: Expected color but found 'null'. Error in parsing value for 'background-color'. Declaration dropped.
    Source File: http://www.msn.com/
    When I cut and pasted message in the code evaluate box and pressed enter the warring message became an error then stated:
    Error: missing ; before statement
    Source File: javascript:%20Warning:%20Expected%20color%20but%20found%20'null'.%20%20Error%20in%20parsing%20value%20for%20'background-color'.%20%20Declaration%20dropped.%20Source%20File:%20http://www.msn.com/%20Line:%200
    Line: 1, Column: 10
    Source Code:
    Warning: Expected color but found 'null'. Error in parsing value for 'background-color'. Declaration dropped. Source File: http://www.msn.com/ Line: 0
    I am writing to ask for guidance on what to do and how to fix this.
    I current have Firefox as my default browser. I have IE 9 and Windows 7 home ed on my HP lap top that has AOL preloaded into it as the mail provider. I am a beginner user and when I got the computer my cousin set up Mozilla and Firefox as a search browser and I like it.
    I also have norton security

    I think, the problem is with the order (in configuration file) of path to search headers:
         /opt/oracle/product/10g/10.2.0/precomp/admin/pcscfg.cfg
              sys_include=(/usr/include,/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include)
              include
              include=(/usr/include)
              include=(/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include)
    In the filesys:
         ./usr/include/sys:
         -r--r--r-- 1 bin bin 17786 Aug 13 2007 types.h
         ./opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/sys:
         -rw-r--r-- 1 root system 18288 Mar 22 2008 types.h
         mode_t came from:
         #include <sys/types.h>
    sys/types.h:
         * POSIX Extensions
         typedef unsigned int uint_t;
         typedef unsigned long ulong_t;
         * POSIX and XOPEN Declarations
         #if defined(_LP64) || defined(_I32LPx)
         typedef uint_t mode_t; /* file attribute type */
         #else
         typedef ulong_t mode_t; /* (historical version) */
         #endif

  • Error message in configurin​g profession​nal email account (Invalid\e​scape: line 1 column 271 (char 271).)

    Hi,
    I have an issue I am not able to solve.
    When configuring a pro email in the advanced menu, I have the below error message :
    Invalid\escape: line 1 column 271 (char 271).
    I have checked the email information (server adress, password and so on), everything is fine...
    Cannot find the meaning of the message error.
    Thanks a lot for your help.
    Regards

    Hi..
    For Work Account ::
    User ID : Email Adress ( [email protected])
    Activation Password : Provided from the IT Admin
    Server Adress : provided by It Admin ( S3459908)
    For Microsoft Exchange ActiveSync
    Description :  Your Desired Name (eg.  Your Company name)
    Domain : Your Organizatin Domain name
    Username: Credentials of your Account
    Email Address: Your Email Address
    Password: Password for the Email
    Server Adress: Provided by the IT Admin
    Port: Provided by the IT admin
    Use SSL : ON/OFF as per your IT Admin..
    Please feedback me in this regard...
    Thanks.. 
    Please update the result after applied..
    Thanks

  • Org.xml.sax.SAXParseException: Line 1, Column 1 : XML-0108: (Fatal Error)

    Hi ,
    I am using SAX parser in a java code , which compiles and parses an xml correctly in the local JVM.
    But the same code in OC4J(10g) - version 9.0.4.2 throws the following exception when traced the error stack.
    08/04/04 17:48:40 Loading file workingday.xml from directory ========================== :::java.io.BufferedInputStream@bd4e3c
    08/04/04 17:48:40 Read the xml into instream => STEP II
    08/04/04 17:48:40 Read the xml into instream => STEP II
    08/04/04 17:48:40 adding to the bankholiday list
    org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-0108: (Fatal Error) Start of root element expected.
    08/04/04 17:48:40 at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:226)
    08/04/04 17:48:40 at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:162)
    08/04/04 17:48:40 at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:305)
    08/04/04 17:48:40 at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:267)
    08/04/04 17:48:40 at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    08/04/04 17:48:40 at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:286)
    08/04/04 17:48:40 at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:224)
    Though I have imported the following JDK parsers in the code , the Oracle's SAX parser is taking other inside the application server and throwing the above error for an xml , which is absolutely alright.
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    Please let me know why this happens? Is it a known bug in the OC4J 9.0.4.2?
    Thanks and Regards
    Antara

    hi Antara
    about "... Though I have imported the following JDK parsers in the code , the Oracle's SAX parser is taking other inside the application server ..."
    If you have used the SAXParserFactory.newSAXParser() method to get a parser, the documentation for this method says "Creates a new instance of a SAXParser using the currently configured factory parameters.".
    So you might get a different parser in a different environment.
    regards
    Jan Vervecken

  • Trying to create a pdf with jasper - Parse Fatal Error at line 1 column 1:

    29/11/2007 16:52:03 org.apache.commons.digester.Digester fatalError
    SEVERE: Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
         at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(XMLDocumentScannerImpl.java:899)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at org.apache.commons.digester.Digester.parse(Digester.java:1666)
         at net.sf.jasperreports.engine.xml.JRPrintXmlLoader.loadXML(JRPrintXmlLoader.java:151)
         at net.sf.jasperreports.engine.xml.JRPrintXmlLoader.load(JRPrintXmlLoader.java:103)
         at net.sf.jasperreports.view.JRViewer.loadReport(JRViewer.java:1376)
         at net.sf.jasperreports.view.JRViewer.<init>(JRViewer.java:243)
         at net.sf.jasperreports.view.JRViewer.<init>(JRViewer.java:214)
         at net.sf.jasperreports.view.JasperViewer.<init>(JasperViewer.java:140)
         at net.sf.jasperreports.view.JasperViewer.viewReport(JasperViewer.java:397)
         at net.sf.jasperreports.view.JasperViewer.viewReport(JasperViewer.java:328)
         at br.com.abril.contratos.Gerar.geraRelatorio(Gerar.java:38)
         at br.com.abril.contratos.Gerar.main(Gerar.java:47)

    The XML file that you're reading has something before the first line - either a comment, whitespace, or other characters. The first characters of your XML file MUST be the XML declaration:
    <?xml ...
    If there's anything before that angle bracket it's not valid XML.

  • Error Error oracle.iam.platform.context.ContextManager BEA-000000 IAM-0030007 org.xml.sax.SAXParseException: Line 1, Column 1 : XML-20108: (Fatal Error) Start of root element expected. error in oim logs

    Hi ,
    I am getting the below error at times in oim logs not able to find the reason please help.
    <Error> <oracle.iam.platform.context.ContextManager> <BEA-000000> <IAM-0030007
    org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
        at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
        at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
        at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:414)
        at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:355)
        at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
    <XELLERATE.DATABASE> <BEA-000000> <Class/Method: tcDataBaseClient/bindToInstance encounter some problems: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
    oracle.iam.platform.utils.ServiceInitializationException: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
        at oracle.iam.platform.Platform.getService(Platform.java:265)
        at oracle.iam.platform.OIMInternalClient.getService(OIMInternalClient.java:188)
        at com.thortech.xl.dataaccess.tcDataBaseClient.bindToInstance(tcDataBaseClient.java:151)
        at com.thortech.xl.client.dataobj.tcDataBaseClient.recoverConnection(tcDataBaseClient.java:401)
        at com.thortech.xl.client.dataobj.tcDataBaseClient.getInterface(tcDataBaseClient.java:385)
        at com.thortech.xl.dataaccess.tcDataBaseClient.close(tcDataBaseClient.java:349)
        at com.thortech.xl.server.tcDataBaseClient.close(tcDataBaseClient.java:62)
        at com.thortech.xl.server.tcDataBaseClient.finalize(tcDataBaseClient.java:43
    Caused By: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at com.sun.naming.internal.VersionHelper12.loadClass(Ve
    <Class/Method: tcDataBaseClient/getInterface encounter some problems: RuntimeException encountered. Reconnecting!
    java.lang.NullPointerException
        at oracle.iam.platform.context.ContextManager.getCounter(ContextManager.java:697)
        at oracle.iam.platform.context.ContextManager.incrementCounter(ContextManager.java:684)
    <Error> <XELLERATE.DATABASE> <BEA-000000> <Class/Method: tcDataBaseClient/close encounter some problems: Bean has been deleted.
    javax.ejb.NoSuchEJBException: Bean has been deleted.
    Thanks,
    Sahana

    hi Antara
    about "... Though I have imported the following JDK parsers in the code , the Oracle's SAX parser is taking other inside the application server ..."
    If you have used the SAXParserFactory.newSAXParser() method to get a parser, the documentation for this method says "Creates a new instance of a SAXParser using the currently configured factory parameters.".
    So you might get a different parser in a different environment.
    regards
    Jan Vervecken

  • Oracle Error: SQL Error Messge: [SERVERERROR] ORA-06550: line 1, column 7:

    The following is the error msg, I am trying to run the stored procedure to insert data into few tables.
    Pls suggest any solution to this error msg: Thanks.
    08/05/2005 11:27:41-> Level:1, UpLoader: SQL Error Messge: [SERVERERROR] ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'ENTPRFMAN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    PROCEDURE ENTPRFMAN
    p_source_acct_id char, /*1*/
    p_source_system char, /*2*/
    p_entity_name char, /*3*/
    p_entity_legal_name char, /*4*/
    p_entity_long_name char, /*5*/
    p_associated_entity_id char, /*6*/
    p_entity_type char, /*7*/
    p_list_order char, /*8*/
    p_tax_id_number char, /*9*/
    p_inception_date char, /*10*/
    p_fiscal_end_date char, /*11*/
    p_marketing_open_date char, /*12*/
    p_base_currency char, /*13*/
    p_account_status char, /*14*/
    p_entity_code char, /*15*/
    p_orig_source_system char, /*16*/
    p_account_legal_form char, /*17*/
    p_business_sector char, /*18*/
    p_direct_account_ind char, /*19*/
    p_portfolio_type_code char, /*20*/
    p_target_dict_name char, /*21*/
    p_dict_level char, /*22*/
    p_cust_indx_type char, /*23*/
    p_blnd_source char, /*24*/
    p_ml_interpolate_yn char, /*25*/
    p_source_level1 char, /*26*/
    p_source_entity_xref1 char, /*27*/
    p_source_entity_xref1_type char, /*28*/
    p_source_dict_name1 char, /*29*/
    p_weight1 char, /*30*/
    p_source_level2 char, /*31*/
    p_source_entity_xref2 char, /*32*/
    p_source_entity_xref2_type char, /*33*/
    p_source_dict_name2 char, /*34*/
    p_weight2 char, /*35*/
    p_source_level3 char, /*36*/
    p_source_entity_xref3 char, /*37*/
    p_source_entity_xref3_type char, /*38*/
    p_source_dict_name3 char, /*39*/
    p_weight3 char, /*40*/
    p_source_level4 char, /*41*/
    p_source_entity_xref4 char, /*42*/
    p_source_entity_xref4_type char, /*43*/
    p_source_dict_name4 char, /*44*/
    p_weight4 char, /*45*/
    p_source_level5 char, /*46*/
    p_source_entity_xref5 char, /*47*/
    p_source_entity_xref5_type char, /*48*/
    p_source_dict_name5 char, /*49*/
    p_weight5 char, /*50*/
    p_source_level6 char, /*51*/
    p_source_entity_xref6 char, /*52*/
    p_source_entity_xref6_type char, /*53*/
    p_source_dict_name6 char, /*54*/
    p_weight6 char, /*55*/
    p_source_level7 char, /*56*/
    p_source_entity_xref7 char, /*57*/
    p_source_entity_xref7_type char, /*58*/
    p_source_dict_name7 char, /*59*/
    p_weight7 char, /*60*/
    p_source_level8 char, /*61*/
    p_source_entity_xref8 char, /*62*/
    p_source_entity_xref8_type char, /*63*/
    p_source_dict_name8 char, /*64*/
    p_weight8 char, /*65*/
    p_source_level9 char, /*66*/
    p_source_entity_xref9 char, /*67*/
    p_source_entity_xref9_type char, /*68*/
    p_source_dict_name9 char, /*69*/
    p_weight9 char, /*70*/
    p_source_level10 char, /*71*/
    p_source_entity_xref10 char, /*72*/
    p_source_entity_xref10_type char, /*73*/
    p_source_dict_name10 char, /*74*/
    p_weight10 char, /*75*/
    p_OUT OUT char
    AS
    v_date rulesdbo.entity.upd_date%TYPE:= SYSDATE;
    v_update_source rulesdbo.entity.upd_user%TYPE:= 'PRFENT';
    v_entity_id rulesdbo.entity.entity_id%type;
    b_valid BOOLEAN;
    /* Supported Entity Types - Index Index */
    v_sb_entity_type rulesdbo.entity.entity_type%type:= 'INDX';
    v_bb_entity_type rulesdbo.entity.entity_type%type:= 'CIDX';
    v_bb_dict_l1_cv rulesdbo.dictionary_detail.dict_l1_code_value%type := 'TOTAL';
    na_outparam EagleGen.t_outparam;
    /* Constants */
    g_prf_intfc rulesdbo.entity.src_intfc_inst%type:= -1;
    v_src_intfc_inst rulesdbo.entity.src_intfc_inst%type:= -1;
    /* Business Groups */
    v_group_name1 pace_masterdbo.pace_user_groups.group_name%type := 'ASP Reporting Grp';
    v_group_name2 pace_masterdbo.pace_user_groups.group_name%type := 'Client Rptg Grp';
    v_group_name3 pace_masterdbo.pace_user_groups.group_name%type := 'Client Rptg Mgr Grp';
    v_group_name4 pace_masterdbo.pace_user_groups.group_name%type := 'Client Srvc Grp';
    v_group_name5 pace_masterdbo.pace_user_groups.group_name%type := 'Client Srvc Mgr Grp';
    v_group_name6 pace_masterdbo.pace_user_groups.group_name%type := 'Data Mgmt Grp';
    v_group_name7 pace_masterdbo.pace_user_groups.group_name%type := 'Data Services Grp';
    v_group_name8 pace_masterdbo.pace_user_groups.group_name%type := 'Dom Operations (FDS)';
    v_group_name9 pace_masterdbo.pace_user_groups.group_name%type := 'QA Portfolio Mgr Grp';
    v_group_name10 pace_masterdbo.pace_user_groups.group_name%type := 'SRS (LPS) Group';
    v_group_name11 pace_masterdbo.pace_user_groups.group_name%type := 'LG Cap Val PM Group';
    v_group_name12 pace_masterdbo.pace_user_groups.group_name%type := 'APL Large Cap Value';
    v_group_name13 pace_masterdbo.pace_user_groups.group_name%type := 'Small Cap PM Grp';
    v_group_name14 pace_masterdbo.pace_user_groups.group_name%type := 'Client Rptg Dev Grp';
    v_entity_name rulesdbo.entity.entity_name%type; -- HX 17MAR05
    ** Checks to see if entity exists
    PROCEDURE validate_entityid(p_acctid IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_acctid_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    l_entity_id OUT rulesdbo.entity_xreference.entity_id%TYPE,
    b_valid OUT BOOLEAN)
    IS
    BEGIN
    select ex.entity_id into l_entity_id
    from rulesdbo.entity_xreference ex, rulesdbo.entity e
    where ex.xref_account_id = trim(p_acctid)
    and ex.xref_account_id_type = trim(p_acctid_type)
    and ex.entity_id = e.entity_id;
    b_valid:=TRUE;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    b_valid:=TRUE;
    l_entity_id:=null;
    dbms_output.put_line('IN ENTITY VALIDATE no data');
    WHEN OTHERS THEN
    dbms_output.put_line('IN ENTITY VALIDATE ERROR');
    b_valid:=FALSE;
    END; -- validate entity id func ends here
    ** Checks to see if entity xref exists, if not then add xref
    FUNCTION entity_xref(p_acctid rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_acctid_type rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_entity_id rulesdbo.entity_xreference.entity_id%TYPE)
    RETURN BOOLEAN
    AS
    l_count NUMBER:=0;
    v_entity_xref_id rulesdbo.entity_xreference.instance%type;
    BEGIN
    select count(*) into l_count
    from rulesdbo.entity_xreference
    where xref_account_id = trim(p_acctid)
    and xref_account_id_type = trim(p_acctid_type);
    if l_count > 0 then
    UPDATE rulesdbo.entity_xreference
    SET update_date = v_date,
    update_source = v_update_source,
    entity_id = p_entity_id
    WHERE xref_account_id = trim(p_acctid)
    AND xref_account_id_type = trim(p_acctid_type);
    RETURN TRUE;
    else
    pace_masterdbo.getnextinstance('RULESDBO.ENTITY_XREFERENCE',1,v_entity_xref_id);
    INSERT INTO rulesdbo.entity_xreference
    instance, update_date, update_source, entity_id, xref_account_id, xref_account_id_type
    VALUES
    v_entity_xref_id, v_date, v_update_source, p_entity_id, trim(p_acctid), trim(p_acctid_type)
    RETURN TRUE;
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN FALSE;
    END; -- entity_xref func ends here
    ** Finds dictionary_id given dictionary_name
    FUNCTION getDictionaryId(p_dict_name IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_dict_id OUT rulesdbo.dictionaries.dictionary_id%TYPE)
    RETURN BOOLEAN
    AS
    v_dict_id rulesdbo.dictionaries.dictionary_id%type;
    v_dict_name rulesdbo.dictionaries.dictionary_name%type;
    BEGIN
    dbms_output.put_line('dictionary_name = '||p_dict_name);
    --trim input
    v_dict_name := trim(p_dict_name);
    select dictionary_id into v_dict_id
    from rulesdbo.dictionaries
    where dictionary_name = v_dict_name;
    dbms_output.put_line('dictionary_id = '||v_dict_id);
    if v_dict_id is not null then
    p_dict_id := v_dict_id;
    RETURN TRUE;
    else
    p_dict_id := NULL;
    RETURN FALSE;
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN FALSE;
    END; -- getDictionaryId func ends here
    ** Finds dictionary_detail_id given dictionary_name
    FUNCTION getDictionaryItemId(p_dict_id IN rulesdbo.dictionary_detail.dictionary_id%TYPE,
    p_dict_l1_code_value IN rulesdbo.dictionary_detail.dict_l1_code_value%TYPE,
    p_dict_l2_code_value IN rulesdbo.dictionary_detail.dict_l2_code_value%TYPE,
    p_dict_item_id OUT rulesdbo.dictionary_detail.dictionary_item_id%TYPE)
    RETURN BOOLEAN
    AS
    v_dict_item_id rulesdbo.dictionary_detail.dictionary_item_id%type;
    v_dict_l1 rulesdbo.dictionary_detail.dict_l1_code_value%TYPE;
    v_dict_l2 rulesdbo.dictionary_detail.dict_l2_code_value%TYPE;
    BEGIN
    --trim input
    v_dict_l1 := trim(p_dict_l1_code_value);
    v_dict_l2 := trim(p_dict_l2_code_value);
    /* Total Level Only dictionary custom logic */
    if v_dict_l2 <> 'TOTAL' then
    select dictionary_item_id into v_dict_item_id
    from rulesdbo.dictionary_detail
    where dictionary_id = p_dict_id
    and dict_l1_code_value = v_dict_l1
    and dict_l2_code_value = v_dict_l2;
    else
    select dictionary_item_id into v_dict_item_id
    from rulesdbo.dictionary_detail
    where dictionary_id = p_dict_id
    and dict_l1_code_value = v_dict_l1
    and dict_l2_code_value is null;
    end if;
    if v_dict_item_id is not null then
    p_dict_item_id := v_dict_item_id;
    RETURN TRUE;
    else
    p_dict_item_id := NULL;
    RETURN FALSE;
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN FALSE;
    END; -- getDictionaryDetailId func ends here
    ** Finds instance for given source short_desc
    FUNCTION getSourceId(p_source_name IN pace_masterdbo.interfaces.short_desc%TYPE,
    p_source_id OUT pace_masterdbo.interfaces.instance%TYPE)
    RETURN BOOLEAN
    AS
    v_source_id pace_masterdbo.interfaces.instance%TYPE;
    v_source_name pace_masterdbo.interfaces.short_desc%TYPE;
    BEGIN
    --trim input
    v_source_name := trim(p_source_name);
    select instance into v_source_id
    from pace_masterdbo.interfaces
    where short_desc = v_source_name;
    if v_source_id is not null then
    p_source_id := v_source_id;
    RETURN TRUE;
    else
    p_source_id := NULL;
    RETURN FALSE;
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN FALSE;
    END; -- getSourceId func ends here
    ** Finds entity_id given xref_account_id
    FUNCTION getEntityId( p_account_id IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_account_id_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_entity_id OUT rulesdbo.entity_xreference.entity_id%TYPE)
    RETURN BOOLEAN
    AS
    v_entity_id rulesdbo.entity_xreference.entity_id%TYPE;
    v_account_id rulesdbo.entity_xreference.xref_account_id%TYPE;
    v_account_id_type rulesdbo.entity_xreference.xref_account_id_type%TYPE;
    BEGIN
    --trim input
    v_account_id := trim(p_account_id);
    v_account_id_type := trim(p_account_id_type);
    select entity_id into v_entity_id
    from rulesdbo.entity_xreference
    where xref_account_id = v_account_id
    and xref_account_id_type = v_account_id_type;
    if v_entity_id is not null then
    p_entity_id := v_entity_id;
    RETURN TRUE;
    else
    p_entity_id := NULL;
    RETURN FALSE;
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN FALSE;
    END; -- getEntityId func ends here
    ** FOR BLENDED BENCHMARKS ONLY
    FUNCTION processLevel( p_level_id IN NUMBER,
    p_blend_entity_id IN rulesdbo.entity.entity_id%TYPE,
    p_target_dict_id IN rulesdbo.dictionaries.dictionary_id%TYPE,
    p_dict_level IN rulesdbo.custom_index_attributes.dict_level%TYPE,
    p_dict_l2_code_value1 IN rulesdbo.dictionary_detail.dict_l2_code_value%TYPE,
    p_entity_xref1 IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_entity_xref1_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_source_dictname1 IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_weight1 IN rulesdbo.custom_index_attributes.weight%TYPE
    RETURN BOOLEAN
    AS
    l_count NUMBER:=0;
    v_instance rulesdbo.custom_index_attributes.instance%TYPE;
    v_source_dict_id rulesdbo.custom_index_attributes.source_dict_id%TYPE;
    v_entity_id rulesdbo.entity.entity_id%TYPE;
    v_src_intfc_inst rulesdbo.custom_index_attributes.src_intfc_inst%TYPE;
    v_target_dict_item_id rulesdbo.custom_index_attributes.target_dict_item_id%TYPE;
    b_valid BOOLEAN;
    BEGIN
    b_valid := getSourceId('EAGLE PACE', v_src_intfc_inst);
    dbms_output.put_line('Source Id = '||v_src_intfc_inst);
    b_valid := getEntityId(p_entity_xref1, p_entity_xref1_type, v_entity_id);
    dbms_output.put_line('Level Entity Xref = '||p_entity_xref1);
    dbms_output.put_line('Level Entity Id = '||v_entity_id);
    IF NOT b_Valid THEN
    na_outparam(na_outparam.COUNT+1) := EagleGen.GetErrEdit(p_Src => v_src_intfc_inst,
    p_ShortDesc => 'ENTITY NF');
    p_OUT := EagleGen.simf_table_to_varchar(na_outparam);
    RETURN FALSE;
    END IF;
    b_valid := getDictionaryId(p_source_dictname1, v_source_dict_id);
    dbms_output.put_line('Level Dictionary Id = '||v_source_dict_id);
    IF NOT b_Valid THEN
    na_outparam(na_outparam.COUNT+1) := EagleGen.GetErrEdit(p_Src => v_src_intfc_inst,
    p_ShortDesc => 'DICT ID NF');
    p_OUT := EagleGen.simf_table_to_varchar(na_outparam);
    RETURN FALSE;
    END IF;
    b_valid := getDictionaryItemId(p_target_dict_id, v_bb_dict_l1_cv, p_dict_l2_code_value1, v_target_dict_item_id);
    dbms_output.put_line('Dictionary Item Id = '||v_target_dict_item_id);
    IF NOT b_Valid THEN
    na_outparam(na_outparam.COUNT+1) := EagleGen.GetErrEdit(p_Src => v_src_intfc_inst,
    p_ShortDesc => 'DIR NF');
    p_OUT := EagleGen.simf_table_to_varchar(na_outparam);
    RETURN FALSE;
    END IF;
    /* initial delete */
    if p_level_id = 1 then
    dbms_output.put_line('Deleting ALL prior blend info');
    DELETE FROM rulesdbo.custom_index_attributes
    WHERE entity_id = p_blend_entity_id
    and target_dict_id = p_target_dict_id
    and source_dict_id = v_source_dict_id
    and dict_level = p_dict_level;
    end if;
    /* verify level */
    if p_dict_l2_code_value1 is not null then
    if (v_entity_id is not null) then
    if (v_source_dict_id is not null) then
    if (p_weight1 is not null) then
    dbms_output.put_line('*** LEVEL '||p_level_id||' - INSERTING NEW RECORD INTO RULESDBO.CUSTOM_INDEX_ATTRIBUTES');
    pace_masterdbo.getnextinstance('RULESDBO.CUSTOM_INDEX_ATTRIBUTES',1,v_instance);
    dbms_output.put_line('Retrieved instance number = '||v_instance);
    /* insert row */
    INSERT INTO rulesdbo.custom_index_attributes (
    instance, effective_date, entity_id, entity_detail_id, target_dict_id, source_dict_id,
    dict_level, dict_level_value, weight, cust_indx_type, src_intfc_inst, update_date,
    update_source, target_dict_item_id
    VALUES (
    v_instance, trunc(v_date), p_blend_entity_id, v_entity_id, p_target_dict_id, v_source_dict_id,
    p_dict_level, substr(p_dict_l2_code_value1, 1, 30), p_weight1, substr(p_cust_indx_type, 1, 4),
    v_src_intfc_inst, v_date, v_update_source, v_target_dict_item_id
    b_valid := TRUE;
    RETURN TRUE;
    end if;
    end if;
    end if;
    end if;
    RETURN FALSE;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line('ERRROR - '||sqlerrm);
    RETURN NULL;
    END; -- processLevel func ends here
    FUNCTION customIndexAttributes(
    p_blend_entity_id IN rulesdbo.entity.entity_id%TYPE,
    p_target_dictname IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_dict_l2_code_value1 IN rulesdbo.dictionary_detail.dict_l2_code_value%TYPE,
    p_entity_xref1 IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_entity_xref1_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_source_dictname1 IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_weight1 IN rulesdbo.custom_index_attributes.weight%TYPE,
    p_dict_l2_code_value2 IN rulesdbo.dictionary_detail.dict_l2_code_value%TYPE,
    p_entity_xref2 IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_entity_xref2_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_source_dictname2 IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_weight2 IN rulesdbo.custom_index_attributes.weight%TYPE,
    p_dict_l2_code_value3 IN rulesdbo.dictionary_detail.dict_l2_code_value%TYPE,
    p_entity_xref3 IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_entity_xref3_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_source_dictname3 IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_weight3 IN rulesdbo.custom_index_attributes.weight%TYPE,
    p_dict_l2_code_value4 IN rulesdbo.dictionary_detail.dict_l2_code_value%TYPE,
    p_entity_xref4 IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_entity_xref4_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_source_dictname4 IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_weight4 IN rulesdbo.custom_index_attributes.weight%TYPE,
    p_dict_l2_code_value5 IN rulesdbo.dictionary_detail.dict_l2_code_value%TYPE,
    p_entity_xref5 IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_entity_xref5_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_source_dictname5 IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_weight5 IN rulesdbo.custom_index_attributes.weight%TYPE,
    p_dict_l2_code_value6 IN rulesdbo.dictionary_detail.dict_l2_code_value%TYPE,
    p_entity_xref6 IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_entity_xref6_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_source_dictname6 IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_weight6 IN rulesdbo.custom_index_attributes.weight%TYPE,
    p_dict_l2_code_value7 IN rulesdbo.dictionary_detail.dict_l2_code_value%TYPE,
    p_entity_xref7 IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_entity_xref7_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_source_dictname7 IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_weight7 IN rulesdbo.custom_index_attributes.weight%TYPE,
    p_dict_l2_code_value8 IN rulesdbo.dictionary_detail.dict_l2_code_value%TYPE,
    p_entity_xref8 IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_entity_xref8_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_source_dictname8 IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_weight8 IN rulesdbo.custom_index_attributes.weight%TYPE,
    p_dict_l2_code_value9 IN rulesdbo.dictionary_detail.dict_l2_code_value%TYPE,
    p_entity_xref9 IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_entity_xref9_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_source_dictname9 IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_weight9 IN rulesdbo.custom_index_attributes.weight%TYPE,
    p_dict_l2_code_value10 IN rulesdbo.dictionary_detail.dict_l2_code_value%TYPE,
    p_entity_xref10 IN rulesdbo.entity_xreference.xref_account_id%TYPE,
    p_entity_xref10_type IN rulesdbo.entity_xreference.xref_account_id_type%TYPE,
    p_source_dictname10 IN rulesdbo.dictionaries.dictionary_name%TYPE,
    p_weight10 IN rulesdbo.custom_index_attributes.weight%TYPE
    RETURN BOOLEAN
    AS
    l_count NUMBER:=0;
    v_instance rulesdbo.custom_index_attributes.instance%TYPE;
    v_target_dict_id rulesdbo.custom_index_attributes.target_dict_id%TYPE;
    v_source_dict_id rulesdbo.custom_index_attributes.source_dict_id%TYPE;
    v_entity_id rulesdbo.entity.entity_id%TYPE;
    v_entity_detail_id rulesdbo.entity_detail.entity_detail_id%TYPE;
    b_valid BOOLEAN;
    BEGIN
    dbms_output.put_line('TRYING TO INSERT NEW RECORD INTO RULESDBO.CUSTOM_INDEX_ATTRIBUTES');
    b_valid := getDictionaryId(p_target_dictname, v_target_dict_id);
    dbms_output.put_line('Target Dictionary Id = '||v_target_dict_id);
    -- process level 1
    if p_dict_l2_code_value1 is not null then
    dbms_output.put_line('Trying to process level 1');
    b_valid := processLevel(1,p_blend_entity_id,v_target_dict_id,p_dict_level,
    p_dict_l2_code_value1,p_entity_xref1,p_entity_xref1_type,
    p_source_dictname1,p_weight1);
    end if;
    -- process level 2
    if p_dict_l2_code_value2 is not null then
    dbms_output.put_line('Trying to process level 2');
    b_valid := processLevel(2,p_blend_entity_id,v_target_dict_id,p_dict_level,
    p_dict_l2_code_value2,p_entity_xref2,p_entity_xref2_type,
    p_source_dictname2,p_weight2);
    end if;
    -- process level 3
    if p_dict_l2_code_value3 is not null then
    dbms_output.put_line('Trying to process level 3');
    b_valid := processLevel(3,p_blend_entity_id,v_target_dict_id,p_dict_level,
    p_dict_l2_code_value3,p_entity_xref3,p_entity_xref3_type,
    p_source_dictname3,p_weight3);
    end if;
    -- process level 4
    if p_dict_l2_code_value4 is not null then
    dbms_output.put_line('Trying to process level 4');
    b_valid := processLevel(4,p_blend_entity_id,v_target_dict_id,p_dict_level,
    p_dict_l2_code_value4,p_entity_xref4,p_entity_xref4_type,
    p_source_dictname4,p_weight4);
    end if;
    -- process level 5
    if p_dict_l2_code_value5 is not null then
    dbms_output.put_line('Trying to process level 5');
    b_valid := processLevel(5,p_blend_entity_id,v_target_dict_id,p_dict_level,
    p_dict_l2_code_value5,p_entity_xref5,p_entity_xref5_type,
    p_source_dictname5,p_weight5);
    end if;
    -- process level 6
    if p_dict_l2_code_value6 is not null then
    dbms_output.put_line('Trying to process level 6');
    b_valid := processLevel(6,p_blend_entity_id,v_target_dict_id,p_dict_level,
    p_dict_l2_code_value6,p_entity_xref6,p_entity_xref6_type,
    p_source_dictname6,p_weight6);
    end if;
    -- process level 7
    if p_dict_l2_code_value7 is not null then
    dbms_output.put_line('Trying to process level 7');
    b_valid := processLevel(7,p_blend_entity_id,v_target_dict_id,p_dict_level,
    p_dict_l2_code_value7,p_entity_xref7,p_entity_xref7_type,
    p_source_dictname7,p_weight7);
    end if;
    -- process level 8
    if p_dict_l2_code_value8 is not null then
    dbms_output.put_line('Trying to process level 8');
    b_valid := processLevel(8,p_blend_entity_id,v_target_dict_id,p_dict_level,
    p_dict_l2_code_value8,p_entity_xref8,p_entity_xref8_type,
    p_source_dictname8,p_weight8);
    end if;
    -- process level 9
    if p_dict_l2_code_value9 is not null then
    dbms_output.put_line('Trying to process level 9');
    b_valid := processLevel(9,p_blend_entity_id,v_target_dict_id,p_dict_level,
    p_dict_l2_code_value9,p_entity_xref9,p_entity_xref9_type,
    p_source_dictname9,p_weight9);
    end if;
    -- process level 10
    if p_dict_l2_code_value10 is not null then
    dbms_output.put_line('Trying to process level 10');
    b_valid := processLevel(10,p_blend_entity_id,v_target_dict_id,p_dict_level,
    p_dict_l2_code_value10,p_entity_xref10,p_entity_xref10_type,
    p_source_dictname10,p_weight10);
    end if;
    RETURN b_valid;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line('ERRROR - '||sqlerrm);
    RETURN NULL;
    END; -- customIndexAttributes func ends here
    ** if record in entity Detail exists add else update master entity id
    ** benchmark entity_id = p_mast_entity_id
    ** portfolio entity_id = p_feed_entity_id
    FUNCTION entityDetail( p_mast_entity_id rulesdbo.entity_detail.entity_detail_id%TYPE,
    p_feed_entity_id rulesdbo.entity_detail.entity_id%TYPE,
    p_entity_type rulesdbo.entity_detail.entity_type%TYPE,
    p_list_order rulesdbo.entity_detail.list_order%TYPE)
    RETURN BOOLEAN
    AS
    l_count NUMBER:=0;
    a_count NUMBER:=0;
    BEGIN
    /* if blended benchmark don't need record in ENTITY_DETAIL */
    if (p_entity_type = v_bb_entity_type) then
    return TRUE;
    end if;
    select count(*) into l_count
    from rulesdbo.entity_detail
    where entity_id = p_feed_entity_id
    and entity_type = p_entity_type
    and entity_detail_id = p_mast_entity_id;
    if l_count > 0 then
    dbms_output.put_line('UPDATING EXISTING RECORD IN RULESDBO.ENTITY_DETAIL');
    UPDATE rulesdbo.entity_detail
    SET
    update_date = v_date,
    update_user = v_update_source,
    src_intfc_inst = v_src_intfc_inst,
    list_order = p_list_order
    WHERE
    entity_detail_id = p_mast_entity_id
    AND entity_id = p_feed_entity_id
    AND entity_type = p_entity_type;
    RETURN TRUE;
    else
    /* validate associated entity_id */
    dbms_output.put_line('VALIDATING ASSOCIATED ENTITY_ID');
    dbms_output.put_line('p_feed_entity_id ' || p_feed_entity_id);
    select count(*) into a_count
    from rulesdbo.entity
    where entity_id = p_feed_entity_id;
    if a_count > 0 then
    dbms_output.put_line('INSERTING NEW RECORD INTO RULESDBO.ENTITY_DETAIL');
    INSERT INTO rulesdbo.entity_detail
    entity_detail_id, entity_id, entity_type, update_date, update_user, src_intfc_inst, list_order
    VALUES
    p_mast_entity_id, p_feed_entity_id, p_entity_type, v_date, v_update_source, v_src_intfc_inst, p_list_order
    RETURN TRUE;
    else
    IF p_feed_entity_id is not null then
    --For invalid, non-null associated_entity_id
    RETURN FALSE;
    END IF;
    --For invalid, null associate_entity_id
    return TRUE;
    end if;
    return TRUE;
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN FALSE;
    END; -- entityDetail func ends here
    ** FOR BUSINESS GROUPS
    FUNCTION setBusinessGroup
    ( p_group_name pace_masterdbo.pace_user_groups.group_name%TYPE,
    p_entity_id rulesdbo.entity.entity_id%TYPE,
    p_upd_user pace_masterdbo.pace_user_groups.upd_user%TYPE,
    p_upd_datetime pace_masterdbo.pace_user_groups.upd_datetime%TYPE
    RETURN BOOLEAN
    AS
    g_count NUMBER:=0;
    v_group_id pace_masterdbo.pace_user_groups.group_id%TYPE;
    BEGIN
    /* validate that business group is found */
    select count(*) into g_count
    from pace_masterdbo.pace_user_groups
    where group_name = p_group_name;
    if g_count <= 0 then
    dbms_output.put_line('BUSINESS GROUP NOT FOUND - ' || p_group_name);
    return FALSE;
    end if;
    /* get group_id for given group name */
    select group_id into v_group_id
    from pace_masterdbo.pace_user_groups
    where group_name = p_group_name;
    /* check if record already exists in group_entities */
    select count(*) into g_count
    from pace_masterdbo.group_entities
    where group_id = v_group_id
    and entity_id = p_entity_id;
    if g_count > 0 then
    /* update record */
    UPDATE pace_masterdbo.group_entities
    SET upd_user = p_upd_user,
    upd_datetime = p_upd_datetime
    WHERE group_id = v_group_id
    AND entity_id = p_entity_id;
    dbms_output.put_line('UPDATED RECORD FOR BUSINESS GROUP - ' || p_group_name);
    else
    /* insert record */
    INSERT INTO pace_masterdbo.group_entities
    ( group_id, entity_id, upd_user, upd_datetime )
    VALUES
    ( v_group_id, p_entity_id, p_upd_user, p_upd_datetime );
    dbms_output.put_line('INSERTED NEW RECORD FOR BUSINESS GROUP - ' || p_group_name);
    end if;
    RETURN TRUE;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN FALSE;
    END; -- setBusinessGroup func ends here
    ** MAIN
    BEGIN
    -- HX 17MAR05
    v_entity_name := substr(p_entity_name,1,30);
    v_entity_name := translate(v_entity_name,'/\:*?"<>~`!^|;,.''',' ');
    b_valid := getSourceId('EAGLE PACE', g_prf_intfc);
    dbms_output.put_line('Global Source Id = '||g_prf_intfc);
    validate_entityid(p_source_acct_id,p_source_system,v_entity_id, b_valid);
    IF NOT b_Valid THEN
    na_outparam(na_outparam.COUNT+1) := EagleGen.GetErrEdit(p_Src => g_prf_intfc,
    p_ShortDesc => 'INV ENTITY');
    p_OUT := EagleGen.simf_table_to_varchar(na_outparam);
    RETURN;
    END IF;
    if v_entity_id is not null then
    dbms_output.put_line('ENTITY ID EXISTS - ' || v_entity_id);
    /*Update Record in Entity Table */
    UPDATE rulesdbo.entity
    SET entity_type = p_entity_type,
    entity_name = v_entity_name,
    entity_long_name = substr(p_entity_long_name,1,60),
    legal_name = p_entity_legal_name,
    inception_date = to_date(p_inception_date, 'YYYYMMDD'),
    marketing_open_date = to_date(p_marketing_open_date, 'YYYYMMDD'),
    fiscal_end_date = to_date(p_fiscal_end_date, 'YYYYMMDD'),
    tax_id_number = p_tax_id_number,
    upd_date = v_date,
    upd_user = v_update_source,
    base_currency = p_base_currency,
    account_status = p_account_status,
    entity_code = p_entity_code,
    orig_source_system = p_orig_source_system,
    account_legal_form = p_account_legal_form,
    business_sector = p_business_sector,
    direct_account_ind = p_direct_account_ind,
    portfolio_type_code = p_portfolio_type_code,
    ml_interpolate_yn = p_ml_interpolate_yn
    WHERE entity_id = v_entity_id;
    dbms_output.put_line('UPDATED EXISTING RULESDBO.ENTITY RECORD');
    b_valid := entityDetail(v_entity_id, p_associated_entity_id, p_entity_type, p_list_order);
    else
    pace_masterdbo.getnextinstance('RULESDBO.ENTITY',1,v_entity_id);
    /*Insert Record into Entity Table */
    INSERT INTO rulesdbo.entity
    entity_id, entity_type, entity_name,entity_long_name,legal_name,inception_date,marketing_open_date,
    upd_date, upd_user, tax_id_number, fiscal_end_date, base_currency, account_status,
    entity_code, orig_source_system, account_legal_form, business_sector, direct_account_ind,
    portfolio_type_code, ml_interpolate_yn
    VALUES
    ( v_entity_id, p_entity_type,v_entity_name,substr(p_entity_long_name,1,60),p_entity_legal_name,
    to_date(p_inception_date, 'YYYYMMDD'),to_date(p_marketing_open_date, 'YYYYMMDD'),v_date, v_update_source, p_tax_id_number, to_date(p_fiscal_end_date, 'YYYYMMDD'),
    p_base_currency, p_account_status, p_entity_code, p_orig_source_system, p_account_legal_form, p_business_sector,
    p_direct_account_ind, p_portfolio_type_code, p_ml_interpolate_yn
    dbms_output.put_line('ENTITY ID CREATED - ' || v_entity_id);
    /*Insert Record into Entity_Detail Table */
    b_valid := entityDetail(v_entity_id, p_associated_entity_id, p_entity_type, p_list_order);
    end if;
    /* Insert/Update CUSTOM_INDEX_ATTRIBUTES if blended benchmark */
    if (p_entity_type = v_bb_entity_type) then
    b_valid := customIndexAttributes(
    v_entity_id,
    p_target_dict_name,
    p_source_level1,
    p_source_entity_xref1,
    p_source_entity_xref1_type,
    p_source_dict_name1,
    p_weight1,
    p_source_level2,
    p_source_entity_xref2,
    p_source_entity_xref2_type,
    p_source_dict_name2,
    p_weight2,
    p_source_level3,
    p_source_entity_xref3,
    p_source_entity_xref3_type,
    p_source_dict_name3,
    p_weight3,
    p_source_level4,
    p_source_entity_xref4,
    p_source_entity_xref4_type,
    p_source_dict_name4,
    p_weight4,
    p_source_level5,
    p_source_entity_xref5,
    p_source_entity_xref5_type,
    p_source_dict_name5,
    p_weight5,
    p_source_level6,
    p_source_entity_xref6,
    p_source_entity_xref6_type,
    p_source_dict_name6,
    p_weight6,
    p_source_level7,
    p_source_entity_xref7,
    p_source_entity_xref7_type,
    p_source_dict_name7,
    p_weight7,
    p_source_level8,
    p_source_entity_xref8,
    p_source_entity_xref8_type,
    p_source_dict_name8,
    p_weight8,
    p_source_level8,
    p_source_entity_xref9,
    p_source_entity_xref9_type,
    p_source_dict_name9,
    p_weight9,
    p_source_level10,
    p_source_entity_xref10,
    p_source_entity_xref10_type,
    p_source_dict_name10,
    p_weight10
    end if;
    /* Insert/Update Business Groups */
    b_valid := setBusinessGroup(v_group_name1, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name2, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name3, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name4, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name5, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name6, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name7, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name8, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name9, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name10, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name11, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name12, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name13, v_entity_id, v_update_source, v_date);
    b_valid := setBusinessGroup(v_group_name14, v_entity_id, v_update_source, v_date);
    /* Insert/Update entity xref */
    b_valid := entity_xref(p_source_acct_id, p_source_system, v_entity_id);
    IF NOT b_Valid THEN
    dbms_output.put_line('INV ENT XREF 1');
    na_outparam(na_outparam.COUNT+1) := EagleGen.GetErrEdit(p_Src => g_prf_intfc,
    p_ShortDesc => 'INV ENT XREF');
    p_OUT := EagleGen.simf_table_to_varchar(na_outparam);
    RETURN;
    END IF;
    COMMIT;
    /* Pass back any warning messages */
    p_out := EagleGen.simf_table_to_varchar(na_outparam);
    END; -- End of Procedure

    The PLS-00306 error is normally a runtime error. It is telling you that the call to procedure ENTPRFMAN had either too few or too many parameters passed to it or that one or more of the parameters were of the wrong datatype.
    HTH -- Mark D Powell --

Maybe you are looking for