Adding custom extended attribute
Hello,
In view T77OMATTR we added a new extended attribute but it does not appear on "extended attribute" tab. I suppose additional work is to be done to get it displayed. Any idea?
We have no issue with custom attributes in "attribute" tab.
Thanks in advance
Any idea?
Similar Messages
-
Custom report Extended Attribute
Hi,
On my user selection screen I just need a multiple selection box and user related data needs to be populated in it, can anybody guide me on this.
ThanxOpen BPE --
click File - >
--> OpenRepository Object
---> Forms
--->EndUserMenu
you can have a look at EndUserMenu
if you want to display custom forms then you need
login as configurator to administrator module
Click configure Tab
--->Forms and Process Mapping
you can find EndUserMenu
change the name of the EndUserMenu to your form name(should be uploaded to the IDM)
for adding attributes to your User Object
login to your http:\\localhost:8080\idm\debug pages then select
ListObjects -->configuraton
from the list of values select the User Extended Attributes for edit
then you can add your Extended Attributes here. eg PassportNo
<List>
<String>firstname</String>
<String>PassportNo</String>
</List>
</List> -
Extended Attributes and Custom Sections
Hi,
When we update formulation specifications we are finding that the extended attributes and custom sections are not automatically updating in the ingredient output. Is this how the system is designed? Is it possible to get the ingredient outputs to update automatically?
Thanks.Hey Belinda,
Can you provide a more detailed scenario of what you are trying to accomplish?
For example,
If extended attribute "Brix" exists on the raw material specification (in the simple extended attributes grid or inside a custom section) and is tagged as "distinct" and "Is Design Attribute" on the Extended Attribute template in ADMN then anytime you use that raw material in a formulation "Brix" will appear on the Ext Data tab > Extended Attributes section of the output popup. When multiple raw materials contain the "Brix" extended attribute then the Brix value displayed on the output popup will be calculated by the system.
A few key points that may be causing your problem:
1. Custom Sections on the raw material are not automatically pulled and placed on the output popup. Only distinct attributes are pulled out and placed in the simple attributes grid on the output popup.
2. Custom data is not pulled from raw materials and placed onto the formulation specification > ext data tab. Calculation of theoretical values only occurs on the output popup
3. When an input is used inside a formulation we take a snapshot of that material, this allows you to perform "what if" scenarios. If changes are made to the raw material (for example an extended attribute was added or a nutrient value was edited), the formulation specification must be refreshed so it will pull the new updated values.
Version 6.1.0.x allows for specification templates that will help with the auto creation of custom data on the formulation specification, output popup and output material specification.
Thanks
Kelly
Edited by: user754372 on Oct 16, 2012 10:12 AM -
HELP: Extended Attributes Not Appearing In Instances of Custom Content Type
From Java code I create a custom content type derived from Document and define some extended attributes with default values for that type. All done using the same methodology shown in the Developer's Guide and Oracle example code.
I start ifsmgr and I can indeed see the content type and the extended attributes.
If I however create an instance of this (custom) type, either from the Viewer (file Upload) or from Java code (using code simuilar to createDocument from the Oracle ContentModule example), the extended attributes do not appear!
BUT, if I delete one of the extended attributes using ifsmgr (highlight one of my extened attributes, click on "Remove", and then "Apply"), from that point on the previously missing extended attributes appear (except for the one I deleted of course) when I create files of the custom type from either Java code or the Viewer. Furthermore, once I get ifs to "see" one of these extended attributes in this manner, I can delete the extended attribute and re-create it from Java at will and it will appear in created instances of my custom content type just fine.
If however I add another new extended attribute to the custom content type, I have to do the "Remove/Apply" drill in ifsmgr to get this new attribute to appear in created files of my custom type.
I've tried deleting all instances of the custom type and closing both ifsmgr and the Viewer, but unless I delete one of the extended attributes from ifsmgr I cannot get new extended attributes to appear.
What do I need to do in my 9ifs Java code to get new custom content extended attributes to appear in instances of that custom type?
Thank you,
Jeff "Did Kafka Write ifs?" RiningerDear @user10993347,
As mentioned by @vinod2303, you need to maintain content relationships along with subscriptions.
Regards,
Saurabh -
Backup all metadata, custom icons, ACLs, extended attributes?
As a programming project I am looking at backing up absolutely everything associated with files and directories so that it can be restored perfectly. This would include associated metadata, resource fork, custom icon, permissions, access control list, extended attributes, and probably stuff I don't even know exists. Since this is just an experiment, I will be using a scripting language. Performance is not an issue so I'm willing to make system calls to gather the information.
Is there a one-stop solution or would I need to use a mix of command line tools to gather this data?
I've read up a bit about xattr, GetFileInfo/SetFile but I hope there's an easier and/or more comprehensive way. I've tried Googling some of this, but this presupposed I even know what to search for. I'm guessing I'm only getting partial information.
Can anyone point me to the definitive procedure to backup and restore OS X files in all their glory? The script would need to run automatically with admin or root privileges to access everything.
Many thanks.Doesn't sound like there is any corruption going on to me. It may change the date modified, but that should be expected since you modified the file.
-
Adding Extended Attributes for Data Exporter
Hi, I'm having trouble in getting an exported attribute to export within the new Data Exporter feature. In fact, once i alter the export schema to include the additional column (ext att), it won't write to that table at all.
I am doing the following per the documentation from Sun, hopefully someone can point out the error of my way.
First I alter the IDM Schema Configuration.xml file to include the additional User extended attribute.
Next, I alter the model-export.xml file under model name='User' within WS_HOME to include the additional attribute here, my entry is as follows:
<field name='employeeId'
type='java.lang.String'
introduced='8.0'
max-length='50'
forensic='User'
queryable='true'
exported='true'
friendlyName='Employee Id'>
<description>The Peoplesoft ID coming over</description>
</field>
Next, I go to the unzipped directory of IDM hence, \exporter and execute: "ant rebuild" and "ant deploy".
The following takes place, The rebuild process regenerates my create and drop schema configuration scripts for MySQL. I run both scripts and
my new column with the newly added extended attribute appears in the EXT_USER table. I also issue the proper permission commands on the tables
I then undeploy my web application from Tomcat and re-deploy the web app.
I start the server, log into IDM and go to the Data Exporter configuration page. Under the User data type, my extended attribute does not show up. Further, what once worked, the scheduler now does not write to the EXT_USER table and gives the following error when I believe IDM is starting up. I have no doubt that this is a clue as to why it is not working:
"StartupServlet: Defining properties from web.xml
Starting: Identity Server...
...Finished starting Startup Servlet
{Model=User, employeeId=[], assignedRoles=[], idmManager=, businessPhone=[], location=[], MemberObjectGroups=[(id=#ID#Top)], lhdis=true, lhlocked=false, controlledObjectGroupsRule=, ACCT_CD=[], lastModDate=Tue Oct 21 16:44:21 PDT 2008, failedPasswordLoginAttemptsCount=0, description=, lastModifier=Configurator, role=[], divisionCode=[], companyMobilePhoneNumber=[], fullname=Anuradha Rao, employeeType=[], CompanyMailingAddress=[], objectClass=[Top, Object, Principal, User], hasCapabilities=false, questionLocked=false, [email protected], subtype=, managerId=[], sponsorId=[], contractorLocation=[], jobCode=[], locked=false, failedQuestionLoginAttemptsCount=0, xmlSize=936, res=[], repoMod=Tue Oct 21 16:44:21 PDT 2008, accountId=, textPagerEmailAddress=[], lastname=Rao, lastAuditorScan=, user_resources=[], creator=Configurator, id=#ID#54D7-:3AE94AA9C11:110E5685:2FC0FC1B3DEDDBF6, title=[], idmManagerNameNotFound=, faxNumber=[], facility=[], dis=0, lastPasswordUpdate=Wed Oct 01 15:31:47 PDT 2008, name=definabl, authType=, effectiveDate=[], createDate=Thu Sep 25 10:56:13 PDT 2008, jobTitle=[], prov=2, accounts=[], ControlledObjectGroups=[], costCenter=[], firstname=Anuradha, correlationKey=, primaryObjectClass=User, departmentName=[], roleInfo=[], accountType=, middleInitial=[], departmentId=[], displayName=, cubeNumber=[], disabled=true, }
ex: java.lang.reflect.InvocationTargetException"
java.lang.reflect.InvocationTargetException is thrown which leads me to believe that something is wrong with the javabean that is regenerated under the ant rebuild and the underlying User.hbm.xml file that regenerated as well. I can see from the User.hbm file that the new extended attribute has been added but this is as far as I have gotten. I really don't know where to go from here.
Any and all help is extremely appreciated.
Thank you. DanHi Nik,
From section 1.4.2 of the install guide.
https://docs.oracle.com/middleware/1213/edq/DQINS/planning.htm#DQINS5205
EDQ Configuration Directories
EDQ requires two configuration directories, which are separate from the EDQ Home (installation) directory that contains the program files. The configuration directories are:
The base configuration directory: This directory contains default configuration data. Once EDQ is installed, the files in the base configuration directory must not be altered, renamed, or moved.
The local configuration directory: This directory contains overrides to the default configuration. EDQ looks for overrides in this directory first, before looking in the base configuration directory. Files in the local configuration directory can be modified to customize or extend EDQ.
The names and locations of the configuration directories are as follows:
If you are using Oracle WebLogic Server, the Oracle installation wizard automatically creates and populates the configuration directories in the EDQ domain with the names of oedq.home (base configuration directory) and oedq.local.home (local configuration directory). An example installation path is: WLS_HOME/user_projects/domains/edq_domain/edq/oedq.home
WLS_HOME/user_projects/domains/edq_domain/edq/oedq.local.home
If you are using Apache Tomcat, you create the configuration directories manually in any location, with any names, and the configuration utility will populate them. You are prompted to create the directories during the installation instructions.
Just copy flags.xml from your oedq.home casemanagement folder to your oedq.local.home casemanagement folder and edit the file accordingly.
thanks,
Nick -
Display non extended attribute in a Custom Report
Hi,
Is it possible to query external attributes (that are not set as extended attributes) in a user report ?
I read in this forum that reports are just meant to query IDM repository, is it still true ?
Thanks,
BenHello Sandra,
Thanks for your reply, but eventhen it fails to load the pdf. Is ADS required to be installed for this?
Can I just pass the pdf_fsize imported from CONVERT_OTF which is of type i.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
IMPORTING
BIN_FILESIZE = PDF_FSIZE
bin_file = pdfxstring
TABLES
OTF = L_JOB_OUTPUT_INFO-OTFDATA
LINES = LT_PDF
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
CALL METHOD G_HTML_CONTROL->LOAD_DATA(
EXPORTING
TYPE = 'application' "'text' " 'application'
SUBTYPE = 'pdf' "'html' "'pdf'
size = PDF_FSIZE
IMPORTING
ASSIGNED_URL = lv_URL
CHANGING
DATA_TABLE = LT_DATA "i_html "LT_DATA
EXCEPTIONS
DP_INVALID_PARAMETER = 1
DP_ERROR_GENERAL = 2
CNTL_ERROR = 3
OTHERS = 4 ).
Thanks,
Jaya. -
Getting exception after adding new View attribute in OCO
Hi,
I have added a new field in Oracle Customers Online -> Customers -> Accounts Summary page. I had changed the query in the VO and added the view attribute through JDeveloper and created the corresponding VORowImpl java class. I have referred the same View attribute in the page bean also. When i am doing the testing i am getting the exception. Any idea to resolve this issue. I have given the customization details below.
Page bean: IMCAccountsSummaryEditPG.xml
Newly added line..
<oa:messageStyledText id="CreditHold" dataType="VARCHAR2" prompt="CreditHold" text="CreditHold" viewName="IMCCustAcoountsVO1" viewAttr="CreditHold" maximumLength="30" sortState="yes" shortDesc="Credit Hold"/>
VO: IMCCustAcoountsVO.xml
Refer credit_hold in the query and CreditHold in the view attribute for the newly added column.
<?xml version="1.0" encoding='windows-1252'?>
<!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
<!-- $Header: IMCCustAcoountsVO.xml 115.6 2005/01/20 23:11:08 kttang noship $ -->
<ViewObject
Name="IMCCustAcoountsVO"
BindingStyle="Oracle"
CustomQuery="true"
RowClass="oracle.apps.imc.customer.account.server.IMCCustAcoountsVORowImpl"
ComponentClass="oracle.apps.imc.customer.account.server.IMCCustAcoountsVOImpl"
MsgBundleClass="oracle.jbo.common.JboResourceBundle"
FetchMode="FETCH_AS_NEEDED"
UseGlueCode="false" >
<SQLQuery><![CDATA[
SELECT account_number, account_name , pc.name AS profile_class ,
rat.name AS payment_terms, TO_CHAR(TRUNC(act.creation_date)) creation_date , lu.meaning AS status, act.status AS theStatus,
DECODE(1,1,'viewDisabled', 'viewEnabled') credit_summary, act.party_id AS party_id, act.cust_account_id, pt.party_name, 'updateEnabled' update_account
, lu1.meaning AS credit_hold
FROM HZ_CUST_ACCOUNTS act, HZ_CUSTOMER_PROFILES cp, HZ_CUST_PROFILE_CLASSES pc,
ar_lookups lu,
ar_lookups lu1,
ra_terms rat, hz_parties pt
WHERE act.PARTY_ID = :0
AND act.cust_account_id = cp.cust_account_id
AND cp.profile_class_id = pc.profile_class_id
AND cp.SITE_USE_ID IS NULL
AND cp.standard_terms = rat.term_id (+)
AND lu.lookup_type= 'CODE_STATUS'
AND lu.lookup_code = act.status
AND lu1.lookup_type(+) = 'FOB'
AND lu1.lookup_code(+) = act.fob_point
AND act.party_id = pt.party_id
]]></SQLQuery>
<DesignTime>
<Attr Name="_isCodegen" Value="true" />
<Attr Name="_version" Value="9.0.3.13.75" />
<Attr Name="_CodeGenFlagNew" Value="36" />
</DesignTime>
<ViewAttribute
Name="AccountNumber"
IsQueriable="false"
IsPersistent="false"
IsNotNull="true"
Precision="30"
Type="java.lang.String"
AliasName="ACCOUNT_NUMBER"
ColumnType="VARCHAR2"
Expression="ACCOUNT_NUMBER"
SQLType="VARCHAR" >
<DesignTime>
<Attr Name="_DisplaySize" Value="30" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="AccountName"
IsQueriable="false"
IsPersistent="false"
Precision="240"
Type="java.lang.String"
AliasName="ACCOUNT_NAME"
ColumnType="VARCHAR2"
Expression="ACCOUNT_NAME"
SQLType="VARCHAR" >
<DesignTime>
<Attr Name="_DisplaySize" Value="240" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="ProfileClass"
IsQueriable="false"
IsPersistent="false"
IsNotNull="true"
Precision="30"
Type="java.lang.String"
AliasName="PROFILE_CLASS"
ColumnType="VARCHAR2"
Expression="PROFILE_CLASS"
SQLType="VARCHAR" >
<DesignTime>
<Attr Name="_DisplaySize" Value="30" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="PaymentTerms"
IsQueriable="false"
IsPersistent="false"
IsNotNull="true"
Precision="15"
Type="java.lang.String"
AliasName="PAYMENT_TERMS"
ColumnType="VARCHAR2"
Expression="PAYMENT_TERMS"
SQLType="VARCHAR" >
<DesignTime>
<Attr Name="_DisplaySize" Value="15" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="CreationDate"
IsQueriable="false"
IsPersistent="false"
Precision="15"
Type="java.lang.String"
AliasName="CREATION_DATE"
ColumnType="VARCHAR2"
Expression="CREATION_DATE"
SQLType="VARCHAR" >
<DesignTime>
<Attr Name="_DisplaySize" Value="7" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="Status"
IsQueriable="false"
IsPersistent="false"
IsNotNull="true"
Precision="80"
Type="java.lang.String"
AliasName="STATUS"
ColumnType="VARCHAR2"
Expression="STATUS"
SQLType="VARCHAR" >
<DesignTime>
<Attr Name="_DisplaySize" Value="80" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="Thestatus"
IsQueriable="false"
IsPersistent="false"
IsNotNull="true"
Precision="1"
Type="java.lang.String"
AliasName="THESTATUS"
ColumnType="VARCHAR2"
Expression="THESTATUS"
SQLType="VARCHAR" >
<DesignTime>
<Attr Name="_DisplaySize" Value="1" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="CreditSummary"
IsQueriable="false"
IsPersistent="false"
Precision="22"
Type="java.lang.String"
AliasName="CREDIT_SUMMARY"
ColumnType="VARCHAR2"
Expression="CREDIT_SUMMARY"
SQLType="VARCHAR" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="PartyId"
IsQueriable="false"
IsPersistent="false"
IsNotNull="true"
Precision="15"
Scale="0"
Type="oracle.jbo.domain.Number"
AliasName="PARTY_ID"
ColumnType="VARCHAR2"
Expression="PARTY_ID"
SQLType="NUMERIC" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="CustAccountId"
IsQueriable="false"
IsPersistent="false"
IsNotNull="true"
Precision="15"
Scale="0"
Type="oracle.jbo.domain.Number"
AliasName="CUST_ACCOUNT_ID"
ColumnType="VARCHAR2"
Expression="CUST_ACCOUNT_ID"
SQLType="NUMERIC" >
<DesignTime>
<Attr Name="_DisplaySize" Value="22" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="PartyName"
IsQueriable="false"
IsPersistent="false"
IsNotNull="true"
Precision="360"
Type="java.lang.String"
AliasName="PARTY_NAME"
ColumnType="VARCHAR2"
Expression="PARTY_NAME"
SQLType="VARCHAR" >
<DesignTime>
<Attr Name="_DisplaySize" Value="360" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="UpdateAccount"
IsPersistent="false"
Precision="13"
Type="java.lang.String"
AliasName="UPDATE_ACCOUNT"
ColumnType="VARCHAR2"
Expression="UPDATE_ACCOUNT"
SQLType="VARCHAR" >
<DesignTime>
<Attr Name="_DisplaySize" Value="13" />
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="CreditHold"
IsPersistent="false"
Precision="255"
Type="java.lang.String"
AliasName="CREDIT_HOLD"
ColumnType="VARCHAR2"
Expression="CREDIT_HOLD"
SQLType="VARCHAR" >
</ViewAttribute>
</ViewObject>
Exception:
oracle.apps.fnd.framework.OAException: Programming error. Row ([email protected]3) must be of type oracle.apps.fnd.framework.OARow.
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2898)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2700)
at oa_html._OA._jspService(_OA.java:105)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
oracle.apps.fnd.framework.OAException: Programming error. Row ([email protected]3) must be of type oracle.apps.fnd.framework.OARow.
at oracle.apps.fnd.framework.webui.OADictionaryDataViewObject.getItem(OADictionaryDataViewObject.java:97)
at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderTableRows(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableRows(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:635)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer._renderTableContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3209)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2888)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2700)
at oa_html._OA._jspService(_OA.java:105)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
oracle.apps.fnd.framework.OAException: Programming error. Row ([email protected]3) must be of type oracle.apps.fnd.framework.OARow.
at oracle.apps.fnd.framework.webui.OADictionaryDataViewObject.getItem(OADictionaryDataViewObject.java:97)
at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderTableRows(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableRows(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.table.OATableBean.render(OATableBean.java:635)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer._renderTableContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3209)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2888)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2700)
at oa_html._OA._jspService(_OA.java:105)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
Let me know if you need more details.
Thanks in Advance
Regards,
KesavanFirst this is not the right way to do it. You should extend the VO and create a new vo and add the new attribute, then use personalization to add a new item, create substitution to represent the old VO with your new VO. Did you follow these steps to do the extension ?
-
CSI: update_item_instance issues while creating extended attributes
Hello,
For our customer's data conversion, installed base instances have already been created, there is only need to create extended attributes.
Issues I have encountered are:
- Whenever an error is encountered in the API call, all following records are rejected with the same error (even the same instance ID/primary key/attribute ID) as the first error record.
- Extended attributes are randomly entered in the wrong fields (as if one field had gone missing and the others had been updated)
- Date formats have been changed from DD/MM/YYYY to DD-MON-YYYY when consulting from Installed Base (but this happened only once)
Other information: There are 14 extended attributes to be added for each item instance, I removed some of the attributes to make the code more readable.
I followed the metalink note that shows the implementation method for this API and only added the recursive elements that we needed for the 14 attributes + functions to retrieve item_id and such.
The "message()" function replaces is defined as FND_FILE.PUT_LINE(which =>fnd_file.log,buff => p_msg);
PROCEDURE main (errbuf OUT VARCHAR2
,retcode OUT NUMBER
IS
vl_status BOOLEAN;
vl_item_id NUMBER;
vl_instance_id NUMBER;
v_count NUMBER;
v_err_rec CSI_DATASTRUCTURES_PUB.TRANSACTION_ERROR_REC;
v_trx_id number ;
v_ret varchar2(240);
v_msg_count number;
v_msg_data varchar2(2000);
v_date date;
t_msg_dummy NUMBER;
t_output VARCHAR2(2000);
vl_attribute_id NUMBER;
v_inst_rec csi_datastructures_pub.instance_rec;
v_ext_attr csi_datastructures_pub.extend_attrib_values_tbl;
v_party_tbl csi_datastructures_pub.party_tbl;
v_account_tbl csi_datastructures_pub.party_account_tbl;
v_pr_tbl csi_datastructures_pub.pricing_attribs_tbl;
v_org_as s_tbl csi_datastructures_pub.organization_units_tbl;
v_asset_as s_tbl csi_datastructures_pub.instance_asset_tbl;
v_trx csi_datastructures_pub.transaction_rec;
v_inst_id_lst csi_datastructures_pub.id_tbl;
BEGIN
APPS.FND_GLOBAL.Apps_Initialize(FND_PROFILE.value('user_id')
,FND_PROFILE.value('resp_id')
,FND_PROFILE.value('resp_appl_id'));
IF cur_iea_attributes%ISOPEN
THEN
CLOSE cur_iea_attributes;
END IF;
IF get_trx_id
THEN
message('Transaction ID '||to_char(gv_trx_id));
FOR v_cur_iea_attributes IN cur_iea_attributes
LOOP
v_count:=0; -- Initialisation du compteur du ligne. Attention, le nb de lignes dans interface = 14 x nb lignes dans stg
IF check_unique_serial(v_cur_iea_attributes.numero_serie)
-- Recuperation de l'item ID
THEN
get_item_id(p_serial_number => v_cur_iea_attributes.numero_serie
,p_item_id => vl_item_id
,p_status => vl_status
message('Resultat get_item_id: '||to_char(vl_item_id));
get_instance_id(p_item_id => vl_item_id
,p_serial_number => v_cur_iea_attributes.numero_serie
,p_instance_id => vl_instance_id
,p_status => vl_status
IF vl_status
THEN
v_trx.TRANSACTION_DATE:=trunc(SYSDATE);
v_trx.SOURCE_TRANSACTION_DATE:=trunc(SYSDATE);
v_trx.TRANSACTION_TYPE_ID:=gv_trx_id;
message('Entrance v_count'||to_char(v_count));
v_inst_rec.instance_id:=vl_instance_id;
v_inst_rec.object_version_number := 1;
IF v_cur_iea_attributes.IAE_GUARANTEE_END_DATE IS NOT NULL
THEN
v_count:=v_count+1;
v_ext_attr(v_count).instance_id := vl_instance_id;
message('v_ext_attr(v_count).instance_id: '||to_char(v_ext_attr(v_count).instance_id));
message('vl_instance_id: '||to_char(vl_instance_id));
get_attribute_id(p_attribute_code =>'GUARANTEE_END_DATE'
,p_attribute_id => vl_attribute_id);
message('vl_attribute_id: '||to_char(vl_attribute_id));
v_ext_attr(v_count).attribute_id := vl_attribute_id;
v_ext_attr(v_count).attribute_value := v_cur_iea_attributes.IAE_GUARANTEE_END_DATE ;
message('v_cur_iea_attributes.IAE_GUARANTEE_END_DATE: '||v_cur_iea_attributes.IAE_GUARANTEE_END_DATE);
message('');
END IF;
IF v_cur_iea_attributes.IAE_LAST_CTRL_DATE IS NOT NULL
THEN
v_count:=v_count+1;
message('v_count'||to_char(v_count));
-- Les 6 champs obligatoires a remplir pour un update
v_ext_attr(v_count).instance_id :=vl_instance_id;
get_attribute_id(p_attribute_code =>'LAST_CTRL_DATE'
,p_attribute_id => vl_attribute_id);
v_ext_attr(v_count).attribute_id := vl_attribute_id;
v_ext_attr(v_count).attribute_value := v_cur_iea_attributes.IAE_LAST_CTRL_DATE ;
END IF;
CSI_ITEM_INSTANCE_PUB.update_item_instance
p_api_version => 1
,p_commit => fnd_api.g_false
,p_init_msg_list => fnd_api.g_true
,p_validation_level => fnd_api.g_valid_level_full
,p_instance_rec => v_inst_rec
,p_ext_attrib_values_tbl => v_ext_attr
,p_party_tbl => v_party_tbl
,p_account_tbl => v_account_tbl
,p_pricing_attrib_tbl => v_pr_tbl
,p_org_assignments_tbl => v_org_ass_tbl
,p_asset_assignment_tbl => v_asset_ass_tbl
,p_txn_rec => v_trx
,x_instance_id_lst => v_inst_id_lst
,x_return_status => v_ret
,x_msg_count => v_msg_count
,x_msg_data => v_msg_data
-- Output the results
if v_msg_count > 0
then
for j in 1 .. v_msg_count
loop
fnd_msg_pub.get ( j , FND_API.G_FALSE , v_msg_data , t_msg_dummy );
t_output := ( 'Msg' || To_Char ( j ) || ': ' || v_msg_data );
message( SubStr ( t_output , 1 , 255 ) );
end loop;
end if;
ELSE
message('Update not performed for '||v_cur_iea_attributes.numero_serie||' and '||vl_item_id);
END IF;
ELSE
message('Erreur sur '||v_cur_iea_attributes.numero_serie);
END IF;
commit;
message('Commit done for update loop');
END LOOP;
ELSE
message('No Transaction ID - EOP');
END IF;
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
message('Error in main program, rolling back');
END main;
Thanks!Todd
The issue seems to because this:
x_instance_rec.inventory_item_id := ib_rec3.inventory_item_id;
You are selecting the item id from your staging table. But the serial number in the csi_item_instances is associated with the instance is a different item id than ib_rec3.inventory_item_id. Hence this error. You cannot change the item in the IB once the instance is created.
You have two choices: comment this out or change the inventory_item_id in staging table to match with the csi_item_instances.
Also a lot depends on what is your serial number uniqueness. If you are using the same serial number for two different items (uniqueness with item_Id) you need to be careful which one you are picking (based on serial number).
Thanks
Nagamohan -
Creating UME extended attributes
Hi All,
My requirement is, I have to add few custom attributes like region, area etc as UME extended attributes.
In Sytem admin-> system config-> UM config-> Direct editing tab under "ume.admin.self.addattrs" I have added the custom attributes as comma seperated values. Is this right?
If Yes, Can you please tell me how I should proceed further?
If no, can you please detail me the steps to achieve custom attributes?
This is a very urgent requirement.So, can anyone help me ASAP?
Thanks in advance.
Regards
DeepaHi James,
If the datasource is going to be LDAP directory, then will
the extended attributes will get saved in the LDAP directory without any mapping in datasource xml?
Regards
Deepa
Message was edited by: Deepa Jampunathan -
Fetch the User Extended Attribute" Group" Value in Java
Hi All,
I have been able to add a User Extended attribute in SIM and wish to fetch its value for a particular user in my java code.
kindly help.
Thanks
SunnyHi All,
I am able to fetch the value of extended attribute "Group" of type "Select" I added in the Default User Form using user.getAttribute("Group") in my java code of Custom Resource Adapter.
This extended attribute has groups name populated in it. What I am doing now is that I am fetching the Group name value and assing the user this group. This is working fine for me. However, In case user select a different group next time, I need to remove the user from old group and assign him the new group. For this, I need to have the old group value and new group value. I don't know how to retrieve the old group value?
Any pointer on this will be helpful.
Note: I have done the mapping of extended attribute "Group" in my Custom Resource Adapter.
Regards,
Sunny -
Unusual extended attribute on Library folder
I was looking around in my home folder and noticed that my Library (/Users/xxx/Library) folder has an unusual extended attribute. Have attached an image of the detailed information. Anyone have any idea what this is about? The attribute is 620 bytes long and looks to be some sort of compressed or binary data. The attribute has a weird name "Q3JCEFADN8SD817B1317B7C0707CA" and I've searched on the web for information but no luck.
Any idea on how to track down when or how or by what program this got added to the Library folder? I've looked in my entire user folder and only this Library folder has this particular extended attribute.
Thanks for any ideas or suggestions.
-BobYou've gotten misinformation, so you're confused. Not your fault at all.
The ROOT LEVEL Library is not hidden in 10.7.5 at all. It's right there where it has always been, at the Root Level, i.e. at the same level where your Applications, Systems and Users folders have always been.
That's the Library where your fonts belong, in a sub-folder labeled Fonts.
What is hidden is the User Library, and it is hidden for a very good reason: you have no business messing with that Library. Fonts do not belong there at all. Apple made it hidden precisely because they don't want you to find it. And it has nothing to do with any updates, it has been there since Lion 10.7.0 beta, not available to the general public.
There is of course a way to access it, and no Terminal hokus pokus is involved at at all. It's right under the GO menu in the Finder > Go to Folder…, you just need to know exactly what path to type there to get to the Library.
I won't tell you because you really have no business going there in the first place, especially at your level of knowledge of the Mac OS X.
Adobe help said that with the updates, apple made the library folder invisible to photoshop
Ah, you just happened to talk to a complete, ignorant idiot, of which there are untold numbers manning the outsourced customer service and tech support call centers in India.
Even the hidden User Library is visible to all applications. What you were told is utter nonsense. Apple wanted to keep clueless users out, not applications. Good Grief!
Now tell us what fonts you're talking about specifically, where you put them and how you manage your fonts.
Hope I will have regained a measure of composure by the time you get back to us with detailed information about your system and your computer maintenance practices.
Make sure your Photoshop installation is updated to CS5.1 vers. 12.1. -
Custom MBean - Attribute Display Order & Documentation
Hi All,
I've implemented custom security providers for one of our customers. All Providers are working very well. However I've problems about displaying attributes of my MBeans in WLS console. Attributes of my custom mbean definitions are displayed in console in unsorted manner. They're not sorted as I put them in mbean definition file and as I know there is also no display order attribute specified in "commo.dtd". I also checked [MBean Definition|http://download.oracle.com/docs/cd/E15523_01/web.1111/e13718/mdf_ref.htm#i1035144] . Is there a way to specify display order of managed bean attributes that placed in mbean definition file ?
My second question is about generating description to display WLS console. I first tried to use "Description" attribute of MBeanAttribute element. It didn't worked. So I checked out out-of-the-box security providers to how they've done this before. I created "-doc.xml" files that uses "commodoc.dtd" schema and my attribute element's "Description" attributes as "See ...-doc.xml" in mbean definition file. It also didn't worked. I need to find a way to put my descriptions in WLS console . Any help would be appreciated.
I'm including sample mbean definition, mbean documentation definition and my mbean generation ant comments. By the way I'm trying all this by using WLS 10.3.2 environment with Sun JDK 1.6.0.18.
Thanks in advance.
ANT TASK
<java classname="weblogic.management.commo.WebLogicMBeanMaker" fork="true"
failonerror="true" >
<jvmarg line=" -DdoCheckDescription=true -Dfiles=${build_dir} -DMDFDIR=${build_dir} -DMJF=${build_dir}/${myproviderjar} -DtargetNameSpace=${namespace} -DcreateStubs=true -Dverbose=true"/>
</java>
MBEAN DEFINITION
<?xml version="1.0" encoding="windows-1252" ?>
<!DOCTYPE MBeanType SYSTEM "commo.dtd">
<MBeanType Name="SpnegoCredentialMapper" DisplayName="SpnegoCredentialMapper"
Package="com.dflora.security.wls.cm.spnego" Extends="weblogic.management.security.credentials.CredentialMapper"
PersistPolicy="OnUpdate" Description="See SpnegoCredentialMapper-doc.xml.">
<!-- Standard values -->
<MBeanAttribute Name="ProviderClassName" Type="java.lang.String"
Writeable="false"
Preprocessor="weblogic.management.configuration.LegalHelper.checkClassName(value)"
Default=""com.dflora.security.wls.cm.spnego.SpnegoCredentialMapperProviderImpl""
Description="See SpnegoCredentialMapper-doc.xml." />
<MBeanAttribute Name="Description" Type="java.lang.String"
Writeable="false"
Default="" DFlora's Identity Assertion Provider for Spnego Tokens ""
Description="See SpnegoCredentialMapper-doc.xml." />
<MBeanAttribute Name="Version" Type="java.lang.String"
Writeable="false" Default=""1.0"" Description="See SpnegoCredentialMapper-doc.xml." />
<!-- Extended Attributes -->
<MBeanAttribute Name="Debug" Type="boolean" Writeable="true"
Default="false" Description="See SpnegoCredentialMapper-doc.xml." />
<MBeanAttribute Name="ForwardTicket" Type="boolean"
Writeable="true" Default="true" Description="See SpnegoCredentialMapper-doc.xml." />
</MBeanType>
MBEAN-DOC
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MBeanType SYSTEM "commodoc.dtd">
<?xml-stylesheet alternate="yes" href="commodoc.css" type="text/css"?>
<MBeanType Name="SpnegoCredentialMapper"
Package="com.dflora.security.wls.cm.spnego">
<Description>
<Lead>
<p>This MBean represents configuration information for the Spnego credential mapper.</p>
</Lead>
<Detail>
Deprecation of MBeanHome and Type-Safe Interfaces
<p>Additional description about mbean </p>
</Detail>
</Description>
<MBeanAttribute Name="Debug">
<Description>
<Lead>
<p>Enables Disables Debug</p>
</Lead>
<Detail>
<p>Detailed description of debug attribute.</p>
</Detail>
</Description>
</MBeanAttribute>
</MBeanType>Yes the description attribute doesnt work anymore the way it used to work in prev versions.
On further research it was found that the Mbean required for generating description was missing.
A bug was filed with the engineering the engineering team. I am not sure what happend after that.
Let me try to find out.
If the mean while if any one of u guys have a support contract, you can go ahead and open a case with Oracle.
As for the order on display in the console, it shows in the order in which its defined in the MDF, m not sure why its behaving differently in your case.
-Faisal
http://www.weblogic-wonders.com/weblogic/ -
Adding custom fields to Embedded Search
Hi All,
I have read the post [here|How to add custom fields to Embedded Search; about adding custom fields to Embedded Search. I am looking to add Employee Subgroup for use in Talent Management (specifically the STVN SuccessionPlanning component) and wanted to know if anyone can expand on the instructions in the link to add this field.
It appears to be part of the HRTMC_PERSON search object connector already and while I've done some IMG configuration the field is showing in SuccessionPlanning, but not displaying any data.
Additionally, I'd be interested in any tips to add information that is not from PA0002 should it be required in the future.
Many thanks,
LukeHi Luke,
I am assuming here that your search request fields are based on HRTCM_CENTRALPERSON search template. To enable your search to work on employee subgroup please do the following
1) Check if the HRTMC_PERSON Template extracts the data from Infotype 0001 via SPRO node 'Define Search Models and Change Pointer' Extraction Class is 'CL_HRTMC_SEARCH_READ_PA_INFTY'.
2) Via ESH_COCKPIT, goto Template Modeler and select your custom Software Component and press Edit. Goto roadmap step 5 - Define Requests - where all search request fields are defined. Its using these fields Talent search works.
3) Select the search request e.g. 'SAP_TALENT_NAKISA', it would then show list searchable attributes in below table. Using 'Add' button select path for PERSK so that it can searched.
It would look like this once selected
OBJID(REL_CP_P)->HRTMC_REL_CP_P_209.REL_CP_P(REL_CP)->HRTMC_PERSON.OBJID->HRTMC_PERSON.ORG_ASSIGNMENT
4) In step SPRO 'Define Search Requests and Search Field Names' , define Employee subgroup field with AliasSearchField = PERSK since thats what is defined in roadmap step 5.
Hope it helps!
Regards,
Ricky Shah -
"500 internal server error" after adding custom fields to Address page
I need to display custom fields on the "Addresses" and the "Personal Data" pages. For that, we added custom CI_INCLUDE fields in both PA0006 and PA0002 tables as per instructions below
https://www.sdn.sap.com/irj/scn/wiki?path=/display/profile/essPersonalInformationUIenhancementwithoutmodification&focusedCommentId=28278867
we also extended the Badi HRPAD00INFTYUI
custom fields show up OK in page "Personal Data". However when trying to browse to page "Addresses"
we get the following error:
"500 internal server error - com.sap.tc.webdynpro.progmodel.context.ContextException: MappedNodeInfo(DetailView.SelectedInfotype): unknown child node Area8 ".
"Area8" is one of the custom fields we added in PA0006 (Address infotype).
any idea what is wrong? maybe Badi HRPAD00INFTYUI cannot handle 2 infotypes in the same time?
T.Hi Sasu,
Its clearly saying contect binding error. Have you mapped correctly from FcComponent to VcComponents.
FcCompoenets for Model logic.
Check the mappings correctly.
If it is complete custom or new field then there will be could of steps.
1) Reimport the model
2) map new field to FcComponent
3) Bind new Fields from Fc to Vc
Rgds
-SS
Maybe you are looking for
-
How do I get Itunes Store to open on my new computer?
Our Itunes store will not open on our brand new computer and is doing the same thing as our old computer did. The bar looks like it's loading underneath "Itunes Store" but then it stops. My husband is knowledgeable about computer stuff and couldn't g
-
Playmemories logon issues - Mac Mavericks 10.9.3/ILCE6000
I've just purchased the ILCE6000 and am unable to logon to Playmemories. On my Mac I click on Sign In and nothing happens at all. On the camera having connected to wireless network okay I get the list of apps available but when selecting one to do
-
I am working on an animation using the Snow Blizzard Emitter in Motion and was trying to find the control or Life Span of the emission. Basically what I am trying to do is make the snow appear to stop and remain on the screen, looking like it is pill
-
Tiles and run-time expressions
I use an in-house developed library similar to Struts Tiles. Consider this line <put name='header' value='header.jsp'/>. At run-time it will send header.jsp to web browser. I need to select a specific .jsp using a flag like <put name='header' value='
-
Trouble downloading CS6 Design standard windows
receive this message Access Denied You don't have permission to access "http://trials2.adobe.com/AdobeProducts/DSGN/CS6/win32/DesignStandard_CS6_LS16.7z" on this server. Reference #18.61a32b8.1381851216.25375a4a