Accessing Descriptive FlexField segments
Hi
I have to retreive the segments of a DFF in an OAF page for validation purpose.
The DFF segments are displayed as LOV (Value Set: ListOfValues) in the page.
I tried to get a handle using the following code:
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
System.out.println("Inside PFR.");
PERFlexAMImpl peram = (PERFlexAMImpl)pageContext.getApplicationModule(webBean);
PerAssignmentsFVOImpl pvo = peram.getPerAssignmentsFVO1();
PerAssignmentsFVORowImpl perrow = null;
if(pvo != null){
perrow = (PerAssignmentsFVORowImpl)pvo.getCurrentRow();
System.out.println("Inside PFR. After RowImpl");
+if(perrow != null){+
String DFF_LE= perrow.getAssAttribute10();
String DFF_BU= perrow.getAssAttribute11();
String DFF_Dept=perrow.getAssAttribute12();
String DFF_Site=perrow.getAssAttribute13();
System.out.println("DFF_LE"+DFF_LE);
System.out.println("DFF_BU"+DFF_BU);
System.out.println("DFF_Dept"+DFF_Dept);
System.out.println("DFF_Site"+DFF_Site);
Now the values are being captured all right ..but on clicking any of the DFF segment LoV Search button the LoV search Page is throwing the Error:
Cannot find LOV view object (FlexDynamicLovVO) in LOV AM.
flex lov info not availabel for DescFlex10 segment
I have not created any LOV view objects and if i remove the code in PFR (in italics) the page is working fine.
Thanks
-debashis
check these links
https://metalink2.oracle.com/metalink/plsql/f?p=130:14:9505005704089159685::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,268782.1,1,1,1,helvetica
https://metalink2.oracle.com/metalink/plsql/f?p=130:14:9505005704089159685::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,294000.1,1,1,1,helvetica
--Prasanna
Similar Messages
-
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,
VivekAre 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.
-
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 -
Automatically populate a Descriptive FlexField with Default Value
I have 2 Descriptive flexfield segments defined, one is "Start Date" using value set "LS_START_DATE" and the other segment is "End Date" using value set "LS_END_DATE".
Now when I enter the "Start Date", I want the "End Date" to be populated automatically with the value of "Start Date + 365 days".
For example:
If I enter "Start Date" = 25-May-2010
Then "End Date" should be automatically populated with the value "25-May-2011" (i.e., Start Date + 1 year)
Is that possible ?
I tried defining "End Date" segment with "Default Type" as "SQL Statement" and Default Value as "SELECT :$FLEX$.Start Date+365 from dual" , but it's not working.
Can someone please help ?
PrashanthiI did, the value set created for this segment "Start Date" is "LS_START_DATE" and I changed the sql statement in Default Value to "SELECT :$FLEX$.LS_START_DATE+365 from dual" , but still it is not working ....no luck.
Prashanthi -
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?
ThanksAttributes 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 -
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!
BrendaTry 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.1Thanks 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 -
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 respondHI,
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 -
FNDLOAD for Descriptive Flexfield update
Hey everyone,
Just wanted to consult you on a matter,
I've updated a descriptive flexfield definition (moved some of the segments from GLOBAL to a new context I created = I deleted from global, that freed the attributes again, and then I defined them under a new context field for that DFF).
Now - to move that setup to another instance, I download and uploaded DFF via FNDLOAD.
At first - update was not successful due to the fact that attributes used in new context were occupied by global.
So -
my idea was to just delete ALL DFF definitions in new instance, and then use FNDLOAD to upload.
Turned out ok, and update seems successful.
I just fear deleting DFF definitions completely might harm something and I feel I might be missing something here.
(After all, if it should be OK, why doesn't FNDLOAD delete old definition during update process and then create the new definition , like it does with personalizations??)
Would love to hear your ideas before I do the same on production instances...
Thanks,
AaronAaron,
I believe you should not delete a DFF, instead you will have to disable it.
Note: 176867.1 - Oracle Applications Flexfields Frequently Asked Questions (FAQ) -- 5. Can I delete a descriptive flexfield?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=176867.1
Did you try to use UPLOAD_MODE=REPLACE? This option will replace your current values with the values you have in the file.
If you want to upload any new items in the file that do not currently exist in your database, use "CUSTOM_MODE=FORCE" option.
Regards,
Hussein -
Descriptive flexfield balance needed
Hello
We are using R12 Apps
my problem is as follows:
Suppose there are 3 segments in a descriptive flexfield(DFF) and all contain numbers in it or you can say display certain amounts
Now in the fourth segment that i create in the same DFF, i need to display the total sum for the amounts in the first three DFF`s..is that possible
Pleasee let me know
Thanks
MuhammedI don't think that is possible.
Oracle has the functionality to transfer Req. Distribution DFF to PO Distribution DFF. But it does not work for Req Header or Req Line DFF.
Hope this helps,
Sandeep Gandhi -
Urgent! Change Descriptive FlexField Prompt
Hi!
I need to hide & change prompt for fields that are retrieved from Descriptive FlexField. Personalization need to be done for one responsibility.
Hiding can be done easly with Segment List.
Is there any way how I can change prompt for one responsibility.
BR
HugoHugo,
To my understanding you should not be able to control the Text for various segments without changing the Flexfield definition. And if you do that it gets affected for all responsibilities.
As a suggestion you can use a Context specific to a responsibility and may be use the same combination of segments for the context. Finally data gets stored in same columns, but since u define the context separately you should be able to provide different name.
Hope that gives you clues to work on.
Regards
Sumit -
Order Lines Descriptive Flexfield
We import our orders from an external system. We have many additional attributes to store at the order line level. We have already used all 20 Segments on the Additional Line Information Descriptive Flexfield but we still have more attributes to store.
Is there somewhere else we can store these values? On another DFF or some other solution.?You can create a custom table with the order_line_id as the primary key. And you can store your additional data in columns of this table.
The data won't be visible in the seeded OE form. You will have to write a custom screen that shows data. It will be very easy to create a ZOOM from the OE screens that opens your custom form to show data for a given order line.
There are global_attribute fields that are typically used by Oracle for localizations. If you do not have any localizations, you can try using them.
Hope this answers your question
Sandeep Gandhi
Omkar Technologies Inc.
Independent Techno-functional Consultant
513-325-9026 -
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?
/ZThere 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 -
Disable a descriptive flexfield in Order Management
Hi,
I set a descriptive flexfield in the sales order window in OM, now i would like to disable it, How do i do it?
thanks in Advance,
PRIf you have enabled any segments, just disable the segments and context if you have any.
Thanks
Nagamohan -
Descriptive flexfield question
I am wondering if you can help with following question :
I have a form on which there is a field called amount. I want to implement following on descriptive flexfield.
When I enter $1000 first segment of descriptive flexfield should show $1500 i.e 1000*1.5.
when I enter $2000 first segement of descriptive flexfield should show $3000 i.e 2000*1.5.i used and attributeN and _dfv but now i prefer attributeN (swore at me because of after transfer the report was not working correctly but really did not have enough settings on dff to another server)
of course it's subjective opinion
maybe someone else will provide his view on the _dfv
Maybe you are looking for
-
The operation can't be completed because the item "folder name" is in use
Hi everyone, I think this is quite a common issue but I don't find it really easy to find a solution. I have a folder containing a folder and no files on a server that I cannot delete, for the life of me. Whether I use shortcuts or drag the main fold
-
Just bought brand new new iMac. When browsing in Safari, sometimes the text suddenly gets super large. I'm doing nothing except reading the screen, tho I usually have my hand resting lightly on the mouse. I can get back to normal size by clicking "ac
-
Video Art Sync Problems: TV Shows Artwork No, Movies Artwork Yes
Strange occurrences since upgrade to IOS 8 on the iPhone 6: I have video cover art embedded in 100% or my movies and TV shows. Before the IOS 8 upgrade no problems with the cover art appearing on either TV Shows or Movies. Now after the update, video
-
Hi, I've been trolling the internet for a 100% free video converter, not something that's freeware/shareware but requires a license. I have a big need to convert my avi's and mp4's into flv so that they don't eat up as much of my sites bandwidth a mo
-
Why can I not open a webside which I trust
<blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/890758]]</blockquote> Ik kon tot verleden week de webside gamesquare gewoon openen en inloggen om een spel te spelen, vanaf vorige week zaterdag werkt het niet meer. ook nie