P_effective_date  parameter in api......

Hi....
I am doing
per_estab_attendances_api
and
per_qualifications_api
i found P_EFFECTIVE_DATE parameter which is IN parameter and required for update api this parametre is required....can anybody tell me what is this date and which coloumn this date stored in table......while using update api how can i get p_effective_date value....
or i can take any date and it will work for both update as well as create api.....
what should i use...
thanx...

let your functional people explain you what the "effective date" means in Oracle Hr. It is the date on which you see data. Hr maintains history of data.
Use your luck, and default it to trunc( sysdate)
There are no columns in the transactional tables where the effective date is stored.

Similar Messages

  • I am not able to assign job_id  in my Assignment api

    Hi
    Can anybody help me
    I am created one for create job using hr_job_api
    What am trying to assign my job_id to assignment api
    logic is
    If the job is not it creates job using job api,
    If job is already exists it assign to assignment api
    CREATE OR REPLACE PROCEDURE xxhr_job_proc IS
    l_assignment_number number;          
    l_assignment_id      number;          
    v_special_ceiling_step_id          number;          
    v_object_version_number           number;     
    V_concatenated_segments      number;     
    V_soft_coding_keyflex_id      number;     
    V_comment_id      number;     
    v_effective_start_date      date;     
    v_effective_end_date      date;     
    V_no_managers_warning      boolean;     
    V_other_manager_warning      boolean;     
    v_num number;     
    v_seg_conc VARCHAR2(2000);     
    l_change_reason                    varchar2(50);     
    l_date_probation_end                date;          
    l_default_code_comb_id               number;          
    l_set_of_books_id               number;     
    G_USER_ID                     number;     
    G_LOGIN_ID                    number;     
    v_resp_id                     number;     
    v_resp_APPL_id                    number;     
    v_assignment_id                    number;
    v_org_id number;
    l_object_version_number number;
    l_effective_date date;
    v_job_id                    NUMBER;
    v_job_definition_id                NUMBER;
    v_business_group_id               NUMBER;
    v_name                          VARCHAR2(240);
    l_job_id                    number;
    l_job_group_id                    number;
    CURSOR Job_emp Is
         SELECT      empl_id
              ,empl_rcd_nbr
              ,effective_date
              ,effective_sequence
              ,rehire_date
              ,probation_date
              ,department
              ,supervisor_id
              ,direct_manager_id
              ,location_code
              ,reason_code
              ,action
              ,salary_grade
              ,job_code
              ,full_or_part_time
              ,hr_responsible_id
         FROM xxhr_job_all;
    BEGIN
         G_USER_ID                := FND_PROFILE.VALUE('USER_ID');
         G_LOGIN_ID                := FND_PROFILE.VALUE('LOGIN_ID');
    v_org_id := FND_PROFILE.VALUE('ORG_ID');
         v_resp_id                := FND_PROFILE.VALUE('RESP_ID');
         v_resp_APPL_id               := FND_PROFILE.VALUE('RESP_APPL_ID');
    v_business_group_id          := FND_PROFILE.VALUE('PER_BUSINESS_GROUP_ID');
         FND_GLOBAL.APPS_INITIALIZE(G_USER_ID,v_resp_id,v_resp_APPL_id);
    -- Open the Cursor for Validation
    FOR v_job_emp IN job_emp LOOP
         SELECT fnd_flex_ext.get_ccid('PER',
                             'JOB',
                             101,
                             TO_CHAR(SYSDATE, 'DD-MON-YYYY'),
                             v_job_emp.job_code)
                             INTO v_job_definition_id
                             FROM dual;
    SELECT job_group_id
              INTO l_job_group_id
                   FROM PER_JOB_GROUPS
                        WHERE master_flag = 'Y';
    -- Validation for job code
    BEGIN
         SELECT job_id
              INTO v_job_id
         FROM per_jobs
         WHERE name = v_job_emp.job_code;
    EXCEPTION
         WHEN NO_DATA_FOUND THEN
    FND_FILE.PUT_LINE(FND_FILE.LOG,'There is no job id Exist For this job code'||v_job_emp.job_code);
    WHEN OTHERS THEN
    FND_FILE.PUT_LINE(FND_FILE.LOG,'Error While Inserting a Record'||SQLCODE||SQLERRM);
    END;
    if v_job_id is null then
    hr_job_api.create_job
              (p_validate                => FALSE
              ,p_business_group_id      => v_business_group_id
              ,p_date_from                => SYSDATE
              ,p_job_group_id               => l_job_group_id
              ,p_segment1                => v_job_emp.job_code
              ,p_job_id                => v_job_id
              ,p_job_definition_id           => v_job_definition_id
              ,p_object_version_number      => v_object_version_number
              ,p_name                => v_name
    ELSE
    -- Validation for assignment id
         SELECT      assignment_id
              ,effective_start_date
              ,object_version_number
    INTO     l_assignment_id
              ,l_effective_date
              ,l_object_version_number
         FROM per_all_assignments_f
         WHERE person_id =
         (SELECT person_id
         FROM per_all_people_f
         WHERE employee_number = v_job_emp.empl_id);
    -- Validation for set of book id
         SELECT ho.org_information3
         INTO l_set_of_books_id
         FROM gl_sets_of_books gsb,
         hr_organization_information ho
         WHERE gsb.set_of_books_id = ho.org_information3
         AND ho.org_information_context='Operating Unit Information'
         AND ho.ORGANIZATION_ID = v_org_id;
    -- Validation for code combination id
    SELECT fnd_flex_ext.get_ccid('SQLGL',
                             'GL#',
                             50268,
                             TO_CHAR(SYSDATE,'DD-MON-YYYY'),
                             '50001.1820000281.7501.0000000000.00000.00000'
                             ) INTO l_default_code_comb_id
                             FROM dual;
    hr_assignment_api.update_emp_asg
    (p_validate => FALSE
    ,p_effective_date => sysdate
    ,p_datetrack_update_mode => 'CORRECTION'
    ,p_object_version_number => l_object_version_number
    ,p_assignment_number => NULL --l_assignment_number
         ,p_supervisor_id      => NULL
         ,p_assignment_id      => l_assignment_id
         ,p_default_code_comb_id           => l_default_code_comb_id
         ,p_set_of_books_id           => l_set_of_books_id
         ,p_title                => NULL
         ,p_ass_attribute_category     => v_business_group_id
         ,p_ass_attribute1          => v_job_emp.empl_rcd_nbr
         ,p_ass_attribute2          => v_job_emp.effective_date
         ,p_ass_attribute3          => v_job_emp.effective_sequence
         ,p_ass_attribute4          => v_job_emp.rehire_date
         ,p_ass_attribute5          => v_job_emp.probation_date
         ,p_ass_attribute6          => v_job_emp.department
         ,p_ass_attribute7          => v_job_emp.supervisor_id
         ,p_ass_attribute8          => v_job_emp.direct_manager_id
         ,p_ass_attribute9          => v_job_emp.location_code
         ,p_ass_attribute10          => v_job_emp.reason_code
         ,p_ass_attribute11          => v_job_emp.action
         ,p_ass_attribute12          => v_job_emp.salary_grade
         ,p_ass_attribute13          => v_job_emp.full_or_part_time
         ,p_ass_attribute14          => v_job_emp.hr_responsible_id
    ,p_effective_start_date => v_effective_start_date
    ,p_effective_end_date => v_effective_end_date
    ,p_no_managers_warning => v_no_managers_warning
    ,p_other_manager_warning => v_other_manager_warning
         ,p_comment_id               => V_comment_id
         ,p_soft_coding_keyflex_id     => v_soft_coding_keyflex_id
    ,p_cagr_grade_def_id => v_num
    ,p_cagr_concatenated_segments => v_seg_conc
         ,p_concatenated_segments => V_concatenated_segments
    END IF;
    DBMS_OUTPUT.PUT_LINE('Ex:'||v_job_id||','||v_object_version_number);
    END LOOP;
    COMMIT;
    EXCEPTION
         WHEN OTHERS THEN
              DBMS_OUTPUT.PUT_LINE('Error:'||SQLERRM);
    END;
    Regards
    Samarpan
    Message was edited by:
    Deekshitulu Mantha

    You are not passing the THE CORRECT out parmeters P_JOB_DEFINITION_ID,P_NAME , as looks in your calling API.
    Pass the following parameters
    P_JOB_DEFINITION_ID => l_JOB_DEFINITION_ID
    P_NAME => L_NAME
    Take a note,
    1)P_JOB_DEFINITION_ID is 'In & Out ' parameter in API's.
    If p_validate is false, uniquely identifies the Job Key flexfield combination for this job. If p_validate is true, set to null.
    2)P_NAME Out is OUT paramter in API's
    If p_validate is false, concatenation of all key flexfield segments. If p_validate is true, set to null.
    Hope it works

  • Problem in using the api  Hr_Personal_Pay_Method_Api

    I am getting the following exception message in the HRSSA workflow and it errors out always.
    ORA-20001: FLEX-DSQL EXCEPTION:
    Error Stack Wf_Engine_Util.Function_Call(hum_hr_ss_paymethods.chg_cash_to_deposit, HRSSA, 3717165, 408994, RUN)
    The above custom function call refers to the api - Hr_Personal_Pay_Method_Api. It looks liek the problem is with the two parameters account_name and account_number I pass to the api. Please provide any inputs/help to get this resolved ASAP.
    The api call I am using is as mentioned below:
    l_account_name := 'CashPay Visa Req ' || TO_CHAR(l_emp_number);
    l_account_number := '9999' || TO_CHAR (SYSDATE, 'yyyyddmmhh24mi');
    Hr_Personal_Pay_Method_Api.create_us_personal_pay_method (
    p_validate => FALSE -- pbValidate
    p_effective_date => SYSDATE,
    p_assignment_id => cash_card_req.assignment_id,
    p_org_payment_method_id => l_org_payment_method_id ,
    p_account_name => l_account_name,
    p_account_number => l_account_number -- dummy account number
    p_transit_code => '00000000' -- transit code for Bank of America
    p_bank_name => 'XXXXXXXXXXXX',
    p_account_type => 'C',
    p_bank_branch => 'XXXXXXXXXXX',
    p_amount => cash_card_req.amount,
    p_percentage => cash_card_req.percentage,
    p_priority => cash_card_req.priority --paymethod.priority
    p_attribute1 => cash_card_req.attribute1 -- (Mothers's maiden name)
    p_attribute2 => cash_card_req.attribute2 -- (Use for reimbursement) 2007/02
    p_personal_payment_method_id => l_personal_payment_method_id,
    p_external_account_id => l_external_account_id,
    p_object_version_number => l_object_version_number,
    p_effective_start_date => l_effective_start_date,
    p_effective_end_date => l_effective_end_date,
    p_comment_id => l_comment_id);

    Hi, is there any more specific error message?
    One thing to try is to apply the trunc() function to your p_effective_date parameter, e.g p_effective_date => trunc(sysdate)...
    Hope this helps
    Clive

  • A little inconsistency in javascript API's version 4.0

    Hi,
    i just found out the following little inconsistency in the "syntax" of the pClass parameter in API functions $x_ByClass and $x_Class.
    Until version 3.1 if you wanted to select or set nodes having a double class, you had to specify the classes as "classA classB" separated by a blank.
    Now in version 4.0 this doesn't work anymore for $x_ByClass, but it is still working for $x_Class.
    $x_ByClass now seems to accept the period as separator, that is "classA.classB".
    I looked at the javascript code and saw that the function has been rewritten using some jQuery wrapper, which probably explains the change of syntax.
    I wonder if it makes sense to translate automatically spaces into periods to maintain the compatibility or change the behavior of $x_Class as well, because it's somewhat confusing to have functions using a different syntax.
    Moreover it would be beneficial to mention these changes somewhere in the API documentation.
    Flavio
    http://oraclequirks.blogspot.com
    http://www.yocoya.com

    Hi Madhu,
    Lets be clear here. If the first message is different to the second one, then the second message could be a non-serializable message. So we can't consider working of first message as proof to prove it would also work for send message.
    If this orchestration is working for a while and failed all in sudden, then we need to investigate why? See how do you construct the second message. Trace the orchestration and see what's been sent/created for second message. Check whether the second message
    is a valid XMLDocument. Also as said before, try to make the shape into an atomic scope and see whether it makes any difference.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Apps 11i Extended Application

    Hi,
    We have a project to Implement Oracle Apps 11i and to build a separte module (extended application) and intergrate with apps 11i.
    I would like to know hoe to get started. That is starting from Template form and how to go about.
    The manuals are all running to 1000 odd pages and there is no time to read the whole thing.
    Thanks
    Thiru

    You got to develop the forms and reports and register in the the application.
    And create the menu and menu associate with responsiblity that responsiblity could be able assign it to the user.
    You got to pass the parameter through api to apps schema.
    There is no support for that modules.
    Thanks and Regards
    Riyaas
    Oracle Applications DBA
    email: [email protected]
    Kuwait

  • Oracle Applications Adapter (Organization Id transformation Issue)

    Dear Fellows
    I am using SOA Suite 11g
    I have a composite application with
    1- DBAdapter at exposed service lane - (Instance A)
    2- Mediator at SOA Component
    3- Apps Adapter at external reference lane. - (Instance B)
    My poll changes by DBAdapter on table MTL_SYSTEM_ITEMS_B at DBAdapter lane. Sample structure of my table is
    inventory_item_id
    organization_id - 44
    description
    segment1
    segment2
    segment3
    item_type
    attribute1
    attribute2
    i have an API at Apps Adapter lane to insert record in other instance (EBS R12.x.x )using Item Master API.
    Organization_Id 44 represents Org_Code M06 at instance A whereas Organization_Id 44 represents F04 at instance B. I have more than 100 of organizations at each instance, having different Organization_Id against Org_Code at both instances. Means M06 will represent same organization at both instances but will have different Organization_Id at both instances.
    Kindly, provide me a mechanism so that I can catch Org_Code (M06) against organization_id 44 at instance A and retrieve Organization_id against this Org_Code (M06) at instance B and put this retrieved Organization_Id as a parameter in API at external reference lane of Apps Adapter.
    Regards.
    Please please reply me dear fellows, i have a lot of more questions to ask.

    Dear friend
    I have more than hundreds of inventory organizations and will have 7 instances. Organization M06 will have different Organization_Id on each instances. Is not there any way so that I can use SQL Select statement to get Org_Code when my data is polling from Instance A and get the Organization_Id against this retrieved Org_Code from Instance B and put this Organization_Id as an API parameter at Instance B.
    Please Please help me in this regard.

  • Dynamically setting manager name for trap

    As per the SEA documentation, trap destinations are specified through master agent configuration file and need to be set before starting master agent.
    We want add more managers dynamically i.e. after master and subagent are started and communicating with one manager.
    Does snmpdx provide any MIB variable to "set" the manager name? Is there any other alternative such as command line parameter or API to set the manager name?
    Thanks
    Dhananjay

    Hi,
    This feature is not supported in SEA. All the configuration should be done before starting master agent.
    To register the subagent, you can use any of the following two methods.
    * Static method : The master agent reads agent resource files. This resource
    file contains an entry for each subagent.
    * Dynamic method : The master agent receives the information from the subagents. The subagent sends a SET request containing the MIB objects needed to register with the Master Agent, through the use of the registration API.
    Using SEA, there is no way you can add the managers dynamically for traps.
    I suggest you may have look on new product from SUN i.e SunMC( Sun Management Center) which has lot of new features.
    HTH.
    Thanks,
    Santosh

  • BW don't extract data from R3 while RSA3 do

    I want to extract REFBN, REFBK, REFGJ, AWTYP fields from CO to BW using CO_OM_OPA_6. REFBN, REFBK, REFGJ are in the structure BWOM2_REFBLG which included in the extraction structure of CO_OM_OPA_6. AWTYP is a field in COVP and I just appended it in the extractor. I also maintained the related records in table ROOSFIELD to make REFBN, REFBK, REFGJ visualble in extractor. This worked well in RSA3 and I get data of all those fields when I tested the extractor in R3.
       The problem is that it didn't work when I extract those data from R3 to BW. It seems that the extract process of R3 to BW is not as same as the process of RSA3. How can I resolve this problem?
       Thanks!

    To debug the problem, I wrote some code in enhancement to write data of REFBN,REFBK,AWTYP into a Z table. If I used RSA3 to test the extractor, those data were inserted into the table. As to extracting data in BW infoPackage, only one record of data were inserted into the Z table with all fields' value are null.
    Is there any possibility that the BW extractor using different parameter or API with RSA3 transaction in R3 sytem?

  • I wonder how this code works?

    I was going through java API in order to understand how System.out.println("Print this string"); works. I came to know that println is an instance method of PrintStream class. So, i created an instance of PrintStream (ps) and accessed println. My code works fine BUT i realized that i needed to pass System.out as parameter to PrintStream constructor.
    NOW System.out already refers to an instance of PrintStream class.
    BUT there is no such constructor defined in PrintStream class that requires an instance of PrintStream as parameter (See API).
    I wonder how this code works?
    import java.io.*;
    class AnotherWayToPrint {
         public static void main(String[] args) {
              PrintStream ps = new PrintStream(System.out);
              ps.println("Yes! I am printed.");
              ps.println(System.out); // java.io.PrintStream@1ob62c9
    }

    I was going through java API in order to understand
    how System.out.println("Print this string"); works. I
    came to know that println is an instance method of
    PrintStream class. So, i created an instance of
    PrintStream (ps) and accessed println. My code works
    fine BUT i realized that i needed to pass System.out
    as parameter to PrintStream constructor.
    NOW System.out already refers to an instance of
    PrintStream class.
    BUT there is no such constructor defined in
    PrintStream class that requires an instance of
    PrintStream as parameter (See API). Requires? All the constructors for PrintStream take an OutputStream as a parameter.
    A PrintStream IS AN OutputStream

  • Mapping error code from Business service to Proxy

    I am trying to get hands on with 11g and following the book Getting started with Oralce 11G soa suite. The example I have described is based on chapter 11 and chapter 14. I have a proxy service and business service. The business service calls a "ValidateCC" composite which validates the credit card information passed and is proxied by the proxy service. The validation of CC is done by a stored procedure, which returns an error ora-20001 if the credit card info is not found in the database.
    Testing PROXY service from OSB console:
    Here is the REQUEST message sent to proxy service:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <soapenv:Body>
    <cca:creditcardStatusRequest xmlns:cca="http://www.globalcompany.com/ns/CCAuthorizationService">
    <cca:CCNumber>2234-1234-1234-1234</cca:CCNumber>
    </cca:creditcardStatusRequest>
    </soapenv:Body>
    </soapenv:Envelope>
    Here is the response message received:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server</faultcode>
    <faultstring>BEA-380001: Internal Server Error</faultstring>
    <detail>
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-380001</con:errorCode>
    <con:reason>Internal Server Error</con:reason>
    <con:location>
    <con:node>RouteTo_validationForCC</con:node>
    <con:path>response-pipeline</con:path>
    </con:location>
    </con:fault>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    Testing Business service from OSB console
    Response received for the same message:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'validateCC' failed due to: Stored procedure invocation error.
    Error while trying to prepare and execute the VALIDATECC API.
    An error occurred while preparing and executing the VALIDATECC API. Cause: java.sql.SQLException: ORA-20001: UNKNOWN CREDIT CARD
    ORA-06512: at "SOADEMO.VALIDATECC", line 12
    ORA-06512: at line 1
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </faultstring>
    <faultactor/>
    <detail>
    <exception>
    ORA-20001: UNKNOWN CREDIT CARD
    ORA-06512: at "SOADEMO.VALIDATECC", line 12
    ORA-06512: at line 1
    </exception>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    What i need:
    I would like to have the exception 20001 populated in faultcode of the response from proxy message. A down stream BPEL process checks the faultcode and processes the message as needed.
    My OSB message flow contains :
    ValidateCredit +> envelope
    PipelinePairNode1
    Request Pipeline
    Report and Validate
    Response Pipeline
    RouteTo_validationForCC
    Service Error Handler
    stage1 with Alert action.
    My question is how to map the actual error occured in the cally be business service handler to the Service error handler in stead of throwing a generic BEA error. Please let me know

    Thank You Swgt for your reply.
    This is what I did:
    When I'm in Edit mode, in the OSB Web Console, I go to my proxy service, click on the Edit Message Flow icon, in the Map of Message Flow window I left-click on my Route icon (which as you already mentioned routes to my Business Service), select Add Route Error Handler (this option only appears if you're in Edit Mode already), click on the Error Handler icon, Add Stage, click on the Stage icon, Edit Stage, click on Add an Action, Flow Control -> Reply. Here I select the Radio Button "With Failure" and then Save All and Activate the change for the session.
    Is this correct?
    I tried this. I no longer get the BEA-380001 error code. However, the fault returned is not a bindingFault as I would have expected, but rather a remoteFault. hence my fault policy never detects it, doesn't rethrow it, and my BPEL error handling never kicks in.
    Is there a way to change this to work more or less in the sense of the tutorial?
    Does using OSB to connect to the service automatically make it a remote fault, instead of a bindingFault?
    Here's the SOAP message handled by my BPEL Component.
    <messages>
    <input>
    <invokeCCStatusService_execute_InputVariable>
    <part name="part1">
    <creditcardStatusRequest>
    <CCNumber>2234-1234-1234-1234</CCNumber>
    </creditcardStatusRequest>
    </part>
    </invokeCCStatusService_execute_InputVariable>
    </input>
    <fault>
    <bpelFault>
    <faultType>0</faultType>
    <remoteFault>
    <part name="summary">
    <summary>Beim Aufrufen des Bindings ist eine Exception aufgetreten.
    Beim Aufrufen des JCA-Bindings ist eine Exception
    aufgetreten: "JCA Binding execute of Reference operation
    'validateCC' failed due to: Fehler beim Aufrufen von
    gespeicherter Prozedur. Beim Versuch, die VALIDATECC-API
    vorzubereiten und auszuführen, ist ein Fehler aufgetreten.
    Beim Vorbereiten und Ausführen der VALIDATECC-API ist ein
    Fehler aufgetreten. Ursache: java.sql.SQLException:
    ORA-20001: UNKNOWN CREDIT CARD ORA-06512: in
    "SOADEMO.VALIDATECC", Zeile 12 ORA-06512: in Zeile 1 Prüfen
    Sie, ob die API in der Datenbank definiert ist und die
    Parameter der API-Signatur entsprechen. Diese Exception wird
    als nicht wiederholbar betrachtet. Sie ist wahrscheinlich auf
    einen Modellierungsfehler zurückzuführen. Um den Fehler
    stattdessen als wiederholbar zu klassifizieren, fügen Sie die
    Eigenschaft nonRetriableErrorCodes mit dem Wert "-20001" zum
    Deployment-Deskriptor hinzu (d.h. weblogic-ra.xml). Um einen
    wiederholbaren Fault automatisch zu wiederholen, legen Sie
    folgende Eigenschaften von composite.xml für diesen Aufruf
    fest: jca.retry.interval, jca.retry.count und
    jca.retry.backoff. Alle Eigenschaften sind Ganzzahlen. ". Der
    aufgerufene JCA-Adapter hat eine Ressourcen-Exception
    ausgelöst. Prüfen Sie die obige Fehlermeldung sorgfältig, um
    eine Lösung zu finden.</summary>
    </part>
    <part name="detail">
    <detail>
    <exception>ORA-20001: UNKNOWN CREDIT CARD ORA-06512: in
    "SOADEMO.VALIDATECC", Zeile 12 ORA-06512: in Zeile 1</exception>
    </detail>
    </part>
    <part name="code">
    <code>{http://schemas.xmlsoap.org/soap/envelope/}Server</code>
    </part>
    </remoteFault>
    </bpelFault>
    </fault>
    <faultType>
    <message>0</message>
    </faultType>
    </messages>

  • Oracle API - Standard IN and OUT parameter

    Hi,
    I need to use the standard Oracle API to load bulk data into required table in Oracle HRMS. However, I am confuse on the IN and OUT parameter. For example the below standard Oracle API:
    procedure Create_category
    (p_validate in boolean default false
    ,p_effective_date in date
    ,p_business_group_id in number
    ,p_category in varchar2
    ,p_type in     varchar2
    ,p_description in varchar2
    ,p_parent_cat_usage_id in     number
    ,p_synchronous_flag in     varchar2
    ,p_online_flag in     varchar2 default null
    ,p_attribute_category in varchar2 default null
    ,p_attribute1 in varchar2 default null
    ,p_attribute2 in varchar2 default null
    ,p_attribute3 in varchar2 default null
    ,p_attribute4 in varchar2 default null
    ,p_attribute5 in varchar2 default null
    ,p_attribute6 in varchar2 default null
    ,p_attribute7 in varchar2 default null
    ,p_attribute8 in varchar2 default null
    ,p_attribute9 in varchar2 default null
    ,p_attribute10 in varchar2 default null
    ,p_attribute11 in varchar2 default null
    ,p_attribute12 in varchar2 default null
    ,p_attribute13 in varchar2 default null
    ,p_attribute14 in varchar2 default null
    ,p_attribute15 in varchar2 default null
    ,p_attribute16 in varchar2 default null
    ,p_attribute17 in varchar2 default null
    ,p_attribute18 in varchar2 default null
    ,p_attribute19 in varchar2 default null
    ,p_attribute20 in varchar2 default null
    ,p_data_source in varchar2 default null
    ,p_start_date_active in date
    ,p_end_date_active in date default null
    ,p_category_usage_id out nocopy number
    ,p_object_version_number out nocopy number
    ,p_comments in varchar2 default null
    Appreciate clarification on the below:
    1. What does the standard IN and OUT parameter mean?
    2. Is there any other parameter besides IN and OUT?
    My objective is to identify what are the mandatory/required/optional fields based on the API's parameters.
    Thanks and Regards,
    SC

    Hi;
    All APIs are listed in Oracle Integration Repository. I suggest check below notes:
    http://irep.oracle.com/index.html
    API User Notes - HTML Format [ID 236937.1]
    R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
    Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    Pelase also check below:
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    List of APIs and open interface R12
    Re: List of APIs and open interface R12
    Regard
    Helios

  • Parameter causes invalid column type in custom iSetup API

    I have written a custom BC4J API that has 1 parameter. The extract operation for this API worked earlier with no parameter defined. Now I have defined 1 parameter, and specified 1 value for the parameter, and upon extraction, I get this error:
    Name: XXECSS_AZ_AKCUSTOMREGIONS
    Type: BC4J
    Path: oracle.apps.xxecss.isetup.server.AkCustomRegionsAM
    Time Taken(seconds): 1.0
    Logging parameter criteria xml
    <?xml version="1.0"?><parameters><conjunction>AND</conjunction><language></language><mode type="Import"> </mode> <mode type="Export"><param type="NameValuePair" seq="1" display="DisplayEnabled" editable="Editable"><operator>LIKE</operator><separator> </separator><name>CustomizationCode</name><value>1251058748512EGO_ITEM_RESULT_D</value><msgcode></msgcode><appcode></appcode><filtercode>CCFILTER</filtercode><datatype>java.lang.String</datatype><sqlforlov>SELECT DISTINCT CUSTOMIZATION_CODE CustomizationCode FROM AK.AK_CUSTOM_REGIONS</sqlforlov><sqlforlovcol></sqlforlovcol><param1>Customization Code</param1></param></mode> </parameters>
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT AkCustomRegionsEO.CREATED_BY,
    AkCustomRegionsEO.CREATION_DATE,
    AkCustomRegionsEO.CRITERIA_JOIN_CONDITION,
    AkCustomRegionsEO.CUSTOMIZATION_APPLICATION_ID,
    AkCustomRegionsEO.CUSTOMIZATION_CODE,
    AkCustomRegionsEO.LAST_UPDATED_BY,
    AkCustomRegionsEO.LAST_UPDATE_DATE,
    AkCustomRegionsEO.LAST_UPDATE_LOGIN,
    AkCustomRegionsEO.PROPERTY_NAME,
    AkCustomRegionsEO.PROPERTY_NUMBER_VALUE,
    AkCustomRegionsEO.PROPERTY_VARCHAR2_VALUE,
    AkCustomRegionsEO.REGION_APPLICATION_ID,
    AkCustomRegionsEO.REGION_CODE
    FROM AK.AK_CUSTOM_REGIONS AkCustomRegionsEO) QRSLT WHERE ((CUSTOMIZATION_CODE LIKE :1 ));
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.az.fwk.server.BEExport.exportToXML(BEExport.java:525)
         at oracle.apps.az.fwk.server.BEApplicationModuleImpl.exportToXML(BEApplicationModuleImpl.java:403)
         at oracle.apps.az.r12.api.BC4JAPI.exportAPI(BC4JAPI.java:256)
         at oracle.apps.az.r12.extractor.cpserver.APIExtractor$APIExecuter.run(APIExtractor.java:635)
    ## Detail 0 ##
    java.sql.SQLException: Invalid column type
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:9231)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8812)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:9534)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:9560)
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3919)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4511)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
         at oracle.apps.az.fwk.server.BEExport.exportToXML(BEExport.java:514)
         at oracle.apps.az.fwk.server.BEApplicationModuleImpl.exportToXML(BEApplicationModuleImpl.java:403)
         at oracle.apps.az.r12.api.BC4JAPI.exportAPI(BC4JAPI.java:256)
         at oracle.apps.az.r12.extractor.cpserver.APIExtractor$APIExecuter.run(APIExtractor.java:635)
    Status: ERROR
    The data type used is java.lang.String, and the value used is : 1251058748512EGO_ITEM_RESULT_D.
    using the query shown here, replacing the :1 bind variable with this value works fine. I'm wondering if I need to use a different data type, something more specifically supported by the iSetup Framework?

    Never Mind. I found the problem. It turns out it was that the VO's in the API were set to OracleNamed Binding, and it should be OraclePositional (Oracle) type binding.

  • How to pass a date parameter(from a procedure IN) to a API

    Hi,
    CREATE OR REPLACE package body xxal_basic_sal_increment_pkg1 as
    procedure emp_pro_inc1(ERRBUF VARCHAR2,RETCODE OUT NUMBER,
    p_business_group_id_enter in number,p_change_date in varchar2) is
    CURSOR STAFF IS
    SELECT pp.ASSIGNMENT_ID
    ,peo.EMPLOYEE_NUMBER employee_no
    ,pp.OBJECT_VERSION_NUMBER
    ,pp.PAY_PROPOSAL_ID
    ,pp.PROPOSED_SALARY_N basic_salary
    ,pp.PROPOSAL_REASON
    ,pp.change_date
    ,pp.BUSINESS_GROUP_ID
    ,pg.name
    ,pr.PERFORMANCE_RATING,
    '' v_effective_start_date,
    '' v_effective_end_date
    FROM per_all_people_f peo,
    per_all_assignments_f pa,
    per_pay_proposals pp,
    per_grades_tl pg,
    per_performance_reviews_v pr
    where pa.person_id = peo.PERSON_ID
    and pa.ASSIGNMENT_ID = pp.ASSIGNMENT_ID
    and peo.PERSON_ID=pr.PERSON_ID
    and pg.GRADE_ID=pa.GRADE_ID
    --and peo.EMPLOYEE_NUMBER=STAFF_VAR.employee_no
    and sysdate between peo.EFFECTIVE_START_DATE and peo.EFFECTIVE_END_DATE
    and sysdate between pa.EFFECTIVE_START_DATE and pa.EFFECTIVE_END_DATE
    and peo.BUSINESS_GROUP_ID = p_business_group_id_enter
    and pp.change_DATE = (select max(change_DATE) from per_pay_proposals temp
    where ASSIGNMENT_ID =pp.ASSIGNMENT_ID);
    --L_BUSINESS_GROUP_ID NUMBER:=5128;
    L_ASSIGNMENT_ID NUMBER;
    L_PAY_PROPOSAL_ID NUMBER;
    L_OBJECT_VERSION_NUMBER NUMBER;
    L_pyp_proposed_sal_warning BOOLEAN;
    L_additional_comp_warning boolean;
    l_person_id number;
    L_COMMON boolean;
    L_ELEMENT_ENTRY_ID NUMBER;
    TEMP NUMBER;
    L_EFFECTIVE_START_DATE DATE;
    L_MULTI VARCHAR2(30):='N';
    L_APPROVED VARCHAR2(30):='Y';
    L_CHANGE_DATE DATE:=TO_DATE('31-JAN-2008','DD-MON-YYYY');
    BEGIN
    v_disp_output:='EMPLOYEE_NUMBER'||','||
    'BASIC'||','||
    'EFF START DATE'||','||
    'EFF END DATE';
    fnd_file.put_line(FND_FILE.output,v_disp_output);
    FOR STAFF_VAR IN STAFF LOOP
    L_ELEMENT_ENTRY_ID:=null;
    begin
    select assign.assignment_id,assign.effective_start_date into
    l_assignment_id,l_change_date_new
    from per_people_f peo,per_assignments_f assign
    where peo.person_id=assign.person_id
    and sysdate between peo.effective_start_date and peo.effective_end_date
    and sysdate between assign.effective_start_date and assign.effective_end_date
    and current_employee_flag='Y'
    and primary_flag='Y'
    and peo.business_group_id=l_business_group_id
    and peo.employee_number=staff_var.employee_no;
    L_CHANGE_DATE_new:=L_CHANGE_DATE;
    --L_CHANGE_DATE_new:=STAFF_VAR.v_effective_start_date;
    begin
    HR_MAINTAIN_PROPOSAL_API.INSERT_SALARY_PROPOSAL
    P_PAY_PROPOSAL_ID=>L_PAY_PROPOSAL_ID
    ,P_ASSIGNMENT_ID=>staff_var.ASSIGNMENT_ID
    ,P_BUSINESS_GROUP_ID=>staff_var.BUSINESS_GROUP_ID
    ,P_CHANGE_DATE=>L_CHANGE_DATE_new
    ,P_PROPOSED_SALARY_N=>STAFF_VAR.basic_salary
    ,P_OBJECT_VERSION_NUMBER=>STAFF_VAR.OBJECT_VERSION_NUMBER
    ,p_multiple_components=>L_MULTI
    ,p_approved=>L_APPROVED
    ,P_VALIDATE=>false
    ,p_element_entry_id =>L_ELEMENT_ENTRY_ID
    ,P_INV_NEXT_SAL_DATE_WARNING=>l_common
    ,P_PROPOSED_SALARY_WARNING=>L_COMMON
    ,P_APPROVED_WARNING=>L_COMMON
    ,P_PAYROLL_WARNING=>L_COMMON
    in the above code the variable L_CHANGE_DATE DATE is hard coded .
    but we need to supply this variable value as dynamic, means (p_change date--procedure IN Parameter )
    i tried like below ,
    CREATE OR REPLACE package body xxal_basic_sal_increment_pkg1 as
    procedure emp_pro_inc1(ERRBUF VARCHAR2,RETCODE OUT NUMBER,
    p_business_group_id_enter in number,p_change_date in varchar2) is
    CURSOR STAFF IS
    SELECT pp.ASSIGNMENT_ID
    ,peo.EMPLOYEE_NUMBER employee_no
    ,pp.OBJECT_VERSION_NUMBER
    ,pp.PAY_PROPOSAL_ID
    ,pp.PROPOSED_SALARY_N basic_salary
    ,pp.PROPOSAL_REASON
    ,pp.change_date
    ,pp.BUSINESS_GROUP_ID
    ,pg.name
    ,pr.PERFORMANCE_RATING,
    '' v_effective_start_date,
    '' v_effective_end_date
    FROM per_all_people_f peo,
    per_all_assignments_f pa,
    per_pay_proposals pp,
    per_grades_tl pg,
    per_performance_reviews_v pr
    where pa.person_id = peo.PERSON_ID
    and pa.ASSIGNMENT_ID = pp.ASSIGNMENT_ID
    and peo.PERSON_ID=pr.PERSON_ID
    and pg.GRADE_ID=pa.GRADE_ID
    --and peo.EMPLOYEE_NUMBER=STAFF_VAR.employee_no
    and sysdate between peo.EFFECTIVE_START_DATE and peo.EFFECTIVE_END_DATE
    and sysdate between pa.EFFECTIVE_START_DATE and pa.EFFECTIVE_END_DATE
    and peo.BUSINESS_GROUP_ID = p_business_group_id_enter
    and pp.change_DATE = (select max(change_DATE) from per_pay_proposals temp
    where ASSIGNMENT_ID =pp.ASSIGNMENT_ID);
    --L_BUSINESS_GROUP_ID NUMBER:=5128;
    L_ASSIGNMENT_ID NUMBER;
    L_PAY_PROPOSAL_ID NUMBER;
    L_OBJECT_VERSION_NUMBER NUMBER;
    L_pyp_proposed_sal_warning BOOLEAN;
    L_additional_comp_warning boolean;
    l_person_id number;
    L_COMMON boolean;
    L_ELEMENT_ENTRY_ID NUMBER;
    TEMP NUMBER;
    L_EFFECTIVE_START_DATE DATE;
    L_MULTI VARCHAR2(30):='N';
    L_APPROVED VARCHAR2(30):='Y';
    L_CHANGE_DATE DATE:=TO_DATE(p_change_date,'DD-MON-YYYY');
    BEGIN
    v_disp_output:='EMPLOYEE_NUMBER'||','||
    'BASIC'||','||
    'EFF START DATE'||','||
    'EFF END DATE';
    fnd_file.put_line(FND_FILE.output,v_disp_output);
    FOR STAFF_VAR IN STAFF LOOP
    L_ELEMENT_ENTRY_ID:=null;
    begin
    select assign.assignment_id,assign.effective_start_date into
    l_assignment_id,l_change_date_new
    from per_people_f peo,per_assignments_f assign
    where peo.person_id=assign.person_id
    and sysdate between peo.effective_start_date and peo.effective_end_date
    and sysdate between assign.effective_start_date and assign.effective_end_date
    and current_employee_flag='Y'
    and primary_flag='Y'
    and peo.business_group_id=l_business_group_id
    and peo.employee_number=staff_var.employee_no;
    L_CHANGE_DATE_new:=L_CHANGE_DATE;
    --L_CHANGE_DATE_new:=STAFF_VAR.v_effective_start_date;
    begin
    HR_MAINTAIN_PROPOSAL_API.INSERT_SALARY_PROPOSAL
    P_PAY_PROPOSAL_ID=>L_PAY_PROPOSAL_ID
    ,P_ASSIGNMENT_ID=>staff_var.ASSIGNMENT_ID
    ,P_BUSINESS_GROUP_ID=>staff_var.BUSINESS_GROUP_ID
    ,P_CHANGE_DATE=>L_CHANGE_DATE_new
    ,P_PROPOSED_SALARY_N=>STAFF_VAR.basic_salary
    ,P_OBJECT_VERSION_NUMBER=>STAFF_VAR.OBJECT_VERSION_NUMBER
    ,p_multiple_components=>L_MULTI
    ,p_approved=>L_APPROVED
    ,P_VALIDATE=>false
    ,p_element_entry_id =>L_ELEMENT_ENTRY_ID
    ,P_INV_NEXT_SAL_DATE_WARNING=>l_common
    ,P_PROPOSED_SALARY_WARNING=>L_COMMON
    ,P_APPROVED_WARNING=>L_COMMON
    ,P_PAYROLL_WARNING=>L_COMMON
    but we are getting the error Cause: FDPSTP failed due to ORA-01839: date not valid for month specified
    ORA-06512: at "APPS.XXAL_BASIC_SAL_INCREMENT_PKG1", line 45
    ORA-06512: at line 1
    we tried the solution available in the metalink still its giving error ..
    pl help us to solve this issue ...
    how should we pass the date parameter while we run the concurrent program(we used date value set).
    also we tried with some other value set also ..
    Regards,
    kumar

    dear,
    I have the following code to create proposal, but the API create salary proposal for all record s and does not create entry for all records it just creates for the first record
    any advice
    the code ....
    /* Formatted on 2007/08/29 16:20 (Formatter Plus v4.8.8) */
    ----------------------- P R O P O S A L -------------------------
    DECLARE
    l_rows_processed NUMBER := 0;
    l_commit_point NUMBER := 500;
    l_business_group_id NUMBER
    := fnd_profile.VALUE ('PER_BUSINESS_GROUP_ID');
    l_proposal_salry NUMBER;
    l_approved CHAR (1);
    l_rowid VARCHAR2 (30);
    l_errmessage VARCHAR2 (400);
    l_entry_indecator NUMBER;
    l_assignment_id NUMBER;
    p_ctr_object_version_number NUMBER;
    -- Out Parameters --
    l_element_entry_id NUMBER;
    p_element_entry_id NUMBER;
    l_ctr_object_version_number NUMBER;
    l_pay_proposal_id NUMBER;
    l_inv_next_sal_date_warning BOOLEAN;
    l_proposed_salary_warning BOOLEAN;
    l_approved_warning BOOLEAN;
    l_payroll_warning BOOLEAN;
    CURSOR crs_dc_mn
    IS
    SELECT xdp.ROWID, xdp.assignment_id, xdp.change_date,
    xdp.proposal_reason, xdp.proposed_salary,
    xdp.assignment_number, xdp.employee_number, xdp.person_id,
    xdp.new_asg_id
    FROM apps.xx_dc_proposal xdp
    WHERE xdp.assignment_id <> -1
    AND xdp.processed = 'N'
    AND xdp.change_date =
    (SELECT MIN (xdc.change_date)
    FROM xx_dc_proposal xdc
    WHERE xdc.assignment_id = xdp.assignment_id
    AND xdc.processed = 'N')
    ORDER BY assignment_id, change_date ASC;
    pro_rcrd crs_dc_mn%ROWTYPE;
    CURSOR crs_dc_proposal1 (p_asg_id IN NUMBER)
    IS
    SELECT xdp.ROWID, xdp.assignment_id, xdp.change_date,
    xdp.proposal_reason, xdp.proposed_salary,
    xdp.assignment_number, xdp.employee_number, xdp.person_id,
    xdp.new_asg_id
    FROM apps.xx_dc_proposal xdp
    WHERE xdp.assignment_id <> -1
    AND xdp.processed = 'N'
    AND xdp.assignment_id = p_asg_id
    ORDER BY assignment_id, change_date ASC;
    BEGIN
    OPEN crs_dc_mn;
    FETCH crs_dc_mn
    INTO pro_rcrd;
    LOOP
    BEGIN
    hr_maintain_proposal_api.insert_salary_proposal
    (p_pay_proposal_id => l_pay_proposal_id,
    p_assignment_id => pro_rcrd.assignment_id,
    p_business_group_id => l_business_group_id,
    p_change_date => pro_rcrd.change_date,
    p_comments => NULL,
    p_next_sal_review_date => NULL,
    p_proposal_reason => NULL,
    p_proposed_salary_n => pro_rcrd.proposed_salary,
    p_forced_ranking => NULL,
    p_performance_review_id => NULL,
    p_attribute_category => NULL,
    p_attribute1 => NULL,
    p_attribute2 => NULL,
    p_attribute3 => NULL,
    p_attribute4 => NULL,
    p_attribute5 => NULL,
    p_attribute6 => NULL,
    p_attribute7 => NULL,
    p_attribute8 => NULL,
    p_attribute9 => NULL,
    p_attribute10 => NULL,
    p_attribute11 => NULL,
    p_attribute12 => NULL,
    p_attribute13 => NULL,
    p_attribute14 => NULL,
    p_attribute15 => NULL,
    p_attribute16 => NULL,
    p_attribute17 => NULL,
    p_attribute18 => NULL,
    p_attribute19 => NULL,
    p_attribute20 => NULL,
    p_object_version_number => l_ctr_object_version_number,
    p_multiple_components => 'N', -- 918219
    p_approved => 'Y',
    p_validate => FALSE,
    p_element_entry_id => l_element_entry_id,
    p_inv_next_sal_date_warning => l_inv_next_sal_date_warning,
    p_proposed_salary_warning => l_proposed_salary_warning,
    p_approved_warning => l_approved_warning,
    p_payroll_warning => l_payroll_warning
    UPDATE xx_dc_proposal
    SET processed = 'Y'
    WHERE ROWID = pro_rcrd.ROWID;
    l_rows_processed := l_rows_processed + 1;
    IF l_rows_processed = l_commit_point
    THEN
    COMMIT;
    l_rows_processed := 0;
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_errmessage := SQLERRM;
    UPDATE xx_dc_proposal
    SET err_message = l_errmessage
    WHERE ROWID = pro_rcrd.ROWID;
    END;
    END LOOP;
    CLOSE crs_dc_mn;
    COMMIT;
    END;
    ..............................

  • Calling oracle API having parameter as record type throughPL/SQL WebService

    Hi All,
    I dont know whether this is the right forum to put this query, but as i am using a pl/sql web service , putting the query on this forum.
    My requirement is to call oracle API which in turh creates a single Invoice(using Ar_Invoice_Api_Pub.create_single_invoice )
    But the issue is this API in turn has some of the input parameters as Record type and table type, my concern is how to pass this data(record type or table type) as parameter thorugh java code .. If i use Collection or Hashmap will it work , I dont think so , some intermediate conversion will require.
    Subsequently the other requirement is fetch this record/table type data and return it to the java code
    Please correct me if i am wrong and suggest a proper solution if anybody is aware off or tried such things before.
    Thanks in advance.
    Regards,
    Anant.

    Hi,I'm new comer of this world,
    I've a pl/sql like this:
    package MY_WS_API is
    type record_set is ref cursor;
    PROCEDURE Get_User_Info(p_user_id VARCHAR2,
    p_rep_id VARCHAR2,
    p_flag out number,
    p_msg out varchar2,
    p_recordset out record_set);
    end MY_WS_API;
    when I using jdeveloper trying to publish it as a webservice, in the step 4 of the wizzard poping me choose the program unit to expose, the PROCEDURE Get_User_Info is not available and told me "Ref cursor Type is not supported due to a jdbc limitation and Ref Cursor Types are only supported for use of return type".
    THE QUESTION is:
    1.the cursor I used is of return type,I'm not very understanding the "why not" message upon.
    2.in such case , need I trans the return cursor into Object[] if have to?
    3.any other limitation for generating WS from PL/SQL using jdeveloper?
    Thanks!

  • Pass Parameter Through REST API into PivotChart in Excel Services 2013

    Is it possible to pass a parameter through the REST API into the filter of a PivotChart and return a filtered view of the chart?  I've figured it out mechanically, and can pass the parameter in - but the chart doesn't refresh with the new filter.
    For the record, I've looked at all of the online documentation on passing parameters and you'll note those all depict passing parameters into a table - not a PivotTable.
    Curious if Excel Services 2013 has made any progress in that regard.
    Thanks in advance...
    Andrew Lavinsky [MVP] Blog: http://azlav.umtblog.com Twitter: @alavinsky

    Obviously it's not working for pivot tables/charts. Just found this in the SharePoint logs:
    04/06/2014 22:21:36.01 w3wp.exe (0x0920)                      
    0x1428
    Excel Services Application     Excel Calculation Services    
    d64g Medium  
    UserOperation.Dispose: Disposing Microsoft.Office.Excel.Server.CalculationServer.Operations.RestChartPngOperation, WebMethod: ProcessRestRequest.
    09ae849c-bf78-50fd-d9b9-915fd27bf5e1
    04/06/2014 22:21:36.01 w3wp.exe (0x0920)                      
    0x1428
    Excel Services Application     Excel Calculation Services    
    ecc4 Medium  
    ExcelServiceBase.EndProcessOperation: Found an exception on the AsyncResult of an operation which has not been departed from. Exception is Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceBase+EcsFaultException:
    Cannot change cells in a PivotTable report. (Fault Detail is equal to Microsoft.Office.Excel.Server.ExcelServerMessage).
    09ae849c-bf78-50fd-d9b9-915fd27bf5e1
    Disappointing...

Maybe you are looking for

  • Oracle Linux Exam Help!

    Hello! I will kindly ask for your honest opinions as I want to study for an Oracle Linux exam and I need to get the below indicated topics covered, but unfortunately I could not find a book to cover them all (as I did for Oracle 11g). Please help me

  • It just wont work

    Basically i am using my macbook 1.83GHz and several problems have occoured, firstly programs keep quitting this mainly happens with microsoft word which often wont even open, it simply says error and then often after it has started it will very quick

  • _blank always opening in the same new tab

    Hi there, I am curios if there is a workaround this issue. If you have an ad, let's say, that for any click it's set to use "_blank", every subsequent click will change page in only one new opened tab. There aren't more tabs created. Just one new tab

  • Cannot find an option in Logic to bounce a video with audio.

    Hi I've just finished a college project, where I had to do a soundtrack for film. The problem is that I cannot find an option to export the project as a move file. I went through bunch of different forums and everyone says 'go to - Options/Movie/Expo

  • Indesign to PDF switch sizes, why?

    I'm using Indesign CS2 and trying to make a book to Blurb PDF. I've downloaded their templates for Indesign. Selected the 221-296 standard-portrait template which size is to be and remain 1278x774 pts. I click file>adobe preset>Blurb x3-2002>marks, a