Special validation in Descriptive flexfield

Hi
I have created a DFF within Account Payables/Invoice Distribution lines form.
This DFF basically accepts a string of the pattern "2, 4,4-9, 11". These values represent some business data within our schema (non APPS). I need to validate this data against the existance of each of these values within the schema.
Is there a way to do this in DFF?
Is there a way to write a plsql code that can be attached to the DFF?
Thanks
Message was edited by:
user508975

Hi,
Or you could setup document attachments against the entity to which the DFF maps and store the file there - thats where it should be.
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/

Similar Messages

  • The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assi

    Hi ,
    We have enabled context sensitive DFF in Bank Branch Page for HZ_PARTIES DFF , We have created Flex Map so that only bank branch context fields are only displayed in the bank branch page and  as we know party information DFF is shared by supplier and Customer Page so we dint want to see any Bank Branch fields or context information in those pages.
    We have achieved the requirement but when open existing branches bank branch update is throwing below error message :
    "The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assistance."
    this error is thrown only when we open existing branches, if we save existing branch and open then it is not throwing any error message.
    Please let us know reason behind this error message.
    Thanks,
    Mruduala

    You are kidding?  It took me about 3 minutes to scroll down on my tab to get to the triplex button!
    Habe you read the error message? 
    Quote:
    java.sql.SQLSyntaxErrorException: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
    Check the trigger and it should work again.
    Timo

  • Journal Import - Import Descriptive Flexfield = Yes

    Hi Gurus,
    If i run the Journal Import - Program with Import Descriptive Flexfield parameter = 'Yes'.
    Will it allow if a descriptive flex field is null.
    I do not want to import the Journals if the Attribute1 is NULL. Kindly help me with the best way of doing this..
    Thanks,
    Genoo

    I wont be able to comment on it with certainity.
    You can perform a trial and error run by doing the following:
    1st case: i would recommend you to run the Jounral Import by setting the Descriptive Flexfield Import as Yes and with validations and without making the changes in the code.
    2nd case: i would recommend you to run the Jounral Import by setting the Descriptive Flexfield Import as Yes and with validations and by making the changes in the code.
    Compare the results of the two scenario above and make changes accordingly if required, However prior to making the changes please consult it with a technical resource to get his thoughts on the same.
    Also you can evaluate what validations are provided by Oracle while importing the DFF since may be that you dont have to anything else apart from your side and Oracle standard code can take care of the same.
    Hope this helps
    Thanks and Regards
    Manish Jain.

  • Descriptive flexfield setup

    Hi, need help and advise.
    I have created a descriptive flexfield for attribute17 column of hz_cust_site_uses_all table with value set 'Yes/No' (LOV type) for validation.
    My problem is how to make the descriptive flexfield to reflect the existing value store in this column as default value as the existing records
    store with 'Y' or 'N' in the table. 
    Regards,
    BE.

    Hi, thanks for respond.
    the value is updated correctly with 'Y' for attribute17 in the table for selected customers via API as the status return from API was 'S' - Success.
    Actually the value set assigned to flexfield is using the 'Yes' and 'No' from the fnd_lookups table and defaulted to 'No' for this flexfield. 
    So, even I have updated with 'Y' in the table but the flexfield is still reflecting the default value 'No' at the form level.
    When setup for the flexfield, the 'Synchronize with Reference Field' is enabled and context code is 'BILL_TO' and 'Global Data Elements'.
    With the same table, I have no problem for attribute12 with the context code 'Global Data Elements'
    but I am having problem for attribute17 with the context code 'BILL_TO'.
    Regards,
    BE.

  • Item categories descriptive flexfield

    Hi,
    I want to change item categories descriptive flexfield on production system and add two more segments.
    Should I do it after no user would be working on inventory or there would be no problem in adding or chnaging descriptive flexfield in live systen?
    /Z

    There is always a small chance that a user who happens to be updating the category may get an error if you do it during day-time.
    So try it in off-hours.
    You said "descriptive" but I assume you mean the "key" flexfield for categories.
    If you add 2 segments, it is important that you update existing categories and make sure they are valid with the new structure.
    Also, if those old categories were used in Purchasing, you may get errors.
    Sandeep Gandhi

  • CREATING KEY & DESCRIPTIVE FLEXFIELDS IN FORMS 10G

    HELLO EVERYONE,
    kINDLY HELP ME CREATING KEY & DESCRIPTIVE FLEXFIELDS IN FORMS 10G.STEP BY STEP PROCEDURE IN FORMS 10 G WILL HELP ME REALLY.
    REGARDS,
    Srini.

    A FLEXFIELD IS A FIELD MADE UP OF SUB–FIELDS, OR SEGMENTS. THERE ARE TWO TYPES OF FLEXFIELDS: KEY FLEXFIELDS AND DESCRIPTIVE FLEXFIELDS.
    KEY FLEXFIELDS:
              I HAVE A COLUMN CALLED ADDRESS(SINGLE FIELD),WHEN I KEEP MY CURSOR ON THIS FIELD AND PRESS ENTER,IT POP'S UP A WINDOW WITH ALL NECESSARY FIELDS CORRESPONDING TO ADDRESS LIKE,DOOR-NO.,STREET NAME,CITY ETC.... WITH AN OK & CANCEL BUTTON.
    ONCE I GIVE THE VALUES ACCORDINGLY IN THE ADDRESS FIELD AND CLICK OK BUTTON IT STORES ALL THE VALUES IN WINDOW TO THE ADDRESS FIELD.
    DESCRIPTIVE FLEXFIELDS:
    DESCRIPTIVE FLEXFIELDS LETS YOU ADD ADDITIONAL FIELDS TO THE FORM IN ORDER TO TRACK ADDITIONAL INFORMATION NEEDED BY THE BUSINESS, THAT WOULD NOT BE CAPTURED BY THE STANDARD FORM. DESCRIPTIVE FLEXFIELDS CAN BE CONTEXT SENSITIVE, WHERE THE INFORMATION YOUR APPLICATION STORES DEPENDS ON OTHER VALUES YOUR USERS ENTER IN OTHER PARTS OF THE FORM.
    A DESCRIPTIVE FLEXFIELD APPEARS ON A FORM AS A SINGLE–CHARACTER, UNNAMED FIELD ENCLOSED IN SQUARE BRACKETS [ ]. EACH FIELD OR SEGMENT IN A DESCRIPTIVE FLEXFIELD HAS A PROMPT AND CAN HAVE A SET OF VALID VALUES
    THIS CONCEPT IS USED FREQUENTLY IN ORACLE APPLICATIONS, WHICH I WANT TO IMPLEMENT IN FORMS 10G.I BELIEVE WITH YOUR EXPERTISE I WILL BE ABLE TO AHIEVE IT.
    REGARDS ,
    SRINI.

  • Creation of Descriptive FlexField on Supplier

    Hello,
    I am trying to add a new segment under context "Global Data Elements" of a DFF.
    Currently this context has two segments referring to columns ATTRIBUTE1 adn ATTRIBUTE2
    In the Segments Summary screen, when I try to select the Descriptive Flexfield column of which I believe it is available (ATTRIBUTE3), I can only select the column "ATTRIBUTE_CATEGORY".
    EBS R12
    application = Purchasing
    title = vendors
    table = PO_VENDORS
    Does anyone has any hints? What am I doing / thinking wrong?
    Thanks

    Attributes might have been used in another DFF. Run the below query to check if other columns are used in another DFF.
    SELECT application_column_name,end_user_column_name,
    ffv.flex_value_set_name,flex_usage.*
    FROM fnd_descr_flex_col_usage_vl flex_usage,
    fnd_descriptive_flexs_vl flex,
    fnd_flex_value_sets ffv
    WHERE flex.descriptive_flexfield_name = flex_usage.descriptive_flexfield_name
    AND flex.application_table_name like 'PO_VENDORS%'
    AND flex_usage.flex_value_set_id = ffv.flex_value_set_id(+)
    Thanks
    Shree

  • Program to add in the Assignment views Descriptive flexfields segments

    Hi,
    I have added two context fields values in the descriptive flexfield "Additional Assignment Details". I see that the view hrfg_employee_assignments has reflected those changes and has included 4 attribute columns:
    CREATE OR REPLACE VIEW HRFG_EMPLOYEE_ASSIGNMENTS
    (BUSINESS_GROUP_NAME, PERSON_NAME, PREFIX, SUFFIX, FIRST_NAME,
    LAST_NAME, PREFERRED_NAME, MIDDLE_NAMES, TITLE, COLLECTIVE_AGREEMENT_NAME,
    ASSIGNMENT_NUMBER, NORMAL_START_TIME, NORMAL_END_TIME, PRIMARY_FLAG, INTERNAL_ADDRESS,
    MANAGER_FLAG, EMPLOYMENT_CATEGORY, ASSIGNMENT_TYPE_CODE, ASSIGNMENT_TYPE, WORKING_HOURS_AMOUNT,
    WORKING_HOURS_FREQUENCY, EMPLOYEE_NUMBER, HIRE_DATE, ORIGINAL_DATE_OF_HIRE, WORK_TELEPHONE_NUMBER,
    SUPERVISOR_NAME, SUPERVISOR_NUMBER, SALARY_BASIS, ORGANIZATION_NAME, POSITION_NAME,
    JOB_NAME, LOCATION_NAME, GRADE_NAME, PEOPLE_GROUP, PAYROLL_NAME,
    RECRUITMENT_ACTIVITY_NAME, VACANCY_NAME, USER_ASSIGNMENT_STATUS, PER_SYSTEM_ASSIGNMENT_STATUS, PAY_SYSTEM_ASSIGNMENT_STATUS,
    PRIMARY_FLAG_CODE, MANAGER_FLAG_CODE, EMPLOYMENT_CATEGORY_CODE, FREQUENCY_CODE, PER_SYSTEM_STATUS_CODE,
    PAY_SYSTEM_STATUS_CODE, PEO_GRP, PEOPLE_GROUP_50309, CONTEXT, DATE_OF_TEST_2,
    TIME_OF_TEST_2, PLACE_OF_TEST_2, TYPE_OF_TEST_2, DAYS_FOR_PAY_3, HOURS_FOR_PAY_3,
    *"PROM/DEM/TRANSF_ORDER_NUMBER_3"*, ASSIGNMENT_ID, BUSINESS_GROUP_ID, GRADE_ID, JOB_ID,
    LOCATION_ID, ORGANIZATION_ID, PAYROLL_ID, PERIOD_OF_SERVICE_ID, PEOPLE_GROUP_ID,
    PERSON_ID, POSITION_ID, RECRUITMENT_ACTIVITY_ID, SALARY_BASIS_ID, SUPERVISOR_ID,
    VACANCY_ID, COLLECTIVE_AGREEMENT_ID)
    AS
    SELECT .....
    I see that it has added comments in these view columns :
    DESC CONTEXT,800,PER_ASSIGNMENTS,A
    DESC SEGMENT,800,PER_ASSIGNMENTS,A,ASS_ATTRIBUTE1
    DESC SEGMENT,800,PER_ASSIGNMENTS,A,ASS_ATTRIBUTE2
    and so on.
    Now I disable those value codes in the descriptive flexfield from System Administrator and add two new context values.
    Which program should I run to reflect these changes in HRFG_EMPLOYEE_ASSIGNMENTS view?
    Thank you.

    Unfortunately Microsoft decided to make things complicated in 2010. Resource.Assignment.Text1 is not the same as Task.Assignment.Text1.
    As far as I know, VBA is the only solution. I would run the code in the before_save event.
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

  • Updating PO Lines Descriptive Flexfield

    We're currently still on R11.5.10.2 and we're customizing the Purchase Orders form by adding an option under the Tools menu to mass update several different fields.  One of the fields happens to be a descriptive flexfield on the PO line.  We're able to update the DFF, but the actual updated value doesn't seem to be reflected/displayed after we perform the update.  If we cursor and tab to the DFF and open it up, it actually has the updated value, but when we close the DFF field, it still displays the old value.  We've tried different calls to see if we can refresh the displaying of DFF, but no luck.  How can we customize to accomplish this in the form?

    It's a straight update to the base table from the PO form.  We're just assigning the values to the DFF (in this case, ATTRIBUTE1) and let the form update the record.  When we assign the value to the ATTRIBUTE1 field, we cannot see this change right away.  If we tab to the DFF, the latest value is there.  And when we tab out of it, the latest value is not being reflected.  In other words, the DFF is not displaying the latest value.  It is only after you save the data that it displays the updated value.   I was hoping that there may be some API related call to DFF that we can make to display the change right away before the data is saved, but I'm not able to get this to work within the form.

  • Descriptive flexfield for different purchase order types

    Hi,
    Can i have a descriptive flexfield for different purchase order types?
    Scenario : I have two purchase order types
    1. Blanket : done from req--> auto create --> standard PO
    2. Standard --> Direct PO
    Regards
    846691

    You can use darpan77's suggestion for context sensitive DFF. See http://oracle.anilpassi.com/context-sensitive-descriptive-flexfields.html for an example.
    However, both options you mentioned talk about standard po. Is the difference in how they are generated? (One is manual and the other is autocreated?)

  • Steps to setup descriptive flexfield or/and key flexfield.

    Where can i find white paper or document other than the user guide in metalink or any other source which talks about steps to setup a descriptive flexfield or/and key flexfield.

    Hi,
    You might wanna check out following documentation.
    http://download-east.oracle.com/docs/cd/A60725_05/html/comnls/us/fnd/flexnav.htm#contentsFX

  • Create Descriptive Flexfield Structure

    All,
    I am wondering if it is possbile to create a descriptive flexfield structure to be added to a form flexfield instead of having the flexfields segments added seperately.
    Example:
    Currently:
    Flexfield 1 Yes
    Flexfield 2 Yes
    Flexfield 3 Yes
    Flexfield 4 No
    Desired:
    Flexfield 1 Yes
    Flexfield 2 Yes.Yes.No
    Thanks in advanced!
    Brenda

    Try specifying a view name in the structure and see what information it gives You after compiling. I tried a while back, I guess with 11.5.7 but it gave me an error regarding the application at which the base table was registered and DFV view creation failed.

  • DESCRIPTIVE FLEXFIELD의 REFERENCE FIELD추가방법

    제품 : AOL
    작성날짜 : 2004-05-20
    DESCRIPTIVE FLEXFIELD의 REFERENCE FIELD추가방법
    ==========================================
    PURPOSE
    Descriptive Flexfield의 기능 중 Reference Field를 사용하기 위해서는
    원하는 Form Block의 Field를 Reference Field로 등록해야 한다.
    Explanation
    1. Place cursor in the form field which you want to use as a Reference field.
    2. Select Help > Tools > Examine from the menu in order to obtain the <
    Value>.
    3. The (N) Setup > Flexfields > Descriptive > Segments form Context
    Field
    Value Code for the DFF must = <Value>
    4. Register the <Block>.<Field> as a Reference Field in the
    (N)Setup > Flexfields > Descriptive > Register form.
    5. Pick registered Reference Field from the LOV in the
    relevant (N) Setup > Flexfields > Descriptive > Segments form.
    즉, 원하는 Form의 Field에 마우스를 가져다 놓고,
    Help -> Tools -> Examine화면의 Block과 Field이름을 확인한 후
    Reference Field등록하는 화면에 그 Block.Field를 등록하면 된다.
    Reference Documents
    Note : 144227.1

    Thanks Sandeep,
    Can you tell me what values does this context field hold? Someone have defined it in the location you specified but whats the value which it holds? For example In the DFF "Add'l Periods of Service Information" the Reference Field was defined as "C_LEGISLATION_CODE". Whats it doing exactly over here?
    Thanks
    J

  • Descriptive Flexfields

    In an implemented flexfield i dont want to see the context field in the descriptive flexfield pop-up window instead of that my segments must select automatically when i choose values in the reference field which is in the same block
    please do respond

    HI,
    In the Columns window(In the descriptive flex field) defining the window one check box is there ,uncheck that
    check box
    Regards
    -chandra sekhar byna

  • Non-enabled or non-existent descriptive flexfield segment

    hi m getting this Error when m trying to Save Text Field value in DFF segment
    A value has been provided for a non-enabled or non-existent descriptive flexfield segment. (SEGMENT=ATTRIBUTE17) (VALUE=Y)
    regards,
    Vivek

    Are you trying to use a DFF segment which is not used in the current context. This means you also have the DFF segments being used on the Page.

Maybe you are looking for