Attributes at the level of
HelloI want to create level attributes in AWM. I see the definition of the level and the attributes of dimension attributes in the link below:
http://docs.Oracle.com/CD/A97630_01/OLAP.920/a95295/designd6.htm
How to create a level attribute in AWM? pls help
Select the dimension, right-click on "Attributes" within the dimension to create a new attribute.
Now, choose the level or levels of the attribute applies to.
If the attribute applies to all hierarchies and levels in the dimension, then this is a dimension of other attribute is an attribute of level (levels 1 or more).
The same screen creates two types of attributes.
Uncheck the default option on the check box "apply attributes to" expand and choose the level of hierarchy / the new attribute applies to.
Reading aid on screen 'Create the attribute' AWM for more details.
HTH.
Tags: Business Intelligence
Similar Questions
-
Mr President
JDev 12.2.1.
Where to add the transitional attribute at the level of the entities or view level?
And where to use {return getTransientAttribute()} in the entity or view?
public Number getAmount() { return getTransientAttribute(); //return (Number) getAttributeInternal(AMOUNT); }
Concerning
A difference I could think: place a transient attribute on EO level will make transaction dirty (DBTransaction.isDirty returns true) when the field is changed.
From a design point of view, I tend to place the transient fields at the level VO, because most of the time they are for the presentation of the data in the user interface.
Only when the transient fields are involved in DML operations (for example when you call a stored procedure EntityImpl.doDML) I place the transitional area on EO.
-
Impacts on the performance of the attributes from the features of data model design
I'm trying to understand the implications of the performance of two possible data model design.
Here is my structure of the entity:
Global > person > account > option
Generally, when running, I instantiated a person, a single accountand five option's .
There are various amounts determined according to the age of the person who should be assigned to the correct option.
Here are my two designs:
Design a
attributes on the entity of the person :
age of the person
its option 1 amount
its option 2 amount
its option 3 amount
its option quantity 4
its option 5 amount
attributes on the option endity:
amount of the option
support table rules:
option = amount
its option 1 amount if the option is number 1
its option 2 amount if the option number 2
its option 3 amount if the option number 3
its 4 option amount if the option is number 4
its option 5 amount if the option is number 5
Two design
attributes on the entity of the person :
age of the person
attributes on the entity of the option :
amount of the option
of the option option 1 amount
of the option option 2 amount
of the option option 3 amount
of the option quantity 4
of the option option 5 amount
support table rules:
option = amount
of the option option 1 amount if the option is number 1
option 2 amount option if the option number 2
of the option option 3 amount if the option number 3
the option amount 4 If the option is number 4
option 5 option amount if the option is number 5
Given two models, I can see what looks like an advantage for a design that, when running, you have less attributes (6 on retirement member + 1 on each of the 5 options = 11) as two Design (1 on retirement members + 6 on each of the 5 options = 31), but I'm not sure. An advantage to design two might be that the algorithm must do less through the structure of the entity: the table of rules support everything for the amount of the option option.
Anyway there is a table of rules to determine the amounts:
Design a
its option 1 amount =
2 if age = 10
5 if age = 11
7 if age = 12, etc..
Design two
of the option option 1 amount =
2 if age = 10
5 if age = 11
7 if age = 12, etc..
Here, it seems that the one would have to cross over the structure of the entity for the design of two.
The design will have a better performance with a large amount of rules, or it would make a difference at all?Hello!
In our experience, just think about this kind of stuff if you were dealing with 100's or 1000 instances (usually through ODS). You have a very low number, the differences will be negligible, as you should (in general) go with the solution that is most similar to the material of origin or the understanding of the business user. Also, I guess that's an OWD project? Which may be even better, the inference is performed gradually when new data are added to the modules, rather than in a 'big bang' as ODS.
It seems that the model 1 is the easiest to understand and explain. I wonder why you have the option at all entity, because it seems to be a relationship to one? If the person cannot have only a single amount of option 1, option 2 amount etc, and there's only ever going to be (up to) 5 options... is this assumption correct? If so, you can keep just like the attributes at the level of the person without the need for bodies. If there are other requirements of an instance of the option then, of course, use them, but given the information here, the option feature doesn't seem to be necessary. It would be the fastest of all :-)
Whatever it is, that the number of instances is so low, you should have nothing to fear in terms of performance.
I hope this helps! Write back if you have more info / questions.
See you soon,.
Ben -
ATTRPARENT dimension of the text attribute to several levels of construction with a rules file
Hello
My first post here.
I'm trying to create the dimension generation rule to create a dimension of the multilevel text attribute and then combine with the basic dimension.
So far, it is difficult.
With regard to my experience:
-J' have a relatively basic understanding of the rules of charge both with regard to the data loads and define the updates - I find this quite confusing area and the documentation does not help that much
-J' only started using dimensions attribute, so for me it's a new concept, but we are already quite useful in certain applications
-J' I try to automate the process of construction of dimension attribute, and then associating attributes with the basic dimension
I use the following documentation as a guide:
Building size attribute and associate attributes
http://docs.Oracle.com/CD/E12825_01/EPM.111/esb_dbag/frameset.htm?dotdimb.htm
and / or
Work with the attribute multi-level Dimensions
http://docs.Oracle.com/CD/E26232_01/doc.11122/esb_dbag/frameset.htm?ch21s06s05.html
(essentially the same source in both cases)
The ultimate goal is to replicate one of our existing recently created attribute dimensions of a cube to another.
I built a few versions of the required flat file and the corresponding rules file, but none worked.
I tend to get the following validation error message:
This field is defined as an ATTRPARENT. The following column must be a field of association attribute type.
As I got stuck so I gave to the current actual attributes and moved on to experimenting with the sample / base cube.
I built a flat file that is supposed to create a new dimension of text attribute named ABC with two attributes level structure:
ABC
A
AA
AB
B
BA
BB
and associate it with the dimension of the product in the following way
200-10 AA
200-20 AB
200-30 BA
200-40 BB
The flat file looks like this:
"AA" "A" "200-10" "A" "AA" "200"
"AB" "A" "200-20" "A" "AB" "200"
"AB" "B" "200-30" "B" "AB" "200"
"BB" "B" "200-40" "B" "BB" "200"
and the rule file has 6 matching columns with titles as follows:
Level0, LEVEL1 ABC, ABC Level0, product ATTRPARENT0, ABC ABC0, LEVEL1 product, product
all agree with what the documentation says.
The first 2 columns are intended to define and create the dimension of the attribute, while the 4 next make association...
I couldn't the above rules file to validate.
The same validation error message appeared as previously:
This field is defined as an ATTRPARENT. The following column must be a field of association attribute type.
However when I tried to actually update the outline of the mistakes of dimbuild.err file has been created which gives some additional clues:
\\ATTRPARENT column 4 must precede a numeric or datetime column attribute association
Now... Finally the interesting part...
Back to the documentation...
I don't mind if the size of the attribute is generated and then those associated with step or in two separate steps.
I try to do both tasks in one step only because that's what the documentation seems to suggest attributes at several levels.
First of all I read:
Note:
If you work with a multilevel dimension attribute or with a dimension of the attribute of the digital type, Boolean, or date, the rules file requires an additional field. See working with Dimensions of the multilevel attribute.
Yes, I work with a dimension of the multilevel attribute so the above statement applies (I guess) and so I'm going to see what works with several levels attribute Dimensions has to say.
Then, I read:
When an attribute is part of a digital multi-level, Boolean, or dimension attribute date, the source data must include columns for all generations or the size of the attribute levels.
Fair enough... so I do what they say... my attribute dimension is at several levels, so I can assume that the statement above applies...
So, I build my rule in accordance with the guidelines above.
And then, as we have already mentioned, I get the error message about ATTRPARENT and when I read, it turns out that ATTRBPAREN cannot be used for numeric or date attribute dimensions !
I'm totally confused at this point.
What about the attribute text multi-level dimensions ?
They are several levels but they are NOT numeric or date those!
The documentation does not seem to tell what to do in this case...
Anyone build something like that?
What is the thing that I'm missing?
What about
I'm glad that you got to work. I tested and that is to create the dimension attribute and associate it with the rule of the load.
You could ignore the construction size manually. Remove the attribute dimension. The rule1 go for the Dimension settings under the definition of Dimension tab. Then right-click on the product and change the properties. On the attribute tab, add 'Test' or whatever you want to call the attribute, and assign the text type. He adds the attribute and associate it with the basic dimension when it create the hierarchy. Note that the rules could actually be reversed where you create members of level 0 and then more later to create the hierarchy. Of course you must pass the size of the attribute association to the other rule
-
Explore the level of detail showing only a single attribute
We have a very simple dimension, called CustomerDim, with 2 logical levels, customer and Contact. The client level has an attribute called CustomerName. The level of Contact has 4 attributes ContactID, ContactName, ContactEmail, ContactPhone.
CustomerDim
Customer
-CustomerName
Contact
-ContactID
-ContactName
-ContactEmail
-ContactPhone
My reports of responses (simple table) allows me to drillman down the customer contact, but I still only see of attributes in the Contact section, no matter how to set up the keys to my level. Is it possible to show all attributes in a report of the response: IE, break through to the functionality in detail? I tried to set all level to "Use of Drill Down" keys, but not luck. If I put the only one of them to 'Use for drill down' who will be the one that appears in my report.
I know I can probably achieve the same thing by simply accessing a new report that provides the details of my contacts, but I was really hoping that set several attributes under a logical dimensional level would achieve this.
(We're on 10.3.1.4)have two sets of keys to the level of the contact
1)
ContactID
Uncheck the use of exploration down, this is the primary key2)
-ContactID
-ContactName
-ContactEmail
-ContactPhone
Select both, not not separately
Select the option use for exploration down -
How to disable Lov when the value of the attribute is NULL at the level line
Hi all
JDev 11.1.1.5.0
I have a view as a table ADF jsff page object. Value of the attribute in a row may have null values.
And I want that Lov must be disabled when the value of the attribute in the row is null or not.
So please suggest me how can I implement this.
Kind regards
Marie-ClaudeSet to the disabled for LOV attribute property
disabled="#{bindings.YourAttribute.inputValue eq null} {code}
-
Display only relevant base-level attributes in the record of decision
Hello
I use determinations OPA 10.2 on weblogic server. The service I use is to evaluate. What follows is a knot in my decision report:
< ns0:attribute - node id = id of the entity-'dn:88' = instance id 'global' = 'global' hypothetical instance = "false" attribute id = "b2@Rules_ExternalCalls_EXCommon_doc" type = "boolean" text = "information to make calls of motor voters were collected". deducted = 'true' departure-relevance = "" end-relevance = "" > "
< ns0:boolean - val > true < / ns0:boolean - val >
< ns0:attribute - id = the id of the entity node-'dn:89' = 'global' instance = 'global' hypothetical instance id = "false" attribute id = "q_Register_To_Vote" type = "boolean" text = "the applicant does not register to vote." deducted = 'false' start-relevance = "" end-relevance = "" > "
< ns0:boolean - val > false < / ns0:boolean - val >
< / ns0:attribute - node >
< ns0:attribute - node id = id of the entity-'dn:90' = instance id 'global' = 'global' hypothetical instance = "false" attribute id = "Political_Party' type = 'text' text ="political party is unknown."deducted = 'false' start-relevance =" "end-relevance =" ">"
< ns0:unknown - val / >
< / ns0:attribute - node >
< ns0: already proven node id = "dn:13" / >
< / ns0:attribute - node >
As can be seen, even though the goal has evaluated to 'true', as 'q_Register_To_Vote' is set to false, it always shows "Political_Party" is unknown. However when I debug without screens setting in OPM ' relevant only "and provide false for 'q_Register_To_Vote',"Political_Party"is hidden in the resulting tree/decision report. How this behavior be simulated in determinations server evaluate the service decision report?
Thank you
SamThe reason for which political_party appears in the record of decision is because it is actually relevant. For more information about the relevance in the decision reports see http://docs.oracle.com/html/E24270_01/Content/Decision%20reports/Hide_an_attribute_from_decision_report.htm.
You can remove the attributes in a record of decision using the silent operators and / or Invisible. For more information on this, see http://docs.oracle.com/html/E24270_01/Content/Reference/Definition_of_relevant_in_decision_reports.htm.
-
Custom attribute in the patch ACS4.2 17
I have an optional custom attribute in my ACS group to pass on ACE config mode: shell: Admin * Admin by default-field
Privilege level 15 is also part of the configuration of the exec.
Recently I applied the patch 17 on ACS 4.2 (0) build 124. Since then I can not connect with the level of privilege 15 in IOS routers/switches.
Looks like IOS box considers this attribute custom as a mandatory now.
---------------------------------------------------------------------------------------------------
Debugging IOS (Cat6500, 12.2 (33) SXJ4):
May 27, 13:23:56.819: MORE: application created for 61929 (pehruby)
May 27, 13:23:56.819: MORE: previously set server group Ganymede 10.105.24.44 +.
May 27, 13:23:56.819: HIGHER (0000F1E9) / 550052 A-4/NB_WAIT/0: started 5 sec timeout
May 27, 13:23:56.819: HIGHER (0000F1E9) / 0/NB_WAIT: made event 2
May 27, 13:23:56.819: HIGHER (0000F1E9) / 0/NB_WAIT: 62 bytes written requests
May 27, 13:23:56.819: HIGHER (0000F1E9) / 0/READING: made event 1
May 27, 13:23:56.823: HIGHER (0000F1E9) / 0/READING: would block during playback
May 27, 13:23:56.823: HIGHER (0000F1E9) / 0/READING: made event 1
May 27, 13:23:56.823: HIGHER (0000F1E9) / 0/READING: read all 12 byte header (wait for data 51 bytes)
May 27, 13:23:56.823: HIGHER (0000F1E9) / 0/READING: made event 1
May 27, 13:23:56.823: HIGHER (0000F1E9) / 0/READING: read all the answer 63 bytes
May 27, 13:23:56.823: HIGHER (0000F1E9) / 0 / 550052 A 4: the package of treatment response
May 27, 13:23:56.823: MORE: handled AV priv-lvl = 15
May 27, 13:23:56.823: MORE: could not decode a unknown AV hull: FAIL
May 27, 13:23:56.823: HIGHER (0000F1E9) / 0/REQ_WAIT / 550052 A 4: expired
May 27, 13:23:56.823: MORE: Protocol is set to None. Jump
May 27, 13:23:56.823: MORE: AV = shell shipping service
May 27, 13:23:56.823: MORE: sending AV cmd *.
ACS TCS.log (different time, same attempt):
TC 27/05/2013 11:59:39 I 0043 5088 0 X 15< packet="" to="" client:10.106.11.114="" type:author/pass_add,="" seq="" 2,="" flags="">
TC 27/05/2013 11:59:39 I 0043 5088 0 X 15 SESSIONID-998342923 (0XC47E7EF5), DATALEN 51 (0 X 33)
TC 27/05/2013 11:59:39 type I 0043 5088 0 x 15 = AUTHOR/RESPONSE status = 1 (AUTHOR/PASS_ADD)
TC 27/05/2013 11:59:39 I 0043 5088 0 x 15 msg_len = 0, data_len = 0 arg_cnt = 2
TC 27/05/2013 11:59:39 I 0043 5088 0 x 15 size arg [0] = 11 = priv-lvl = 15
TC 27/05/2013 11:59:39 I 0043 5088 0 x 15 size arg [1] = 32 = shell: Admin * Admin by default-field
TC 27/05/2013 11:59:39 I 0043 5088 0 x 15 end >
------------------------------------------------------------------------------------------------------------------------
Debugging IOS (C1841, 12.3 (14) T7):
May 30, 12:21:58.248: AAA/BIND(00000A52): link i / f
12:21:58.272 30 may: AAA/AUTHOR (0xA52): list of selection method "acs."
12:21:58.272 30 may: MORE: AAA Queuing 2642 authorization for treatment
12:21:58.272 30 may: HIGHER: processing of the application for authorization id 2642
12:21:58.272 30 may: MORE: Protocol is set to None. Jump
12:21:58.276 30 may: MORE: AV = shell shipping service
12:21:58.276 30 may: MORE: sending AV cmd *.
12:21:58.276 30 may: MORE: application created for 2642 (ph)
12:21:58.276 30 may: MORE: previously set server group Ganymede 10.105.24.44 +.
12:21:58.276 30 may: HIGHER (A 00000, 52) / 656FB000/NB_WAIT/0: started 5 sec timeout
12:21:58.276 30 may: HIGHER (A 00000, 52) / 0/NB_WAIT: made event 2
12:21:58.276 30 may: HIGHER (A 00000, 52) / 0/NB_WAIT: 59 bytes written requests
12:21:58.276 30 may: HIGHER (A 00000, 52) / 0/READING: made event 1
12:21:58.276 30 may: HIGHER (A 00000, 52) / 0/READING: would block during playback
12:21:58.280 30 may: HIGHER (A 00000, 52) / 0/READING: made event 1
12:21:58.280 30 may: HIGHER (A 00000, 52) / 0/READING: read all 12 byte header (wait for data 51 bytes)
12:21:58.280 30 may: HIGHER (A 00000, 52) / 0/READING: made event 1
12:21:58.280 30 may: HIGHER (A 00000, 52) / 0/READING: read all the answer 63 bytes
12:21:58.280 30 may: HIGHER (A 00000, 52) / 0/656FB000: the package of treatment response
12:21:58.280 30 may: MORE: handled AV priv-lvl = 15
12:21:58.280 30 may: MORE: could not decode AV shell: Admin * Admin by default-field - PASS - PASS
May 30, 12:21:58.284: AAA/AUTHOR/EXEC(00000A52): AV cmd = treatment
May 30, 12:21:58.284: AAA/AUTHOR/EXEC(00000A52): successful authorization
ACS.log:
TC 30/05/2013 12:21:58 I 0043 1280 0 X 0< received="" from="" client:10.106.0.50="" type="AUTHOR," seq="1," flags="">
TC 30/05/2013 12:21:58 I 0043 1280 SESSIONID 0 X 0 1990425999 (0X76A37D8F), DATALEN 47 (0X2F)
TC 30/05/2013 12:21:58 I 0043 1280 type 0 x 0 = AUTHOR, priv_lvl = 1, authentic = 1
TC 30/05/2013 12:21:58 I 0043 1280 0 x 0 METHOD = Ganymede +.
TC 30/05/2013 12:21:58 I 0043 1280 SVC 0 X 0 = 1 USER_LEN = 2 PORT_LEN = 6 REM_ADDR_LEN = 12 ARG_CNT = 2
TC 30/05/2013 12:21:58 I 0043 1280 0 x 0 USER = ph
TC 30/05/2013 12:21:58 I 0043 1280 PORT 0 x 0 = tty195
TC 30/05/2013 12:21:58 I 0043 1280 0 X 0 = 10.106.33.22 REM_ADDR
TC 30/05/2013 12:21:58 I 0043 1280 0 x 0 arg [0](size=13) = service = shell
TC 30/05/2013 12:21:58 I 0043 1280 0 x 0 arg [1](size=4) = cmd *.
TC 30/05/2013 12:21:58 I 0043 1280 0 X 0 END >
TC 30/05/2013 12:21:58 I 0850 3244 1 allocated connection wire work unique 0xf
TC 30/05/2013 12:21:58 I 0143 3244 0xf author data: phtty19510.106.33.22service = shellcmd. = 13362timezone = MEZservi
TC 30/05/2013 12:21:58 I 0163 3244 0xf - excerpts from the info service
TC 30/05/2013 12:21:58 I have 0189 3244 0xf - Checked NARs
TC 30/05/2013 12:21:58 I 0199 3244 0xf - implemented Reqs:
TC 30/05/2013 12:21:58 I 0209 3244 0xf - a profile
TC 30/05/2013 12:21:58 I 0261 3244 0xf - executed
TC 30/05/2013 12:21:58 I 0263 3244 0xf - set of controls done clean
TC 30/05/2013 12:21:58 I 0265 3244 0xf - version NDG provided
TC 30/05/2013 12:21:58 I 0043 3244 0XF< packet="" to="" client:10.106.0.50="" type:author/pass_add,="" seq="" 2,="" flags="">
TC 30/05/2013 12:21:58 I 0043 3244 SESSIONID 0XF 1990425999 (0X76A37D8F), DATALEN 51 (0 X 33)
TC 30/05/2013 12:21:58 I 0043 3244 0xf type = AUTHOR/RESPONSE status = 1 (AUTHOR/PASS_ADD)
TC 30/05/2013 12:21:58 I 0043 3244 0xf msg_len = 0, data_len = 0 arg_cnt = 2
TC 30/05/2013 12:21:58 I 0043 3244 0xf arg [0] size = 11 = priv-lvl = 15
TC 30/05/2013 12:21:58 I 0043 3244 0xf arg [1] = 32 = shell size: Admin * Admin by default-field
TC 30/05/2013 12:21:58 I 0043 3244 0xf end >
PuTTY session:
Connect as: ph
[email protected]/ * / password:<------ (10.106.0.16="" and="" 10.106.0.50="" are="" ip="" addresses="" of="" the="" same="">------>
1841_hra_lab >
1841_hra_lab ><------ i'm="" not="" in="" enable="" mode="" (priv.level="">------>
--------------------------------------------------------------------------------------------------------------------
Unfortunalety I don't have newspapers/debug of the period before the update, when everything was ok.
I guess that the problem is somewhere in this argument that goes from the ACS to the customer:
TC 30/05/2013 12:21:58 I 0043 3244 0xf arg [1] = 32 = shell size: Admin * Admin by default-field
Can someone tell me how this argument with the option setting should look like?
Maybe * shell: Admin * Admin by default-field?
Petr
Hi Peter,
You are using in a default.
CSCth75577 ACS incorrectly sends optional custom attributes GANYMEDE +.
Symptom:
Authorization GANYMEDE + IOS fails if client attributes (even as an option) are configured on the ACS user group. The connection will work, but the attributes passed will be not honored.
Conditions:
ACS 4.2.0.124 patch 16
ACS 4.2.1.15 patch 2
Workaround solution:
Return to a previous fix ACS.
This problem has been fixed in
ACS 4.2.1.15 patch 3 or later.
Upgrade of the ACS to 4.2.1.15 and apply the latest patch 10.
Jatin kone
-Does the rate of useful messages- -
Error message validator custom method to the level of the entities
Hello
JDev 11.1.2.4
I have a validator method at the level of the entities. The method can make the entity fail for various reasons. For each pattern, the error message should be different.
The problem is that in the message of treatment failure, I don't know how to retrieve the correct reason.
MyEntityImpl
{} public boolean isValid()
String pattern = null;
If (Error1) {reason = ' reason no. 1 "; return false ;}}
If (Error2) {reason = 'Reason 2'; return false ;}}
Returns true;
}
How to set the value of the reason on handling failed message?
Thank you
A solution to work with a transitional attribute in OT
Oracle adf - message validator set in in adf entity object programmatically - Stack Overflow
-
How to use the VO attribute in the URI of the destination link added in customization
Hello
The notification of approval of application, I need to add a link to a custom page. This custom page requires the id of the request as a parameter header.
For the page, we have a function. The function is called in the link.
If I add this link on the row requisiton area, it works because I can just refer to the VO attribute and the value is transferred.
But this means that the link is placed on each line.
The user wants to see this link only once.
So I tried to add a link on another level.
The problem seems to be that I can't reference requisiton header value in the URI of destination when the link is created out of the box 'lines '.
The value IS available and displays in any element of Message Style text create in customization.
But in a link element, I don't know how to get the value of the URI of the destination.
Can someone help me please?
What is the correct syntax to do this?
Thank you
RonnyHi Ronny
Maybe you need to explicitly specify the Name property of the VO on your item link, depending on which area it is in.
Thank you very much
Richard
-
PowerCLI need to define global attributes on the hosts
PowerCLI need to define global attributes on the hosts... Please, I beg you. ESXi4.
The name is easy in the user interface as long as it applies to all hosts in the global inventory, but I want to be able to set or change the value of the attribute on a per host-level or a cluster.
Thanks for any help!
I have
To create global custom attributes that you use
New-CustomAttribute -Name MyCustomAttribute
To set a global custom attribute for the hosts, you can use
New-CustomAttribute -Name MyCustomAttribute -TargetType VMHost
If you want to set or change the value of the attribute for a specific host, you can do
Set-CustomField -Name MyCustomAttribute -Value "MyValue" -Entity (Get-VMHost
) If you want to change the value for all hosts in a cluster, you can do
Get-Cluster
| Get-VMHost | Set-CustomField -Name MyCustomAttribute -Value "MyValue" ____________
Blog: LucD notes
Twitter: lucd22
-
Calculation of sum in the attribute of the entity
Dear all,
I have following the entity attr.
The problem is that it does not display the design for attribute value, betai I created the accessor to view in the attribute of the entity.<Attribute Name="TotalAppraisedIncome" ColumnName="TOTAL_APPRAISED_INCOME" SQLType="NUMERIC" Type="oracle.jbo.domain.Number" ColumnType="NUMBER" TableName="z_z" IsQueriable="false" RetrievedOnUpdate="true" RetrievedOnInsert="true"> <DesignTime> <Attr Name="_DisplaySize" Value="22"/> </DesignTime> <TransientExpression><![CDATA[adf.object.IncomeDetailSummary_VO1.sum("(AppraisedIncome/100)*IncomeCombination")]]></TransientExpression> </Attribute>
But when I use it in viewobject as transitional attribute, it works very well...
I need to do at the level of the entities because the value is caluclated runtime and it should be updated in the field of database corrosponding.<ViewAttribute Name="TotalAppraisedIncomeView" IsSelected="false" IsPersistent="false" PrecisionRule="true" Type="oracle.jbo.domain.Number" ColumnType="NUMBER" AliasName="VIEW_ATTR" SQLType="NUMERIC"> <RecalcCondition><![CDATA[true]]></RecalcCondition> <TransientExpression><![CDATA[IncomeDetailSummary_VO1.getRowSet().sum("(AppraisedIncome/100)*IncomeCombination")]]></TransientExpression> </ViewAttribute>
Any ideas?
Thank you and best regards,
Sicard.
JDeveloper 11.1.1.5.0Hello
based on a usage example Dept/Emp in human resources
1 create EO departments and employees EO with Department/employee Association (master / detail)
2. search the name of the Association (in my case employees) end in detail
3. create a transient in EO departments attribute - say 'SalariesPaid '.
4. create a class Impl (EmployeesImpl and make associations that are exposed as methods)--> getEmployees1 in my case
5. use the following expression Groovy on the transient attributeadf.source.getEmployees1 (.sum ('Salary'));
... or whatever the mathematics you need to perform
Frank
-
How to omit elements/attributes if the value of the element is zero?
Hi gurus
It's me again. with a quick question...
I'm sure everyone knows the difference between these two statements (running in the SCOTT schema):
Select
XmlElement ('employees',
XMLAGG)
XMLFOREST (comm as "SalesCommEmployee")
)
)
EMP;
Select
XmlElement ('employees',
XMLAGG)
XmlElement ("SalesCommEmployee", comm)
)
)
EMP;
First statement out fewer records because XMLFOREST shows nothing if the value of the element is null.
But what happens if element has attributes?. Say:
Select
XmlElement ('employees',
XMLAGG)
XmlElement ("SalesCommEmployee", xmlattributes (empno as "id"), comm)
)
)
EMP;
Is it possible to omit any element (including attributes) if the value of the element is set to zero.
Of course, it is a simplistic example, in this case, a WHERE clause would solve the problem.
In my particular case, I am managing a huge SELECT with multiple levels of xml and some elements (with attributes), may have null values, and must be included in this case nothing.
I am considering a dirty search/delete option on the output, but I think that a more elegant solution must exist.
Can you give me some advice?
Thank you
OscarHello
You can use a CASE statement, DECODE or NVL2 functions.
Here is an example with NVL2 (returns 2nd argument if the 1st is not not null, otherwise the 3rd):
SQL> select xmlserialize(document 2 xmlelement("Employees", 3 xmlagg( 4 nvl2( comm 5 , xmlelement("SalesCommEmployee", xmlattributes(empno as "id"), comm) 6 , null ) 7 ) 8 ) 9 as clob indent 10 ) as result 11 from scott.emp 12 ; RESULT --------------------------------------------------------------------------------
300 500 1400 0 -
Problem with attribute in the details group ordimage (maybe a bug?)
Hello
JDeveloper: 11.1.1.4
JHs: 11.1.1.3.35
I have a retail group that contains an attribute ordimage among other attributes, but it does not show the image as it shows the other attributes of the Group detail correctly. While running, he throws java.lang.ArrayIndexOutOfBoundsException the "row = rows [0];" statement in the oracle.jheadstart.ord.html.OrdPlayMediaServlet.renderContent () method. The main reason for this error is apparently that the viewobject vo get filled out correctly (it contains no line at all) and if the "lines = vo.findByKey (mKey, 1)"; "." returns no rows.
Is this not a bug? Is there a work around?
PS: When I use another instance of the viewobject even as a group of high level it works fine. The error only occurs when the viewobject is used as a details group.
Anyway, here's the exception:
Cause first of ServletException.
java.lang.ArrayIndexOutOfBoundsException: 0
at oracle.jheadstart.ord.html.OrdPlayMediaServlet.renderContent(OrdPlayMediaServlet.java:343)
at oracle.jheadstart.ord.html.OrdPlayMediaServlet.deliver(OrdPlayMediaServlet.java:189)
at oracle.jheadstart.ord.html.OrdPlayMediaServlet.doGet(OrdPlayMediaServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)Can you try using standard servlet support? You can do this by changing the name of the class of the servlet in the web.xml file in
oracle.ord.html.OrdPlayMediaServlet.
If you don't use a JHeadstart flex fields, you can use this standard ADF class. If the problem persists with this class, it's a bug in the ADF.
Steven Davelaar,
JHeadstart team. -
Display the values of attribute on the summary screen
Hello
I have a rules database that allows members of a household to apply for certain services. Also, some documents must be submitted in order to complete the application process.
Documents may or may not be required for all members of the household. For example, lets assume that the application requests a certificate of disability. This must be made by only those who are disabled.
I want to display the list of members (on the summary screen) for which a particular document is required.
How can I get this list? I tried to store member names in a global variable, but failed.
The basis of rules is a separate entity to capture members of the household.
Thank you
AakarshOut-of-the-box in version 10, you cannot attach level entity attributes to the summary screen.
However, take a look at this thread for some alternative ideas settle what you try to do: display the attributes of entity on the summary screen level (thread title: display the attributes of entity on the summary screen level)
See you soon,.
Jasmine
Maybe you are looking for
-
Upgrade processor for Hp Pavilion p6607c desktop PC
Hello. I have a desktop Hp Pavilion p6607c with an amd athlon ii x 2 220 processor atm and a corsair 500w PSU. I was wondering if I could switch to an amd phenom ii x 4 processor that stretches with problems or if there are all the other better proce
-
Trying to right click and send to specific folder, it is not available
When I want to send data to a specific to say 'documents' folder I right click, but do not get this option how to do that please?
-
Can't open some programs due to the DEP.
Hello! I tried to open programs like iTunes and Fine Pix Viewer on my PC (Windows Vista home premium 64-bit) and I can not anymore. He used to work before, but in recent months it doesn't.Help me please, once I have no idea what to do.The following m
-
AIO 926 inkjet driver incompatible with Windows 10. When is it updated and tested?
AIO 926: Even after manual installation, 10 Windows indicates that the printer driver is not available [not known]. Can scan but not print. I go to Windows 7 and want to know if Dell intends to update and test drivers for Windows 10 and when. The Pro
-
Copies of Windows dvd maker downloaded movies in narrow crushed format.tried 4.3 & 16.9 options nothing works. They play OK in preview.