Uniqueness of Row IDs across Objects
Are the RowIDs unique across all objects of an instance, or just within the object? Or Stated another way, would a Lead Row ID ever be the same as an Opportunity Row ID in the same instance?
The RowIDs are unique across all objects in a CRM On Demand instance.
Similar Messages
-
Creation of Unique Number Ranges for Organizational Objects
Hi Gurus,
As per our client's requirements, We need to create unique number ranges for Organizational Objects such as O,S,P to distinguish based on the Object ID. Could you please help me out to create the same.
And also to create unique number ranges for Personnel Development Objects such as QK & Q.
Thanks in Advance
Regards
Vinoth Kumar.RHi,
To maintain object specific number ranges, go to customising node Personnel management --> Org. management --> Basic settings --> Number range manitenance --> Maintain Number ranges
Here there will already be a default entry as $$$$.
To create different range for object say O you can use the following options:
Create entry as $$O - number range applicable to all Org units across all plan versions.
Create entry as 01O - number range applicable to all Org units under plan version "01"
Then under Interval maintenance create the desired number ranges under IN for internal or EX for external (check the external tick box for external number ranges)
In the similar manner you can create the number ranges for objects C, S , Q & QK.
Hope this is helpful.
Regards,
Shreyasi. -
How to get first row from View Object cache.
hi,
I am using Jdeveloper 11.1.1.6
can we get first row from View Object cache??
Thanks in Advance.
Best
ShashidharHi Frank,
Thanks for reply!!
My case is:
I have a Query based ViewObject.
One of the field is LOV and remaining fields are in ADF table. the LOV field is out side ADF table when i insert first record in ADF table and i choose LOV filed the value is selected.
when i create second row LOV value got refreshed because both are in same VO.
I need to get the LOV value of first row and set same value to second Row.
Shashidhar -
Accessing all rows in Entity Object
Hi All,
I have a master-child relationship with ChildVO based on entity object. When user hits on save after making some changes, I would like to pass all rows in master view object and all fetched rows in entity object to a pl/sql api which takes pl/sql table datatypes. I would call this API in AM. So is there any way to access all entity rows of child view object?I tried to use view link accessors but it returns null. I can think of the following way:
for each row in master view object
loop
set current row for master view object. This would execute child vo for that master row.
then fetch all rows from child vo. populate pl/sql table
move on to next master vo row.
end loop;
Drawback with above approach is that we would excute child object query for every master row. Is there any direct way to access rows in entity object in AM? Any pointers on this would be of great help.
Thanks in advance,
Murari"and all fetched rows in entity object"
is not a correct statement to make, EO will always represent a single row of the database record.you will get all the fetched rows in the VO, not the EO.
Tapash -
Problem of update rows in data object
Hi everybody,
I got the error message.
Cannot update rows in data object /Samples/Monitor Express/BI_default_Project1_Process1.java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Please advise!!!!Are you using alterts related to that data object?
Do you have any open report that uses that data object? -
Unique identification of LibraryObjects (persistent objects)
We're working on an application where we need to create references between iFS objects (documents, folders) and external objects.
1) Are there any identifiers which are stable over an object lifetime, even when the object is migrated to another iFS instance?
a) We assume LibraryObjectInterface is stable over the object lifetime inside a given iFS instance, but will change after export/import. Is that correct?
b) Are there any alternatives?
c) Would the iFS development team consider adding a stable key based on a GUID, much the same way that the portal team did for their latest release?We're working on an application where we need to
create references between iFS objects (documents,
folders) and external objects.what are external objects?
1) Are there any identifiers which are stable over an
object lifetime, even when the object is migrated to
another iFS instance?the ID of an iFS object is stable over the lifetime of the iFS schema in the database (even after the object is deleted). an object ID is never re-used in a single schema. it is NOT however, stable across instances. if you export objects and import them into another instance, the imported objects will have different IDs.
a) We assume LibraryObjectInterface is stable over
the object lifetime inside a given iFS instance, but
will change after export/import. Is that correct?what do you mean by LibraryObjectInterface? do you mean the data that is returned by the methods? or do you mean the instance itself?
b) Are there any alternatives?depends on your application and requirements. what exactly do you need to do?
c) Would the iFS development team consider adding a
stable key based on a GUID, much the same way that
the portal team did for their latest release?perhaps. if you raise a TAR and cre[i]Long postings are being truncated to ~1 kB at this time. -
Hello All,
Here is what I am trying to do...
1. I am having two rows, one column in an Object Variable. (vLoopCountObj).
2. I am having 30 Rows, 2 Columns in my second Object Variable (vTableRowsObj)
3. I have a FOR EACH LOOP which will run for number of rows in vLoopCountObj i.e 2 times here.
4. I have a Script Task inside the FOR EACH LOOP to display all the rows of vTableRowsObj.
5. When I execute, 30 Rows gets displayed only once. It will not display when the loop goes for second iteration. Please help me to display for second time.
6. I have used below code to display the rows whithin the script task which is in SSIS dataflow task.
Imports System
Imports System.Data
Imports System.Math
Imports Microsoft.SqlServer.Dts.Runtime
Imports System.Xml
Imports System.Collections
Imports System.Data.OleDb
Public Class ScriptMain
Public Sub Main()
Dim oleDA As New OleDbDataAdapter
Dim dt As New DataTable
Dim col As DataColumn
Dim row As DataRow
Dim sMsg As String
oleDA.Fill(dt, Dts.Variables("vTableRowsObj").Value)
MsgBox("Number of Rows " + dt.Rows.Count.ToString())
For Each row In dt.Rows
For Each col In dt.Columns
sMsg = sMsg & col.ColumnName & ": " & row(col.Ordinal).ToString & vbCrLf
Next
MsgBox(sMsg)
sMsg = ""
Next
Dts.TaskResult = Dts.Results.Success
End Sub
End ClassHi Raj,
It is verrrry interesting issue. I can also confirm that it doesnt loop again. I've made a simple test and figured that in the second loop even you fill the Dataadapter, record count is zero. Which brings me up to the idea: Somehow, after you read the object
variable resultset, you can not read it again in the for each loop.
Strange, probably a bug or a technical issue that is beyond my existing knowledge.
I can provide a workaround. You can also loop in script task for first variable. (Nested loops)
Let other members to examine and comment on this.
Regards
Onur
(For others who also wants to test, here is my scenario
Execute SQL Task 1:
Query: SELECT 1 as Cnt UNION ALL SELECT 2 as Cnt
Resultset: Full Resultset
ResultSet Tab: Name: 0, Variable Name: User::vLoopCountObj;
Execute SQL Task 2:
Query: SELECT 1 as ColA, 2 as ColB UNION ALL SELECT 3 as ColA, 4 as ColB UNION ALL SELECT 5 as ColA, 6 as ColB
Resultset: Full Resultset
ResultSet Tab: Name: 0, Variable Name: User::vTableRowsObj;
For Each Loop Container:
Collection: Enum: ForEach ADO Enum
Source Object: User::vLoopCountObj
Enum Mode: Rows n the first Table
Script Task:
ReadOnlyVariables: User::vTableRowsObj
Script Source:
Imports System
Imports System.Data
Imports System.Math
Imports Microsoft.SqlServer.Dts.Runtime
Imports System.Xml
Imports System.Collections
Imports System.Data.OleDb
Public Class ScriptMain
Public Sub Main()
Dim oleDA As New OleDbDataAdapter
Dim dt As New DataTable
Dim col As DataColumn
Dim row As DataRow
Dim sMsg As String
oleDA.Fill(dt, Dts.Variables("vTableRowsObj").Value)
Dts.Events.FireInformation(-1, "START!!!!!!!!!!!!!!", "START LOOP", "", 0, True)
Dts.Events.FireInformation(1, "RowCount: ", dt.Rows.Count.ToString(), "", 0, True)
For Each row In dt.Rows
For Each col In dt.Columns
sMsg = sMsg & col.ColumnName & ": " & row(col.Ordinal).ToString & vbCrLf
Next
Dts.Events.FireInformation(1, "Msg: ", sMsg, "", 0, True)
sMsg = ""
Next
Dts.TaskResult = ScriptResults.Success
End Sub
End Class
BI and ERP Senior Consultant @ Nexum Bogazici
If it is, Please dont forget to mark as answered or at least vote as helpful if the post helps you in any ways. -
How to retrieve rows in view object and display on UI
Hi All,
I am new to ADF. i am using jdeveloper11.1.1.5.0 . Here is my scenario.
In my AM i have a view object say EmployeeVo. on empVo i am performing setRangeStart and setRangeSize.
empVo .setRangeStart(2);
empVo .setRangeSize(2);
Rows[] rows=empVo .getAllRowsInRange();
so from the above statement will get two rows from the empVo object. Now i have to display these rows in UI in the form of af:table.
Can anyone suggest how to acheive this.
Thanks in advance.<af:table value="#{Bean.listValue}" var="row" />
//refer rows like
<af:column>
<af:inputText value="#{row.description}" />
</af:column>
List listValue = new ArrayList();
//getter setter of listValue
//bean constructor
retrieve the rows from the AM methodthe above step is very crude hope you understand the steps -
How to generate unique table row id's in a cfoutput query?
I am trying to implement a jQuery drag and drop table row function to my CF pages but in order to save my "drop" positioning to the database I need to serialize all the table row id's.What coding would I need to add so that after the cfoutput query is run, each table row would have a unique id (ie. tr id="1", tr id="2", etc.)? Thanks.
Utilize the CurrentRow variable that's automatically available within your query output:
<cfoutput query="myQry">
<tr id="row#currentRow#">
<td>...</td>
</tr>
</cfoutput>
that will give you:
<tr id="row1">
<td>...</td>
</tr>
<tr id="row2">
<td>...</td>
</tr>
<tr id="row3">
<td>...</td>
</tr>
etc... -
Disable/Grey out a row in ABAP Objects
HI,
I have a reqmt where in which in the report -
when check box display BOM is checked only BOM components needs to be displayed in the output but should not allow user to select the row and make changes by pressing anybutton.
The display rows should get greyed out. How to achieve this functionality thru ABAP objects.
ThanksHi Namit,
Open the particular page , and select dynamic navigation (from the right hand side corner Display drop down menu ) .
U will get all the links which r there in the detailed navigation.
and uncheck the visible property .
Surekha. -
Number of rows differences across 9i logical dataguard
Hi,
I have a wierd situation, and need help to investigate:
We have a 9i primary database and a logical standby database for reporting purposes. In the logcial standby, apart from the main APPDBM schema from primary, we also have RPTDBM schema containing reporting objects. RPTDBM doesnot exist in primary.
We maintain the guard_status to "STANDBY" level in logical standby database to allow modifications to the RPTDBM schema.
But, today, we have observed difference in the number of rows for many tables (131 out of 2000) between the APPDBM schema in primary and standby database.
How could this have happened? What safeguard we should implement to prevent?
Any help is greatly appreciated.You have a customized solution. Without knowing all about the process of creating, populating, maintaining the reporting table, it's impossible to say.
-
Sequence of Create Rows in View Object
I have to insert a sequence of Rows in a entity object. While doing this , I need to display the master table record at the top of the page. I created a Data action (Dragged and Dropped Create button) which forwards to the data page containing ADF UIX input form and ADF UIX read only table(Master record). When I click te submit button, I commit the transaction and forward to the create data action again. I removed the following line from the Data Page.
<formValue name="${bindings.statetokenid}" value="${bindings.statetoken}" id="_uixState"/>
But Still, I'm not able to get the master record to display(Shows Empty Record) on third and subsequent insert rows. But the child record is inserted into the database on the first and second attempt.
Please help me solve this problem.
SathyaAre you using alterts related to that data object?
Do you have any open report that uses that data object? -
How can I have one row for each object?
Post Author: farnaz
CA Forum: WebIntelligence Reporting
I have 3 objcts that one of them is ID and second one is internal code and the third one is quantity.There is more than one value for each ID (becouse of internal code).I want to create a report based on ID and quantity (not based on internal code).I make a break on ID but the result shows me more than one row for each ID.so how can i have just one row for each ID?
another question:
how can I post screen shot of the results to my messag in forum?Post Author: jsanzone
CA Forum: WebIntelligence Reporting
farnaz:
Have you tried to omit "internal code" from your grid? In normal circumstances, if you have "ID" and "Quantity" on the grid, then WebI will on its own summarize Quantity based on ID, however, this is provided that Quantity has been set up as a measure (or metric). The quickest way to tell if Quantity is a metric or not is to observe the color of its icon when you look at it in the data panel. If it is a purple (or sometimes appears as pink or fuscia) dot, then it's a measure, but if it is a blue box then it is a dimension. If you need Quantity as a measure then this will have to be modified at the universe (make it look like "sum(Quantity)" in the select phase of the object, and insure the object is defined as a number.... -
Get number of rows in ResultSet object
Can anybody guide me on how to get the total number of rows in a result set object without iterating through all rows? Thanks.
Hi Soon,
You mention that you want to get the row count without iterating through the "ResultSet". I don't know what database you are using, but I want to inform you that with my Oracle 8i (8.1.7.4) database, using JDK 1.3.1 and the matching JDBC (thin) driver, the implementation of the "last()" method (that others have recommended that you use), actually iterates through the whole "ResultSet".
What I do is first execute a "SELECT COUNT(1)" query (using a literal "1") to get the number of rows -- this is much faster than executing the "last()" method.
Then I execute my actual query.
Hope this helps you.
Good Luck,
Avi. -
View all rows in Entity object
please I have a problem can I one help me
I want to get all rows from specific Entity object
example
I am now in validate method in XXX Entity Object and i want to get all the rows in XXX table from validate method(all rows)
can any one help me to do that
thanks in advanceya sire
I want from validate method in EO XXX to validate all the rows in the table XXX
so I want to get all the rows from validate methods in the EO XXX
thanks in advance
Maybe you are looking for
-
Trying to save file, but get one of two errors 50% of the time
Here's a breakdown of my issue. I'm a 3d artist working on some texture files for my models. I'm constantly saving the file to make quick changes and fixes, doing so quite rapidly. So much so I now have actions recorded to cut down on having to go to
-
Hi, There is a case in my requirement as to I can copy a Home address to Emergency address, in case a custom check box on teh screen is checked. So whenever i make any changes to HOM address, its corresponding EMR address should also be updated.
-
2 part question: I have been looking for an easy way to share my photos/video with my family. I have been using my own website and creating albums with Jalbum and Wordpress, however with three kids under 4yr, I am finding this method too time consumi
-
Elements 3 interaction with album starter
I have elements 3 and would like to use it to work on my photos. I recently downloaded album starter. How do I move photos back and forth between the two? I am sure there must be a simple way but I don't see it. Thanks, Tom.
-
Hello Experts, One of our client wants the Add on in spanish language , is there any option to make Addon in spanish language. We have Addon in English Plz suggest