How to simulate setFireAction on key flexfield
Hi,
I'm busy since two months with Jdev and Oracle framework.
What I want to do is : if the value from a key flexfield changes, an action should be fired (in this case a descriptive flexfield nees to be updated).
Since setFireAction does not work on a OAKeyFlexfieldBean, I did try the next thing.
OAKeyFlexBean kffBean = (OAKeyFlexBean)oawebbean.findIndexedChildRecursive("ResourceName");
kffBean.setOnDoubleClick("javascript: submitForm(0,0,{event:'kffBean'});"); // does not work
The first problem is that setOnDoubleClick does not work at all. It works e.g. for the OAWebBean.
The second problem is that I do want a reaction like OnChange but this is not implementable for this kind of object
Has anyone any idea how to solve this ?
Hi
But I am not trying to delete a seeded KFF. I want to delete a KFF which I have created.
Regards
Rahman
Similar Messages
-
HOW to simulate the enter key???
Hi , I have a jTable ,and i want that by leaving a specific
cell ,to perform the same action that the enter key does!
when im leaving my specific cell the following function is being called:
public void editingStopped(ChangeEvent e) {
//here I want to simulate the enter-key's action
HOW to simulate the enter key???
10x in advance
Nir.
p.s. My initial problem was that when i left my specific
cell (the cell is editable combo box), an edited words
which were written by me vanished , and when i get back to that cell the edited word showed again!!!
when i pressed the enter key the edited word were stable in the cell!!!
when I chose a word from the combo evrything was ok!!
so if any one can solve me that problem ill be appreciate.
thanks NiryourActionListener.actionPerformed(new ActionEvent(yourCell))
I am not sure about the constructor of actionevent.
you could try if setText(getText()) produces a good result -
How to read value from Key flexfield added on to the newly created SIT
Hi Experts,
I have a requirrment to display a new structure in the Special Information Types (SIT) screen in SSHR. The data entered into the segment needs to be validated using PL/SQL function.
I have performed below steps to display the structure/field on SIT Page
1. Created new flexfield structure as XX_LEAVE_ENCASHMENT under the "HUMAN RESOURCE" Application (Application id- 800) and flexfield TITLE "Personal Analysis Flexfield" (PEA).
2. Added a new segment "Encash Days" for the newly created flexfiled structure "XX_LEAVE_ENCASHMENT".
3. Added this new structure in the Special Information Types form in HRMS responsibility
4. The structure is enabled on the SIT screen.
Now I want to validate the data entered in Encash Days field in this page by calling a PL/SQL function. This can be done by extending the SIT page Controller.
But how should the ID of the newly enabled segment (in the new Flexfield strucuture) be retrieved in the controller inorder to read the user-entered value (to further call the validation program)? Or is there any other way of achieving this functionality in OAF?
Please help.
Thanks.Hi,
Yes, u can get the value from the SIT and perform the relevant validation too.
Refer http://apps2fusion.com/at/43-ss/453-oaf-extension-case-study
Regards,
Gyan -
How to set a 3 default values for a dependent key flexfield
hi,
I have an inquiry in oracle applications 11i - Oracle General Ledger module, Accounting Key flexfield structure.
we have an independent key segment PROJECT and a dependent key segment SUB-PROJECT.
Can we define 3 dependent value for the SUB-PROJECT to be the default for any new entered value in the PROJECT segment??
e.g creating 3 default SUB-PROJECT values: X, Y, and Z. Any new value entered to the PROJECT key segment will have X, Y and Z by default as it's SUB-PROJECTS.
If the above scenario is possible, please guide me to the best solution...
Thank you...I can find that the value set of any dependent value set has only one room for a default value.
What are the implications of creating a new Independent value set and assign it to the SubProject segment, on historical data and reports?
thank you... -
Validation on People Group Key Flexfield
Hi all,
I have a People Group Key flexfield (KFF) defined with 7 Segments, and I want to make 1 of the Segments (SEGMENT7) Read-Only for a specific set of Responsibilities.
I have tried creating a Form Personalization for this, but I don't believe you can achieve this using forms personalizations (because you can only reference the entire flexfield as a whole, and not individual segments).
I have also tried using the Custom Library, and referencing FND_KEY_FLEX.UPDATE_DEFINITION to apply this validation, but I have not been able to get this to work either.
Finally, I have tried creating a security group and attaching it to the Value Set / KFF Segment but this doesn't quite give me what I need, as this only lets you Include/Exclude specific values and not make the segment Read-Only.
Does anyone know how to apply this validation to a People Group KFF Segment?
Thanks in advance,
JonIf nothing else works , you can write a before-update d/b trigger on the underlying table that compares :old.segment7 with :new.segment7 and raises failure if the values differ for the user's logged in responsibility.
-
How can we remove the key from the dataset which has json
uid
id
Json
4588
51
{ "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
4589
52
{ "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
4590
53
{ "key": "1/0/234", "element1":{ "a":10 "b": "test1" } }
I have the above dataset resulting from merge operation .
UID -Integer data type
ID- Integer data type
Json- String data type holding json document
How can I remove the " key" element from the json field and make my dataset look like
Expected output which will strip of key value pair from the json column
uid
id
Json
4588
51
{ "element1":{ "a":10 "b": "test1" } }
4589
52
{ "element1":{ "a":10 "b": "test1" } }
4590
53
{ "element1":{ "a":10 "b": "test1" } }
MudassarHello Mudassar,
In SQL Server / T-SQL we don't have a native JSON support, so you would have to implement a solution on your own = parsing the string and remove the "Key" + it's value.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
How to create a block key default for documents created by MIRO?
Hi All,
How to create a block key (BSEG-ZLSPR) default for documents created by MIRO?
Could anyone tell me?
Thanks
GandalfHI,
The payment block--BSEG-ZLSPR can be made defaulted by two ways.
Means you want to fix one value all the times for the same ,you have to do the same in Vendor master
ie in the Vendor Master in the Payment Transactions Selection screen. make the Payment Block you want to be defaulted in MIRO.
you can do for all vendor master in mass change -- XK99.(LFB1)
if you are not OK with the Above .then there is another way to do the same
it is by Screen layout setting in SHD0
in this enter the Transaction MIRO and create a Transaction variant Z*** and click on create
and also create a Screen variant in OMLRLIST
T code MIRO
Screen variant name Z**
Program-SAPLFDCB
Screen Number 0020
and create it .
in creating ---enter the default value in the Payment block and in the varinat just check the box w.content
KNow in SHd0 add this screen variant for the above Trasaction variant
and then activate this trasaction variant by going into the tab Standard variants.
so that when ever you do miro this variant will be called and you can get this payment block defaulted.
hope so it helps
Regards
Anjanna -
How to create a shortcut key for email ?
how to create a short key on mac book pro
You do not say what OS X you are running. If it is 10.8.3 you simply can have Mail a 4-finger swipe away.
No short key neccessary?
If some earlier OS X see >System Preferences>Keyboard>KeyboardShortcuts>ApplicationsShortcuts -
How to create a account key for application type M ?
Hi Guys,
How to create a account key for application type M ? and link the same with
Gl account.
thanks.Hi
Please create the account keys or transaction keys in
SPRO-> IMG-> MM-> Purchasing-> Conditions-> Define Price Determination Process-> Define Transaction/Event Keys
Thanks & Regards
Kishore -
How do I find the key for my time capsule router
How do I find the key for my time capsule router
Hello, see if these are of any help...
http://www.iclarified.com/entry/index.php?enid=4547
http://manuals.info.apple.com/en/TimeCapsule_SetupGuide.pdf
If it's the Pre-Shared Key you're looking for, open Airport Utility, under the menu item Base Station, look for Equivalent Network Password. -
How can I generate SSL Keys from a Oracle 9iAS server version 1.0.2.2.0
How can I generate SSL Keys for use on Oracle 9iAS server
version 1.0.2.2.0. I have tried using the open_ssl method but
was unsuccessful.<?xml version="1.0" encoding="UTF-8" ?>
<nodes>
<node>
<category_id>3</category_id>
<parent_id>2</parent_id>
<name>Mobile</name>
<is_active>1</is_active>
<position>1</position>
<level>2</level>
<children>
<node name="Nokia" category_id="6" parent_id="3" is_active="1" position="1" level="3">
<node name="Nokia N79" category_id="7" parent_id="3" is_active="1" position="2" level="3" />
<node name="Nokia N95" category_id="7" parent_id="3" is_active="1" position="2" level="3" />
<node name="Nokia N97" category_id="7" parent_id="3" is_active="1" position="2" level="3" />
</node>
<node name="Samsung" category_id="7" parent_id="3" is_active="1" position="2" level="3">
</node>
</children>
</node>
<node>
<category_id>4</category_id>
<parent_id>2</parent_id>
<name>Laptop</name>
<is_active>1</is_active>
<position>2</position>
<level>2</level>
<children></children>
</node>
<node>
<category_id>5</category_id>
<parent_id>2</parent_id>
<name>Monitor</name>
<is_active>1</is_active>
<position>3</position>
<level>2</level>
<children></children>
</node>
<node>
<category_id>8</category_id>
<parent_id>2</parent_id>
<name>Camera</name>
<is_active>1</is_active>
<position>4</position>
<level>2</level>
<children></children>
</node>
</nodes>
Is this correct format to create dynamic menu? -
How to get selected row keys from RichSelectManyCheckbox
Adf Table has getSelectedRowKeys but SelectManyChekcbox does not has anything similar. Can you tell me how to get selected row keys programmatically for RichSelectManyCheckbox?
Hi User,
selectManyCheckbox component's value property holds the selected items values. Bind this property to some bean variable(of type list) so that you can get the selected values by accessing the bean property.
Sireesha -
Creating Descriptive & Key FLEXFIELDS in Forms 10g
Hello everyone,
I want to create Descriptive & Key Flexfields in Oracle Forms 10g,Kindly help........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. -
Error while compiling Key flexfield
Hi,
I'm getting the below error while trying to compile one key flexfield structure.
+APP-FND-00668: The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: FDFRKS could not find the structure definition for the flexfield specified by Application = &APPL, Code = GL# and Structure number = 50241 (APPID=101)
APP-FND-00874: Routine FDFBKS found no rows in table FND_ID_FLEX_STRUCTURES. Please contact your system administrator or support representative.+
we have two cloned instance from production.In one of the instacnes we are geting this error. The only difference between the two instacnes is that in one instance ,italy langugae was licensed while in the other it's not.
We are getting the error where the language was licensed.
Note-: we had only licensed the language but never enabled multilingual tables.
regards,
RakeshI checked note 215777.1 . and found that there is a discrepancy in the counts.
as there is a discrepancy in FND base table and _TL table note 580524.1 is also applicable.
So which soln should i go for??
regards,
Rakesh -
Key flexfield - protecting one of the segment as NON-UPDATABLE/ READ-ONLY
Key Flexfield setup for "People Group Flexfield" consists of seeg1,seg2,seg3,seg4.
We would like to make Seg1 of this flexfield "READ ONLY" / "DISPLAY ONLY" / "Non-Updatable".
Please advise possible way of making this functionality.
I have tried, following but no luck :
1) Limitations of Forms Personalization [ID 420518.1]
Forms Personalization is not possible for any key flexfield structure or segments.
This is a limitation of Forms Personalization on Flexfield. There was an enhancement request Bug 5506506 - "PERSONALIZE FLEXFIELDS BY USING FORMS PERSONALIZATION" but it was rejected the enhancement request as this is not feasible. A Flexfield is a single field in a form but then when you click into it and it opens up the flexfields window, the multiple fields you see is actually a user exit with multi segment values, not form fields. No Form Personalization events are passed to flexfield windows (user exits). No Form Personalization events are passed to segments inside the flexfield window (user exit).
2) Key Flexfield Security Rules Enabled
Defining security rules on any segment in key flexfield makes all segments as read only. Per Oracle Document:"Defining security rule on key flexfield combination on one or more segments allows all segments to be not updatable"In SSHR, I believe it is possible although I have not done it before, I have spoken to people who have.
You need to have access to jDeveloper and be able to open up the SSHR page in question. Find the internal ID of the flex item within the SSHR page in question.
Then you create a new item in personalization and set that new item to have the same ID as you retrieved from jDeveloper. Make that item read only and configured the 'default' flex to not show the segment in question.
That is basically the way this can be achieved but it is not straightforward and requires a cursory understanding of OAF.
I do not know if it is possible to do this in the PUI. Would be interested to know requirement behind essentially showing a static read only field in a professional form - can the admins not be trusted to leave it alone? One workaround would be coding a user hook or custom library to error if that field is updated. Not read only but would stop those pesky Administrators meddling with it!
Maybe you are looking for
-
Error message when starting up firefox 4.0 beta 6
When I click on firefox beta 4.0 6, a error message comes up saying there was a internet connect failure and could not secure connection
-
CX_SY_NO_HANDLER triggered when call FM in Transformation Routine in BI
Hi, Currently we are encountering an error whereby the Exception 'CX_SY_NO_HANDLER' will be triggered whenever we call a Function Module inside a Transformation Routine in BI. Previously, this FM was a Custom FM, but even after changing to a standard
-
here am sending with my code which i comile gets resultset is closed exception.am using this for my jsp page. team1Players gives the playerId of 11 players, and using this i wants to get the eir names from the second query,ie team1PlayerName.when i c
-
Connecting my ibook to my G4 with firewire
Hi, I just bought a used dual USB ibook and would like to connect it to my G4 AGP using the firewire connect to transfer files and what-not. Is there anything special I need to know or is it pretty straight forward? Thanks, Rick
-
Hi All, Am facing one design issue, here my requirement. Am developing a component which calculates expected date. Considering some days in a weeks as holiday always. Input to the component is an integer and some other object[from which I want to fin