Update values set values
Dear Users,
I am facing one issue in HRMS:
i have a list of jobs defined in a translated value set.
whenever i am updating one value in the value set the changes are not affecting the job list.
Please advice.
Thanks
Hi Wmaarbani,
What is the validation type on your value_set. Is it translatable Dependent ?
You can search for the values from -
Navigate to Application Developer --> Flexfield --> Key --> Values
On this form, you will see a small Globe on the menu bar.. make sure all the translatable values are updated.
Cheers,
Vignesh
Similar Messages
-
FndLoad updates wrong value set values
Hello.
When uploading value set values, fndload updates both US and N language value descriptions. Supposed is to update only N language values.
Step by step what I have done.
*1. Set NLS_LANG environment variable*
export NLS_LANG=NORWEGIAN_NORWAY.WE8MSWIN1252
*2. Downloaded value set*
$ FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct KONTO.ldt VALUE_SET FLEX_VALUE_SET_NAME="KONTO"
*3. Change environment*
*4. Set NLS_LANG environment variable*
export NLS_LANG=NORWEGIAN_NORWAY.WE8MSWIN1252
*5. Uploaded value set*
$ FNDLOAD apps/apps O Y UPLOAD $FND_TOP/patch/115/import/afffload.lct KONTO.ldt
I have investigated that its happening because of the update statement which is called by the fndload control file. Procedure fnd_flex_values_pkg.load_row line 708:
update FND_FLEX_VALUES_TL set
FLEX_VALUE_MEANING = X_FLEX_VALUE_MEANING,
DESCRIPTION = X_DESCRIPTION,
LAST_UPDATE_DATE = X_LAST_UPDATE_DATE,
LAST_UPDATED_BY = X_LAST_UPDATED_BY,
LAST_UPDATE_LOGIN = X_LAST_UPDATE_LOGIN,
SOURCE_LANG = userenv('LANG')
where FLEX_VALUE_ID = X_FLEX_VALUE_ID
and userenv('LANG') in (LANGUAGE, SOURCE_LANG);
Problem is with this statement and userenv('LANG') in (LANGUAGE, SOURCE_LANG);, because there is included SOURCE_LANG which not always is the same as LANGUAGE. Therefore the update statement updates also US language values which source language is N
Any suggestions how to override this problem?
Thanks in advance!
AldisHi Hussein,
Thanks for the tip, but it is the same if I set the NLS_LANG environment variable *"export NLS_LANG=NORWEGIAN_NORWAY.WE8MSWIN1252"* before upload.
I will try a workaround. Update the source_lang so it is the same as language and then upload with fndload.
Aldis
Edited by: user1579859 on 2010.8.3 00:49 -
How to clear value set values from node info
Hi,
I have set some values on value set to display on a dropdown in my view. using following method.
l_node_info->set_attribute_value_set( name = 'XYZ' value_set = l_value_set ).
Now i need to clear node info value set. Otherwise particular attribute which i used for dropdown is always showing values added .
Please suggest how to clear value set.
Thanks,
Venkat.Hi,
Interface IF_WD_CONTEXT_NODE_INFO is for metadata of a node. It has nothing to do with the values in dropdown list.
In order to manipulate the values in the dropdown of an attributes, you can use the IF_WD_CONTEXT_NODE.
As you are saying its a dropdown, what I can suggest is to write supply function for the node.
And then get the index (V_INDEX) of the value you wanted to see in the dropdown list, and then use the following code in the method WDDOINIT
LO_NODE->SET_LEAD_SELECTION_INDEX( INDEX = V_TABIX ). -
X-axis values - Set values based upon constant date
I am creating a line graph. I am plotting based upon date/time. I'd like to use a constant date across the x-axis. IE 8:00, 8:15, 8:30. Within the constant value there could be many points or no points. For example there could be a point at 8:01, 8:02, 8:05 and then a point at 8:35. Along the x-axis the label should remain constant at 8:00, 8:15...
Any ideas?Hi,
use the chart engine for creating your graph. When requiring a horizontal time axis you have to use the chart type TimeScatter.
Download the SAP Chart Designer (SDN - Downloads - WebAS) and see the included pdf document that describes how to structure your data XML.
Demo reports are GRAPHICS_GUI_CE_DEMO and GRAPHICS_IGS_CE_TEST.
Regards, Kai -
How to reuse a value set in the filter into an LMD process
Using apex 3.2, I'm wondering how to re-use the value currently set into the filter (interactive report) into a LMD process attached to a button created on the same page.
The process on Submit - after validations and computations, I presume, should look like to the following statement, but in a dynamic way:
begin
insert into table2 select * from table1
where study = 'ABCD';
end;
I tested the following clauses options, which none of them work:
a) where study = :STUDY
b) where study = :IR_STUDY
setting the debbug to on, I could realize that the report was based on (apparently, APEX generates APXWS_EXPR_1 bind variable for the first parameter and APXWS_EXPR_2 if a second parameter is used into the filter, and so on...) :
where ("STUDY" = :APXWS_EXPR_1)
and then saw :
0.28: IR binding: ":APXWS_EXPR_1"="APXWS_EXPR_1" value="ABCD"
0.28: IR binding: ":APXWS_MAX_ROW_CNT"="APXWS_MAX_ROW_CNT" value="10000"
of course, I thought that the clause 'where ("STUDY" = :APXWS_EXPR_1)' could work. Unfortunaltely, not.
any king of support is welcome.
Thanks a lot,
Brunobut I don't know how to execute it from putty ? Can some one help me.Use the same command. Just make sure you are logged in as applmgr user and source the application env file before you run the command. Also, make sure you issue the command in a directory where applmgr has read/write privilege.
How to Load Value Set Values When Using Fndload To Load A Concurrent Program [ID 252853.1]
Tips About FNDLOAD [ID 735338.1]
How To Download A Single Flexfield Structure Using FNDLOAD? [ID 745689.1]
Download Multiple Flexfields From FNDLOAD [ID 316600.1]
Thanks,
Hussein -
Verify a value against value set
Hi,
I am trying to import price list lines along with Pricing attribute values.
I have to validate the uploaded values against the pricing attribute value set, before I import them into base tables.
Value set defined is of type table validation.
I wanted to know if there are any public APIs that can be used to validate the value against the Value set values within my PL/SQL procedure
Also please point me to documentation that lists various public PL/SQL APIs
Regards,
MrutyunjayHi,
You can query the fnd_flex_values or fnd_flex_value_segments_vl to find the name of the value set defined.
Another point is that the Value Set is defined of validation type Table so the values are dependent on the base tables.
There are no such API's to cater the need for Verfying a Value against a Value Set.
If u want to search for public API's go to the metalink.
Regards -
Validate a value against table validation value set within PL/SQL
Hi,
I am trying to import price list lines along with Pricing attribute values.
I have to validate the uploaded values against the pricing attribute value set, before I import them into base tables.
Value set defined is of type table validation.
I wanted to know if there are any public APIs that can be used to validate the value against the Value set values within my PL/SQL procedure
Also please point me to documentation that lists various public PL/SQL APIs
Regards,
MrutyunjayYou can find functions and procedure for Value sets in packages FND_FLEX_VAL_API or FND_FLEX_VAL_UTIL.
Example : get_table_vset_select gives you the select statement of your value set. Executing this statement will allow you to validate your values. -
How to change table value set using FND_LOAD
Hi ,
I need to change my existing " table valueset " tablename .
As i know we cont change it from front end if it is created once. but i am trying to create same value set in other instance and uploading it using FND_LOAD .
Is it Possible ?
IF yes please guide ?
I feel greate if any one helps me.
Regards ,
Azam.Hi,
You could use FNDLOAD to download the values, and edit the ldt file before uploading it back using FNDLOAD.
Search My Oracle Support for "FNDLOAD afffload.lct", you should get couple of hits which should be helpful.
Note: 252853.1 - 11i AOL : How to Load Value Set Values When Using Fndload To Load A Concurrent Program
Note: 274528.1 - How To Download Single Context Using FNDLOAD For Descriptive Flexfield
Regards,
Hussein -
API to create value set with attribute values ?
Hi
I was hoping someone might be able to help with this question.
I am creating a series of value set values using fnd_flex_val_api.create_independent_vset_value and fnd_flex_val_api.create_dependent_vset_value as part of a migration.
These APIs do not allow you to pass in attribute column values.
How can you create a value set value which has attribute values populated ? Is there another API does anyone know ?
Thanks a lot
ScottAll APIs are listed in Oracle Integration Repository
http://irep.oracle.com/index.html
API User Notes - HTML Format [ID 236937.1]
R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
Technical Uses of Customer Interface and TCA-API [ID 269121.1]
Pelase also check below:
Api's in EBS
Re: Api's in EBS
http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
API
Fixed Asset API
List of API
Re: List of APIs
Oracle Common Application Components API Reference Guide
download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
List of APIs and open interface R12
Re: List of APIs and open interface R12
Regard
Helios -
Make diffrence between values set by user and others by binding
Hello, I'm working with comboboxes. Selected Value is sometime set by user and somtimes set by bindings. I have to launch actions only when the selected value is set by user. Is there any possible way to do it? Thank a lot.
If the value selected is dependent from the value chosen by user and depending on other data at once
This sounds like you have one variable representing two distinct things; but maybe your requirements somehow necessitate this.
Here's what I meant. I have a background thread (using a Timeline) which changes the combo box randomly every two seconds. (This is a mockup of your requirement of it depending on another value.) The output to the console happens only if the user changes the combo box manually.
import java.util.Random;
import javafx.animation.Animation;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.application.Application;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.ComboBox;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
import javafx.util.Duration;
public class ComboBoxUpdateTest extends Application {
@Override
public void start(Stage primaryStage) {
final String[] values = { "One", "Two", "Three", "Four" };
final StringProperty value = new SimpleStringProperty();
final ComboBox<String> combo = new ComboBox<>();
combo.getItems().addAll(values);
value.addListener(new ChangeListener<String>() {
@Override
public void changed(ObservableValue<? extends String> observable,
String oldValue, String newValue) {
combo.setValue(newValue);
combo.valueProperty().addListener(new ChangeListener<String>() {
@Override
public void changed(ObservableValue<? extends String> observable,
String oldValue, String newValue) {
if (!newValue.equals(value.get())) {
System.out.printf("User changed combo box value from %s to %s%n", oldValue, newValue);
// Randomly change value every 2 seconds:
final Random rng = new Random();
Timeline timeline = new Timeline(new KeyFrame(Duration.seconds(2),
new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
value.set(values[rng.nextInt(values.length)]);
timeline.setCycleCount(Animation.INDEFINITE);
timeline.play();
StackPane root = new StackPane();
root.getChildren().add(combo);
primaryStage.setScene(new Scene(root, 300, 200));
primaryStage.show();
public static void main(String[] args) {
launch(args); -
Hello,
We need to change the description for some values of a value set.
Now,these values are already assigned to employees and there are no changes but they should show the new description when we see them thru Oracle forms.
I've modified the description for the value set values and it was compiled succesfully.Now,if i look at the employee records,they still have the old description.
The new description is only seen if i select the value again and save the record.
Is there an easy way to do it automatically (with out scripts/manually)as 1k employees should see the new description .
Thanks,
NithinThanks for your reply Helios..
We are not making any changes to the actual values of the value set,but only the description for these values,i.e,
in the table fnd_flex_values_vl ,we are not making any changes to flex_value column but only changing description column .
My question is,because we are not changing the actual flex_value ,but only changing the description for this ,is there an easy way for this new description to appear on the Oracle form without re-assigning the same value (manually or through a script) so that the new description appears .
Thanks,
Nithin -
FNDLOAD fail update parameter's value set in concurrent program
I am try to update 1 parameter's value set from one enviorment to other using the following script but that parameter is still using old value set:
FNDLOAD apps1/xxx 0 Y DOWNLOAD $FND_TOP/patch/115/import/xx_afcpprog.lct XXPN_PTLAIO.ldt PROGRAM APPLICATION_SHORT_NAME="XXPN" CONCURRENT_PROGRAM_NAME="XXPN_PTLAIO"
FNDLOAD apps2/xxx 0 Y UPLOAD $FND_TOP/patch/115/import/xx_afcpprog.lct XXPN_PTOLAO.ldt
Is there a situation parameter cannot be updated?
Or should i use afffload.lct to load?
My machine version:
RDBMS : 11.1.0.7.0
Oracle Applications : 12.1.3
Edited by: 901005 on Apr 19, 2012 3:37 AM
Edited by: 901005 on Apr 19, 2012 3:43 AMcompare date and author of paramaters and value sets
if date of parameter (or valueset) in ldt earlier than date of parameter (or valueset) in system than no update
you can try to use CUSTOM_MODE=FORCE -
How to update the table value in the valuechange event?
I have an input field in the datatable with the valueChangeListener
<rich:dataTable id="cart" value="#{cart.cartList}" var="item">
<h:inputText value="#{item.cost}" id="qty" valueChangeListener="#{items.updateCost}" onchange="submit()">
<h:outputText value="#{item.errorMsg}"> </h:outputText>
in the backing bean
Item item = (Item) model.getRowData();
// do some update, if the cost too larger, change to max_cost
item.setCost(max_cost);
item.setErrorMsg("Error Msg");
After calling the valuechange method, the screen output doesn't update the cost.
How to update the table value in the valuechange event?As you're misusing the valueChangeListener to set another input field, you need to skip the update model values phase. Otherwise the value set in the valueChangeListener will be overridden by the submitted value. You can do this by calling the FacesContext#renderResponse() inside the valueChangeListener method. This will shift the current phase immediately to the render response phase, hereby skipping the update model values and invoke application phases.
-
Get/Set values from a drop down list
I am trying to modify the http://www.netbeans.org/kb/60/web/web-jpa-part2.html so that instead of entering the data from a text field (in update & add) the values come from a drop down list from a table. I have drop down lists that are populated bothe from the DB and hard coding. When I run, I am able to see the options on the DDs. But none of the CRUD work. I think this is because my set and get for the drop down is wrong. Then again, I also have a few text fields from the original example which also don't seem to work. Here is a piece of my addButton():
RowKey[] selectedRowKeys = getTableRowGroup1().getSelectedRowKeys();
PaymentDetails[] pv = getSessionBean1().getPaymentVoucher();
int rowId = Integer.parseInt(selectedRowKeys[0].getRowId());
PaymentDetails upPV = pv[rowId];
bankCodeDD.getSelected();
statusDD.getSelected(); // hard coded value
upPV.setPrepBy((String) prepByField.getText());
PaymentDetailsController pvController = new PaymentDetailsController();
pvController.addPaymentDetails(upPV);
addRequest = false;
return null;How do I set and get the values from the drop down so than it passed to my bean? When I choose a row to be updated, make changes and click Update, I get this message on my Tomcat:
com.sun.webui.jsf.component.DropDown::The current value of component form1:deptCodeDD does not match any of the selections.
Did you forget to reset the value after changing the options?Can someone please point me to a place which shows how I can add a default value from my DD? I tried to follow http://www.netbeans.org/kb/55/dropdowncomp.html, but unable to complete because I get an error for Options api. The auto-fix imported import org.apache.jasper.Options; But the package given in the tutorial is com.sun.webui.jsf.model.Option. My Java version is 1.6.0_07.
private Options listOptions[];
...//getter setter goes here
listOptions = new Option[noofDBRows + 1];Many Thanks!I don't guess what I may add.
The contents of the table named lookup appear on the screenshot.
cell A1 contains the string One-Piece, cell B1 contains the 'associated' value 160.
cell A2 contains the string Two-Piece, cell B2 contains the 'associated' value 130.
cell A3 contains the string Three-Quarter, cell B3 contains the 'associated' value 150.
Now table Main
In column B the cells contain a pop_up menu with four items like the ones described by Jerrold.
In column C of the cells contain the formula :
=IFERROR(VLOOKUP(B,Tableau 2 :: A:B,2,FALSE),"")
I enhanced it since yesterdays because I forgot to treat the case when cell is blank in column B.
I apologize but as I'm using my machine in French, the screenshot display the French formulas.
I repeat that you may find useful infos in the PDFs files which we may download from the menus:
Help > Numbers User Guide
Help > iWork Formulas and Functions User Guide
As you are in Stoke-on-Trent maybe your system is set to use the comma as decimal separator.
If it's that, you must replace the comma by semi-colons in the formulas (you may see them in my screenshot).
Yvan KOENIG (VALLAURIS, France) mercredi 24 mars 2010 09:27:53 -
SQL Query (updateable report) Region - Conditionally Hide and Set Values
SQL Query (updateable report) Region - Conditionally Hide and Set Values
Outline of requirement :-
Master / Detail page with Detail updated on same page using SQL Query (updateable report).
The detail region has the following source
SELECT item_id,
contract_id,
CASE WHEN hardware_id IS NOT NULL THEN
'HA'
WHEN backup_dev_id IS NOT NULL THEN
'BD'
WHEN hardware_os_id IS NOT NULL THEN
'HS'
END item_type,
hardware_id,
backup_dev_id,
hardware_os_id
FROM "#OWNER#".support_items
WHERE contract_id = :P26_CONTRACT_IDThe table support_items implements arced relationships and has the following columns
CREATE TABLE SUPPORT_ITEMS
ITEM_ID NUMBER NOT NULL,
CONTRACT_ID NUMBER NOT NULL,
HARDWARE_ID NUMBER,
BACKUP_DEV_ID NUMBER,
HARDWARE_OS_ID NUMBER
)A check type constaint on support_items ensures that only one of the fk's is present.
( hardware_id IS NOT NULL
AND backup_dev_id IS NULL
AND hardware_os_id IS NULL
OR ( hardware_id IS NULL
AND backup_dev_id IS NOT NULL
AND hardware_os_id IS NULL
OR ( hardware_id IS NULL
AND backup_dev_id IS NULL
AND hardware_os_id IS NOT NULL
) Hardware_Id is a FK to Hardware_Assets
Backup_dev_id is a FK to Backup_Devices
Hardware_os_id is a FK to Hardware_op_systems
The Tabular Form Element based on item_type column of SQL query is Displayed As Select List (based on LOV) referencing a named list of values which have the following properties
Display Value Return Value
Hardware Asset HA
Backup Device BD
Computer System HSThe Tabular Form Elements for the report attributes for hardware_id, backup_dev_id and hardware_os_id are all Displayed As Select List (Based on LOV).
What I want to do is only display the Select List for the FK depending on the value of the Select List on Item Type, e.g.
Item_Type is 'HA' then display Select List for hardware_id, do not display and set to NULL the Select Lists for backup_dev_id and hardware_os_id.
Item_Type is 'BB' then display Select List for backup_dev_id, do not display and set to NULL the Select Lists for hardware_id and hardware_os_id.
Item_Type is 'HS' then display Select List for hardware_os_id, do not display and set to NULL the Select Lists backup_dev_id and hardware_id.
There are properties on elements to conditionally display it but how do we reference the values of the SQL query Updateable region? they are not given a page item name?
Also on the Tabular For Elements there is an Edit tick against a report item - however when you go to the Column Attributes there is not a property with which you can control the Edit setting.
What's the best way of implementing this requirement in APEX 3.1?
Thanks.>
Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "user13515136".
When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
I have a multi-row region that displays values and allows entries in a number of fields.Provide exact details of how this has been implemented. (An example on apex.oracle.com is always a good way to do this.)
I should like the fields to be conditional in that they do not permit entry, but still display, if certain conditions apply (e.g. older rows greyed out). Can this be done? Almost anything can be done, often in multiple ways. Which are appropriate may be dependent on a particular implementation, the skills available to implement it, and the effort you're willing to expend on it. Hence it's necessary to provide full details of what you've done so far...
Maybe you are looking for
-
I am running net8 with oracle 8.1.7 on linux. I have an applet that connects to the database. I seem to lose my connection when another applet starts and connects to the database. Anyone know why I can't get more than one database connection?
-
Report numbers not matching Essbase
Interesting issue: I have two financial reports - one which pulls the an account value (sales) for products & sub products. the second report shows the YTD totals for these products. The second report is showing incorrect numbers. I compared the numb
-
Hi, How to create Context menu on Tree (Nodes and Subnodes) in Web Dynpro for ABAP. Helpful answers will be rewarded. Regards, Jitesh.
-
[hocr] Convert hocr to pdf
Hello, I scan a lot and I wanted a solution to get a better accuracy after the optical character recognition of a document. After discovering the hocr format, I used it to correct the misspelled words. I convert my scanned documents in pdf, so the pr
-
I was able to import my photos from my camera before to iphoto but now it won't let me. I plug in my usb cord, turn my camera and then iphoto comes up. The only thing is that it doesn't display my camera to import. So I go to File, Import, and it won