Help needed in getting the Role Description from BOL Entities
Hi All,
I am trying to retrieve BP Role and BP Role Description and display the details at the top of account over view page.
I am fetching the BP Role details using 'BuilRolesRel'. but i am not able to find any BOL Query to get Role Description.
Any pointers on this is really very very helpful.
Thanks,
Udaya
Hello Udaya,
under BuilRolesRel there is a entity BuilRoles and this entity has an Attribute RLCTITLE.
this is a Description of the role.
Good Luck
Eli Steklov
Please Reward Points if it Helped
Similar Messages
-
How to get the report description from obiee's web services (web catalog)?
I am trying to get the Description from the properties of a report (using web services + web catalog). I am not able to retrieve the description through the itemProperties[] array, and have not been successful finding it anywhere else. Has anyone been able to get the this Description property? Thanks.
hi,
are you looking for table name,column name,subject area,created time for a specific report/request ?
IF yes we can do this using Catalog manager
Open Catalog Manager-->tools-->Create Report
thanks,
saichand.v -
Hi
-- I have a PL/SQL in which it return an array value and I need to get the value using Java.... any idea how?
thanksCheck out CallableStatement:
http://java.sun.com/j2se/1.5.0/docs/api/java/sql/CallableStatement.html -
Help needed in getting the previous Quarter Data
Hello folks,
I have this procedure where i have to modify the current procedure in the following manner:
I need to get rid of the variables p_start and p_end so that i cannot see them in the crystal report and include the Frequency in the procedure to get the Data based on the Dates.
and Main requirement is" If the Frequency is Quarterly " it should get the previous quarter Data, if "Frequency is monthly" it should return the previous month data.Can anyone please let me know where shud i make changes. Am including the procedure for refernce. Any help is appreciated
Thanks a millioin,
CREATE OR REPLACE PROCEDURE hcsc_recovery_report_h(report_record in out cr_return_types.gen_cursor,
p_start string,
p_end string)
IS
v_startdate date;
v_enddate date;
BEGIN
v_startdate := to_date(p_start, 'YYYY/MM');
v_enddate := last_day(to_date(p_end, 'YYYY/MM'));
open report_record for
select --distinct r.recovery_id
r.event_id,
r.event_case_id,
c.client_id,
c.client_code,
c.client_name,
b.branch_group_code,
b.branch_group_description,
g.employer_group_code,
g.employer_group_name,
e.client_policy_identifier,
e.date_of_incident,
e.event_type_code,
sum(nvl(r.amount, 0)) as amt_received,
nvl(sum(case
when r.amount >= 0 then
rd.fees
else
rd.fees * (-1)
end),
0) as fees,
ec.close_date, *001* commented
(case
when ec.close_date <= to_date(to_char(v_enddate, 'MMDDRRRR') || '235959',
'MMDDRRRR HH24MISS') then
ec.close_date
else
null
end) as close_date, --*001* added
get_case_value(ec.event_id, ec.event_case_id, v_enddate) as case_value,
nvl(etl.fee_percent_flag, 'N') workmans_comp,
max(to_char(r.recovery_date, 'FMMonthYYYY')) Year_Month,
max(to_char(r.recovery_date, 'YYYYMM')) Y_M,
max(to_date(to_char(r.recovery_date, 'MMYYYY'), 'MM/YYYY')) date_MY
from recovery r,
recovery_detail rd,
event e,
client c,
branch_group b,
employer_group g,
event_case ec,
event_type_lookup etl
where r.event_id = e.event_id
and r.event_case_id = ec.event_case_id
and ec.event_id = e.event_id
and rd.recovery_id(+) = r.recovery_id
and r.recovery_date between v_startdate and
to_date(to_char(v_enddate, 'MMDDRRRR') || '235959',
'MMDDRRRR HH24MISS')
and e.client_id = c.client_id
and g.client_id = c.client_id
and b.client_id = c.client_id
and g.employer_group_id(+) = e.employer_group_id
and b.branch_group_id(+) = g.branch_group_id
and e.event_type_code = etl.event_type_code -- SST 130852 04/14/09
group by r.event_id,
r.event_case_id,
c.client_id,
c.client_code,
c.client_name,
b.branch_group_code,
b.branch_group_description,
g.employer_group_code,
g.employer_group_name,
e.client_policy_identifier,
e.date_of_incident,
e.event_type_code,
ec.close_date,
get_case_value(ec.event_id, ec.event_case_id, v_enddate),
nvl(etl.fee_percent_flag, 'N')
having sum(nvl(r.amount, 0)) <> 0
order by c.client_code,
b.branch_group_code,
g.employer_group_code,
r.event_case_id;
Edited by: user11961230 on Oct 20, 2009 9:02 AMuser11961230 wrote:
1. I want to get rid of the p_start and p_end. So how do i declare the v_startdate and v_enddate in the following part?
v_startdate := to_date(p_start, 'YYYY/MM');
v_enddate := last_day(to_date(p_end, 'YYYY/MM'));I'm not sure what you mean by "declare".
In PL/SQL, "declare" means state (at the beginning of a block) that there will be a certain variable with a certain name (such as v_startdate) and datatype (such as DATE). You're already declaring the variables v_startdate and v_enddate correctly, right before the BEGIN statement.
Declaring a variable is not the same as initializing it, that is, giving it a value for the first time. Your next question seems to be about initializing..
2. where exactly shud i include the logic that u have mentioned. sorry a dumb questionIn place of the two assignment statments that reference p_start and p_end.
3. This time am gonna use frequency instead of report_type so that i will get rid of the p_start and p_end from the procedure.Do you mean you want to pass an argument (called frequency) that tells if you want a quarterly or a mionthly report, just like the variable report_type in my example?
If so, replace report_type in my example with frequency.
I think you want something like this:
CREATE OR REPLACE PROCEDURE hcsc_recovery_report_h
( report_record in out cr_return_types.gen_cursor
, frequency IN VARCHAR2
IS
-- Declare local variables:
v_startdate date;
v_enddate date;
BEGIN
-- Initialize v_startdate and v_enddate, depending on frequency
IF frequency = 'QUARTERLY'
THEN
v_startdate := TRUNC ( ADD_MONTHS (SYSDATE, -3)
, 'Q'
v_enddate := TRUNC (SYSDATE, 'Q');
ELSIF frequency = 'MONTHLY'
THEN
v_startdate := TRUNC ( ADD_MONTHS (SYSDATE, -1)
, 'MM'
v_enddate := TRUNC (SYSDATE, 'MM');
END IF;
-- Subtract one second from v_enddate
v_enddate := v_enddate - ( 1
/ (24 * 60 * 60)
open report_record for
select --distinct r.recovery_id
r.event_id,
and r.recovery_date BETWEEN v_startdate
AND v_enddate
...When you post formatted text on this site (and code should always be formatted), type these 6 characters:
(small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing.
Edited by: Frank Kulash on Oct 20, 2009 2:37 PM
Changed query to use BETWEEN -
Need to get the selected values from the selectManyShuttle
Hi,
I am using ADF11g newer version.
I have a selectManyShuttle and a command button. Need to insert all the selected values on the right hand side of the selectManyShuttle into a database table.
I created the selectManyShuttle with the values. Need help in getting the values on the right hand side.
<af:selectManyShuttle value="#{bindings.UserMgmtVO1.inputValue}"
id="sms2">
<f:selectItems value="#{bindings.UserMgmtVO1.items}"
id="si6"/>
</af:selectManyShuttle>
Any sample code or link is really appreicated.
ThanksThanks for the reply.
I am using a View Object and I dropped it as SelectManyShuttle
<af:selectManyShuttle value="#{bindings.UserMgmtVO1.inputValue}"
id="sms2"
valueChangeListener="#{POBacking.getSelectedValues}"
valuePassThru="true"
autoSubmit="true">
<f:selectItems value="#{bindings.UserMgmtVO1.items}"
id="si6"/>
</af:selectManyShuttle>
public void getSelectedValues(ValueChangeEvent valueChangeEvent) {
System.out.println("Testing Shuttle");
ArrayList list = new ArrayList(Arrays.asList(valueChangeEvent.getNewValue()));
String val = "";
String sqlStmt = "";
try {
if (list != null) {
for (int i = 0; i < list.size(); i++) {
int l = list.size() - 1;
val = list.get(l).toString(); //returns , delimited string
System.out.println(" value:" + val);
if (val != null) {
val = val.replaceAll("[\\[\\]]", ""); //remove []
StringTokenizer st = new StringTokenizer(val, ",");
int nto = st.countTokens();
for (int j = 0; j < nto; j++) {
String users = st.nextToken().trim();
System.out.println("Users:" + users);
//sqlStmt = " update xxpp_project_clip set clip_status='true', clip_seq = "+j * 10+
// " where project_id = "+rHdr.getAttribute("ProjectId") +
// " and clip_name ='"+ clip_Name +"'";
//System.out.println("sqlStmt:" + sqlStmt);
//stmt.executeUpdate(sqlStmt);
//am.getDBTransaction().commit();
//if (stmt != null)
// stmt.close();
// am.getDBTransaction().commit();
} catch (Exception ex) {
ex.printStackTrace();
I don't see the values in the list.
I gets printed as
value:[Ljava.lang.Integer;@1b10691
Users:Ljava.lang.Integer;@1b10691
how to get the individual values in the list?
Thanks
Saru -
Help needed for importing the DC's from NWDI track very urgent
Hi all,
I am importing a DC from NWDI tracks.
I imported DC from NWDI with out any problem but i am unable to create a project
it shows an error while i am creating the project for DC in inactive DC's.
error message is :
Failed to sync DC "**.##/lpt/absencerequest/*.##_LPT_**_OPUS_FRAVAER_WEBDYNPRO_1)" in configuration
"JC0_DLPT0003_D". File "C:\Documents and Settings\****\.dtc\1\DCs\**.##\lpt\absencerequest\_comp\.dcdef" does not exist locally after sync but it exists on the server
can you plese tell me why its happening as soon as possible
it is a LEAVE REQUEST application in ESS
Regards,
RajeshHi Rajesh,
Recently i worked on ESS business package and faced lot of probelem to bring the track from NWDI into NWDS. Most of the times the probelms are from importing only. Make sure that whether the DCs which you want to modify is getting imported properly or not. mean the while check the path of the local directory .. whether it is correct or wrong..
re import the components once and try to create the porject in local directory.
to to Work spave -> local directory -> .dtc -> 0 or 1 ( folder) -> DCS -> bin ->
if you still facing any problems pls let me know...
regards
Ratnakar reddy -
Okay, I shut down my computer a few hours ago like normal and I restarted it again when I wanted to go on it which was later this evening. A screen popped up that said press enter to continue and a bunch of code, so I did just pressed 'Enter' like it asked. Then another screen came up that said, "Your computer could not start up, we are finding and fixing the problems, ect ect." And then there was a percentage at the bottom of how much was completed.
So after it was finished, my computer started to totally restart, like I just bought the computer. It had me remake everything. And when it was all done EVERYTHING except for the programs that came with the computer where gone. I noticed a recovery disc and how it was almost full, and it said it has all my programs on it and to not delete it. Well okay if it has all my programs....
How in the world do I get everything from the recovery disc back onto my computer?
Please comment on any information that can help!The recovery partition on the hard drive does not have your programs/files. It holds the files to reinstall Windows and all original software/drivers that came on the laptop. In other words, it does exactly what just occurred.
******Clicking the Thumbs-Up button is a way to say -Thanks!.******
**Click Accept as Solution on a Reply that solves your issue to help others** -
How do I transfer my email folders on comcast over to my new imac? I am getting email but need the folders which have all my old/saved items.
BTW if this is your first Mac or you're not familiar with how to create folders and rules I'd recommend watching the following Mail tutorials:
http://www.apple.com/findouthow/mac/#mailbasics
http://www.apple.com/findouthow/mac/#organizemail -
Can you recover/download all of your iTunes Match account onto your computer? I synced the iPod that I had the entire library on to a new computer and lost almost all of my music. The old computer that had the library on it blew a hard drive and I can't sync the iPod back to the old computer. Everything is in iTunes Match, but can I load it onto my computer, so I can get it back on my classic iPod?
If you had iTunes Match before all this happened, yes. Just log in, activate iTM and download the music. If you did not have iTunes Match prior to these incidents, no, it can not help you.
You should also be doing regular backups of your personal data to an extnal HDD. If you had a backup hue could simply restore it. -
How to get the Role from a process
Hi,
I have a process where I have different role panes with human intervention activities. Each human intervention invokes a screenflow.
Is there any method by which I can get the role pane from which an intance is generated
For e.g. in process P1, I have 3 different role panes i.e. R1, R2, R3. Suppose there is an human intervention activity A3 in R3. It invokes a screenflow in which there are different methods. I want to get the roleId here i.e. R3.
Through creation data I can know the instance creator i.e. participant ID, but a participant can have more than one role. I want to get the role from which the Human Intervention activity is invoked.
Please suggest / help.
Thanks
JayantHey Thanks a tonn
It works fine by the following code
role = Activity.role
logMessage "message"
logMessage "Role: " + role.name
role.id returns an int, so I used role.name
Thanks and Regards
Jayant -
Get the role of a user in portal 6.0
Hello,
I need to get the role of a user in portal 6.0. I want to do this in one of the templates to dynamiclly size our tabs due to the fact some roles have more tabs then others.
travisYou have to use the Identity Server SDK's to do this ..
create SSOToken and AMStore Connection object. Using that you can get the AMUser object and do getRolesDNs to the roles the user is assigned to or from AMStoreConnection you can do a getTopLevelContainers to get the orgs, roles etc assigned for the signed in user ..
take a look at the identity server samples it should be in
/install_dir/SUNWam/samples/sdk
HTH .. -
How to get the SSO user from PL/SQL with Windows native authen
I connect to a 10g daabase using SSO through Windows Native Authentication wher the OID user mapps to a single Database user.
I need to get the SSO user from pl/sql
My fornt end is Portal & FormsHmm, I see.
Well your problem boils down to being in the database and needing to have access to web environment variables. The SSO sets specific variables in the environment but your stored procedure is not privy to them.
Now having said that, note that the mod_plsql Web Toolkit has a utility for accessing cgi variables. For instance,
owa_util.get_cgi_env('Osso-User-Dn')
If your web application cannot capture the SSO info and pass it to the stored proc in a parameter, OWA may be the only way.
Check out the Single Sign-On Developers Guide, specifically the part about developing statically protected PLSQL applications.
Hope this helps.
regards,
tt -
How to get the file name from Oracle B2B 10g
Hi My requirement is I am getting a CSV file from Trading partner, I am using oracle 10g b2b to translate the data.
In my BPEL 10g I am using AQ adapter to get the message from IP_IN_QUEUE.
Now I want to get the file name Eg: SampleFile.dat of the CSV file in my BPEL process.
I tried using the b2b.filename property in the receive activity and it is not getting the file name.
<sequence name="main">
<receive name="Receive_Note" partnerLink="GetB2BNote"
portType="ns1:Dequeue_ptt" operation="Dequeue"
variable="Receive_Note_Dequeue_InputVariable"
createInstance="yes">
<bpelx:property name="b2b.fileName" variable="WriteFileName"/>
</receive>
</sequence>
Can you help me to get the file name from Oracle b2b 10g ?
Thanks,
b2b userHi My requirement is I am getting a CSV file from Trading partner, I am using oracle 10g b2b to translate the data.
In my BPEL 10g I am using AQ adapter to get the message from IP_IN_QUEUE.
Now I want to get the file name Eg: SampleFile.dat of the CSV file in my BPEL process.
I tried using the b2b.filename property in the receive activity and it is not getting the file name.
<sequence name="main">
<receive name="Receive_Note" partnerLink="GetB2BNote"
portType="ns1:Dequeue_ptt" operation="Dequeue"
variable="Receive_Note_Dequeue_InputVariable"
createInstance="yes">
<bpelx:property name="b2b.fileName" variable="WriteFileName"/>
</receive>
</sequence>
Can you help me to get the file name from Oracle b2b 10g ?
Thanks,
b2b user -
How do I get the GidBagLayout location from my buttons?
How could I get the location of my JButtons (or JLabels) in my GridBoxLayout?
I've tried all that I could think of..
here some code sample
JButton button;
GridBagLayout layout = new GridBagLayout();
GridBagConstraints c = new GridBagConstraints();
c.weightx = 0.5;
c.weighty = 0.5;
c.insets = new Insets(20,20,20,20);
button = new JButton("Button 1");
c.gridx = 0;
c.gridy = 0;
button.addActionListener(this);
centerPanel.add(button, c);
button = new JButton("Button 2");
c.gridx = 1;
c.gridy = 0;
button.addActionListener(this);
centerPanel.add(button, c);
System.out.println(((JButton)e.getSource()).getText());
System.out.println(layout.getLayoutOrigin());
//System.out.println(((JButton)e.getSource()).);
//System.out.println(((JButton)e.getSource()).location());
System.out.println(e.getSource().toString());
System.out.println(layout.getLayoutDimensions());
// System.out.println(layout.lookupConstraints(((JButton)e.getSource())));
System.out.println(layout.getLayoutOrigin());I think that's all you experts would need..
what I'm trying to do is when I click on one of them buttons then fetch where that buttons is (in the GridBagLayout, not absolute) and be able to add a new button to the side or under the clicked button..
the System.out.println(layout.getLayoutOrigin()); does seem to give me x=0 and y=0 but that's the same with all buttons so it isn't good enoughI think that's all you experts would need..You would think wrong. We need a SSCCE to see exactly
what you are doing.
see http://homepage1.nifty.com/algafield/sscce.html,
In general component don't have a size or location
until the GUI is visible. That is the layout manager
isn't invoked until the component is displayed.
If you want to add a component after the component
you click on then you would probably need to use the
add(...) method that takes a position variable as a
parameter.yes I think I need to use the add(..) and a position variable
the problem is that I need to get the position variable from the other component so I could put the new component at the right position
as for the SSCCE I do think that I do that..
but for some extra information
I'm writing an applet.. and I use a borderlayout for some component.. in the center panel I've placed a GridBagLayout and some buttons.. I've given the buttons an ActionListener and now I want to get the location in the GridBag of the Button I've pressed
so when I click one of them buttons I want to know it's location.. as in X=1, Y=2 or something
so I could place the new button on X=1, Y=3 -
How to get the domain name from the System
I need to get the domain name from the system in JDK 1.1.8
Any Ideas?InetAddress.getLocalHost().getHostName() will get you the name of the computer the code is executed on. If that isn't the "domain name" then perhaps you could give more detail about what "domain" you are trying to find the name of.
Maybe you are looking for
-
Easy Keys and Fn+F8 (WLAN on/off) don't work
Hello guys, I have bought a new Toshiba Satellite A100-490 last week. I have tested all hot keys and function keys with the pre-installed Windows XP MCE. Everything worked. But I needed a new customized installation of Windows XP Professional and Win
-
Time for a new battery (or more) for iBook G4?
I have a 3 1/2 year old 14" ibook G4 - I have the original battery (possible clue?) and before it became completely unresponsive to powering up, it would suddenly turn off, even with the power adapter plugged in. I've tried all the things Apple recom
-
I want to create a trigger using a java stored procedure. CREATE OR REPLACE PROCEDURE test(tableName in VARCHAR2, tableID in VARCHAR2, ID int) AS LANGUAGE JAVA NAME 'DBTrigger.setReplicationFlag(java.sql.Connection, java.lang.String, java.lang.String
-
I have lost my apple i pod touch . Apple id is [email protected] and serial no is CCQHGBT8DNQW .Is there any posibility of tracking my ipod .pleas help me to find my ipod. It is being used by some other person. Pleas help me and reply me to [email pr
-
How to use TMS_QAM_DELETE_TMSQWL?
I'm trying to build up an automated transport tool, which should accept/delete transport request in QA. I found FM TMS_QAM_DELETE_TMSQWL, but don't know how to use it. It needs a list of transports: TRKORR CLI AS4DATE AS4TIME E01K907318 010