SSHR item key
Hi all,
The column ITEM_KEY in PQH_SS_STEP_HISTORY table is the same as workflow Item_key?
Thanks!
Thanks Shivanandan.
I just wanted to confirm because I got the item key from SSHR table but when I am using it in Status Monitor its not returning anything, any ideas about the reason for that?
Regards!
Similar Messages
-
Workflow with item type and item key is in progress. Abort existing workfl
Dear all,
I'm using the below code from the submit button event to launch the workflow. The workflow works fine when I submit for the first time, when i try to submit for the second time from the same session it throws me the error as Workflow with item type and item key is in progress. Abort existing workflow.
Where I am struck,Kindly send me any solution.
I am using below code in oaf
public void workflow(OAPageContext pageContext,
String headerId,
String empName,
String userName
String wfItemType = "XXSample";
String wfProcess = "XXSample";
String wfItemKey = headerId;
OANavigation wfClass = new OANavigation();
// Create Workflow Process
wfClass.createProcess(pageContext, wfItemType, wfProcess, wfItemKey);
System.out.println("Workflow created");
wfClass.setItemAttrText(pageContext,
wfItemType,
wfItemKey,
"XXHDRID",
headerId);
wfClass.setItemAttrText(pageContext,
wfItemType,
wfItemKey,
"XXEMPNAME",
employeeName);
wfClass.setItemOwner(pageContext, wfItemType, wfItemKey,username);
wfClass.startProcess(pageContext, wfItemType, wfProcess, wfItemKey);
System.out.println("Workflow started");
Thanks,
Kumar.Item type and item key forms unique record for the workflow session, you cannot have 2 instances of the workflow running for the same header id, in your case. Check if the process exists for the header id. If so, display a warning message without launching another workflow session, else start the workflow process.
Thanks
Shree -
Getting the item key to pass as a parameter
How can I get the itemkey if I have the itemtype to pass as a parameter into the wf_engine.createprocess api.
Thanksi am trying to pass the parent_id as a parameter to a portal page but am not able to... i can add it to the list of in parameters to the PL/SQL based parent id but when i add the parent id to the url then i get no result... i created a custom attribute for the parent id since there is no attribute build other then page group and page id... when I set the Parent ID attributes default value in the attribute properties of the item type based on PL/SQL it just brings back results for the default value and if i pass a different value for ithe parent id i dont get the correct result I get the result for the default parent id.
I am using the followin url to pass the parent id
http://localhost:7778/portal/page?_pageid=76,87832&_dad=portal&_schema=PORTAL&parentid=22223 -
FBL5N - Invoice History by Open Items at Key Date
Hi Experts.
I have a doubt. Is it posible in FBL5N to get the invoice status information by " Open Items: Open at key date" ?
e.g. if I change the baseline date or House Bank information in 08/25/2010 and I get the report using the date: 08/24/2010, how can I get the information in that date?
In my case, the system always show the last change, and not the invoice situation in specific date.
Thanks .Yes, The system dislays the data with the current details (After changes).
For open item key date, it consider the posting date (Which can not be changes, once document is posted).
Regards,
Gaurav -
KEY MAPPING IN FMRWEB.RES DEPENDS ON ITEM ELEMENT CURSOR STANDS ON
Key mapping in fmrweb.res depends on item element cursor stands on.
If cursor stands on checkbox item, key-f2 (our ctrl-ins key shortcut) trigger fires, but if cursor stands on text item, it doesn't work.
I would appreciate any suggestion.http://forums.oracle.com/forums/ann.jspa?annID=432
-
How to make manager approve more than one request in one time in SSHR
Dear All,
Anyone has an idea on how to make manager approver more than one request in one time in SSHR??
for example, manager is having 20 requests to approve on Change Pay Function, he don't want to check one by one and approve it, he want to approve the 20 requests directly from one time, is there any solution for that??
Thanks and RegardsHi Adel,
As Vignesh has mentioned we don't have any standard functionality which will allow bulk approvals. We had same kind of requirement in performance management where the business was asking for a bulk approval feature which should be available to Skip level manager for approving the rating suggested by line manager. We had created a custom page which will list all the notifications and user can select the ones which S/He wants to bulk approve and click submit button. Internally we had called the workflow with item key and other required parameter and do the approval.
You can have a work with your technical guy and can work on the same lines.
Thanks,
Sanjay -
I have defined a SIT structure with 2 segments "Type" and "Expenses", both are storing into SEGMENT1 AND SEGMENT10 respectively.
After the intiator submits the transaction from SSHR for approval, I would like to retrieve the values of "Type" and "Expenses" entered by the initiator. I checked the "HR_API_TRANSACTION_VALUES" against this transaction Item Key, there no values stored.
From which table we can get these segments values?
Thanks in advance.1) What does this return?
SELECT t.transaction_id
,t.status
,t.selected_person_id
,t.transaction_document
,s.transaction_step_id
,s.api_name
,v.transaction_value_id
,v.datatype
,v.name
,v.varchar2_value
,v.number_value
,v.date_value
FROM hr_api_transactions t
,hr_api_transaction_steps s
,hr_api_transaction_values v
WHERE t.item_type = 'HRSSA'
AND t.item_key = '123456'
AND t.transaction_id = s.transaction_id
AND s.transaction_step_id = v.transaction_step_id(+)
AND v.name(+) IN ('P_ANALYSIS_CRITERIA_ID','P_ID_FLEX_NUM','P_PERSON_ANALYSIS_ID','P_STRUCTURE_CODE');
(You need to replace the item_key from 123456 with the Item Key of the transaction in question)
2) What Oracle E-Business Suite release are you on? -
Reset Cleared Documents and Vendor Open Items Report FBL1N
Hi all,
I have following scenario:
- In last month, we had 2 documents (invoice and payment) cleared against each other. We created open items report as well as open items correspondence sent to Vendor. Obviously, the docs were not included in report.
- In this month, we have reset and reverse clearing document of the documents. We create report again with the open key date as in last month. It should not include the 2 docs but it did with whichever key date we chose.
Is there any setting that open item report doesn't include cleared item at the key date when we run report for previous month?
Thanks and Regards,
DauHi Dau,
If i understand you correctly then you posted and paid invoice in Jan 2012 and generated the open line item report for Jan which correctly did not include this cleared invoice.
Now in Feb 2012 you reset and reversed this payment document.
The issue is when you execute the report FBL1N again then you get the open line item for this invoice correct. Please confirm what is the open item key date that you are using here for generating this report
If you keep it 31.01.2012 then definetly this invoice should not appear in the report but if you keep that 29.12.2012 then this line item would for sure appear.
The importance of key date is to limit the report to certain date. The system selects all items posted up to and including the specified key date and open for this period.
so I think your issue is with the key date.
Hope this helps you.
Regards,
Prasad -
Different Keys of DSO transformation nullfy record info with RecordMode 'R'
Two DSOs: DSO1 and DSO2 and we load data from DSO1 to DSO2
DSO1 has the following fields:
Delivery Doc Number (Key field), Delivery Doc Item (Key field), SO (data field), SO Item(data field), Delivery Quantity(data field)
DSO2 has the following fields:
SO(Key field), SO Item(Key field), Delivery Doc Number (data field), Delivery Item (data field), Delivery Quantity (data field)
The problem is a record with Record Mode = 'R' in DSO will be transferred to DSO2 and makes this record in DSO2 only contains SO/SO Item values, all other field values are set to null. Or in other word, a cancelled Delivery also causes it's corresponding SO cancelled which is absoluted incorrect!
We are thinking out a solution to place some coding in the start routine to overcome this problem. Maybe to verify if Record Mode ='R', then set it as a null value? But null value for Record Mode means After Image, not sure if it works or not. Anyone's idea is greatly appreciated!Hello ,
Please follow these steps:
1. Remove the 0recordmode mapping in the Technical group of trhe transafermations between DSO's.
2. Write the logic as below in the transfermation routine in each of the Key figures ( Delivery Qty Etc ... ) .
- IF recordmode EQ '' or recordmode eq 'N'.
- RESULT = Delivery Qty.
- elseif recordmode eq 'X' or recordmode eq 'R' .
- RESULT = -1 * Delivery Qty
endif.
Hope this helps.
Thanks,
Ravi. -
Hi Experts,
I have Sales Schedule data( DSO ) and Delivery Item data( DSO ). I would like to combine this two DSO into one new DSO in order to get the Open Order Quantity ( Order Quantity - Delivery Quantiy ).
Fields in Sales Schedule DSO are
Sales Document ( Key Field )
Sales Docment Item ( Key Field )
Schedule Line ( Key Field )
Material Avail Date ( Data Field )
Order Quantity ( Key Figure )
Fields in Delivery Item DSO are
Delivery Number ( Key Field )
Delivery Item Number ( Key Field )
Document number of the reference document ( Data Field ) which is refered to the field Sales Document in 1st DSO
Item Number of the reference document ( Data Field ) which is refered to the Sales Document Item in 1st DSO
Delivery Quantity ( Key Figure )
I would like to create new DSO based on the common fields Sales Document (DSO1)= Document number of the reference document ( DSO2)
and Sales Document Item Number ( DSO1) = Item Number of the reference document (DSO2) in the both DSOs.
I required feilds like Sales Document, Sales Document Item, Material Avail Date, Order Quantity and Deliver Quantity ( Some other fields which are not mandatory ).
Would like to create new DSO on top of two DSOs, please suggest me what are the Key Fields and Data fields should be in the new DSO.
Your quick help is really appreciated.
Thanks
Robert.Hi Robert,
Define the key as a combination of the keys of both DSO:
Sales Document ( Key Field )
Sales Docment Item ( Key Field )
Schedule Line ( Key Field )
Delivery Number ( Key Field )
Delivery Item Number ( Key Field )
Map the sales doc from the delivery to the key as well.
This will ensure you have a unique key and your data will be aggregated correctly when reporting.
Cheers,
Diego -
How to get the CCID from a Key Flexfield in OAF page
Hi all,
I have created a KFF on a custom page/region.
I can search on segments and select a value in the Flex field Lov.
I am not sure how I can read the ccid that is behind a selected code combination.
I would like to read the value of the ccid on the click of a submit button.
I can certainly identify the Button event with a given name but not exactly sure what should be coded in the processFormRequest method.
Below is my KFF implementation code in the processRequest of the controller:
OAKeyFlexBean kffId = (OAKeyFlexBean)webBean.findIndexedChildRecursive("DrKeyFlexItem");
// Set the code combination lov
kffId.useCodeCombinationLOV(true);
// kffId.useCodeCombinationLOV(false);
//set the structure code for the item key flex
kffId.setStructureCode("UK_ACCOUNTING_FLEX");
// Unite Account Structure code - ACCOUNTING_FLEXFIELD
//Set the attribute name to the item
kffId.setCCIDAttributeName("CodeCombinationId");
//Execute the Query
UnIntraSearchKFFAMImpl am = (UnIntraSearchKFFAMImpl)pageContext.getApplicationModule(webBean);
UnIntraSearchKFFVOImpl vo = (UnIntraSearchKFFVOImpl)am.findViewObject("UnIntraSearchKFFVO1");
if(!vo.isPreparedForExecution())
System.out.println("Just before executing the VO Query");
vo.executeQuery();
Thanks
VinodThe issue here is while you are retrieving all the details, you are consistently overwriting them in the request.setAttribute() call before you get to the JSP to display them.
Do you actually have a class/object called Student?
That object should have attributes for classes, subjects, teachers (all of which are lists apparently)
public class Student{
String name;
List classes;
List subjects;
List teachers;
// appropriate getter/setter methods
}Then you load each student, and populate its individual lists.
That lets you pass the list of students, each student having its own lists for display.
Hope this helps,
evnafets -
FBL3N-cleared item visible in both open item and cleared item.
Hi
We have posted a line item to Bank clearing account-open item.
XXXX a/c
To bank clearing account
Then we posted another entry of reconciliation
Bank clearing account
To main bank
The we went to f-03 and cleared the bank clearing account.
However i could still see both the entries in open item in fbl3n and also in cleared items.How this be possible when the accounts are cleared i could see it in open item too.Please suggest.Hi,
One more reason for this is that you have posted ur bank reconsilation entry in the future date.
See by default SAP will always derives current date to your FBL3N selection screen in the open item key date field, so when you pass ur recon entry at a future date, system will show this line items as open items as on current date.
check the open items by removing date in the key date field in FBL3N selection screen
Where as cleared item selection there will not be any date derivation by the system, so system considers all the documents irrespective of their posting dates.
Please ask for further issues.
Thanks,
Srinu. -
How to access a JSON structure key that starts with a number
I've got an odd issue here. I'm accessing someone else's JSON structure so I am not able to change it. The JSON structure keys are named with both characters and numbers like this:
0
198456
product_id
198456
1
Rashaan Houston feat Tony Loreto
artist
Rashaan Houston feat Tony Loreto
So, in other words, there's a key named "0" and a key named "product_id", both of which contain the same key. Why they did that, I don't know, but they did.
In one of the instances, the data stored under the text-named key isn't the same as the numerical-named key. I tried to output the data in the numerical key like this (it's an array of structures):
#strStompyJSON.data[1].0#
but I get the following error:
Invalid CFML construct found on line 41 at column 31.
ColdFusion was looking at the following text:
.0
When I do the following, it works fine:
#strStompyJSON.data[1].product_id#
So it looks as though CF doesn't like accessing a variable that starts with a number. I am able to loop through the structure using a collection loop, and it outputs all of the keys (including the numerical ones) and their values using the following code:
<cfloop collection="#strStompyJSON.data[1]#" item="key">
#key#: #strStompyJSON.data[1][key]#<br />
</cfloop>
However, that doesn't allow me a way to access specific keys named with a number. Is there a way that I can specifically access a key that is named with a number?
thanks!
MikeNo problem--glad it worked out.
As a follow-up to this, I'd encourage you to keep the bracket notation in mind during future development. It is EXTREMELY useful in a lot of situations.
For example, if you're building a structure on the fly with dynamic keys, bracket notation is extremely helpful:
<cfset authors = structnew()>
<cfloop list="authorlist" index="name">
<cfset authors[name] = getbooklist(name)>
</cfloop>
Also, bracket notation is really nice when creating json from ColdFusion structures. Consider this:
<cfset author = structnew()>
<cfset author.name = "Neil Gaiman">
<cfset author.genre = "Fantasy">
<cfset author.awesome = true>
<cfset authorjson = serializejson(author)>
By default, the serialized json produced will have all UPPER CASE keys. Not a big deal in most cases, but if you're returning the json to something (like a JS library) that is expecting keys in a certain case, it can be a problem. Fortunately, bracket notation allows you to specify exactly what case you want the structure's keys to be in:
<cfset author = structnew()>
<cfset author['name'] = "Neil Gaiman">
<cfset author['Genre'] = "Fantasy">
<cfset author['AWESOME'] = true>
<cfset authorjson = serializejson(author)> -
Duplicate item 'ARCMGTAP/10052' could not be created
Hi
Am getting error while am saving the record acutally i implemented a new submit button progamtically and now it is giving error when i click that button and i have extended the controller and i have created one more submit button with SaveContinue ( means to be Save and Continue) but i am getting wrong .
so plz help me am giving u the error am getting and i will give u the code which i wrote.
Thankq
oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-20002: 3122: Duplicate item 'ARCMGTAP/10052' could not be created.
ORA-06512: at "APPS.WF_ENGINE", line 4154
ORA-06512: at "APPS.AR_CMGT_WF_ENGINE", line 919
ORA-06512: at line 1
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
and in extended controller i wrote a new submit button for that the code is here
process request()
OAPageButtonBarBean oapagebuttonbarbean = (OAPageButtonBarBean)oawebBean;
OAViewObject oaviewobject = (OAViewObject)oapageContext.getApplicationModule(oawebBean).findViewObject("creditRequestsVO");
oaviewobject.setMaxFetchSize(0);
OASubmitButtonBean oasb= (OASubmitButtonBean)oapageContext.getWebBeanFactory().createWebBean(oapageContext,"BUTTON_SUBMIT");
oasb.setID("SaveContinue");
oasb.setUINodeName("SaveContinue");
oasb.setEvent("SaveContinue");
oasb.setText("Save&Continue");
oasb.setLabel("Save&Continue");
oawebBean.addIndexedChild(oasb);
oracle.jbo.Row row = oaviewobject.first();
if(row != null)
String s1 = row.getAttribute("Status") != null ? row.getAttribute("Status").toString() : "-99";
if(s1.equals("SaveContinue"))
OAWebBean oawebbean4 = oapagebuttonbarbean.findIndexedChildRecursive("FndSaveContinueButtonSubmit");
oawebbean4.setRendered(false);
Processformrequest()
String s1 = oapageContext.getParameter("_FORM_SUBMIT_BUTTON");
String s2 = oapageContext.getParameter("SaveContinue");
if(oapageContext.getParameter("SaveContinue")!=null)
OAViewObject oaviewobject1 = (OAViewObject)oapageContext.getApplicationModule(oawebBean).findViewObject("creditRequestsVO");
oaviewobject1.first().setAttribute("Status", "SAVE");
} else
if(s2 == null && s1.equals("YesButton") && !oapageContext.getRootRegionCode().equals("ARCMBANKREFERENCEPAGELAYOUT") && !oapageContext.getRootRegionCode().equals("ARCMGUARANTORPAGELAYOUT") && !oapageContext.getRootRegionCode().equals("ARCMOTHERDATADETAILSPAGE") && !oapageContext.getRootRegionCode().equals("ARCMTRADEREFERENCEPAGELAYOUT"))
oapageContext.getRootRegionCode().equals("ARCMCOLLATERALDATADETAILSPAGE");
if(s1.equals("SaveContinue") || s1.equals("ArCmSubmit") || s1.equals("YesRefButtonWarn"))
oapageContext.getApplicationModule(oawebBean).invokeMethod("saveApplication");
OAViewObject oaviewobject2 = (OAViewObject)oapageContext.getApplicationModule(oawebBean).findViewObject("creditRequestsVO");
oracle.jbo.Row row = oaviewobject2.first();
String s5 = null;
if(row != null)
s5 = row.getAttribute("ApplicationNumber").toString();
String s6 = "OA.jsp?akRegionCode=ARCMCUSTSEARCHPAGE&akRegionApplicationId=222&OASF=ARCMAPPCUSTSEARCH&OAHP=ARCMMENUAPPLICATION";
MessageToken amessagetoken[] = new MessageToken[1];
amessagetoken[0] = new MessageToken("APPL_NUMBER", s5);
if(s1.equals("ArCmSubmit") || s1.equals("YesRefButtonWarn"))
OAException oaexception = new OAException("AR", "AR_CMGT_APPLN_SUB_CNFRM_DESC", amessagetoken);
OAException oaexception2 = new OAException("AR", "AR_CMGT_APPLN_SUB_CNFRM_INSTR");
OADialogPage oadialogpage1 = new OADialogPage((byte)3, oaexception, oaexception2, s6, null);
oadialogpage1.setReuseMenu(false);
writeDiagnostics(oapageContext, this, "Before +++++++++++++");
oapageContext.redirectToDialogPage(oadialogpage1);
} else
OAException oaexception1 = new OAException("AR", "AR_CMGT_APPLN_SAVE_CNFRM_DESC", amessagetoken);
OAException oaexception3 = new OAException("AR", "AR_CMGT_APPLN_SAVE_CNFRM_INSTR");
OADialogPage oadialogpage2 = new OADialogPage((byte)3, oaexception1, oaexception3, s6, null);
oadialogpage2.setReuseMenu(false);
oapageContext.redirectToDialogPage(oadialogpage2);
//url of the page // here the code i s for return back to the same page after saving the details
String url ="/oracle/apps/ar/creditmgt/application/webui/ARCMCREDITAPPPAGE";
//retain am parameter
String amMode ="true";
//Computing page_url
String page = url + "&retainAM=" + amMode + "&fndOAJSPinEmbeddedMode=y" + "&";
//Computing final url
String destURL =
OAWebBeanConstants.APPS_HTML_DIRECTORY + OAWebBeanConstants.APPLICATION_JSP +
"?" + OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT + "=" + page;
}Hi,
I'm not sure but it seems that it is trying to invoke WF for item key which already exists.
Regards,
Reetesh Sharma -
Link between Delivery Line Item to DTR Line Item to Freight Unit Number?
Dear All,
I am creating DTR with reference to delivery from ECC. As per my logic in FUBR, I am creating separate Freight Unit for every DTR line item.
Now how to identify (At Table Level) that which DTR line item belongs to which Delivery Line Item?
Also how to determine which Freight Unit belongs to which DTR Line item?
Request to please share the above flow at table level in SAP TM System.
Regards,
Vibhu GuptaHi Vibhu,
First, you know which DTR item you have on hand and then you can find the corresponding FU item by association(TOR ITEM from TRQ item to FU item), after retrieving the data of FU item you can find the root key of every result data entry(FU item data) and you can also get the DTR item key/FU item key pair(which DTR item/which FU item), actually the root key is the FU root key, then you can user service manager to retrieve the root data of corresponding FU root key.
Hope this helps.
BR, Dawson
Maybe you are looking for
-
Does DS5.2(patch 3) support moddn for subtree?
who can comment on this ? Thanks in advance!
-
hi how to create spl GL code transaction for employee transaction.what we have to do here.they are asking to create all employee transaction in one group.
-
please help me to update and restore my iphone 5? beacause after updating to iOS 7, i can no longer updater and restore my phone. it always comes in error
-
hi im using my g5 now for some time now and from time to time, im having problems opening webpages. its not that these pages are special in any way, what is strange is that it sometimes come up immediately and sometimes i have to hit return three tim
-
After reading the recent Creative Review article about Freehand's popularity in the UK/Europe , I read their comments section and it mirrors a lot of what has been written in this Adobe forum. It expresses the loyalty of FH users and the despair over