Entity Instances created from backend inaccessible during interview session

Hi,
Is it possible to access entity instances which are created from back end, during an interview session?
I am creating the entity instances and setting some of its attributes from the back end. But when I try to access these instances on screen to set the rest of its attributes, I get the following error -
com.oracle.determinations.interview.engine.exceptions.InterviewEngineException: Entity Instance does not exist in model

Yes it is possible to access the entity instances held in the session. However, in an interview session you should never change the state of the session directly, but rather use the setData methods provided by the Interview API or write a data adaptor plugin. The error message you are receiving is cause by the reason it states, namely the entity instance you're asking for does not exist in the session. If you are adding entity instances by modifying the session directly rather than using the Interview API, it's likely that those entities their associated attributes are being lost and hence the error.
If you can provide more details on what it is that you are trying to do I can help point you in the right direction.
Thanks,
Kristy

Similar Messages

  • LVOOP Parent private data returned when child instance created from constant

    I have created one Parent class, and one Child class.  For each of these classes, I have created a member VI that is a constructor, whose purpose will be to initialize some constants for each class, and return the class instance.  I also have a member accessor VI for each class that returns the private data of the class (in this case a single string for each class).
    The Parent class's private data "String" is set to"Parent text" as the default value.
    The Child class's private data "Child String" is set to"Child Text" as the default value.
    The Parent class constructor works just fine.  For testing purposes, I return the text from directly unbundling in the constructor VI, and as returned from the accessor VI. The Parent constructor starts from a class constant.
    However, in the case of the Child class constructor, if I start from a class constant, directly unbundling the private data (using an Unbundle By Name function, and choosing "Child String" as the element), I get the Parent's private data!
    If I use the Child class's member VI to retrieve the text, I get the Child's private data.
    If I change the constructor to start from a class Control instead of a class Constant, I get the Child's private data.
    This only occurs  before the Child class has existed as a
    Control/Indicator. i.e. If I unbundle the private data after the class 
    is returned by any member VI, I get the correct Child private data.  So obviously something changes once the class "data" has been a control at some point.
    I am using Labview 8.6.1, Windows XP
    I have attached a small project that illustrates the problem I am encountering, without actually doing any initialization, just reading.
    Is this the intended behaviour?  Why does it matter if I start with a class constant instead of a class control?  When you drag from the Project window to the Block diagram, you always get a constant.
    Solved!
    Go to Solution.
    Attachments:
    ParentChildClass.zip ‏54 KB

    Although I was able to replicate your issue in LabVIEW 8.6.1, it appeared to run correctly in 2009.  I could not find a CAR ID but at this point can only assume that the behavior was not intended but is fixed in 2009.
    Let me know if you need me to find any further details.
    Alex Person
    NI-RIO Product Support Engineer
    National Instruments

  • SC created from PR not visible in portal although visible in backend SRM

    Please can some one check and guide me why I am unable to see the SC created from PR in SRM portal .
    I can see the SC exists in BBP_PD however when I check in portal It does not give me any result ..
    We are using the system for the first time to enable PDP scenario ..  and we are currently on SAPK-70205INSRMSRV
    Please confirm if there are settings needed at portal end to reflect the SC created from backend ?
    I get the error as below as soon as I login ..
    When I now enter the SC number in the Number of requisition field it does not yield any result:
    Although the SC exists in the backend  in approved status ...

    Issue resolved : I basically checked there were some missing roles issue as the user is only able to see his own PR and not all PR .
    Not sure which role is missing so I have sent to the Basis team to check further ,
    Closing this post .
    Thanks for the help .

  • Return value of inferred entity instance from relationship in SOAP Determinations

    Hey,
    I had an original thread open which indicates the problem I was trying to solve (Multiple Conclusion based on input values ). My rule base now behaves as expected and I can test it in the debugger as expected, only now I can't get the actual identifying values back I want using the determinations web service.
    I get a whole bunch of inferred entity instances back from an inferred relationship the same as the situation/screen shot at the bottom of the "Investigate an inferred relationship" page on the Oracle Policy Automation Cloud Service User Guide, but in my SOAP response I only get the instances with hashed IDs. I want the actual identifying value of the entity.
    e.g. Currently get this:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/11.0/rulebase/assess/types">
       <SOAP-ENV:Header>
          <i18n:international>
             <i18n:locale>en_GB</i18n:locale>
             <i18n:tz>GMT-0500</i18n:tz>
          </i18n:international>
       </SOAP-ENV:Header>
       <SOAP-ENV:Body>
          <typ:assess-response>
             <typ:global-instance>
                <typ:attribute id="course_code" type="text">
                   <typ:text-val>AHPY</typ:text-val>
                </typ:attribute>
                <typ:entity id="the_supplementary_documents" inferred="true">
                   <typ:instance id="0x608c2dc220e15d8c"></typ:instance>
                   <typ:instance id="0x5b7e2d02e8780325"></typ:instance>
                </typ:entity>
                <typ:entity id="the_informational_documents" inferred="true">
                   <typ:instance id="0x19387621439a43c7"></typ:instance>
                </typ:entity>
             </typ:global-instance>
          </typ:assess-response>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    But I want something like below and I'm having a lot of trouble figuring out how to actually do this. Also is there anywhere that defines the meaning of errors you get from OPA? I have tried to modify my rulebase and I got a few OPA-EXXXXX errors but apart from the description you get in OPM, I can't find anywhere that gives more detail on these and explains what they mean/how to fix it.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/11.0/rulebase/assess/types">
       <SOAP-ENV:Header>
          <i18n:international>
             <i18n:locale>en_GB</i18n:locale>
             <i18n:tz>GMT-0500</i18n:tz>
          </i18n:international>
       </SOAP-ENV:Header>
       <SOAP-ENV:Body>
          <typ:assess-response>
             <typ:global-instance>
                <typ:attribute id="course_code" type="text">
                   <typ:text-val>AHPY</typ:text-val>
                </typ:attribute>
                <typ:entity id="the_supplementary_documents" inferred="true">
                   <typ:instance id="http://mydomain.com/mydocument.pdf">
                   </typ:instance>
                   <typ:instance id="http://mydomain.com/mydocument.pdf"></typ:instance>
                </typ:entity>
                <typ:entity id="the_informational_documents" inferred="true">
                   <typ:instance id="http://mydomain.com/mydocument.pdf"></typ:instance>
                </typ:entity>
             </typ:global-instance>
          </typ:assess-response>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    I managed to get this working by referring to this thread: Inferred Entity Instances IDs in output response
    I had tried something similar but not quite the same. In the end my request looked something like this:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://oracle.com/determinations/server/11.0/rulebase/assess/types">
       <soapenv:Header/>
       <soapenv:Body>
          <typ:assess-request>
             <typ:config>
               <typ:outcome>
              <typ:entity id="the_supplementary_documents">
                <typ:attribute-outcome id="supplementary_documents" outcome-style="value-only"/>
              </typ:entity>
              <typ:entity id="the_informational_documents">
                <typ:attribute-outcome id="informational_documents" outcome-style="value-only"/>
              </typ:entity>
           </typ:outcome>
             </typ:config>
             <typ:global-instance>
                <typ:attribute id="course_code">
                <typ:text-val>AHPY</typ:text-val>
       </typ:attribute>
              </typ:global-instance>
          </typ:assess-request>
       </soapenv:Body>
    </soapenv:Envelope>

  • Batch Processor, WIA and Inferred entity instances

    Hi All,
    I'm playing around with the new OPA 10.4. I bumped into an error in What-If-Analysis document when I tried to add a new worksheet for an inferred entity. Is this not possible in WIA? Does it mean it will not work as well with Batch Processor.
    Here's my data model:
    global
    --- the applicant
    --- --- the qualification
    --- --- --- the exempted course (inferred instances from 'the qualification' attributes)
    Thank you in advance!
    Regards,
    Jerome

    Brad Tuckett wrote:
    Jerome wrote:
    Is there a possible workaround right now in 10.4 to persist inferred instances in Batch Processor?The Batch Processor will not output any inferred instances in 10.4
    One more thing, I'm also using 10.2 and have implemented InferencingListener to create instances, would you happen to know if I will bump on the same issue with DSC?
    There probably isn't a way of having any entity instances created by an event listener appear in the Batch Processor output for database or CSV.
    However, you may be able to set the output to saved sessions. Although this isn't explicitly supported, I would expected that any instances you have created would show up in the exported sessions, which will be xml files in the xds format. This will create one session file for each case.
    You can set the output to be exported sessions by using "--export <dir>" in the command line or use the xml configuration for the Batch Processor.
    When 10.4.1 is released you should be able to switch to using inferred entities which will be compatible with the Batch Processor.

  • How many view object instances can create from Single Entity ?

    Hi All,
    JDev Ver : 11.1.1.5
    I want to How Many view objects can i create from the single entitiy ?
    Is there any limit ?
    Thanks,
    Gopinath

    No, there is no limit

  • No instances can be created from abstract classes

    Dear SAPGurus,
    I have developed a oData Service in my backend system & able to register the service in the gateway hub system. When i try to execute the metadata of the service from gateway system i am able to see the metadata with list of entity types availble in the data model.
    But when i try to execute with entity set i am getting the following error.
    "The class 'ZCL_ZGRC_DATA_MODEL_DPC' is abstract. No instances can be created from abstract classes."
    Where my data model provider class name is  'ZCL_ZGRC_DATA_MODEL_DPC'
    Kindly help me.
    Thanks & Regards,
    Rumeshbabu S

    Hello Rumesh,
    I do not think the error which u are getting is because of System Alias setting in SPRO.
    Its something else which is really strange.
    However the below is the setting to be maintained in GW SPRO system alias when u have a environment setup like u have now.
    I mean the way u have created service and registered -
    In ECC system u have created service using builder.
    In GW system u have registered it and trying to access now via an RFC destination.
    We have the same setup like u have now and we do not have any issues. We have also maintained the System Alias like i have shared in screen shot.
    Check your System Alias config once in SPRO. But i dont think this is causing problem in your case. Still check once.
    As per my understanding, from GW its trying to hit the DPC class and hence i feel system alias setting is correct in your case.
    Problem is something else which is really strange.
    Check error logs and see if it can. Share the error log please.
    Regards,
    Ashwin

  • How to create AP payment terms and withholding tax from backend ?

    Hi All,
    I have a requirement to create the AP Payment terms and withholding tax from backend as the data is going to be uploaded into 15 different instances therefore for the convenience i am looking for any API or Interface to create these from backend.
    Thanks & Regards,
    Mayur

    Hi Gurus,
    Please give me some information on this.
    Thanks,
    Mayur

  • Creating New Entity Instances within OPA

    This is another one that I think I know the answer to, but I think it is best to confirm.
    In prior versions, it was not possible to create entity instances within RuleBurst/Haley Office Rules. Is that still the case in OPA?
    For example, my rules are determining the status of a case and the reason(s) why that status was determined. The case status may be Denied and the reasons may be "invalid customer Id", "expenses to income ratio too high", "primary customer not employed long enough", etc. I want to return all the reasons for the status. While the list of reasons is pre-determined, the ones that apply to a particular case are dynamic, as any, but not all can apply.
    Given this situation using a database, I would create an instance of reason for each applicable one and link it to the case. In the past, with OPA's predecessor(s), it was not possible to create new instances from within. They either had to all be passed into the rulebase or a list of all allowable reasons attributes had to be created and then set to true for the ones that applied.
    My preference is to create the instances inside OPA. Is that functionality provided in the current version?
    Thanks,
    Terry

    Hi Terry,
    Michael is correct that you can't write rules at design time which will dynamically create new entity instances at runtime. However, perhaps the new inferred relationships functionality in v10 could address what you're trying to do.
    You can write rules which conclude membership of an inferred relationship. So you might always have, say, 10 instances of 'the reason' in every case, but as for which of those instances apply in any particular case, it depends on the details of the case. You could use an inferred relationship to collect up the entity instances which apply in the case.
    First you'd need to set up a regular one-to-many relationship to instantiate the 10 instances at runtime - this would be done in the usual way. Then you'd also need to set up an inferred relationship and write rules to conclude the members of the inferred relationship. The instances which are members of the inferred relationship are then effectively the list of entity instances you wanted to create in your example above.
    Have a look at this OPM Help article: http://www.oracle.com/technology/products/applications/policy-automation/help/opm10_1/Content/Rules%20using%20entity%20instances/Reason_about_relship_between_2_entities.htm
    Cheers,
    Jasmine

  • Creating infered entity instances

    How can I create infered entity instances..in opa 10.4.
    When I am trying to write rule using the "exists" keyword.. its not compiling as "Infered
    Instance" but it compiles as normal conclusion.
    and how can I create inferred instances conditionally..

    Sorry for the long delay in replying Rajan, I missed your request to elaborate.
    To be specific:
    When an entity instance is inferred that means that every attribute in it must also be inferred. The rule engine cannot cope with logic like: "this entity might or might not exist, but if it does, we need to ask for more information about it"
    There are a few ways to deal with setting information in an inferred entity:
    - most obviously infer any values from other entiy attributes in the session.
    - set attribute values on related, non-inferred entities and then use rules infer those attributes on the inferred entity.
    Its worth having a think about what the inferred entity instances means. If you want to use the rules as a convenient way to create an entity instance and you still need to set non-inferred attributes, then you are better off using an inferencing listener to create the instances.
    If the instances are truly derivable from rules, then any attribute values of those instances are probably also derivable.
    Cheers
    Frank

  • Is there a way to create Timecard Templates from backend?

    Hello Folks
    Is there a way to create Timecard Templates from backend? I tried to create one with the following steps, but did not work. Throws a HXC_HXT_DEP_VAL_ORAERR
    The Oracle error is: &ERROR
    1. Create TIMECARD_TEMPLATE scope BB using hxc_timestore_deposit.create_bb
    2. Create Template_Name Attribute on the above BB
    3. Create DAY BB
    4. Create DETAIL BB for DAY BB
    5. Create Attribute BB for Hours Worked element on the DETAIL BB above
    6. Call hxc_timestore_deposit.execute_deposit_process(p_validate => FALSE
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_messages => l_tbl_messages
    ,p_mode => 'SAVE'
    ,p_deposit_process => l_deposit_process
    --p_retrieval_process   => 'BEE Retrieval Process'
    , p_template => hxc_timecard.c_yes
    ,p_timecard_id => l_new_timecard_id
    ,p_timecard_ovn => l_new_timecard_ovn
    Any help would be greatly appreciated.
    Thanks
    Srinivasa

    Tim
    Application Release is 12.0.4, those notes do not help. Here is the complete script.
    declare
    l_tbl_timecard_info hxc_self_service_time_deposit.timecard_info;
    l_tbl_attributes_info hxc_self_service_time_deposit.app_attributes_info;
    l_tbl_messages hxc_self_service_time_deposit.message_table;
    --l_token_table                  hxc_deposit_wrapper_utilities.t_simple_table;
    l_blocks hxc_self_service_time_deposit.timecard_info;
    l_attributes hxc_self_service_time_deposit.app_attributes_info;
    l_tc_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_day_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_detail_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_existing_tc_id hxc_timecard_summary.timecard_id%TYPE:= NULL;
    l_deposit_process hxc_deposit_processes.NAME%TYPE:= 'OTL Deposit Process';
    l_count_building_block PLS_INTEGER;
    i PLS_INTEGER;
    l_message fnd_new_messages.message_text%TYPE;
    l_approval_style_id NUMBER;
    l_new_timecard_id NUMBER;
    l_tc_days_counter NUMBER;
    l_new_timecard_ovn NUMBER;
    l_resp_id NUMBER := 50597; -- Responsibility US Employee Services
    l_application_id NUMBER := 809; -- Application HXC
    l_user_id NUMBER := 118189; -- FLORESR
    begin
    -- 1. Set Apps Context
    fnd_global.apps_initialize (l_user_id, l_resp_id, l_application_id);
    -- 2. Get Approval Style ID
    l_approval_style_id := TO_NUMBER(hxc_preference_evaluation.resource_preferences(411669,'TS_PER_APPROVAL_STYLE',1,SYSDATE));
    dbms_output.put_line('l_approval_style_id = '||l_approval_style_id);
    -- 3. Create TIMECARD_TEMPLATE BB similar to the logic in hxc_timestore_deposit.create_timecard_bb passing the scope as TIMECARD_TEMPLATE instead of TIMECARD
    -- We are starting with a new timecard so clear the global tables
    -- hxc_self_service_time_deposit.initialize_globals;
    -- Also clear the local PL/SQL table
    -- hxc_timestore_deposit_util.clear_building_block_table(p_app_blocks => l_tbl_timecard_info);
    l_count_building_block := l_tbl_timecard_info.LAST;
    -- PROCEDURE clear_building_block_table (
    -- p_app_blocks IN OUT NOCOPY hxc_block_table_type
    -- 'generate' a TBB ID
    IF (l_count_building_block IS NULL)
    THEN
    l_tc_bb_id := -2;
    -- never start at -1 because that has a special meaning in the deposit
    ELSE
    l_tc_bb_id := - (l_count_building_block) - 2;
    END IF;
    dbms_output.put_line('Creating Timecard');
    hxc_timestore_deposit.create_timecard_bb (p_start_time => fnd_date.canonical_to_date ('2011/09/26 00:00:00')
    ,p_stop_time => fnd_date.canonical_to_date ('2011/10/09 23:59:59')
    ,p_resource_id => 411669
    ,p_resource_type => hxc_timecard.c_person_resource
    ,p_approval_style_id => l_approval_style_id
    ,p_comment_text => 'Come on start working'
    ,p_app_blocks => l_tbl_timecard_info
    ,p_time_building_block_id => l_tc_bb_id
    hxc_timestore_deposit.create_bb (p_time_building_block_id => l_tc_bb_id
    ,p_type => hxc_timecard.c_range_type
    -- p_measure => DEFAULTS TO NULL
    ,p_unit_of_measure => NULL
    ,p_start_time => fnd_date.canonical_to_date ('2011/09/12 00:00:00')
    ,p_stop_time => fnd_date.canonical_to_date ('2011/09/25 23:59:59')
    ,p_parent_building_block_id => NULL
    -- Timecard Template does not have a parent -- May need to check on this parameter
    ,p_parent_is_new => NULL
    ,p_scope => hxc_timecard.c_template_scope -- Template Scope
    -- p_object_version_number => DEFAULTS TO 1
    -- p_approval_status=> p_approval_status
    ,p_resource_id => 411669
    ,p_resource_type => 'PERSON'
    ,p_approval_style_id => l_approval_style_id
    -- p_date_from => DEFAULTS TO SYSDATE
    -- p_date_to => DEFAULTS TO hr_general.end_of_time
    ,p_comment_text => 'Template Trials'
    -- p_parent_building_block_ovn => DEFAULTS TO NULL
    -- new => DEFAULTS TO 'Y'
    -- changed => DEFAULTS TO 'N'
    ,p_app_blocks => l_tbl_timecard_info
    dbms_output.put_line('After creating Timecard l_tc_bb_id = '||l_tc_bb_id);
    -- 4. Create PRIVATE TEMPLATES Attribute Category and Template Name passed from UI
    dbms_output.put_line('Creating Template_Name Attribute');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_tc_bb_id
    ,p_attribute_name => 'Template_Name'
    ,p_attribute_value => 'Trial Template from Code'
    ,p_deposit_process => l_deposit_process
    ,p_app_attributes => l_tbl_attributes_info
    dbms_output.put_line('Creating Template_Type Attribute');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_tc_bb_id
    ,p_attribute_name => 'Template_Type'
    ,p_attribute_value => 'PRIVATE'
    ,p_deposit_process => l_deposit_process
    ,p_app_attributes => l_tbl_attributes_info
    -- Below will be in a loop later
    -- 5. Create the DAY BB
    dbms_output.put_line('Creating DAY BB');
    hxc_timestore_deposit.create_day_bb(p_day => fnd_date.canonical_to_date('2011/09/26')
    ,p_parent_building_block_id => l_tc_bb_id -- returned by create_timecard_bb
    ,p_app_blocks => l_tbl_timecard_info
    ,p_time_building_block_id => l_day_bb_id
    dbms_output.put_line('After Creating DAY BB l_day_bb_id = '||l_day_bb_id);
    -- 6. Create DETAIL BB for first shift, lunch and second shift
    dbms_output.put_line('Create DETAIL BB for first shift, lunch and second shift');
    hxc_timestore_deposit.create_detail_bb(p_type => 'RANGE'
    -- ,p_measure => NULL -- Pass Null as its a template
    ,p_start_time => to_date('2011/09/26 06:00:00','YYYY/MM/DD HH24:MI:SS')
    ,p_stop_time => to_date('2011/09/26 11:00:00','YYYY/MM/DD HH24:MI:SS')
    ,p_parent_building_block_id => l_day_bb_id
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_time_building_block_id => l_detail_bb_id
    dbms_output.put_line('After Creating DETAIL BB l_detail_bb_id = '||l_detail_bb_id);
    dbms_output.put_line('Creating Attribute 64869');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_id
    ,p_attribute_name => 'Dummy Element Context'
    ,p_attribute_value => 'ELEMENT - '||'64869' -- 01 Hours Worked
    ,p_app_attributes => l_tbl_attributes_info
    dbms_output.put_line('Creating Detail BB');
    hxc_timestore_deposit.create_detail_bb(p_type => 'RANGE'
    -- ,p_measure => NULL -- Pass Null as its a template
    ,p_start_time => to_date('2011/09/26 11:00:00','YYYY/MM/DD HH24:MI:SS')
    ,p_stop_time => to_date('2011/09/26 11:30:00','YYYY/MM/DD HH24:MI:SS')
    ,p_parent_building_block_id => l_day_bb_id
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_time_building_block_id => l_detail_bb_id
    dbms_output.put_line('After Creating DETAIL BB l_detail_bb_id = '||l_detail_bb_id);
    dbms_output.put_line('Creating Attribute 65172');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_id
    ,p_attribute_name => 'Dummy Element Context'
    ,p_attribute_value => 'ELEMENT - '||'65172' -- 02 Unpaid Lunch
    ,p_app_attributes => l_tbl_attributes_info
    dbms_output.put_line('Creating Detail BB');
    hxc_timestore_deposit.create_detail_bb(p_type => 'RANGE'
    -- ,p_measure => NULL -- Pass Null as its a template
    ,p_start_time => to_date('2011/09/26 11:30:00','YYYY/MM/DD HH24:MI:SS')
    ,p_stop_time => to_date('2011/09/26 14:30:00','YYYY/MM/DD HH24:MI:SS')
    ,p_parent_building_block_id => l_day_bb_id
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_time_building_block_id => l_detail_bb_id
    dbms_output.put_line('After Creating DETAIL BB l_detail_bb_id = '||l_detail_bb_id);
    dbms_output.put_line('Creating Attribute 64869');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_id
    ,p_attribute_name => 'Dummy Element Context'
    ,p_attribute_value => 'ELEMENT - '||'64869' -- 01 Hours Worked
    ,p_app_attributes => l_tbl_attributes_info
    -- 7. Deposit the Template
    dbms_output.put_line('Deposit the Template ');
    hxc_timestore_deposit.execute_deposit_process(p_validate => FALSE
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_messages => l_tbl_messages
    ,p_mode => 'SAVE'
    ,p_deposit_process => l_deposit_process
    -- ,p_retrieval_process => 'BEE Retrieval Process'
    , p_template => 'Y'
    ,p_timecard_id => l_new_timecard_id
    ,p_timecard_ovn => l_new_timecard_ovn
    COMMIT;
    dbms_output.put_line('l_new_timecard_id = '||l_new_timecard_id);
    IF (l_tbl_messages.COUNT <> 0) THEN
    i := l_tbl_messages.FIRST;
    LOOP
    EXIT WHEN (NOT l_tbl_messages.EXISTS (i));
    l_message := fnd_message.get_string (appin => l_tbl_messages (i).application_short_name,
    namein => l_tbl_messages (i).message_name);
    DBMS_OUTPUT.put_line (l_tbl_messages (i).message_name);
    DBMS_OUTPUT.put_line (l_message);
    i := l_tbl_messages.NEXT (i);
    END LOOP;
    END IF;
    end;

  • JBO-25017:Error occurred while creating a new entity instance (URGENT)

    Hello, can anybody help me?
    We have a project that uses BC4J business components and UIX-based web tier. The entity object that causes this problem is based on Oracle table with 'ID' key field, the value is generated by means of 'before_ins' trigger that inserts appropriate sequence's next value.
    In the java EntityImpl-based class we redefine protected 'create' method of the base class:
    protected void create(AttributeList attributeList)
    super.create(attributeList);
    SequenceImpl idSeq = new SequenceImpl("SEQ_CATPARAMETERS", getDBTransaction());
    setId( idSeq.getSequenceNumber() );
    The fault is in the third line - setId(...) causes the exception.
    The only description of JBO-25017 I found is
    http://www.ffpmp.ru/doc/rt/oracle/jbo/CSMessageBundle.html#EXC_ENTITY_ROW_CREATE, this one don't throw any light on the problem.
    Oracle server version - 9.2.0.1
    Oracle JDeveloper version - 9.0.3.10.35,
    BC4J version - 9.0.3.10.7
    Any ideas?

    Roman,
    It looks like you're trying to assign the Id in two places.
    EITHER:
    Override the create method to assign an Id when a new entity instance is created....
    OR:
    Define a database trigger to insert the Id (and set the "refresh after insert" attribute to true).
    [Maybe the error is thrown because you're attempting to set a field which is set to refresh?]
    Does that make any sense?
    Mike

  • Is there any API or standard process to create structure from backend

    Hi,
    Is there any standard process to create structure from backend.I want to create 300 options for a option feature from backend.
    Please let me know the API through which it can be done.
    Best Regards,
    AJ

    AJ --
    Configurator provides a "Custom Import" capability to automatically create structure. It is documented in Chapter 5 ("Populating the CZ Schema") of the Oracle Configurator Implementation Guide.
    However, setting up a custom import may actually take you more time than just creating the Options manually in Configurator Developer. If the Options need to be duplicated across several Models, it may be advantageous to build them as Items in the Configurator Developer Item Master instead, and then use Populators to automatically create corresponding Options within your Option Feature(s).
    Eogan

  • NW 7.3 and roles from backend instances

    Hi
    I'm trying to find out more information about roles from backend instances in NW 7.3.  In particular how the roles are synchronised with changes that may occur to the roles in the backend (ie role changes or users allocated to the role).
    I haven't been able to find this kind of details in SAP Help or SMP.
    Thanks
    Doug

    Hi,
    I did face the same problem when i first configured AS JAVA system and really struggle and grease my elbow to get it working.
    I would advise your to upgrade to latest SP level, SP03 and also the CIM and CR Content for SLD to eliminate all possible bugs.
    However you can try as below:
    1) go to SMSY -> search for the SID instance
    2) Highlight the SID and click "Change"
    3) Technical system editor will prompt out, and you'll see no Product Version and Product System assigned.
    4) Next, navigate to software component and click on "Software Component Versions" and assigned the correct product instance by click the fitting SC proposal. SAVE and leave the page.
    5) Now, go to SOLMAN TX: LVSM and webdynpro will display
    6) Ensure the Landscape verification job is full sync and completed. Else, you can trigger using LVSM_LOAD.
    7) Go to tab "Errors Warnings" and look for the SID, and you'll see that product instance SID is not assign to a product system.
    8) on the same page, click "Add product system" and select the correct product and product version. For eg: Your product is Netweaver EHP2 you should first assign product as SAP Netweaver, and Version is EHP1.
    9) Select the correct SID and correct Product Instance on the next screen, click Finish and SAVE once done. Remember, you can only select ONE PRODUCT INSTANCE HERE!!
    10) Now, go back to Technical System Editor and change the entry for the particular SID.
    11) Here, you can see the Product Versions and Product System is filled on the main object. Check all your entry and save is everything is correct.
    12) Go back to SMSY, and you should able to see the SID is populated under the correct Product and Product Version.
    13) Now in SMSY, you should able to change the data for Product System such as assign Installation no, read system number, sync with SAP and etc.
    Hope it helps,
    Cheers,
    Nicholas Chang

  • Create EBS user exactly as an existing user from backend

    Hi All,
    I want to create a new EBS user which is exactly as an existing EBS user from backend ( such as responsibilities, end_date,start_date etc)
    EBS 12.0.6
    Database 11.2.0.2.0 .
    Thanks in advance,
    PP

    FNDLOAD (download the user data you want to clone, edit the ldt file with the new user info/details and upload it again using FNDLOAD) -- https://forums.oracle.com/forums/search.jspa?threadID=&q=FNDLOAD+AND+User&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    HusseinShall i have to create a user first then run then run FNDLOAD
    I found this command from a site (http://oracle.anilpassi.com/oracle-fndload-script-examples.html)
    FNDLOAD apps/**** 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct ~/XX_FND_USER_SRINI.ldt FND_USER USER_NAME='SRINI'
    Now I have changed the info in the ldt file according to my user id.
    What i command i should write now ?
    Thanks in advance.
    PP

Maybe you are looking for