Insert the values of the parameters of the model of provision.

Hello! I use Oracle 11g with BI Publisher 11g BI.

RTF-model I created for my layout of the report. In the report, I use parameters for the period (P_StartDate, P_EndDate). What should I write my template to see in the report of the values chosen by the user? For example, the string "this report contains information from the period between < P_StartDate > and < P_EndDate >.

Declare parameters in the template like this:



Then, print the value of the parameters by using $P_StartDate and $P_EndDate

Thank you
BIpuser

Tags: Business Intelligence

Similar Questions

  • concurrentRequest page of the OFA, runs, but don't choose the model of provision.

    I went through a lot of threads and dev ofa guide and I assured the controller of my custom page concurrentrequest.
    but when I find out, it errors saying the output is not generated for this request.

    Details of the conc program - its a report oracle user can run when needed or it should be able to call from pages of the OPS.
    report is bound to the rtf template that opens the report in pdf format.
    If I run the report of conc Prog... it works fine, but no page of the OPS.

    Here is the code:
    CO:
     if( pageContext.getParameter("concurrentprogram") != null)
     {
        Serializable[] p = {modelid};
        int reqId =  ((Integer)am.invokeMethod("submitCPRequest", p)).intValue();
    
        String url="OA.jsp?akRegionApplicationId=0&akRegionCode=FNDCPREQUESTVIEWPAGE";
        pageContext.setForwardURL(url,
                                  null,
                                  OAWebBeanConstants.KEEP_MENU_CONTEXT,
                                  null,
                                  null,
                                  true,
                                  OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
                                  OAWebBeanConstants.IGNORE_MESSAGES);
      }
    AM:
      public int submitCPRequest(String s1)
     {
        try {
             OADBTransaction tx = (OADBTransaction)getDBTransaction();
             java.sql.Connection pConncection = tx.getJdbcConnection();
            ConcurrentRequest cr = new ConcurrentRequest(pConncection);
            String applnName = "MAC"; //Application that contains the concurrent program
            String cpName = "MACZMDLRL"; //Concurrent program name
            Vector cpParameters = new Vector(); 
            cpParameters.addElement(s1);        
            int requestId = cr.submitRequest(applnName, cpName, "", "", false, cpParameters);
            tx.commit();
            return requestId;
        } 
        catch (RequestSubmissionException e) 
        {
        throw new OAException(e.toString(),OAException.ERROR);
        }
      } 
    its not to choose the model of the xml editor. ... of ideas?

    Use following when sending request addition to what you do now,

    ConcurrentRequest cr = new ConcurrentRequest (pConncection);
    cr.addLayout('XXEGA','XXEGA_IBR_BOM_EXPORT','en','US','PDF');

  • Insert the model 3D 3D model?

    Hello

    How can I insert a 3D model, I opened, in another 3D model which is in another tab that opens already.

    I want the wat, they both remain 3D.


    (I try to translate it to English my Dutch PS)

    Things I've tried:
    Open 1 OBJ (Is A Group 1) > 3D > new 3D file layer > then OBJ2 insert inside... What happens then is that the OBJ becomes a background. What makes me I can not change the background more. While I want to be able to edit both of them in 3D.

    Also. Anyone advice how to add unique pieces / bricks inside. so I can make cards and other things? : 3

    I use this to Roblox (you can export templates to Roblox for Adobe and edit them in Adobe)

    Thank you!

    I would thing that you would need to duplicate the 3d layer in the docymeny in the second tab of ths.  Shoelf you have two Mayer 3d which you target cay and merge 3d layers.

    I don't do 3d but plauer with Photoshop 3d stuff some.  You can also edtit syrfaces textures add bump and opacity maps and even animate 3d objects

  • Insert Varray values in a cluster where the table is

    Hei,

    I use the openG libraries. I have a HAND in cluster that has 2 groups A, B that contains the different controllers (bool, strings, integers, enum) and a C array which has a cluster that contains also various controllers. What I want to do, is to read an INI file and save it in cluster A, B & C table. I managed to write the values for A, B clusters, but with table C, I have a few problems.

    How or which is the best way to access the values in the INI file and save it in table C that belongs to a MAIN cluster. The code below is how I do for the cluster A and B.

    Thanks for the help.

    Hello

    I apologize for the poor explanation. I need to work on that. Let's see if I can do better...

    I have some sections that I want to represent as clusters AND some sections of an array of clusters where the key values match grapes controls in the INI file. In addition, the VI has a core that has clusters with some elements (int, string, enum) and an array of cluster that also has some elements. I hope that is not confusing. To simplify, I want to write the values for 'children' of the main groups. As you may have noticed that I prepare this code as an object-oriented approach.

    Here is the solution I got on LAVA: https://lavag.org/topic/18951-insert-varray-values-into-a-cluster-where-the-array-is/

    Thank you for contributing

  • Please how can I insert a value of richinputtext in the database string attribute

    Please how can I insert a value of richinputtext in the database string attribute

    If you can get its value at the bean and then call your insert statement to put it in the DB table

    and if you want to know about the execution of SQL query

    then check - Ashish Awasthi (Jdev/ADF) Blog: SQL to run in an ADF Application using DataSource DBTransaction & JDBC query

    Ashish

  • Problem with clone script - news-VM: all parameters can be solved by using the values of named parameters.

    Hello. First post, so please be nice. Running into errors of hella tried different methods to run this script:

    $cloneparams = "c:\scripts\clone-parameters.csv".

    $cloneparams import-csv - useculture | %{

    Get-oscustomizationspec $_. "" customization ". Get-oscustomizationnicmapping | »

    game-oscustomizationnicmapping - ipmode UseStaticIp - ipaddress $_.ip - subnetmask $_.subnetmask - passerelle_par_defaut $_.gateway

    new-vm - vmhost $_. "' $vmhost '-name $_. "" vm_name "-location $_. "" folder "-model $_. "" resourcepool-$_ template_name. "" resource_pool "datastore-$_. "' datastore_name ' numcpu-$_. "" numcpu "memorymb-$_. "" memoryMB ' oscustomizationspec-$_ .customization - confirm: $false - runasync

    }

    The error looks like this:

    New-VM: all parameters can be resolved by using the specified named parameters.

    C:\scripts\clonescript.ps1:14 char: 7

    + new-vm < < < <-vmhost $_. "' $vmhost '-name $_. "" nameyname "-location $_. "" folder "-model $_. "" resourcepool-$_ template_name. "" resource_pool "datastore-$_. "' datastore_name ' numcpu-$_. "" numcpu "memorymb-$_. "" memoryMB ' oscustomizationspec-$_ .customization - confirm: $false - runasync

    + CategoryInfo: InvalidArgument: (:)) [new-VM], ParameterBindingException)

    + FullyQualifiedErrorId: AmbiguousParameterSet, VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM

    The .csv has these column headings (with the appropriate values to each for a bunch of new virtual machines to create):

    vm_nametemplate_namedatastore_namecustomizationVLANintellectual propertyentry doorsubnet maskDNSfolderresource_poolnumcpumemoryMBvmhost

    The oscustomizationspec bit seems to work, but the New - VM cmdlet is obviously not happy.

    I noticed others have posted similar code that seems to work for them. All thoughts were highly appreciated.

    Thank you!

    You have about the New - VM cmdlet parameters that are unique to different parametersets. You cannot combine unique parameters of different parametersets.

    I f you look at the New - VM cmdlet, you will notice that there are 4 available parametersets.

    In your case, by selecting the parameter of the model, you fall in the 2nd set.

    In the red rectangle, you see the other settings, you can select.

    In your case, the parameters ResourcePool, NumCpu and MemoryMB cause the conflict.

    If you want to change the distribution of CPU and memory of the model, you will need to do after the virtual machine has been created with the Set-VM cmdlet.

    Similarly, you can use the Move-VM to change the ResourcePool, after the virtual machine has been created.

    Pretty sweet?

  • How to insert the value from the FORM to another database table?

    Hi all

    I have the following problem.

    I have a form that has a tabular layout for the MATURED_FD_DTLtable. (all about 20 line items)

    CREATE TABLE MATURED_FD_DTL

    (

    ACCT_FD_NO VARCHAR2 (17 BYTE) NOT NULL,

    CUST_CODE NUMBER (9),

    FD_AMT NUMBER (15),

    FD_INT_BAL NUMBER (15),

    TDS NUMBER (15),

    CHQ_NO NUMBER (10),

    CREATED_DATE DATE,

    CREATED_BY VARCHAR2 (15 BYTE),

    PREV_YR_TDS NUMBER (15),

    ADD_FD_AMT NUMBER (15),

    DESCRIPTION VARCHAR2 (100 BYTE),

    P_SAP_CODE NUMBER (10),

    P_TYPE VARCHAR2 (1 BYTE)

    )

    By clicking on 'SAVE' button, all values will be automatically is stored in the MATURED_FD_DTLdatabase table.

    But I want to insert these values in another table called TEMP.

    I want to insert values of form only, no table select.

    How can I do this?

    Help me.

    Is Oracle Designer 6i.

    Answer:

    BEGIN

    Commit_form;

    PREMIER_ENREGISTREMENT;

    LOOP

    insert into TEMP_MATURED_FD_DTL

    SELECT * FROM MATURED_FD_DTL WHERE ACCT_FD_NO =: acct_fd_NO;

    WHEN THE OUTPUT: SYSTEM. LAST_RECORD = "TRUE";

    NEXT_RECORD;

    END LOOP;

    PREMIER_ENREGISTREMENT;

    COMMIT;

    MESSAGE ("RECORD UPDATED AS PAID '");

    MESSAGE (' ', no_acknowledge);

    END;

  • Insert some values into multiple tables. One of the tables has a complex primary key.

    Hello, I am using Jdeveloper version 11.1.2.3.0

    I have a FORM_TYPE table and another table Str. The table of Str is used to translate the strings from the name of the table which are read from another program from the database and used to generate forms...

    The FORM_TYPE table has a relationship with the table of STR via formtype.title_str_id = str.str_id.

    STR. table has a primary key which is based on the mf_language and str_id. columns I generated the entity for the table of STR, but impossible to insert new values of add-on application for some reason any... It is said that recording invalidates its own entity...

    I am trying to create a table that will be editable and will have the column Description, name, cdes in English, Str in French etc...

    To create a Form_Type and at the same time insert new values for each language. But can not do the inserts of the new work of STR...

    Also the FormType.TITLE_STR_ID already has a lot of null values in the database.

    SELECT FormType.DESCRIPTION,

    FormType.FORM_TYPE_ID,

    FormType.NAME,

    FormType.PAPER_REPORT_FORMAT,

    FormType.PAPER_REPORT_NAME,

    FormType.TITLE_STR_ID,

    in. En_str str,

    in. STR_ID,

    en.object_name en_object_name,

    Fr. Str,

    Fr. STR_ID,

    Fr.object_name,

    of the. Str,

    of the. STR_ID,

    du.object_name,

    BG.Str,

    BG. STR_ID,

    BG.object_name

    OF FORM_TYPE FormType.

    (select str.str_id, str.mf_language_id, str.str, str.object_name

    of mf_language ml, str

    where ml.mf_language_id = str.mf_language_id

    and ml.code = 'fr') en

    (select str.str_id, str.str, str.object_name

    of mf_language ml, str

    where ml.mf_language_id = str.mf_language_id

    and ml.code = 'fr') en,.

    (select str.str_id, str.str, str.object_name

    of mf_language ml, str

    where ml.mf_language_id = str.mf_language_id

    and ml.code = 'from'),

    (select str.str_id, str.str, str.object_name

    of mf_language ml, str

    where ml.mf_language_id = str.mf_language_id

    and ml.code = 'bg') bg

    WHERE

    FormType.title_str_id = en.str_id and

    FormType.title_str_id = fr.str_id and

    FormType.title_str_id = du.str_id and

    FormType.title_str_id = bg.str_id

    Each table that you want to update must have its own entity object. You need to connect it to an another VO/OS using the associations/view links

  • Insert the XML document with values of characters &lt; or &gt;

    Hello world

    Used Oracle: version 11.2.0.3.0

    I want to insert an XML document in a binary XML field. But for an element, the value includes characters such as > or <.

    Here's an example query:

    Update / * + no_xml_query_rewrite * / ms2 set mstag = XMLQuery (' copy $tmp: = .modify (for $i in $tmp/tags/fields[@id="MS"]))

    back insert nodes (< value > TEST\n & lt; Address1 & gt; < / value >) in $i) return $tmp' from mstag content back) where psid = 5900;

    But because we're using the character & in a SQL query, this request has failed. We invited to specify the 2 values.

    So, what is the way of giving the < Address1 > value to the value of the element in the example?

    Thanks in advance

    The command is not really "fail" in itself. It is just the tool that you are using recognizes '&' characters and treats the following identifiers as replacement variables.

    What tool do you use?

    For example, in SQL * Plus you can disable this behavior through the SET DEFINE OFF or SET SCAN OFF command.

  • Insert the value from the date of the operation, max

    Hello

    We use oracle 10g R2 on windows.

    I want to insert values from one table to the other. Suppose I have a table emp (empcode, salary, dt_update) and have another table emp_live (empcode, salary).

    data into the emp table are as
    EMPCODE     SALARY     DT_UPDATE
    
    281G     10611230.319     10/9/2010 6:38:30 PM
    281G     37819399.457     10/8/2010 6:38:30 PM
    291G     16500012.429     10/10/2010 6:38:30 PM
    291G     108145595.738     10/9/2010 6:38:30 PM
    292G     79449005.406     10/11/2010 6:38:30 PM
    292G     198819948.865     10/10/2010 6:38:30 PM
    293E     4532332.618     10/12/2010 6:38:30 PM
    293E     142572824.216     10/11/2010 6:38:30 PM
    294D     116505728.748     10/13/2010 6:38:30 PM
    294D     90087585.925     10/12/2010 6:38:30 PM
    My requirement is to insert only those records where the maximum date of DT_UPDATE.

    In the above senario only records below need to obtain insert
    EMPCODE     SALARY     DT_UPDATE
    281G     10611230.319     10/9/2010 6:38:30 PM
    291G     16500012.429     10/10/2010 6:38:30 PM
    292G     79449005.406     10/11/2010 6:38:30 PM
    293E     4532332.618     10/12/2010 6:38:30 PM
    294D     116505728.748     10/13/2010 6:38:30 PM
    I am trying to insert it as
    insert into emp_live select empcode,salary from emp where dt_update=(select max(dt_update) from emp)
    But above not giving not correct results beacase when I select the records as
    select empcode,max(dt_update) from emp group by empcode
    Above shows 1665 records, but when I am inserting only insert 16 records.

    Help, please.

    Something like this:

    create table test (empcode varchar2 (4), salary number, date of dt_update);
    Insert test values (' ' 281 G ", 10611230.319, to_date (October 9, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values (' ' 281 G ", 37819399.457, to_date (October 8, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values (' ' 291 G ", 16500012.429, to_date (October 10, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values (' ' 291 G ", 108145595.738, to_date (October 9, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values (' ' 292 G ", 79449005.406, to_date (October 11, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values (' ' 292 G ", 198819948.865, to_date (October 10, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    insert into test values ('293E', 4532332.618, to_date (October 12, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    insert into test values ('293E', 142572824.216, to_date (October 11, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values ('294, 116505728.748, to_date (October 13, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))
    Insert test values ('294, 90087585.925, to_date (October 12, 2010 06:38:30 ',' mm/dd/yyyy HH24:MI:SS));))

    SQL> column salary for 99999999999.9999;
    SQL> select * from test;
    
    EMPC            SALARY DT_UPDATE
    ---- ----------------- ---------
    281G     10611230.3190 09-OCT-10
    281G     37819399.4570 08-OCT-10
    291G     16500012.4290 10-OCT-10
    291G    108145595.7380 09-OCT-10
    292G     79449005.4060 11-OCT-10
    292G    198819948.8650 10-OCT-10
    293E      4532332.6180 12-OCT-10
    293E    142572824.2160 11-OCT-10
    294D    116505728.7480 13-OCT-10
    294D     90087585.9250 12-OCT-10
    
    10 rows selected.
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  select min(empcode),max(salary),max(dt_update)
      2  from test
      3  group by empcode
      4* order by 1
    SQL> /
    
    MIN( MAX(SALARY) MAX(DT_UP
    ---- ----------- ---------
    281G  37819399.5 09-OCT-10
    291G   108145596 10-OCT-10
    292G   198819949 11-OCT-10
    293E   142572824 12-OCT-10
    294D   116505729 13-OCT-10
    
    SQL> insert into test
      2  (
      3  select min(empcode) empcode,max(salary) salary,max(dt_update) dt_update
      4  from test
      5  group by empcode
      6  )
      7  /
    
    5 rows created.
    
    SQL> select * from test;
    
    EMPC            SALARY DT_UPDATE
    ---- ----------------- ---------
    281G     10611230.3190 09-OCT-10
    281G     37819399.4570 08-OCT-10
    291G     16500012.4290 10-OCT-10
    291G    108145595.7380 09-OCT-10
    292G     79449005.4060 11-OCT-10
    292G    198819948.8650 10-OCT-10
    293E      4532332.6180 12-OCT-10
    293E    142572824.2160 11-OCT-10
    294D    116505728.7480 13-OCT-10
    294D     90087585.9250 12-OCT-10
    281G     37819399.4570 09-OCT-10
    
    EMPC            SALARY DT_UPDATE
    ---- ----------------- ---------
    293E    142572824.2160 12-OCT-10
    294D    116505728.7480 13-OCT-10
    291G    108145595.7380 10-OCT-10
    292G    198819948.8650 11-OCT-10
    
    15 rows selected.
    
    SQL>
    

    Concerning
    Girish Sharma

  • insertion of values using the impl class

    Hi am values inserting data by using the class impl, my problem is when I insert values, it shows that the values must be unique so it cannot be inserted, but when I check in the database, the values are inserted, it seems my loop trying to reinsert the same values twise, am in jdeveloper 11.1.1.6.0
        public Number addOrginisation(OrgDetails orgDetails){
            Number orgid =null;
    
               try{
                      
                      UAMAppModuleImpl am = (UAMAppModuleImpl)ADFUtils.getApplicationModuleForDataControl("UAMAppModuleDataControl1");
                      CreateUserBean cu = new  CreateUserBean();
                      String n = (String)orgDetails.getDpayment().getValue();
                       System.out.println(" n  :"+n );
                      String  newIdAssigned = cu.createAcc(n,orgDetails.getCadastreAccountBean() );
                      System.out.println(" newIdAssigned :"+ newIdAssigned  );
                    this.addmemebres(orgDetails.getAddmember(), orgDetails.getName());
    
    
    
                                    String otype = null;
                String osubtype = null;
            
            DCIteratorBinding it0 = ADFUtils.findIterator("UamOrganisationsView1Iterator");
                      if(it0 != null && it0.size() > 0){      
                         
                          for(Row r : it0.getAllRowsInRange() ){
                          EntityDefImpl accDef1 =UamOrganisationsImpl.getDefinitionObject();     
                          UamOrganisationsImpl org1 =  (UamOrganisationsImpl)accDef1.createInstance2(am.getDBTransaction(),null);
                         
                     
                      otype = (String)r.getAttribute("Organisationtypecode");
                      osubtype = (String)r.getAttribute("Orgsubtypecode"); 
                          org1.setOrganisationtypecode(otype);
                      System.out.println("onsertorgtype " + otype);
                          org1.setOrgsubtypecode(osubtype);
                      System.out.println("insertedsubtype " + osubtype);
                          
                         
                          org1.setCadastreaccount(newIdAssigned);
                          System.out.println("Addedcardaccount " + newIdAssigned);  
                              
                          org1.setOrganisationname(orgDetails.getName());
                          System.out.println("AddedOrganisation " + orgDetails.getName());    
                          org1.setCadastreaccount(newIdAssigned);
                          System.out.println("Addedcardaccount " + newIdAssigned);    
                          org1.setOrganisationemail(orgDetails.getEmail());
                          System.out.println("Addedemail " + orgDetails.getEmail());  
                          org1.setRegistrationnumber(orgDetails.getRegNumber());    
                          System.out.println("Registrationnumber " +orgDetails.getRegNumber());    
                          org1.setRegistrationstatus("Y");
                          org1.setStatus("Y"); 
                          orgid =  org1.getOrganisationid();
                          System.out.println("returnorgid " +orgid);
                          am.getDBTransaction().commit();  
                          System.out.println("after "+ orgid);  
                          orgid =  org.getOrganisationid();
                          
                         
                          
                      }
                          
                          
                      }
                String name = null;
                String surname = null;
                String identitynumber = null;
                String emailaddress = null;
                String contactnumber = null;
                String ownership = null;
                String accountofficer = null;
                Number officeid = null;
    
    
               DCIteratorBinding it = ADFUtils.findIterator("ocompanyofficerdetailsIterator");
                  if(it != null && it.size() >0){                              
                  for(Row r : it.getAllRowsInRange() ) {                                   
                        EntityDefImpl accDef2 =UamCompanyofficerdetailsImpl.getDefinitionObject(); 
                        UamCompanyofficerdetailsImpl comp = (UamCompanyofficerdetailsImpl)accDef2.createInstance2(am.getDBTransaction(),null);
                       
                        
                        name = (String)r.getAttribute("name");
                      System.out.println("offname" +name);
                        surname = (String)r.getAttribute("surname");
                      System.out.println("surnametest " +surname);
                        identitynumber = (String)r.getAttribute("dentitynumber");
                      System.out.println("idtest " +identitynumber);
                        emailaddress = (String)r.getAttribute("emailaddress");
                      System.out.println("emailtest" + emailaddress);
                        contactnumber = (String)r.getAttribute("contactnumber");
                        System.out.println("contatc" + contactnumber);
                        ownership = (String)r.getAttribute("ownership");
                      System.out.println("ownership " + ownership);
                        accountofficer = (String)r.getAttribute("accountingofficer");
                       System.out.println("accountoffice " + accountofficer);
                
                
               
               comp.setName(name);
                      System.out.println("offname " + name);
               comp.setSurname(surname);
                      System.out.println("surnameoff " +surname);
               comp.setIdentitynumber(identitynumber);
                      System.out.println("identitynumber " +identitynumber);
               comp.setEmailaddress(emailaddress);
                      System.out.println("emailaddresscomp " +emailaddress);
               comp.setContactnumber(contactnumber);
                      System.out.println("contactnumbercomp " + contactnumber);
               comp.setOwnership(ownership);
                      System.out.println("ownershipcomp " + ownership);
               comp.setAccountingofficer(accountofficer);
               System.out.println("accountofficer " +accountofficer);
                        officeid = comp.getOfficerid();
                               System.out.println("afterofficeid " + officeid);
                      comp.setOrganisationid(orgid);
                      am.getDBTransaction().commit();
                        System.out.println("***insetead companyofficials****" +  officeid ) ;
    
    
                    }
        }
           }catch(Exception e){
                System.out.println("after "+e.getMessage());
                e.printStackTrace();
            }
           
            return  orgid;
        }
    
    my log error is
    n  :CRC
    *****createAcc  Entity [oracle.jbo.Key[10891 ]]
    *****createAcc  UamCadastreaccounts
    @@@@@@@@@@@@CRC
    @@@@@@@@@@@@10892
     newIdAssigned :10892
    onsertorgtype PRIV 
    insertedsubtype LA
    Addedcardaccount 10892
    AddedOrganisation testnow
    Addedcardaccount 10892
    Addedemail [email protected]
    Registrationnumber 2332434
    returnorgid 2233
    after 2233
    onsertorgtype PRIV 
    insertedsubtype DEA
    Addedcardaccount 10892
    after JBO-ecadastre.gov.za.uam.model.entities.UamOrganisations_Rule_0: Organisation Name Must Be Unique
    oracle.jbo.AttrSetValException: JBO-ecadastre.gov.za.uam.model.entities.UamOrganisations_Rule_0: Organisation Name Must Be Unique
         at oracle.jbo.rules.RulesBeanUtils.createException(RulesBeanUtils.java:381)
         at oracle.jbo.rules.AbstractValidator.createException(AbstractValidator.java:1065)
         at oracle.jbo.rules.AbstractValidator.doRaiseException(AbstractValidator.java:1120)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:1109)
         at oracle.jbo.rules.JboAbstractValidator.raiseException(JboAbstractValidator.java:409)
         at oracle.jbo.rules.AbstractValidator.raiseException(AbstractValidator.java:1096)
         at oracle.jbo.server.JboUniqueKeyValidator.validateValue(JboUniqueKeyValidator.java:369)
         at oracle.jbo.server.JboUniqueKeyValidator.validateValueWithContext(JboUniqueKeyValidator.java:84)
         at oracle.jbo.rules.JboAbstractValidator.callValidateValueWithContext(JboAbstractValidator.java:235)
         at oracle.jbo.rules.JboAbstractValidator.validate(JboAbstractValidator.java:386)
         at oracle.jbo.rules.RulesBeanUtils.validateObject(RulesBeanUtils.java:725)
         at oracle.jbo.rules.RulesBeanUtils.validate(RulesBeanUtils.java:696)
         at oracle.jbo.server.AttributeDefImpl.validate(AttributeDefImpl.java:3349)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3294)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:2012)
         at ecadastre.gov.za.uam.model.entities.UamOrganisationsImpl.setOrganisationname(UamOrganisationsImpl.java:336)
         at uam.cadastre.gov.za.CreateOrganisationBean.addOrginisation(CreateOrganisationBean.java:213)
         at uam.cadastre.gov.za.OrgDetails.getNextStopPayment(OrgDetails.java:689)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
     oracle.jbo.server.ViewRowSetImpl@8f2102
     null
     null
     null
     null
     null
     null
     BDP
     CRA
     CRC
     DRO
     EFT
     OTC
    ************endpayment *********
     but am able to insert the organisation  values in database but it show me that Organisation Name Must Be Unique
    the for loop is re-entering the values again
    Published by: adf0994 on 01/15/2013 13:11

    Published by: adf0994 on 01/15/2013 13:12

    Hello

    a rule in the ADF is still working through the link layer (and that's what you start by before you can join the impl classes). When you have access to a DCIteratorBinding, you have access to the lines it holds. Of the DCIteratorBinding, you can get access to the RowSetIterator (getRowSetIterator()). Here you can now create new lines programmatically by calling

    -Row rw = rowSetIterator.createRow ();
    -fill in the attribute for line
    -rowSetIterator.insertRow (rw);

    You can also use this to simply update the existing lines. With the next commit, these changes will be persistent in the database.

    Frank

  • Using the cursor to insert a value

    Hello
    I created a procedure mentioned below, using the slider that I want to insert a value in the table its not to insert any value. You can one to find the solution. I have compiled the procedure there is no errors...

    I have a lot of value in the employee... then after table do not perform the procedures no value in employee_lkp


    My structure from the Employee table is

    CREATE TABLE 'VIDHYA '. "' EMPLOYEE '.
    (
    VARCHAR2 (15 BYTE) "PNOM."
    'MINIT' VARCHAR2 (2 BYTE),
    VARCHAR2 (15 BYTE) "LNAME",.
    ACTIVATE THE "SSN" NUMBER (12.0) NOT NULL,
    "BDATE" DATE,
    'ADDRESS' VARCHAR2 (35 BYTE),
    'SEX' VARCHAR2 (1 BYTE),
    ACTIVATE THE "WAGES" NUMBER (7,0) NOT NULL,
    NUMBER (12.0) "SUPERSSN."
    ACTIVATE THE 'DNO' NUMBER (2.0) NOT NULL,
    ACTIVATE THE STATISTICS STORAGE CALCULATION (INITIAL 65536 THEN 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 USER_TABLES DEFAULT TABLESPACE) 'USERS' CONSTRAINT 'PK_EMPLOYEE' KEY PRIMARY ("SSN") WITH THE HELP OF INDEX PCTFREE 10 INITRANS MAXTRANS 255 2.
    CONSTRAINT 'FK_DEPARTMENT' FOREIGN KEY ('DNO') REFERENCES 'VIDHYA '. "" DEPARTMENT "("DNUMBER") ALLOW
    )


    employee_lkp structure is

    CREATE TABLE 'VIDHYA '. "" EMPLOYEE_LKP ".
    (
    VARCHAR2 (250 BYTE) "PNOM."
    VARCHAR2 (250 BYTE) "LNAME",.
    'ID '.
    )


    create or replace
    procedure employeelkp is
    number of add_val;
    i the number;
    number num.
    add_name cursor is select * from employee;
    name_cur add_name % rowtype;
    Start
    Open add_name;
    Select count (*) in the number of the employee;
    because me in 1.num
    loop
    extract the add_name in name_cur;
    insert into employee_lkp (id, fname, lname)
    values (i,
    name_cur. Lname,
    name_cur.fname);
    When the output add_name % notfound;
    end loop;
    close add_name;
    end employeelkp;

    Try this...
    Add

    commit;
    

    After

    close add_name;

    at the bottom.

    I hope this helps...

    Hamid

  • calculated formula database field trying to insert the null value

    Hello

    I have 3 elements of database text amount, rate and result.
    I enter both values (quantity and frequency), and the property using formula 'result' Gets the computed value.
    On the screen all the values are displayed correctly but when trying to save my information text field 'result' tent to insert the null value.

    Any suggestions?

    Forms 11g

    Thanks in advance

    794018 wrote:
    Hello

    I have 3 elements of database text amount, rate and result.
    I enter both values (quantity and frequency), and the property using formula 'result' Gets the computed value.
    On the screen all the values are displayed correctly but when trying to save my information text field 'result' tent to insert the null value.

    Point formula should not be issue of database. And insert the value in the result column in the database is not good idea.
    Then, if you want to save it. create the database result item and write trigger (When-validate-point) on amount and filed rates and the trigger code, write

    :result:=:amount*:rate;
    

    To display the result on the form, create the database no item and change the formula property and write the formula.

    Hope this will help you

    If someone useful or appropriate, please mark accordingly.

  • How to insert the value of table display

    Hi all

    I have a page element named that email and set this as view only, now I need to insert this value in the table I use insert statement like this: P255_EMAIL, but it gives an error.


    Can someone tell me how to insert this

    Thanks and greetings
    srikkanth. M

    Srikkanth,
    A single display element is not rendered at the point of entry to the difference of the other editable on the page elements, if you look at the html code of any view one item and compare it with a textfield should be clear.

    You can have another element hidden with the value that can be returned in the process
    OR

    Here's a little something that does not need any additional items to make the item view alone and still available in the world as a normal part

    Do not say P100_MY_ITEM like a textfield
    But in the text of element Pre_ give you

    <span class="display_only" >&P100_MY_ITEM.</span><span style="display:none">
    

    And in the text of item Post_ put

    </span>
    

    Hide the textfield object, it shows the value of the item as a single text to display.

  • Insert the values of multiple selection

    Hello

    I have a list of multiple selection on my page and I want to insert this list in my database. Now, I want to create a new line for each of the selected values. My table has three rows. ID, GET_ID, PAR_ID. In my page, you can select the GET_ID. Then you have a list of multiple selection for PAR_ID (here, you choose more options). Now the script should put in the table so the format looks like this:
    ID        GET_ID      PAR_ID
    1         1               1
    2         1               2
    3         1               3
    4         2               1
    5         2               2
    
    etc..
    When I use the automated process of line it will insert the data as PAR_ID 1:2:3 and this isn't what I want. I think I must create a PL/SQL procedure with a loop, but my knowledge of pl/sql is not very good. If anyone can put me in the right direction?

    Kind regards
    Wijnand

    Hello Wijnand,

    I did sort of like this:

    DECLARE
    l_selected APEX_APPLICATION_GLOBAL. VC_ARR2;
    whole i_exists;
    BEGIN
    --
    -Convert the string two points separated values in
    -a table of PL/SQL
    l_selected: = APEX_UTIL. STRING_TO_TABLE(:P1_MULTISELECTLIST);

    --
    -Loop through the array to insert
    --
    BECAUSE me IN 1.l_selected.count
    LOOP
    SELECT count (*) in i_exists
    TABLE
    WHERE TABLE_PK = l_selected (i);

    IF i_exists > 0 THEN
    null; -DO NOTHING
    ON THE OTHER
    INSERT INTO TABLE (...) values (...);
    END IF;

    END LOOP;
    END;

    BR, Paul

Maybe you are looking for

  • How to remove the "another Memory" Macintosh HD?

    Hello So, I was see a gradual increase in the size of the 'other' memory of the Macintosh HD in the system that I use. A return of the week available space was 50 GB. Now, he has reduced to 30 GB. I use not all mobile devices to attach to this system

  • Apple TV and photo via iCloud stream

    I have the latest Apple TV, Macbook Pro and my account iCloud, why can't share my photos to my Apple TV via iCloud, as I can with my iPad and iPhone, he said only: no pictures are downloaded to my photo stream - I signed in and out of the iCloud on t

  • Can I put labview 7.1 to taken in charge or 9213 module

    Hello world I am trying to use the module nor 9213 with labview 7.1, I get a module unsupported of massage. can I install a driver to upgrade the labview?

  • BUG? Digital command resets all other entries with non-standard display format

    I found what I think it's a bug with a digital command on a non-standard display format.  I have the display format '% dW' value (an integer followed by the letter W).  When I enter a number, it works, but if I then pull together the same number, the

  • IMAQ Vision: image not valid type

    I use the evaluation version of LabView Pro and Vision Builder to process a video taken from a Webcam from Microsoft. I try to apply a part of the function as a filter of treatment or look at a histogram as graph below but LabView always returns inva