Flex fields question

Hi,
I'm trying to use flex fields in Worklist оn SOA Suite 11.1.1.4 but I cant see protected flex fields on Administration tab under weblogic, only public.
Is it some new bug on 11.1.1.4 on new "feature"?
How can i can enable protected flex fields? Is it posible?

It seems I found solution.
After extending weblogic domain with Oracle BPM Suite protected flex fields appers and become usable.

Similar Messages

  • Flex Fields Mapping in HR - BI Apps (hr_file_flex_kff_dff_user_config_map)

    Please refer to the below post for Flex Field Mappings in HR using the file hr_file_flex_kff_dff_user_config_map.csv
    http://download.oracle.com/docs/cd/E20490_01/bia.7963/e19039/anyimp_configworkforce.htm#CIADDICF
    I follow the example of W_JOB_D:
    Job Dimension:
    JOB_CODE
    JOB_NAME
    JOB_FAMILY I think this is typo as the OBAW field is JOB_FAMILY_CODE and not JOB_FAMILY
    Anyways, I need to map other flex fields from EBS, is there any other document that explains it further than in the url I have posted.
    If any of you have carried out this flex mapping for HR analytics using EBS R12, please let me know.

    good question...I have no idea...i looked into this briefly and I am wondering if it has anything to do with the following flexfield limitation..I dont think this is the reason but thought I would mention it. If you find out why this limitation is there, let me know..I would be interested. Also..CHAR datatype has a limitation of 2000 but that doesnt seem to be the problem. I think its a EBS side limitation..not a BI side one.
    Here is the exerpt on hidden flexfields and the link for flexfields:
    "Normally, Oracle Application Object Library can create new code combinations (dynamic insertion) from your form with a foreign key reference using only the concatenated segment values field. However, if you expect the concatenated length of your flexfield to be defined to be larger than 2000 (the sum of the defined segments' value set maximum sizes plus segment separators), then you should create these non-database fields to support the dynamic creation of new combinations from your form.
    *If you do not have these fields and your users define a long flexfield (> 2000 characters), your users can experience truncation of key flexfield data when trying to create new combinations*."
    URL: http://download.oracle.com/docs/cd/E18727_01/doc.121/e12897/T302934T457085.htm

  • How can I pass Flex Field value to the Call Wrap Up screen?

    Hello helpers,
    I am trying to get a value from the 'Flex Field' passed over to the 'Call Wrap Up' screen by using Form Personalization.
    Oracle was configured by a subcontractor and therefore I do not know what the exact name of the textfield is in the Flex Field however the label is 'Method of Contact'. When i set 'Show Custom Events' to 'On', I get the response: 'CSXXXRC.INCIDENT_TRACKING.STATUS_CODE:WHEN-NEW-ITEM-INSTANCE' When i enter a value in the Method of Contact field in the Flex Field.
    Can anyone help?
    I am a complete Newbie to Oracle.... I only know a bit about Oracle Form Personalization.
    Any help would be much appreciated,
    S

    Seems like you're talking about a from from the eBusiness-suite. There are special rules for that, ask your question in the eBusiness-suite-forum OA Framework

  • Using Flex Fields in BPM worklist

    Hi,
    Am trying to use flexfileds in BPM worklist so that I can have additional attributes from the payload associated from the humantask type , in the task header that appears in home page.
    Am able to create new label and then tried following steps :-
    1. Clicked Edit mappings by task type and selected my task type whose payload attributes are required to be mapped with the flex fields.
    2. The value "default/sampleta!1.0*soa_b4396581-d005-4374-be29-5cd725c3e134/Humantask" gets populated in the fields "Edit mappings by task type".
    3. However , it shows the message "There are no simple Payload Attributes associated with this TaskType".
    I thought that I need to make use of Mapped Attributes section in the Data tab found in humanworkflow task . However when I tried adding attribute there it showed me following error message :-
    Error in workflow service Web service operation invocation.
    Error in workflow service Web service operation invocation. The error is ORA-30501:Error in authenticating user.
    Error in authenticating and creating a workflow context for user jazn.com/dev_soa_admin.
    Verify that the user credentials and identity service configurations are correct.
    Verify that the SOAP connection information for the server is correct.
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.convertSOAPFaultException(TaskQueryServiceSOAPClient.java:242)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.invoke(TaskQueryServiceSOAPClient.java:203)
         at oracle.bpel.services.workflow.query.client.TaskQueryServiceSOAPClient.authenticate(TaskQueryServiceSOAPClient.java:253)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:167)
         at oracle.bpel.services.workflow.query.client.AbstractDOMTaskQueryServiceClient.authenticate(AbstractDOMTaskQueryServiceClient.java:185)
         at oracle.tip.tools.ide.pm.modules.humanworkflow.task.taskflow.wizard.lookup.LookupUtil.listAttributeLabels(LookupUtil.java:436)
         at oracle.tip.tools.ide.pm.modules.humanworkflow.task.taskflow.wizard.lookup.LookupUtil.listProtectedAttributeLabels(LookupUtil.java:406)
         at oracle.tip.tools.ide.pm.modules.humanworkflow.task.taskflow.wizard.lookup.LookupDataProviderImpl.handleFlex(LookupDataProviderImpl.java:105)
         at oracle.tip.tools.ide.pm.modules.humanworkflow.task.taskflow.wizard.lookup.LookupDataProviderImpl.getResult(LookupDataProviderImpl.java:38)
         at oracle.tip.tools.ide.workflow.api.FlexFieldDetailsPanel.initializeAttributeCombo(FlexFieldDetailsPanel.java:175)
         at oracle.tip.tools.ide.workflow.api.ConnectionComponent._applicationServerChanged(ConnectionComponent.java:350)
         at oracle.tip.tools.ide.workflow.api.ConnectionComponent.access$1000(ConnectionComponent.java:60)
         at oracle.tip.tools.ide.workflow.api.ConnectionComponent$1.run(ConnectionComponent.java:361)
         at java.lang.Thread.run(Thread.java:619)
    ORABPEL-30044
    I have couple of questions :-
    1. For the payload attribute to appear in the BPM worklist sreen while mapping for the flex field , I understand that it should be of simple type . My payload looks like this :-
    <ns:employees>
    <ns:employee>
    <ns:name>John</ns:name>
    <ns:age>37</ns:initiator>
    <ns:salary>20000</ns:salary>
    </ns:employee>
    </ns:employees>
    I expected name , age , salary to appear in BPM worklist for mapping after I select task type against "Edit mappings by task type" while doing flex field mapping however it is showing me : There are no simple Payload Attributes associated with this TaskType
    2. Please advise if I need to anything extra like adding mapped attributes (in Data section of Humantask) or Collections in Task parameter window .
    Can anyone please help me on this .
    Thanks in advance !

    Are you sure the xml is correct here:
    <ns:employee>
    <ns:name>John</ns:name>
    <ns:age>37</ns:initiator>
    <ns:salary>20000</ns:salary>
    </ns:employee>
    It should be <ns:age>37</ns:age>, I believe.
    I have a xsd definition like this:
    <element name="loanApplication">
    <complexType>
    <sequence>
         <element name="SSN" type="string"/>
         <element name="email" type="string"/>
         <element name="customerName" type="string"/>
         <element name="customerAge" type="int"/>
         <element name="customerAnnualIncome" type="double"/>
         <element name="city" type="string"/>
         <element name="state" type="string"/>
         <element name="country" type="string"/>
         <element name="loanAmount" type="double"/>
         <element name="carMake" type="string"/>
         <element name="carModel" type="string"/>
         <element name="carYear" type="string"/>
         <element name="creditRating" type="int"/>
         <element name="creditRisk" type="string"/>
         <element name="creditMaxAmount" type="double"/>
    </sequence>
    </complexType>
    </element>
    And I am able to do the mapping without any issues.

  • Protected Flex field and Custom Views

    Hi,
    I have created some project variables in oracle bpm 11.1.1.6.0 project.After deployment, these variables are coming as Protected flex field but for some reason these are not visible when I define custom views.
    I also tried creating Protected flex field on BPm workspace, mapped these variables to human task payload, yet again when creating custom view i cannot see them.
    This problem is only happening with protected flex field and not public flex field.
    Please let me know how to add protected flex fields in custom view.
    Regards...

    why do you think it's an apps question?

  • Implementing Key Flex fields in Oracle apps custom form.

    Hi all,
    I have developed a custom form from scratch. Need to implement key flex fields in my form. Kindly help me and please share any document for Key flexfields implementing. Quick response will be highly appreciated. Thanks a in advance.
    Please mail to [email protected]
    Regards
    Aiyaz
    Please send me a complete document for implementing flex fields in a custom form. Screen shots in the docs will be very much help full.
    Regards
    Aiyaz
    Edited by: user6422762 on Jan 27, 2011 9:44 PM

    There are so many special cases and cases with Oracle Apps that you will need to ask this question in the dedicated Apps tech forum rather than here. Please post this question here: OA Framework

  • Flex fields

    Hi all,
    Could u please anyone help me that which module does not have key flex fields in Finance Modules in oracle apps.
    Thanks in advance.
    Narendra.

    Narendra, you can find data about flexfields yourself.
    Sysadmin > Application > Flexfields > Key > segments
    Query for the application you are interested in. It will show you the KFF for that application.
    As prety pointed out, the financial flexfields are listed under General Ledger.
    Hope this answers your question,
    Sandeep Gandhi

  • Issue with Supplier site descriptive flex field upgrade from 11i to R12

    We ran into some issue when upgrade Supplier site descriptive flex field from 11i to R12.
    In 11i. we defined descriptive field on JG_PO_VENDOR_SITES. in the segment definition, we defined one of the attributes default value based on Form Field Value, and the statement is like this:
    SELECT decode(:SITE.COUNTRY,'IT','AP ITALIAN TRANSACTIONS','AP AUTOFATTURA') FROM dual
    All above worked fine in 11i, whenever the flexfield field is open in forms, the default valuse shows based on the real-time value in :SITE.COUNTRY.
    In R12, Supplier site management is in HTML format. There is no forms, which means no form value. Do you have an alternative soluction for implement the same logic in R12?
    Thank you and regards,
    Kate
    Edited by: user12100435 on Feb 12, 2013 9:06 AM

    Kate,
    Have you logged a SR and see if Oracle support can help?
    Thanks,
    Hussein

  • Adding Flex-field to Custom View in the Worklist

    Hi,
    I am using OAS10133. I have mapped a SIMPLE_TYPE payload attribute to a flex field label in the worklist. I created a custom view. I want to display this playload attribute as a column in custom view and want to make it searcheable. But when I create the custom view, then at the time of selecting the columns, I do not find the name of this label listed in the dropdown.
    I have also made an entry in WorkFlowLabels.properties file.
    Can anyone please let me know if I need to follow any other step to display the flex field label as a column in custom view?
    Thanks in advance.
    -sam

    Hi Pete,
    There are two exits that were used.
    A user exit IMRC0001 (MeasPoint/MeasDoc: Exit before update (after COMMIT WORK) /  FM: EXIT_SAPLIMR0_001) for the transaction IK11 to enter the value for the custom field. When the measuring document is saved a pop up appears wherein the value for the custom field can be entered.
    A menu exit IMRC0003 (MeasDoc: Menu exit for customer-specific function / FM: EXIT_SAPLIMR0_003) for the transaction IK12 in order to change the custom field.

  • Error in compiling Flex fields

    Hi,
    I am facing flex field complilation errors.
    Deleting existing compiled flexfield information.
    Compiling all application flexfields.
    /backup/backups/db/SILP15/apps/apps_st/appl/fnd/12.0.0/bin/fdfcmp APPS/***** 0 Y
    An error occurred while compiling application flexfields.
    Continue as if it were successful [No] :
    Backing up restart files, if any......Done.
    You should check the file
    /backup/backups/db/SILP15/apps/apps_st/appl/admin/SILP15/log/adadmin.log
    for errors.
    [oracle@erpapps bin]$
    Application Id: 702
    Short Name: BOM
    Name: Bills of Material
    Flexfield Name: $SRS$.CSTJELINESRPT
    Title: $SRS$.CSTJELINESRPT
    Compilation aborted for current descriptive flexfield...
    APP-FND-00798: Invalid reference XLA_SRS_SUBLEDGERS in value set attached to segment Ledger/Ledger Set
    Please check the WHERE clauses of your table validated value sets.
    Continuing...
    Application Id: 7003
    Short Name: JG
    Name: Regional Localizations
    Flexfield Name: $SRS$.JGSLADJNL
    Title: $SRS$.JGSLADJNL
    Compilation aborted for current descriptive flexfield...
    APP-FND-00798: Invalid reference XLA_SRS_SUBLEDGERS in value set attached to segment Journal Entry Source
    Please check the WHERE clauses of your table validated value sets.
    Continuing...
    Application Id: 7003
    Short Name: JG
    Name: Regional Localizations
    Flexfield Name: $SRS$.JGSLAJNLLG
    Title: $SRS$.JGSLAJNLLG
    Compilation aborted for current descriptive flexfield...
    APP-FND-00798: Invalid reference XLA_SRS_SUBLEDGERS in value set attached to segment Journal Entry Source
    Please check the WHERE clauses of your table validated value sets.
    Continuing...
    Application Id: 7003
    Short Name: JG
    Name: Regional Localizations
    Flexfield Name: $SRS$.JGSLAJNLTP
    Title: $SRS$.JGSLAJNLTP
    Compilation aborted for current descriptive flexfield...
    APP-FND-00798: Invalid reference XLA_SRS_SUBLEDGERS in value set attached to segment Journal Entry Source
    Please check the WHERE clauses of your table validated value sets.
    Continuing...
    Application Id: 7003
    Short Name: JG
    Name: Regional Localizations
    Flexfield Name: $SRS$.JGSLASDJNL
    Title: $SRS$.JGSLASDJNL
    Compilation aborted for current descriptive flexfield...
    APP-FND-00798: Invalid reference XLA_SRS_SUBLEDGERS in value set attached to segment Journal Entry Source
    Please check the WHERE clauses of your table validated value sets.
    Continuing...
    Application Id: 7003
    Short Name: JG
    Name: Regional Localizations
    Flexfield Name: $SRS$.JGSLATPABL
    Title: $SRS$.JGSLATPABL
    Compilation aborted for current descriptive flexfield...
    APP-FND-00798: Invalid reference XLA_SRS_SUBLEDGERS in value set attached to segment Journal Entry Source
    Please check the WHERE clauses of your table validated value sets.
    Continuing...
    Application Id: 7003
    Short Name: JG
    Name: Regional Localizations
    Flexfield Name: $SRS$.JGSLATPDBL
    Title: $SRS$.JGSLATPDBL
    Compilation aborted for current descriptive flexfield...
    APP-FND-00798: Invalid reference XLA_SRS_SUBLEDGERS in value set attached to segment Journal Entry Source
    Please check the WHERE clauses of your table validated value sets.
    Continuing...
    Application Id: 7003
    Short Name: JG
    Name: Regional Localizations
    Flexfield Name: $SRS$.JGSLATPSBL
    Title: $SRS$.JGSLATPSBL
    Compilation aborted for current descriptive flexfield...
    APP-FND-00798: Invalid reference XLA_SRS_SUBLEDGERS in value set attached to segment Journal Entry Source
    Please check the WHERE clauses of your table validated value sets.
    Continuing...
    Flex compilation process complete ...
    =====================================
    Number of successful key flex compilations : 134
    Number of failed key flex compilations : 0
    Number of successful descriptive flex compilations : 8744
    Number of failed descriptive flex compilations : 8
    =====================================
    Tip: To find failed flexfield compilations, please search for following string in this log file:
    'Compilation aborted for current'
    Concurrent request completed
    Current system time is 04-MAR-2010 13:09:51
    thx
    Edited by: user12007410 on Mar 4, 2010 1:13 AM

    Hi Helios,
    We are using R12.0.6 and db is 10.2.0.3, Linux OS.
    I have checked this Doc ID, which contains following:(below is my checking please)
    Solution
    1. Follow the Note.877352.1 instructions carefully;
    2. Apply the patch 8626820:R12.JG.A;
    3. For packages OKL_... and ICX_ ... please now follow Note.754340.1;
    4. For the FV_... and FUN_.... please follow Note.758497.1;
    5. For the GR_MIGRATE_TO_12 now follow the Note.733646.1;
    (for note's step 5 about patch 6997324 open an SR with Support if you require a password)
    6. Finally, to drop the view called ICX_PO_VENDOR_SITES_V, just execute in a SQL*plus (user APPS) session: drop view ICX_PO_VENDOR_SITES_V;
    My Checking: (I have checked the file version mentioned in below patches also, having same versions of already applied patches)
    1: I have check the patch# 8348599 mentioned in 877352.1 not already applied, so should I apply it?
    2: I have check the patch# 8626820 mentioned in step#2 not already applied, so should I apply it?
    3: I have check the doc id 754340.1 which containg the following patches:
    - 7641584 -------> Already appled
    - 8201911 -------> Already Not appled ----------> Should apply this?
    - 7659470 -------> Already appled
    - 6708042 -------> Already appled
    - 7662017 -------> Already appled
    4: I have check the doc id 758497.1 which containg the following patches already appled:
    - 7376249 -------> Already appled
    - 7372270 -------> Already appled
    - 7372268 -------> Already appled
    5: I have check the patch# 6997324 mentioned in step#5 already applied.
    6: I have checked this view ( ICX_PO_VENDOR_SITES_V) is not exist. what should I do?
    Thanks,
    fazijee

  • Need help with adding a Key flex field to a seeded OAF page

    We have a seeded OAF page on which we already have Account Key Flex Field.
    Properties of this flex field are:
    The ApplShortName - SQLGL
    Name - GL#
    Type - Key
    As per the client requirement, in the KFF screen, we have disabled the seeded structure for Accounting Flexfield and created a custom structure.
    Our custom structure for the KFF is displayed correctly on the OAF page.
    But now the requirement is to add a new KFF on the OAF page which is duplicate of the existing KFF, along with the existing KFF field; the structure and segments are same. Only difference being the display name of the existing KFF field is Account; the new one needs to be Tax structure.
    Using personalization we added a new flex item and added the properties same as the existing KFF.
    ApplShortName - SQLGL
    Name - GL#
    Type - Key
    But the page is giving following error:
    The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
    We tried options like compiling the flexfield definition, but the error persists.
    Any help in this regard is highly appreciated.
    Regards,
    Kiranmayi.

    Hi,
    Please check whether your key flex structure is frozen or not. If now please freeze it and re compile and try.
    This may helps too
    error while developing KFF in oaf
    Thanks
    Bharat
    Edited by: Bharat on May 10, 2013 4:51 AM

  • Error While validation segments of Key flex fields in OAF Programmatically

    I have requirement to validation particular segments of Key Flex fields.
    I tried to handle it as below, But I am facing one issue and not able to fix. Please help me as soon as possible.
    public void processFormRequest( OAPageContext paramOAPageContex, OAWebBean paramOAWebBean)
              if(Function_name.equalsIgnoreCase("NWC_TICKET_REQ_HR_SIT_SS"))
              /* OAMessageTextInputBean TicketClass=(OAMessageTextInputBean)key.findChildRecursive("HrSitKeyFlex23");
               OAMessageTextInputBean CompanyShare=(OAMessageTextInputBean)key.findChildRecursive("HrSitKeyFlex16");
               OAMessageTextInputBean TSO=(OAMessageTextInputBean)key.findChildRecursive("HrSitKeyFlex14");
               OAMessageTextInputBean Flight_Reservation =(OAMessageTextInputBean)key.findChildRecursive("HrSitKeyFlex13");
            //   OAMessageDateFieldBean  Traveldate=(OAMessageDateFieldBean)key.findChildRecursive("HrSitKeyFlex11");
               paramOAPageContext.writeDiagnostics(this,"Flex Segment value is : "+TicketClass.toString()+":"+TicketClass.getAttributeMap() +" ,"+TicketClass.getValue(paramOAPageContext)+",",1);
               paramOAPageContext.writeDiagnostics(this,"Flex Segment value is : "+CompanyShare.toString()+":"+CompanyShare.getAttributeMap() +" ,"+CompanyShare.getValue(paramOAPageContext)+",",1);
               paramOAPageContext.writeDiagnostics(this,"Flex Segment value is : "+Flight_Reservation.toString()+":"+Flight_Reservation.getAttributeMap() +" ,"+Flight_Reservation.getValue(paramOAPageContext)+",",1);
               paramOAPageContext.writeDiagnostics(this,"Flex Segment value is : "+TSO.toString()+":"+TSO.getAttributeMap() +" ,"+TSO.getValue(paramOAPageContext)+",",1);
                 if(TicketClass.getValue(paramOAPageContext)!=null || CompanyShare.getValue(paramOAPageContext)!=null || TSO.getValue(paramOAPageContext)!=null)
                      throw new OAException("TravelServiceOrder , p_flight_no ,p_ticket_class,p_ticket_amount can not be left Blank. Please enter value");
    Now after first validation I could see the below error:
    Error
    Program error: Please inform your support representative that: FLEXFIELDS SERVER-SIDE VALIDATION package reports error: call_userval() exception: ORA-06508: PL/SQL: could not find program unit being called
    Please suggest me how can I avoid this. This is taking place only during validation. Its urgent for code fix.

    Hi Helios,
    We are using R12.0.6 and db is 10.2.0.3, Linux OS.
    I have checked this Doc ID, which contains following:(below is my checking please)
    Solution
    1. Follow the Note.877352.1 instructions carefully;
    2. Apply the patch 8626820:R12.JG.A;
    3. For packages OKL_... and ICX_ ... please now follow Note.754340.1;
    4. For the FV_... and FUN_.... please follow Note.758497.1;
    5. For the GR_MIGRATE_TO_12 now follow the Note.733646.1;
    (for note's step 5 about patch 6997324 open an SR with Support if you require a password)
    6. Finally, to drop the view called ICX_PO_VENDOR_SITES_V, just execute in a SQL*plus (user APPS) session: drop view ICX_PO_VENDOR_SITES_V;
    My Checking: (I have checked the file version mentioned in below patches also, having same versions of already applied patches)
    1: I have check the patch# 8348599 mentioned in 877352.1 not already applied, so should I apply it?
    2: I have check the patch# 8626820 mentioned in step#2 not already applied, so should I apply it?
    3: I have check the doc id 754340.1 which containg the following patches:
    - 7641584 -------> Already appled
    - 8201911 -------> Already Not appled ----------> Should apply this?
    - 7659470 -------> Already appled
    - 6708042 -------> Already appled
    - 7662017 -------> Already appled
    4: I have check the doc id 758497.1 which containg the following patches already appled:
    - 7376249 -------> Already appled
    - 7372270 -------> Already appled
    - 7372268 -------> Already appled
    5: I have check the patch# 6997324 mentioned in step#5 already applied.
    6: I have checked this view ( ICX_PO_VENDOR_SITES_V) is not exist. what should I do?
    Thanks,
    fazijee

  • How to update flex field data on a human task?

    After entering a human task and assigning the data how do you then update flex field data whilst the task is still assigned. I'm using the task services to communicate with the task and applying filters based on the flex field data.
    I want to update the data when actions take place on the task e.g. suspend, aquire, release.
    Any ideas?

    You can fetch the task , change the flex attribute value and update the task. Find below the steps we do for updating one of the TextAttribute
    Task completeTask =  // get the task using task query service
    completeTask.getSystemMessageAttributes().setTextAttribute2(updatedfolderName);
    completeTask = // update the task using "updateTask" method

  • New flex field in "Gender and Marital Status"

    Hi Experts,
    Please Let me Know whether we would be able to add New Flex Field in "Gender and Marital Status" in Manage Person Page,.
    Thanks&Regards
    Prasanna Kesavan

    It sounds like you are trying to add a new value of "Significant Other" to the Marital Status drop down.  If that is what you are trying to do, the list is controlled through the MAR_STATUS lookup.  That Lookup is extensible so you can add new values if you like.
    To update the Lookup, navigate to Setup and Maintenance and query the Manage Common Lookups task.
    Then query the Lookup Type = MAR_STATUS
    From there you will be able to see all of the values available for different countries.
    If the options are greyed out, then you will not be able to alter them because they are delivered with the product.
    However, you have the option to add new values of your own here.
    If you only want to see the value for particular countries, you can add a value in the "Tag" column with the Country Code where the value should be visible (i.e. if the code is only applicable in the US then you would add "+US" in the tags, if the code is applicable everywhere except the US then you could add the tag "-US").
    Hope that is helpful,
    Karla

  • Unable to place a value in Flex Field in OAF page

    Hi all,
    I am unable to place this flex value in the flex field, but i can do this same thing in a normal "Text Field" am able to reterive that number and place in that text field .
    Problem is placing the same in Flex field , please suggest me how to do this .
    I have one Function Standard one that i am calling here and making use of that i can call that function and am able to get that value and place in a "Text Field" but the same thing i couldn't place in the "Flex Field" how to do this any idea am thank full to them. Its a very urgent issue i have to solve this.
    MY Controller Code:
    OAKeyFlexBean revenue = null;
    String s8 = pageContext.getParameter("Purpose");
    revenue = (OAKeyFlexBean)webBean.findIndexedChildRecursive("reveFF"); ------------------- this is the Flex Field where i have to place the output
    revenue.useCodeCombinationLOV(true);
    if(s8.equalsIgnoreCase("BILL_TO")) {
    try {
    Connection conn = pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
    String Query = "select SDS_CUST_BILL_INFO(:1,2) from dual";
    PreparedStatement stmt = conn.prepareStatement(Query);
    stmt.setInt(1, orgid);
    ResultSet resultset = stmt.executeQuery();
    if(resultset.next()) {
    String revenuenum = resultset.getString(1);
    revenue.mergeSegmentsWithParent(pageContext);
    revenue.setStructureCode( ); ---------------------- What i have to give here
    revenue.setCCIDAttributeName("GlIdRev"); ---------------------- Attribute Name
    revenue.useCodeCombinationLOV(false);
    revenue.setAttributeValue(FLEXFIELD_SEGMENT_LIST, revenuenum); ------------- How to use this FLEXFIELD_SEGMENT_LIST (unable to retrieve anything)
    revenue.setText(revenuenum);
    } catch(SQLException se) {
    se.printStackTrace();
    throw new OAException("Error in Staffing Query"+se, OAException.ERROR);
    Standard function i have:
    create or replace FUNCTION SDS_CUST_BILL_INFO(P_ORG_ID IN NUMBER,P_ACC_TYPE IN NUMBER) RETURN VARCHAR2
    AS
    *- Purpose: This PL/Sql program that will return GL_ID_RECEIVING_ACCOUNT or GL_ID_REVENUE_ACCOUNT
    *- information for new Customer BIll_TO site
    V_ACCOUNT VARCHAR2(2000);
    BEGIN
    BEGIN
    SELECT TRUNC(SEGMENT1)||'-'||TRUNC(SEGMENT2)||'-'||SEGMENT3||'-'||TRUNC(SEGMENT4)||'-'||SEGMENT5||'-'||SEGMENT6||'-'||SEGMENT7
    INTO V_ACCOUNT
    FROM GL_CODE_COMBINATIONS GCC
    ,HR_ORGANIZATION_UNITS HOU
    ,RA_CUST_TRX_TYPES_ALL RCTA
    WHERE HOU.ORGANIZATION_ID = RCTA.ORG_ID
    AND HOU.ORGANIZATION_ID = P_ORG_ID
    AND GCC.CODE_COMBINATION_ID = DECODE(P_ACC_TYPE,1,RCTA.GL_ID_REC,2,RCTA.GL_ID_REV)
    AND UPPER(RCTA.NAME) = 'INVOICE'
    AND HOU.ATTRIBUTE3 = 'Y';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    V_ACCOUNT := NULL;
    WHEN OTHERS THEN
    V_ACCOUNT := NULL;
    END;
    RETURN(V_ACCOUNT);
    END;

    Hi parag,
    You mean to say i have to write like this :--
    if (pageContext.getParameter("apply")!=null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject accountsViewObject =
    (OAViewObject)am.findViewObject("ArBusPurAllVO");
    if (accountsViewObject!=null)
    OARow row = (OARow) accountsViewObject.getCurrentRow();
    if (row.getAttribute("GlIdRev") == null || row.getAttribute("GlIdRev").equals(""))
    //call your function here and say row.setaatribbute= revenue_acct_id from your function.
    if(s8.equalsIgnoreCase("BILL_TO")) {
    try {
    Connection conn = pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
    String Query = "select SDS_CUST_BILL_INFO(:1,2) from dual";
    PreparedStatement stmt = conn.prepareStatement(Query);
    stmt.setInt(1, orgid);
    ResultSet resultset = stmt.executeQuery();
    if(resultset.next()) {
    String revenuenum = resultset.getString(1);
    row.setaatribbute(revenuenum) ;
    } catch(SQLException se) {
    se.printStackTrace();
    throw new OAException("Error in Staffing Query"+se, OAException.ERROR);
    if (row.getAttribute("GlIdRec") == null || row.getAttribute("GlIdRec").equals(""))
    //call your function here and say row.setaatribbute=rec_acct_id from your function.
    if(s8.equalsIgnoreCase("BILL_TO")) {
    try {
    Connection conn = pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
    String Query = "select SDS_CUST_BILL_INFO(:1,2) from dual";
    PreparedStatement stmt = conn.prepareStatement(Query);
    stmt.setInt(1, orgid);
    ResultSet resultset = stmt.executeQuery();
    if(resultset.next()) {
    String receivablenum = resultset.getString(1);
    row.setaatribbute(receivablenum) ;
    } catch(SQLException se) {
    se.printStackTrace();
    throw new OAException("Error in Staffing Query"+se, OAException.ERROR);
    super.processFormRequest(pageContext, webBean);
    Am I, correct parag please tell me, if this works i will send u mail again that it is working fine .
    my mail id is [email protected]

Maybe you are looking for