Dynamic query based Simple Choice List not working as expected.
I've a value in a View Object attribute which is not present in the LOV associated to it. How to show this in the UI if the attribute's component is a Simple Choice List ?
Jdev Version is : 11.1.1.6.0
The attribute for which the LOV exists has a value which was once active on an earlier date, i.e, the LOV used to show the value in it's dropdown on an earlier date.
Example:
The ViewObject query for the LOV is:
SELECT JOB_ID, END_DATE FROM JOBS WHERE END_DATE > SYSDATE
Results
JOB_ID -- END_DATE
45 -- -- -- 23-OCT-2012
56 -- -- -- 21-OCT-2012
76 -- -- -- 15-NOV-2012
78 -- -- -- 15-DEC-2012
Now,
The main viewObject EmployeesVO has an attribute JOB_ID with an LOV to the JOBS VO above.
On 20th Oct, 2012, when I create an employee record, the LOV shows all 4 records in JOBS dropdown and I selected job Id as 56.
On 25th Oct, when I try to edit the Employee Record, I see a blank item in the JOBS choice list (the LOV being a simple choice list).
The LOV will display the jobs which are active as on 25th Oct.
How do I know, what is the current job of the employee?
This issue will not happen if we use input list of values combo LOV
Similar Messages
-
Dependent Choice List Not working in ECapture as Expected
Hi Martin_A,
In ECapture i am trying to create a dependent Chocie list which will show City name based on Country name.
But in ECapture that configuration is not working since during the creation of Depedent list from Parent
Source,configuration is taking only one value of Parent source for eg. Country- US
Hence child choice list is showing cities related to only US.
Which should not be the case since in actual scenarios depended list means filter on the basis of selected parent value.
Please let me know if i configured it wrongly.
Please send me the steps if you did it perfectly last time
@Martin_ALooking at the documentation 3.7 of Managing Oracle Webcenter Capture, that's how it is, you have to have a separate child list of cities for every country in the country list, only 196 parent items and 196 lists to configure then
In a choice list dependency, a parent field is linked to two or more child choice lists,
one of which is displayed after the user makes a selection in the parent field.
Important Points About Choice List Dependencies
■ You can create choice list dependencies between Capture user defined choice lists,
database choice lists, or between choice list types.
■ Create all choice lists you plan to link before creating a choice list dependency. At
a minimum, you need a parent choice list, and two or more child choice lists.
■ Each item in a child list can be related to multiple parent items. For example,
Supplies could be a child item to Household and Automotive subproducts.
■ You can create multi-level dependencies (for example, great grandparent,
grandparent, parent, and child choice lists).
■ Only one choice list dependency may be assigned to a client profile. Multiple
parent/child dependencies must be defined within a single choice list dependency.
Martin -
Simple Search is not working as expected
I am trying to execute code from the Brian "Bex" Heff book. The code is simple but I cannot figure out an error I'm getting. When I hit the search button I get following error.
A Runtime Error has occurred.
Do you with to Debug?
Line:1433
Error: 'document.QUERYTEXTCOMPONENTS.QueryBuilderQuery.disabled' is null or not an object
If I hit no I got the landing with with all the serach result. It seems like I not passing the querytext value to the next page.
Any idea on what is causing this?
We are on 10g.
hcst-advanced-search.hcst code.
<html>
<head><!--$include ss_layout_head_info-->
<!--$PageTitle="Guest Search Page"-->
<!--$if isTrue(IsLoggedIn)-->
<!--$PageTitle="Search Page For " & UserName-->
<!--$endif-->
<!--$include std_query_html_head_declarations-->
<script language="JavaScript">
<!--$include query_form_submit_form_function-->
</script>
</head>
<!--$include body_def-->
<!--$include std_page_begin-->
<h3 class=pageTitle>HCST Search Page</h3>
<form name="QUERYTEXTCOMPONENTS">
<input type=hidden name="QueryText" value="">
<table>
<tr>
<td align=right><span class=searchLabel>Title</span></td>
<td>
<input type="hidden" name="opSelected"
value="hasAsSubstring">
<input type="text" size=30 name="dDocTitle"
value="">
</td>
</tr>
<tr>
<td align=right><span class=searchLabel>Content ID</span></td>
<td>
<input type="hidden" name="opSelected"
value="hasAsSubstring">
<input type="text" size=30 name="dDocName" value="">
</td>
</tr>
<tr>
<td align=right><span class=searchLabel>
Release Date From</span></td>
<td align=left>
<input type="hidden" name="opSelected" Value="dateGE">
<input type="text" size=12 maxlength=20
name="dInDate" value="">
<span class=searchLabel>To</span>
<input type="hidden" name="opSelected" Value="dateLess">
<input type="text" size=12 maxlength=20
name="dInDate" value="">
</td>
</tr>
<tr>
<td align=right><span class=searchLabel>Full Text</span></td>
<td><input type="text" name="FullTextSearch" size=30></td>
</tr>
</table>
</form>
<!--$c="This page is hcst-advanced-search.hcst, and we wish to render the results with the template hcst-advanced-search-results.hcst"-->
<!--$urlTemplate = strSubstring(fileUrl, 0, strLength(fileUrl)-5)& "-results"-->
<form name="SEARCHFORM" method="GET" action="<!--$HttpCgiPath-->">
<input type=hidden name="IdcService" value="GET_SEARCH_RESULTS">
<input type=hidden name="urlTemplate" value="<!--$urlTemplate-->">
<input type=hidden name="QueryText" value="">
<input type=hidden name="ResultCount" value="5">
<table>
<tr>
<td><span class=searchLabel>Sort By:</span></td>
<td><select name="SortField">
<option selected value="dInDate">Release Date
<option value="dDocTitle">Title
<option value="Score">Score
</select>
</td>
<td><select name="SortOrder">
<option value="Asc">Ascending
<option selected value="Desc">Descending
</select>
</td>
<td>
<input type=submit value ="Search" onClick="submitFrm(false)">
</td>
</tr>
</table>
</form>
<!--$include std_page_end-->
</body>
</html>
Edited by: user642006 on Apr 16, 2009 12:02 PMHi
I did not go through the complete code that you have put here.... but from the error "ent.QUERYTEXTCOMPONENTS.QueryBuilderQuery.disabled' is null or not an object it looks to me the js code for the querytextcomponents function is not initialised correctly. May just put a debug statement right before and after the code is called to see what value is being passed to this variable and check if thats the value you expect it to get.
Hope this helps
Thanks
Srinath -
Key Flexfield's Segment List not working as expected
Greetings. I am having problems using the Segment List attribute of a key flexfield bean. I want to restrict the segments that a user can enter values for. I would like to do this by preferably setting the relevant segments read-only, or alternatively hiding them.
According to the documentation it is possible to enter a segment list of the form:
structure code1|segment1's name|segment2's name...
If the Segment List is left empty, all segments will be shown, but if it is supplied, only the segments in the list will be shown.
Also, it is possible to make a segment read-only by adding the code ($RO$) after a segment's name, like this:
Structure code1|Segment1($RO$)|Segment2...
I have tried both, and in both cases the code combination text box continues to show and edit all segments. All segment names are still listed under the text box, too, even when omitted from the Segment List. But when the user clicks the flashlight search button next to the text box to bring up the search/selection dialog, the segments match the Segment List, so the behaviour appears to be different for the text box and the dialog.
If anyone could shed some light on this issue, it would be much appreciated! Thanks in advance :-)I guess this snippet from OAF Dev guide will make you believe my words :)
=================================================================
Key Flexfield Segment List
You may fill in the Segment List property if you want to show some, but not all of the segments in your flexfield. If you leave this property empty, all segments are rendered. The syntax is similar to that described for descriptive flexfields, only you should use structure codes to replace context values. The format is:
structure code1|segment1's name|segment2's name...||structure code2|segment4's name|segment5' name...
Segments within a certain structure code are separated by a single pipe, "|", while data from a different structure codes is separated by a double pipe, "||". The example below lists segments for just one structure code:
FWK Item Flexfield|Manufacturer|Product Family|Product
Read-Only Segments
You can add the read-only token ($RO$) after any of the segments in the list. For example, the ($RO$) designator below sets Segment1 in structure code 1 to be read-only:
Structure code1|Segment1($RO$)|Segment2...
=============================================================== -
Contact choice list not showing up on dial screen
I have a large contact list in the address book and today the contact choice list not showing up on the dial screen when I press the first one or two letter of the contact name, for example, there are 2 contact in my address book, John Smith and John Joe, when I press "john", BB will filter the address list and show up 2 contacts above in the choice list, but it stop working today, any ideas? thank you.
Never mind! If anyone else has this issue.... After trying numerous things , I simply turned iMessages off on ipad, restarted ipad and logged back in.
-
Cascading Select Lists - Not Working for me
I am trying to implement Denes Kubicek's Ajax Cascading Select List solution.
http://apex.oracle.com/pls/otn/f?p=31517:119
But it is not working for me.
I'm a newbie to APEX and checked the forum for advice on cascading select lists. I saw the thread for
"Cascading Select Lists - Not Working" posted by sue and the replies by Varad Acharya, but I'm still
having issues of not seeing the alerts, not able to run the pl/sql process in SQL Workshop, and not
getting the expected results.
I have a list of countries (US - USA, CA - CANADA, etc.) and a list of states for each country. When a
user selects a country I would like to show the list of states within that country.
This is what I've done so far:
Defined an application process:
Process Point: On Demand: Run ... by a page process.
Name: CASCADING_SELECT_LIST1
Process Text:
BEGIN
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p ('Cache-Control: no-cache');
HTP.p ('Pragma: no-cache');
OWA_UTIL.http_header_close;
HTP.prn ('<select>');
HTP.prn ('<option value="' || 99 || '">' || '- All States -'
|| '</option>'
FOR c IN (SELECT state_code || ' - ' || state_desc d, state_code r
FROM tbk_state
WHERE country_code = :cascading_selectlist_item_1)
LOOP
HTP.prn ('<option value="' || c.r || '">' || c.d || '</option>');
END LOOP;
HTP.prn ('</select>');
END;
defined and application item:
Name: CASCADING_SELECTLIST_ITEM_1
Build Option: - No Build Option -
Created a 'Form on a table with report' as follows:
Page 5: Report on TBK_HARDWARE_LOCATION
Page 6: Form on TBK_HARDWARE_LOCATION
in HTML Header of the page attributes for 'Form on TBK_HARDWARE_LOCATION' I have:
<script language="JavaScript" type="text/javascript">
<!--
htmldb_delete_message='"DELETE_CONFIRM_MSG"';
//-->
</script>
<script>
function get_select_list_xml1(pThis,pSelect){
var l_Return = null;
var l_Select = html_GetElement(pSelect);
alert ('Dept no=' + pThis.value);
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
'APPLICATION_PROCESS=CASCADING_SELECT_LIST1',0);
get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
gReturn = get.get('XML');
// gReturn = get.get();
alert('Enames=' + gReturn);
if(gReturn && l_Select){
var l_Count = gReturn.getElementsByTagName("option").length;
l_Select.length = 0;
for(var i=0;i<l_Count;i++){
var l_Opt_Xml = gReturn.getElementsByTagName("option");
appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
l_Opt_Xml.firstChild.nodeValue)
get = null;
function appendToSelect(pSelect, pValue, pContent) {
var l_Opt = document.createElement("option");
l_Opt.value = pValue;
if(document.all){
pSelect.options.add(l_Opt);
l_Opt.innerText = pContent;
}else{
l_Opt.appendChild(document.createTextNode(pContent));
pSelect.appendChild(l_Opt);
</script>
On Page 6: 'Form on TBK_HARDWARE_LOCATION' I have the following items (plus some others):
Name: P6_COUNTRY_CODE
Display as: Select List
HTML Form Element Attributes: onchange="get_select_list_xml1(this,'P6_STATE_CODE');"
Source Used: Only when current value in session state is null
Source Type: Database Column
maintain session state: Per session
Source value or expression: COUNTRY_CODE
Named LOV: LIST OF COUNTRIES
Name: P6_STATE_CODE
Display as: Select List
Source Used: Only when current value in session state is null
Source Type: Database Column
maintain session state: Per session
Source value or expression: STATE_CODE
Named LOV: - Select named LOV -
List of Values definition:
select state_code || ' - ' || state_desc d, state_code r
from tbk_state
where country_code = :P6_COUNTRY_CODE
order by 1
LIST OF COUNTRIES is defined as:
select country_code || ' - ' || country_desc d, country_code r
from tbk_country
order by 1
Now to the problem:
I run page 5 (the report) to see the list of locations and then I try to edit a record (page 6). When I
try to select a different country I get the following error (on IE):
"Problems with this web page might prevent it from being displayed properly or functioning properly.
In the future, you can display this message by double-clicking the warning icon displayed in the status
bar.
Line: 17
Char: 5
Error: Object expected
Code: 0
URL: http//cmrac4.cm.timeinc.com:7777/pls/htmldb/f?
p=114:6:1413254636072443110::::P6_HARDWARE_LOCATION_ID:2
I don't see any of the alert messages.
I also tried to run the application process code in the SQL - Command Processor (I replaced
:cascading_selectlist_item_1 with 'CA' or 'US') and got the following:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh
button, or try again later.
Only one top level element is allowed in an XML document. Error processing resource
'http://cmrac4.cm.timeinc.com:7777/pls/...
<select><option value="99">- All States -</option><option value="X1">X1 - X1</option><optio...
Can someone help me please?Varad,
First, thank you for taking the time to try to help me with this problem.
When I view the page's source code (here are the first few lines):
<html lang="en-us">
<head>
<script src="/i/javascript/core.js" type="text/javascript"></script>
<link rel="stylesheet" href="/i/css/core.css" type="text/css" />
<script language="JavaScript" type="text/javascript">
<!--
htmldb_delete_message='Would you like to perform this delete action?';
//-->
</script>
<script>
function get_select_list_xml1(pThis,pSelect){
var l_Return = null;
var l_Select = html_GetElement(pSelect);
//alert ('Dept no=' + pThis.value);
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
'APPLICATION_PROCESS=CASCADING_SELECT_LIST1',0);
get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
gReturn = get.get('XML');
// gReturn = get.get();
//alert('Enames=' + gReturn);
if(gReturn && l_Select){
var l_Count = gReturn.getElementsByTagName("option").length;
l_Select.length = 0;
for(var i=0;i<l_Count;i++){
var l_Opt_Xml = gReturn.getElementsByTagName("option");
appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
l_Opt_Xml.firstChild.nodeValue);
get = null;
function appendToSelect(pSelect, pValue, pContent) {
var l_Opt = document.createElement("option");
l_Opt.value = pValue;
if(document.all){
pSelect.options.add(l_Opt);
l_Opt.innerText = pContent;
}else{
l_Opt.appendChild(document.createTextNode(pContent));
pSelect.appendChild(l_Opt);
</script>
It looks like line 17 is:
var l_Select = html_GetElement(pSelect);
I'm still not sure why I'm getting this error and why it's not working?
Thanks,
Eti -
Simple short cuts not working in CC?
Does anyone know why simple commands are not working in Illustrator CC (Copy, Paste, Undo) This is such an irritating problem as these short cuts are so frequently used. My cloud software is up-to-date. Having upgraded my software I would prefer not to have us CS5 to combat this problem.
Hi Vaibhav,,
Thankx for the prompt help!!
I'm using Submit to SAP button only and I do have xACF installed on my local m/c. I'm able to use buttons and validations on the form but I'm not able to get the values in my WDynpro ABAP Appl. For Eg. : and internal table is bound to a table UI in adobe iForm , I'm able to add row (using formcalc/JScript eventing in Adobe) but I'm not able to get the changed internal table in my WDynpro ABAP application after submit button is pressed.
Any help will be highly appreciated.
Regds,
Aryan -
PCI Simple Communications Controller not working
PCI Simple Communications Controller not working on hp pavilliong6-1003tx
Hi
Download, save & install --
Windows 7:
http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-94322-2&cc=in&dlc=en&lc=en&...
Restart system after installation.
Regards
Visruth
++Please click KUDOS / White thumb to say thanks
++Please click ACCEPT AS SOLUTION to help others, find this solution faster
**I'm a Volunteer, I do not work for HP** -
Expert Mode ViewObject: default 'query by example' mechanism does not work
In JDeveloper 11G 1.1.1
I have created an Expert Mode view object(VO) which I'm trying to filter in an ADF Swing Panel
The Panel contains a Swing Table created by dropping a VO data control on the panel as an ADF bound Swing Table.
TEST
Run the panel.
Set the Query Mode on (from the Database menu)
Enter a relevant view criterion
Execute the Query
TEST FAILS
Table is refreshed but it still displays the entire VO collection (non-filtered).
Repeating the same experiment with a default, entity object generated VO works as expected.
Question
Can the default 'query-by-example' mechanism as provided by the JUTestFrame and the JUNavigationBar be used with Expert Mode view Objects?
If yes are there any tricks to making this work?Hello Frank;
Additional TEST RESULTS
In JDev11G
The default 'query by example mechanism' does not work if you create a new View Object using the <Select data source...> option <Read-only access through SQL query>.
However, IT DOES WORK if you create a new ViewObject selecting <Updatable access through entity objects> and in the Query step you select <Expert Mode>
Could you please check and confirm.
Thanks!
Ioannis
Edited by: imouts on Dec 5, 2008 1:38 PM -
Revision: 5445
Author: [email protected]
Date: 2009-03-19 17:47:57 -0700 (Thu, 19 Mar 2009)
Log Message:
Fix for - @copy tag for two methods with different arg lists not working.
Some changes for refactoring.
QE Notes: None.
Doc Notes: None.
Bugs: SDK-19975
tests: checkintests, asdoc
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-19975
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja vaRevision: 5445
Author: [email protected]
Date: 2009-03-19 17:47:57 -0700 (Thu, 19 Mar 2009)
Log Message:
Fix for - @copy tag for two methods with different arg lists not working.
Some changes for refactoring.
QE Notes: None.
Doc Notes: None.
Bugs: SDK-19975
tests: checkintests, asdoc
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-19975
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va -
I downloaded Windows 10 and my Simple Pass is not working.
I downloaded Windows 10 and now my Simple Pass is not working. I get a message that HP Connected Remote isn't responding and to be sure the service is running. I went under programs and repaired it but I still get the same message. Thanks in advance for your help. Please don't make it too complicated.
DUPLICATE POST
Please see: https://discussions.apple.com/thread/5513386?tstart=0 -
My problem is pretty easy to reproduce.
I created a project from scratch with a view model.
As you can see in the setter of "Age" property I have a simple logic.
public class MainViewModel : INotifyPropertyChanged
public event PropertyChangedEventHandler PropertyChanged;
private int age;
public int Age
get
return age;
set
/*Age has to be over 18* - a simple condition in the setter*/
age = value;
if(age <= 18)
age = 18;
OnPropertyChanged("Age");
public MainViewModel(int age)
this.Age = age;
private void OnPropertyChanged(string propertyName)
if (this.PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
In the MainPage.xaml
<Grid x:Name="LayoutRoot" Background="White">
<TextBox
Text="{Binding Path=Age, Mode=TwoWay}"
HorizontalAlignment="Left"
Width="100"
Height="25"/>
<TextBlock
Text="{Binding Path=Age, Mode=OneWay}"
HorizontalAlignment="Right"
Width="100"
Height="25"/>
</Grid>
And MainPage.xaml.cs I simply instantiate the view model and set it as a DataContext.
public partial class MainPage : UserControl
private MainViewModel mvm;
public MainPage()
InitializeComponent();
mvm = new MainViewModel(20);
this.DataContext = mvm;
I expect that this code will limit set the Age to 18 if the value entered in the TextBox is lower than 18.
Scenario: Insert into TextBox the value "5" and press tab (for the binding the take effect, TextBox needs to lose the focus)
Case 1: Debugger is attached =>
TextBox value will be "5" and TextBlock value will be "18" as expected. - WRONG
Case 2: Debugger is NOT attached =>
TextBox value will be "18" and TextBlock value will be "18" - CORRECT
It seems that when debugger is attached the binding does not work as expected on the object that triggered the update of the property value. This happens only if the property to which we are binding has some logic into the setter or getter.
Has something changed in SL5 and logic in setters is not allowed anymore?
Configuration:
VisualStudio 2010 SP1
SL 5 Tools 5.1.30214.0
SL5 sdk 5.0.61118.0
IE 10
Thanks!Inputting the value and changing it straight away is relatively rare.
Very few people are now using Silverlight because it's kind of deprecated...
This is why nobody has reported this.
I certainly never noticed this problem and I have a number of live Silverlight systems out there.
Some of which are huge.
If you want a "fix":
private void OnPropertyChanged(string propertyName)
if (this.PropertyChanged != null)
//PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
Storyboard sb = new Storyboard();
sb.Duration = new Duration(new TimeSpan(0, 0, 0, 0, 100));
sb.Completed += delegate
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
sb.Begin();
The fact this works is interesting because (I think ) it means the textbox can't be updated at the point the propertychanged is raised.
Please don't forget to upvote posts which you like and mark those which answer your question.
My latest Technet article - Dynamic XAML -
TCP Window sizing not working as expected for Windows server 2008 R2 SP1
Hi ,
TCP window size is not working as expected. It is varying . Aplied the hotfix suggested by Microsoft and set the multipliccation factor as 1.The window size is not getting auto tuned based on the client machine. The data transfer rate is getting degraded.
Please help.
Thanks,
Pro1962Hi,
I think window auto-tuning is enabled.
You can disable it by running the following commend.
netsh interface tcp set global autotuninglevel=disabled
Hope this helps. -
Subtraction of two key figures normalized to result not working as expected
Hello SAP Community!
I am having problems with getting the right result from a subtraction of two KFs which are "normalized to results" which means the KFs really have values expressed as percentages. The substraction that should be performed is of two percentages (e.g.: 87.298% - 85.527% = 1.77%) but my report prints out the result as "number of units" instead (e.g.: 87.298% - 85.527% = 71,514.00 EA). The two normalized KFs actually "point" to two stock KFs, hence the "number of units".
In order to explain the problem I am facing please analyze below text:
1) Let's assume I have below data:
LOAD MONTH PLANT MATERIAL HORIZON MONTH FORECAST UNITS
200805 PLANT-A MAT-1 200805 510,235.00
200805 PLANT-B MAT-1 200805 74,240.00
200805 PLANT-A MAT-1 200806 438,721.00
200805 PLANT-B MAT-1 200806 74,240.00
200805 PLANT-A MAT-1 200807 356,981.00
200805 PLANT-B MAT-1 200807 74,240.00
200806 PLANT-A MAT-1 200805 0.00
200806 PLANT-B MAT-1 200805 0.00
200806 PLANT-A MAT-1 200806 510,235.00
200806 PLANT-B MAT-1 200806 74,240.00
200806 PLANT-A MAT-1 200807 438,721.00
200806 PLANT-B MAT-1 200807 74,240.00
2) Then, assume I have a comparison report, restricted by load month for two months May and June 2008 (filter restricted by two month variables) with FORECAST units spread accross columns for whole horizon (two months also in this case).
Material Plant 2008/06 2008/07
===================================================================
MAT1 PLANT-A
Base Units (May 2008) 438,721.00 356,981.00
Comparison Units (June 2008) 510,235.00 438,721.00
PLANT-B
Base Units (May 2008) 74,240.00 74,240.00
Comparison Units (June 2008) 74,240.00 74,240.00
TOTALS Base Units 512,961.00 431,221.00
Comparison Units 584,475.00 512,961.00
3) Now, let's suppose we want to know the proportions (%) of Base vs Comparison units, so
we normalize forecats to results an we get the below report:
Material Plant 2008/06 2008/07
===================================================================
MAT1 PLANT-A
Base Units (May 2008) 438,721.00 356,981.00
Base Units % (May 2008) 85.527% 85.527%
Comparison Units (June 2008) 510,235.00 438,721.00
Comparison Units %(Jun 2008) 87.298% 82.784%
PLANT-B
Base Units (May 2008) 74,240.00 74,240.00
Base Units % (May 2008) 14.473% 15.702%
Comparison Units (June 2008) 74,240.00 74,240.00
Comparison Units %(Jun 2008) 12.702% 17.216%
TOTALS Base Units 512,961.00 431,221.00
Comparison Units 584,475.00 512,961.00
4) Finally, let's suppose we want to know the deltas (differences) of Base vs Comparison
units, for both number of units and %. The report now look as below:
Material Plant 2008/06 2008/07
===================================================================
MAT1 PLANT-A
Base Units (May 2008) 438,721.00 356,981.00
Base Units % (May 2008) 85.527% 85.527%
Comparison Units (June 2008) 510,235.00 438,721.00
Comparison Units %(Jun 2008) 87.298% 82.784%
Delta base vs. comp. units % 1.77% 2.74%
Delta base vs. comp. units 71,514.00 81,740.00
PLANT-B
Base Units (May 2008) 74,240.00 74,240.00
Base Units % (May 2008) 14.473% 15.702%
Comparison Units (June 2008) 74,240.00 74,240.00
Comparison Units %(Jun 2008) 12.702% 17.216%
Delta base vs. comp. units % -1.77% -2.74%
Delta base vs. comp. units 0.00 0.00
TOTALS Base Units 512,961.00 431,221.00
Comparison Units 584,475.00 512,961.00
5) PROBLEM:
In my report, the "Delta base vs. comp. units %" is not working as expected and
calculates number of units just as "Delta base vs. comp. units" does instead of calculating the % difference.
So my report looks as follows:
Material Plant 2008/06 2008/07
===================================================================
MAT1 PLANT-A
Base Units (May 2008) 438,721.00 356,981.00
Base Units % (May 2008) 85.527% 85.527%
Comparison Units (June 2008) 510,235.00 438,721.00
Comparison Units %(Jun 2008) 87.298% 82.784%
Delta base vs. comp. units % 71,514.00 81,740.00 <<<WRONG!!
Delta base vs. comp. units 71,514.00 81,740.00
PLANT-B
Base Units (May 2008) 74,240.00 74,240.00
Base Units % (May 2008) 14.473% 15.702%
Comparison Units (June 2008) 74,240.00 74,240.00
Comparison Units %(Jun 2008) 12.702% 17.216%
Delta base vs. comp. units % 0.00 0.00
Delta base vs. comp. units 0.00 0.00
TOTALS Base Units 512,961.00 431,221.00
Comparison Units 584,475.00 512,961.00
The formulas are:
a) Delta base vs. comp. units %
Delta base vs. comp. units % = Comparison Units % - Base Units %
b) Delta base vs. comp. units
Delta base vs. comp. units = Comparison Units - Base Units
The KFs
- Comparison Units %
- Base Units %
Are RESTRICTED key figures (restricted to Base and comparison month variables) which
are setup as:
1) Calculate Result As: Summation of Rounded Values
2) Calculate Single Value as: Normalization of result
3) Calculate Along the Rows
The KFs
- Delta base vs. comp. units %
- Delta base vs. comp. units
are FORMULAS setup to:
1) Calculate Result As: Nothing defined
2) Calculate Single Value as: Nothing defined
3) Calculate Along the Rows: user default direction (grayed out)
Thanks for the time taken to read in detail all of this. Long text but necessary to understand what the problem is.
Any help is highly appreciated.
Thank you.
MarioHi,
The subraction will be carried out before doing the normalization of your KF's. So, it is displaying "number of units". Create a calculated keyfigure and subtract the KF's and in the properties of this calculated keyfigure, change the enhancement as "After Aggregation".
I hope this will solve your issue.
Regards,
S P. -
Events in SubVi not working as expected
Hi, I am reposting this question as my previous one didn't resulted in any satisfactory conclusion.
I have attached my Vi's which are not working as expected. If I remove ONE subVi and its associated 3 controls and two indicators, the other one works just fine, but when I add two SUB Vis, it goes messy. I am trying to learn this way, I am sure it can be done many other ways, but please help me finding out the problem doing it this way as in my final MainVi, I would like to use 8 such sub Vis. Thanks.
Solved!
Go to Solution.
Attachments:
Main.vi 11 KB
SubVi.vi 12 KB
SubVi_2.vi 15 KBYour main problem is DATA FLOW. A loop cannot iterate until EVERYTHING in it has completed. So, as you have it, you have to have both event structures execture before you can go back to look for the next event. So if you insist on having these subVIs, they need to be in seperate loops.
BTW, you can get away with a single subVI. Go into the VI properties and make it reentrant (preallocated clone). Then each call of your subVI will have its own memory space. A lot easier to maintain that way.
And I know you said you didn't want alternatives, but here's how you can do it all with a single event structure in your main loop.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
Main_MODTR.vi 10 KB
Maybe you are looking for
-
Trying to hook up Mac Mini with bluetooth-capable HP printer. Mac indicates device is "paired" but not yet connected. How do I get Mac to recognize or discover printer?
-
HT4847 Why can't I download a 3.9 gb movie when I just purchased 15gb storage
Why can't I downloaded 3.9 gb movie, I just purchased 15 GB of storage, I'm not to computer savvy so forgive me.
-
Hi All, We have a requirement to send a notification when ever an employee record gets deleted from the system. Can anybody help me doing this. Thank you.
-
Need some help regarding the component usage
Dear ALL, I have one scenario something like this . I have a main component say ZComp1 and in it i have created one view in which we two drop downs and i have 28 view containers depending upon the drop down values these view containers will be visib
-
How add Custom Collection Form Tab in Table properties
Hi, Request : We would like to add a new tab on the table properties of a physical model. Example Explanation : If we have a table with the following form: CREATE TABLE_1 (COL1 CHAR (10), COL2 NUMBER (6) COL3 VARCHAR2 (20)); We would like that the ne