Grants for Record Type
Hi all,
can any one plzz tell me how to give grants for Record or Table type.
Thanks in Advance
If you want more help then do the following:
1. Post your complete Oracle version number ... minimum 3 decimal places.
2. Post the full and complete error message ... not your interpretation of it.
3. Post the DDL for the type or at least those portions of it that refer to other objects that may not exist in the same schema.
You have made this far harder than it need be by asking an initial question that concealed relevant facts and then posting again the ORA-01031 but not providing sufficient information.
If you want people to help you then provide the necessarily information.
Similar Messages
-
Howto post offsetting entries for Record type Z Line items in KE24 from FI
HI,
We are facing one problem for order created from CRM.
Firstly this order has created with one profit center ( ex PH50293 ) they have posted some plan values and released the order in CRM so values flown to ECC and available in KE24 .
After some time , we have changed profit center for this order in CRM by changing service organisation and release the order after that we have posted some values in that order which is not flown to ECC becuase of different profit center
Later we rejected the all values and make balance zero in CRM , But still values are appearing in KE24 and there is inconsistency of profit center between ECC & CRM.
Now want to make the balances zero in KE24 for that order. but it shows record type Z ,
So , now how we can rectify this and how we can make balances zero
__Note : as per present setting in the system, we can not change the profit center in CRM once order released_._
Thanks & Regards
GuptaDear VK,
I guess, the only option would be to post manual correction thru KE21N, with negative values for record type Z.
Trust this helps.
Cheers. -
Hi All,
I have to show one output in ALV.One of the o/p fields is "Record Type" which has possible entries as 1.Current Stock 2. Safety Stock 3. Process Order 4.Planned Order.
Is there any field in any table for record type with above mentioned possible entries.Even if a field for Order type is there please mention.
Thanks in Advance,
Saket.Hi
Please check this
/BI0/OIRECORDTP Record type
CFRECTY Record type
FE_RRCTY Record type
MAFID Record type
P106_RTYPE Record type
PAR_TIREG Record type
PES_190TIP Record type
PPT_TSREC Record type
RECNO Record type
RECTP_EBES Record type
RSART Record type
SISATZ Record type
VVISATZA Record type -
Workflow for record type = User
Hi All,
I would like to create an WF for record type = 'User' that will update one 'User' object field based on the value entered in other 'User' object field.
Simple to do for any record type except 'User' which is not an option in the Workflow Rule New record type LOV, any ideas for an workaround here?
10x,
AlexD.Hi Alex, unfortunately I have no answer, but I´m looking for something similar. I want to link object fields of the user´s direct manager to the appropriate object fields of the user. I don´t wanna save the values via a workflow, as the value should be dynamic if it changes in the user profile of the manager.
If this could be combined with a dynamic user layout for the administrator it would enable perfect user management. Does anyone have an idea? Many thanks, Joerg -
Look in Selector Default for Record Types
Is it possible to set a Look in Selector Default for each record type? For example, I'd like the Look in Selector default for account, contact, and opportunity to be defaulted to All but the Look in Selector default for Custom Object 1 to default to a specifc book we defined. I know that I can set the default look in selector for a given user but not sure if it can be set for a specific record type.
At this time it is not possible to set the Look in Selector by record type.
-
Output Server & "Read Ahead" for record type indicator files
I have a design requirement where I need to read to the end of the print file (record type indicator format) before I can complete the process of laying down the subforms. I need to lay down a subform on page one, but will not get the data element needed until the end of the file. It is a bill statement with line items listings. When run in a batch it can have single page and multi-page bills combined. I have heard of "read ahead" but don't seem to find any documentation on it. Can anyone verify this function and direct me where to find more information?
Thanks, PhilipOne solution might be to add a preprocessing step before the merging. Use the transformation agent to extract the "data at the end", inserting it at the beginning. When jfmerge starts, the data is good as gold, and no jumping required. In my experience, Output Server isn't that good at jumping back and forth.
Hope this helps,
Vegard -
Hi,
The following code works perfectly for me and give me a list of users for a specific OU and their respective logon types :-
$logFile = 'c:\test\test.txt'
$_myOU = "OU=ABC,dc=contosso,DC=com"
# LogonType as per technet
$_logontype = @{
2 = "Interactive"
3 = "Network"
4 = "Batch"
5 = "Service"
7 = "Unlock"
8 = "NetworkCleartext"
9 = "NewCredentials"
10 = "RemoteInteractive"
11 = "CachedInteractive"
Get-WinEvent -FilterXml "<QueryList><Query Id=""0"" Path=""Security""><Select Path=""Security"">*[System[(EventID=4624)]]</Select><Suppress Path=""Security"">*[EventData[Data[@Name=""SubjectLogonId""]=""0x0""
or Data[@Name=""TargetDomainName""]=""NT AUTHORITY"" or Data[@Name=""TargetDomainName""]=""Window Manager""]]</Suppress></Query></QueryList>" -ComputerName
"XYZ" | ForEach-Object {
#TargetUserSid
$_cur_OU = ([ADSI]"LDAP://<SID=$(($_.Properties[4]).Value.Value)>").distinguishedName
If ( $_cur_OU -like "*$_myOU" ) {
$_cur_OU
#LogonType
$_logontype[ [int] $_.Properties[8].Value ]
#Time-created
$_.TimeCreated
$_.Properties[18].Value
} >> $logFile
I am able to pipe the results to a file however, I would like to convert it to CSV/HTML When i try "convertto-HTML"
function it converts certain values . Also,
a) I would like to remove duplicate entries when the script runs only for that execution.
b) When the script is run, we may be able to search for records after the last run and not search in the same
records that we have looked into before.
PLEASE HELP !If you just want to look for the new events since the last run, I suggest to record the EventRecordID of the last event you parsed and use it as a reference in your filter. For example:
<QueryList>
<Query Id="0" Path="Security">
<Select Path="Security">*[System[(EventID=4624 and
EventRecordID>46452302)]]</Select>
<Suppress Path="Security">*[EventData[Data[@Name="SubjectLogonId"]="0x0" or Data[@Name="TargetDomainName"]="NT AUTHORITY" or Data[@Name="TargetDomainName"]="Window Manager"]]</Suppress>
</Query>
</QueryList>
That's this logic that the Server Manager of Windows Serve 2012 is using to save time, CPU and bandwidth. The problem is how to get that number and provide it to your next run. You can store in a file and read it at the beginning. If not found, you
can go through the all event list.
Let's say you store it in a simple text file, ref.txt
1234
At the beginning just read it.
Try {
$_intMyRef = [int] (Get-Content .\ref.txt)
Catch {
Write-Host "The reference EventRecordID cannot be found." -ForegroundColor Red
$_intMyRef = 0
This is very lazy check. You can do a proper parsing etc... That's a quick dirty way. If I can read
it and parse it as an integer, I use it. Else, I just set it to 0 meaning I'll collect all info.
Then include it in your filter. You Get-WinEvent becomes:
Get-WinEvent -FilterXml "<QueryList><Query Id=""0"" Path=""Security""><Select Path=""Security"">*[System[(EventID=4624 and EventRecordID>$_intMyRef)]]</Select><Suppress Path=""Security"">*[EventData[Data[@Name=""SubjectLogonId""]=""0x0"" or Data[@Name=""TargetDomainName""]=""NT AUTHORITY"" or Data[@Name=""TargetDomainName""]=""Window Manager""]]</Suppress></Query></QueryList>"
At the end of your script, store the last value you got into your ref.txt file. So you can for example get that info in the loop. Like:
$Result += $LogonRecord
$_intLastId = $Event.RecordId
And at the end:
Write-Output $_intLastId | Out-File .\ref.txt
Then next time you run it, it is just scanning the delta. Note that I prefer this versus the date filter in case of the machine wasn't active for long or in case of time sync issue which can sometimes mess up with the date based filters.
If you want to go for a date filtering, do it at the Get-WinEvent level, not in the Where-Object. If the query is local, it doesn't change much. But in remote system, it does the filter on the remote side therefore you're saving time and resources on your
side. So for example for the last 30 days, and if you want to use the XMLFilter parameter, you can use:
<QueryList>
<Query Id="0" Path="Security">
<Select Path="Security">*[System[TimeCreated[timediff(@SystemTime) <= 2592000000]]]</Select>
</Query>
</QueryList>
Then you can combine it, etc...
PS, I used the confusing underscores because I like it ;)
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
I have created the record in BizTalk schema but i will give to Data Structure Type as reference For eg:Recordname(Reference) instead of recordname(Complex type).
Please help me to sort this out
You can add a reference to an existing type only.
You might have to manually edit the XSD file to change the xmlns definiton to xmlns:tns and then after you define the record type, set the datatype to tns:.... this creates the XML Type. Then later in your schema you can instantiate this with a name and
then set type to tns:.... (Reference)
Regards. -
Conditon record for condition type
Hi
i create my condition record for my condition type( pr00, MWST,) in pricing in vk11 but when i create my condition type for output type, account determination and text determination i don't create the condition record in vk11 so how is itpossibile
VinzHi Vinz,
For Account determination in SAP, Condition Technique is used. First we Create condition tables. Then we create the key combination/Access sequence(Sequence of condition tables created), then we create condition types(We have two standard condition types-- KOFI(With out controlling and KOFKWith Controlling). We assign these Condition types to the Procedure and the procedure is assigned to the billing types. One of the combinations is " Application/sales org/chart of accounts/ condition type/acount assignment group of customer/acct assign group of mat/ account key/gl account."This combination is nothing but access sequence and this is assigned to a condition type. In "VKOA" we specify the system whats the G/L Account to be picked up. This acts as a condition record. Account keys are assigned to each condition type in pricing procedure. Based on the account key of particular pricing condition type(Ex: PR00ERL) ,system will pick up the respective condition type from "VKOA". Kindly please let me know If you need any more Information on this,
Regards,
Ram Pedarla
Edited by: RamPedarla on Mar 17, 2010 5:59 PM -
Can you confirm for me please? - jdbc to pl/sql record types
Hi, I was hoping somebody could confirm the following please? I've been researching this in the Oracle JDBC docs and the Internet, but would feel more comfortable if somebody would confirm my findings.
I have a 10g database pl/sql procedure that takes a pl/sql record type as both IN and OUT parameter. I'm not allowed to modify this legacy procedure, though I may create new supporting code.
My research shows there is no inherit support in JDBC for Oracle pl/sql record types as per the Oracle JDBC docs.
As a solution, if the procedure only returned a record type, my understanding is I could create a ref cursor in pl/sql, as well as a wrapper procedure that calls my original procedure, and returns the record type through the ref cursor. This could then be used by my JDBC code as JDBC supports ref cursors as a return type.
However in my case, as the record type is both an IN and OUT parameter of my procedure, my research so far says JDBC support for ref cursors does not allow the writing of value to the ref cursor to be submitted back to the database. Is this correct?
If this limitation exists, as such the better (and only?) solution is to create a shadow pl/sql procedure that takes all the record elements as separate IN OUT parameters and then create a private record based on the record type and pass it to the original procedure.
Is my research here correct? Any help appreciated.
Thanks & regards,
CM.Chris,
As far as I know, PL/SQL record types are not supported in JDBC.
I believe you may be able to use TopLink.
I think Kuassi Mensah may have some examples in his book Oracle Database Programming.
Alternatively, you could use an Oracle object instead of a PL/SQL record.
This would be similar to what you are suggesting except that instead of a ref cursor, you would transfer the PL/SQL record to an Oracle object.
Good Luck,
Avi. -
Query for records on a block with Query Data Source Type : Procedure
Hi All,
The veriosn of form I'm using is:
Forms [32 Bit] Version 6.0.8.23.2
I have a block based on a procedure.
But when I enetr-query and search for records specific to ceratin criteria even then the result of the Query is all records.
Is Query not allowed on a block with Query Data Source Type : Procedure.
Hope my question is clear.
Thanks in advance.
Regards
ArifWhen you use a table based block, forms can construct any select with any where clause based on the given inputs. Using a procedure based block, forms cannot "know" which in or out parameter of the procedure corresponds to which item. Even if Forms could pass the value of an item to an argument automagically, the procedure would have to "do something" with the argument, and you´d have to code it.
So, any item that should be used in the where-clause must be mapped to an argument.
Perhaps it would be easier to use a table based block querying a view? For DDL, you could use an instead-of-trigger on the view.
Regards,
Gerd -
How to register OUT param to RECORD type for STORED PROCEDURE???
hi
i have a SP like this
CREATE OR REPLACE PACKAGE P1 AS
TYPE g_con_ref_cursor is REF CURSOR ;
TYPE g_con_error IS RECORD
error_code NUMBER,
error_desc varchar2(2000)
PROCEDURE PROC_CURSOR
(i_str_userid IN VARCHAR2,
o_cur_ref_cur OUT g_con_ref_cursor,
o_rec_error OUT g_con_error,
o_num_status OUT NUMBER);
END;and now i am trying to call this SP using my java program
i am able to register the out put params for 2nd and 4 th variable
my doubt is how i can register the output param for 3rd (g_con_error) which is of record type
and how i can get result from this ????
my java program is like this
Connection connection = DatabaseHelper.prepareConnection();
CallableStatement proc = connection.prepareCall("{ call P1.PROC_CURSOR(?, ?, ?, ?) }");
proc.setString(1,"jn26557");
proc.registerOutParameter(2,oracle.jdbc.driver.OracleTypes.CURSOR);
proc.registerOutParameter(3,???,????); //HOW TO SET THIS ?????
proc.registerOutParameter(4,oracle.jdbc.driver.OracleTypes.NUMERIC);
proc.execute();plz help me in this
i have no idea how to do it
any help would be appreciated
Thanks in advance
Jaya Prakash NalajalaYou might give a try using:
proc.registerOutParameter(3, java.sql.Types.REF, "RECORD"); -
Fetching accessible record type list for any user
How to get list of standard record types being accessible for any user role?
One solution - We know the entire list of standard record types, so we can keep trying to access each record type and if we get access violation exception, then skip that record type. This solution is NOT a good idea as it will be poor in performance and may become insufficient in future version of OCOD (which may have more standard record type than the count present today).
Is there any direct API available? or any generic solution?Hello,
this is the forum for the tool {forum:id=260}. Please mark this question as answered, so others know that they can ignore it.
Then post again in {forum:id=75}
Regards
Marcus -
Where can I find the user key precedence hierarchy for each record type?
Example: I want to update contact records through the CRMOD web service API.
So I'm looking at the "Oracle Web Services On Demand Guide, Version 6.0 (released August 2010)", page 316, and it lists 3 user keys for Contact.wsdl v2.0 in the following order:
1. FirstName and LastName
2. Id
3. ExternalSystemId
From what I can see, this order does not seem to reflect the precedence hierarchy of these 3 user keys.
I've send in a test update where I supplied a FN, LN, and EUID, ... and the contact that matched the EUID got updated.
(I'm glad it did, because EUID really needs to take precedence over FN+LN, otherwise you could never change a contact's last name without knowing the contact's Row Id.)
Does anyone know where I can find the precedence hierarchy for each record type's user keys (other than doing the obvious and time consuming "try+error")?Hi,
we experienced similar problems with the account object and asked the oracle support about this. This was their answer:
"[...] thank you for contacting CRM On Demand Customer Care. Regarding your question, please note the below: when perfoming a query, the user key fields are looked for in this order: - Row id - External System Id - AccountName and Location. Basically, the search will be performed by AccountName and Location only when the other fields are missing. This is an expected behavior because, the Row Id is the strongest filter as it is always unique. The external system Id comes second, as it is supposed to be unique in another system."
So, I guess the order is always
1) Row Id
2) External System Id
3) specific field combinations...
kind regards
Kai
Edited by: Kai Hartmann on 28.04.2011 07:10 -
Best Practices to update Cascading Picklist mapping for Account record type
1. Most of the existing picklist values name in parent and related picklist has been modified in external app master list, so the same needs to be updated in CRMOD.
2. If we need to update picklist value, do we need to DISABLE the existing value and CREATE a new picklist.
3. Is there any Best Practices to avoid doing Manual Cascading picklist mapping for Account record type? because we have around 500 picklist values to be mapped with parent and related picklist.
Thanks!Mahesh, I would recommend disabling the existing values and create new ones. This means manually remapping the cascading picklists.
Maybe you are looking for
-
Space button on Treo Pro (sprint) takes me back to Home
Hello, I just had an odd thing happen yesterday. When I looked at my phone, some settings were changed - my digital clock display for time got set to analog. I switched it back thinking it wasn't a big deal. Anyway later when I try to text, every
-
So my "MacBook Pro 13" Early 2011" backlight keyboard hasn't been working. I have tried LabTick today, doesn't fix anything. Even in high or low lighting situations (dispite the Adjust keyboard brightness in low light being off) doesn't like to go on
-
Ipod touch triggering Win XP Pro stop error upon plugin to USB port....
Okay this is a curious conundrum with a problem that I suspect lies somewhere between my itunes and my touch. A week or so ago, my ipod was still syncing fine as normal and I was at my sister's house with my laptop. Just now tried to remember what ex
-
Hi guys, I'm having quite a hard time in mapping a Text File into XI XML structure. I've the following structure: mtTest RECORD (0....unbounded) DATA ( 1 ) ROW (0 ...unbounded) and a text file: 015007V30147425 0018002 2007121
-
Replacement iPod, Same Problem.
I just got my replacement photo ipod and paid thirty dollars for S+H. Now, the new iPod has the exact same problem. What route should I take? Will I be able to get another replacement? What will Apple do to ensure it doesn't happen again? I'm very up