FRM-41816 ERORR when creating territories based on territory type
Hi, guys!
So the problem is: I have a territory type for usage in Oracle Service, there are 3 transaction types defined - Service Request, Service Request and Task, Task - in this territory type.
So when I try to create territory based on this territory type, I get an Error FRM-41816: Attempt to create existing timer: POST_BLOCK_TRANX.
If I'm not using territory type to create a territory, this error doesn't show up.
Any solutions, would be greatly appreciated.
JAN
You have to generate the view inside the database. When Designer compiles the Form, it does it against a database, so the items used inside the Form should be inside the database.
Regards,
Mark
Similar Messages
-
Error FRM-41816: When creating a territory based on territory type
Hi, guys!
So the problem is: I have a territory type for usage in Oracle Service, there are 3 transaction types defined - Service Request, Service Request and Task, Task - in this territory type.
So when I try to create territory based on this territory type, I get an Error FRM-41816: Attempt to create existing timer: POST_BLOCK_TRANX.
If I'm not using territory type to create a territory, this error doesn't show up.
Any solutions, would be greatly appreciated.
JANShira,
Sorry, just re-read your post. Am I correct in thinking that you want to use the Controllers assigned within SPM to act as the approvers in CUP?
If so, what support pack version are you on as I believe that this only works in SP08 due to a technical bug. This also impacts the SPM Owners acting as approvers.
You may also wish to check the connectors and authorisations of the connector IDs as without being able to read the tables, the approvers may not be found.
Simon
Edited by: Simon P Persin on Nov 16, 2009 4:37 PM -
FRM-41816: Attempt to create existing timer
We are getting this error
FRM-41816: Attempt to create existing timer
Please helpWelcome to the Oracle Forums. Please take a few minutes to review the following:
<ul>
<li>Oracle Forums FAQ
<li>Before posting on this forum please read
<li>10 Commandments for the OTN Forums Member
<li>How to ask questions the smart way
</ul>
Following these simple guidelines will ensure you have a positive experience in any forum; not just this one! ;-)
We are getting this errorFRM-41816: Attempt to create existing timer>
This error is pretty self explanatory. You are attempting to create a timer that already exists. You should check to see if the timer exists before attempting to create a timer. For example:
DECLARE
im_id TIMER;
BEGIN
tm_id := Find_Timer('YOUR TIMER NAME');
IF NOT ID_NULL(tm_id) THEN
DELETE_TIMER(tm_id);
END IF;
tm_id := CREATE_TIMER('YOUR TIMER NAME');
END;Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
Syntax error when creating a user-defined table type in SQL Server 2012
Why am I getting a syntax error when creating a user-defined table type in SQL Server 2014?
CREATE TYPE ReportsTableType AS TABLE
( reportId INT
, questionId INT
, questionOrder INT );
Results:
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'AS'.Hope these posts could help,
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/37a45a9a-ed8c-4655-be93-f6e6d5ef44be/getting-incorrect-syntax-while-creating-a-table-type-in-sql-server-2008-r2?forum=transactsql
Regards, Dineshkumar,
Please Mark as Answer if my post answers your question and
Vote as Helpful if it helps you -
Avoid from the error message: "FRM-41816: Attempt to create existing timer"
Hi,
I create a timer in "on-insert" trigger in data-block level, like this:
timer_id := Create_Timer ('saving_inserting_timer' , 1 , NO_REPEAT);
in the trigger "when-timer-expired" in form level, I use this timer, like this:
timer_id := FIND_TIMER('saving_inserting_timer');
I know that I should write:
DELETE_TIMER('saving_inserting_timer');
to avoid the error message frm-41816, and I tried to write this line in a several places in the code (in both triggers). But I still get this error message.
Thanks in advanced,
EladHi Elad,
in ON-INSERT trigger write
timer_id := FIND_TIMER('saving_inserting_timer');
IF NOT Id_Null(timer_id) THEN
Delete_Timer(timer_id);
END IF;
timer_id := timer_id := Create_Timer ('saving_inserting_timer' , 1 , NO_REPEAT);
in WHEN-TIMER-EXPIRED trigger wrote the below code
IF NOT Id_Null(timer_id) THEN
Delete_Timer(timer_id);
END IF;
No two timers can share the same name in the same form instance, regardless of case.
Hope this will help -
Website structure causing problems when creating livecopy based on a blueprint
Hi,
Our website structure goes like this:
company/
products/
services/
contact us/
etc...
Our site is single language and hence the structure. Now we have a problem when creating a livecopy (for mobile site) based on a blueprint.
It seems that for the livecopy (based on a blueprint) to work, the site structure needs to be like this:
company/
en/
products/
etc...
It's too late for us to include another layer. What's the best way to create a livecopy based on a blueprint? Or should we just go with livecopy without the blueprint? But then are we missing out on the sync benefit from the blueprint?
Thanks!!Hi Chaack,
Thanks for this idea. I have tried this before but couldn't get the livecopy to sync.
I tried to do it through the blueprint by right click and select 'rollout'. But nothing happens. The 'blueprint' tab on the page properties on the livecopy site is grayed out. I think the blueprint I created is not associated with the livecopy and that's why the rollout does not work. If the livecopy was created through 'Create site' then the blueprint is available to choose on step1. But not when you 'create live copy'. Is there anyway to link the blueprint to the livecopy if the livecopy was created through 'create live copy'?
Thanks!!! -
Properties panel (for Content Types) not showing when creating sharepoint based document
Hello,
I've created three Content Types to populate when creating a new Budget document. The problem I'm seeing is that my pc always opens the Budget doc in Word Online and the properties box does not show. When I create a new Budget doc with my test pc, where
it always opens in Word, the properties box does show the three Content Types.
Is the idea of Content Type and the properties window supposed to work in Word Online?
My pc is Win 7, Office 2010 and IE 11
My test pc is Win 8, Office 2013 and IE 10
ThanksHi Jimbo, they don't work online. You should change your library settings to open documents in client program.
cameron rautmann -
Creating Historical based Security Access Type
I am trying to create a Security Access Type for PPLJOB that will look at the Reg_Region of an employee and if the historical rows of JOB contain the reg_region, use the employee in a Data Permission for Security. I want to know if anyone has tried this before and how the SQLID for Where needed to be coded. I created a SQLID with the following statement which didn't pull any employees:
PA.EMPLID = JOB.EMPLID AND PA.EMPL_RCD = JOB.EMPL_RCD AND JOB.EFFDT = (SELECT MAX(EFFDT) FROM PS_JOB JOB2 WHERE JOB.EMPLID = JOB2.EMPLID AND JOB.EMPL_RCD = JOB2.EMPL_RCD AND JOB2.EFFDT <= %CurrentDateIn) AND JOB.EFFSEQ = (SELECT MAX(EFFSEQ) FROM PS_JOB JOB3 WHERE JOB.EMPLID = JOB3.EMPLID AND JOB.EMPL_RCD = JOB3.EMPL_RCD AND JOB.EFFDT = JOB3.EFFDT) AND JR.EMPLID = JOB.EMPLID AND JR.EMPL_RCD = JOB.EMPL_RCD AND JR.EFFDT = JOB.EFFDT AND JR.EFFSEQ = JOB.EFFSEQ AND JOB.REG_REGION <> %Bind(SCRTY_KEY1) AND EXISTS (SELECT 'X' FROM PS_JOB JOB4 WHERE JOB.EMPLID = JOB4.EMPLID AND JOB.EMPL_RCD = JOB4.EMPL_RCD AND JOB4.EFFDT < JOB.EFFDT AND JOB4.REG_REGION = %Bind(SCRTY_KEY1))Thank you for the feedback Carl. Again, I am new to this, so please be patient with me. I am not sure what you mean about adding the parameter to the record selection formula. I have drug the parameter field into the report so that it will prompt for parameters before running, but I do not think that is what you are talking about. Please advise.
To your question about the Submit Date field in the report, when I open up the report and I point at the field for Submit Date the popup shows HPD_Help_Desk.Submit_Date (DateTime). That being the case, I think the answer to your question is that the data type of the data being returned is DateTime. Thanks again for the assistance. -
Error ORA-01426: numeric overflow when Creating table with double data type
Hi,
I am using ODP.NET to create a table with data from SQL to Oracle. The problem is with double data type fields that is equivalent to FLOAT(49) in Oracle. My syntax is:
CREATE TABLE SCOTT.ALLTYPES
F1 NUMBER(10),
F10 DATE,
F2 NUMBER(10),
F3 NUMBER(5),
F4 NUMBER(3),
F5 FLOAT(23),
F6 FLOAT(49),
F7 NUMBER (38,5),
F8 NVARCHAR2(500),
F9 NVARCHAR2(500)
Th error is with field F6 but I am not sure what is the correct type equivalent to double in SQL.
I woul appreciate if anyone can help me with this problem.
SunnyDoes this simple test work for you?
In database:
create table float_test
f1 float(49)
);C# code:
using System;
using System.Data;
using System.Text;
using Oracle.DataAccess.Client;
using Oracle.DataAccess.Types;
namespace FloatTest
/// <summary>
/// Summary description for Class1.
/// </summary>
class Class1
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
// connect to local db using o/s authenticated account
OracleConnection con = new OracleConnection("User Id=/");
con.Open();
// will hold the value to insert
StringBuilder sbValue = new StringBuilder();
// create a string of 49 number 9's
for (int i = 0; i < 49; i++)
sbValue.Append("9");
// command object to perform the insert
OracleCommand cmd = con.CreateCommand();
cmd.CommandText = "insert into float_test values (:1)";
// bind variable for the value to be inserted
OracleParameter p_value = new OracleParameter();
p_value.OracleDbType = OracleDbType.Double;
p_value.Value = Convert.ToDouble(sbValue.ToString());
// add parameter to collection
cmd.Parameters.Add(p_value);
// execute the insert operation
cmd.ExecuteNonQuery();
// clean up
p_value.Dispose();
cmd.Dispose();
con.Dispose();
}SQL*Plus after executing above code:
SQL> select * from float_test;
F1
1.0000E+49
1 row selected.- Mark -
De-normalized tables easier to use when creating forms in APEX?
I have about 6 normalized database tables and I want to create some forms that have 15-30 input fields per page (2 pages). I havn't been using APEX long but it seems that when creating forms based on tables you can only base the form on one table at a time. Is there a way to create a form based on several tables and still have APEX do the automatic row processing? Is this difficult?
Is it a better idea to insert this data directly into 1 de-normalized table and then run a pl/sql procedure to load them into other tables?
I should add that I would only want to insert the data into the normalized tables once the user has submitted the final page (ie. paid for their transaction).
SamAssuming your developing some sort of shopping cart type application, you could use Apex collections to store data collected in your forms. Then once your user has "paid for their transaction", process the contents of the collection and update your normalised tables accordingly.
See the help for info on using collections. Hope this helps. -
New validation - don't inform material number when creating
Hello!!!
I'd need to create a validation in order to avoid informing the field 'SAP Material number' when creating a new entry in MDM Data Manager for specific material types (material type is a lookup field which has two values, let's say 1 and 2).
For material type 1, we need to inform, when creating the entry, the material type 1, supplier name and supplier reference, but not the SAP material number, as it comes informed through an interface from SAP R/3.
For material type 2, we only need to inform the SAP material number.
Could you guide me on how to do this validation?
Thank you,
Carlos Santamaría.Hello,
The data flow is as follows:
There are two scenarios, one for Goods:
1. Add new record into the Data Manager.
2. Inform field 'Material type' (lookup field) Goods.
3. Inform field 'Supplier name' (lookup field).
4. Inform field 'Supplier reference' (text field).
5. Field 'SAP material number' must be left EMPTY when creating the new record. Once it's created, there is an interface from SAP R/3 which updates through ABAP API the records, informing the SAP material number and other fields informed in SAP R/3.
The validation should avoid that the user informs the material number when creating the new record.
Second scenario is for Finished Goods:
1. Add new record into the Data Manager.
2. Inform field 'material type' (lookup field) Finished goods.
3. Inform field 'SAP material number' (text field).
4. Optionally it is possible to inform Supplier name and Supplier reference, but it's not always inform.
There is already a validation rule that force the user to inform 'Supplier name and supplier reference for Goods, and for Finished goods it's mandatory to inform the SAP material number.
There is another field which is 'Unique key' which is a calculated field and it's composed by SAP material number + Supplier number + Supplier reference.
Our problem is to avoid that the user informs the SAP material number only for Goods. If the user does it, the interface will not work as it is designed.
Thanks for your feedback. -
Error while saving RTOM based campagin when creating the rules
Hi Experts,
My requirement is to configure RTOM in the system. I have created RTOM based campaign and when I maintain conditions in u201CEligibility and Agent skills Rulesu201D assignment block, I am unable to save the campaign. It throws the following error despite maintaining all the required settings in spro.
u201C Error while saving the rule; Contact technical support
Error in rule; navigate to rule details screen to correct it
Data not saved; save log u201D
Looking forward for your responses.
Kindly guide me to a way out for resolving this issue.
Thanks in Advance,
ShruthiHi Shruthi,
I know this has been a long while since you posted the question, how did you resolve this error because I am getting the same error.
Many thanks,
Garikai. -
Wrong date format when creating a universe based on a MS Analysis cube
Hi,
When creating a universe based on a MS Analysis 2008 cube the date objects from the cube are created in the universe with CHAR format when it should be DATE format
I have tried to resolve the issue by modifying the date object in the universe with MDX but with little success.
I wonder if it is an error in the cube and that it actually should be possible to get the correct date format from the cube when creating the universe automatically in the universe design tool.
The date object is organised in a hierarchy.
Any ideas? - both to resolve the issue by using MDX in the universe object properties or in the cube.
The universe design tool is version 4.0 SP2 patch 5
/KimOh I knew I was missing something. Ok version 2.
I think in general this approach would work. I assumed you are starting from 1 and resetting to 1.
There should be error handling and so forth that is not here. Probably some details need to be tweaked.
So the key thing here AFAIK is to put the sequence reset in an autonomous procedure. Exactly how to do that may need to be modified.
PS this version has a bug. After the reset needs to change the increment of the sequence back to 1.
and I left that out. oops!
/* testtrigger */
/* previously:
create table mytable (
myprimary_key number(10) primary key,
column1 number(2)
create sequence mysequence
start with 1
increment by 1
maxvalue 99
nocache;
create table mylastdate (lastdate date);
insert into mylastdate(lastdate) values (trunc(sysdate));
create or replace procedure reset_mysequence (in_correction number) is
pragma autonomous_transaction;
begin
execute immediate 'alter sequence mysequence INCREMENT BY ' || in_correction || ' MINVALUE 1';
update mylastdate set lastdate = trunc(sysdate);
commit;
end;
show errors;
create or replace trigger mytrigger
before insert on mytable for each row
declare
tmpdate number(8) := null;
lastdate_used number(8) := null;
correction number := null;
lastseq number(2) := null;
begin
if INSERTING then
tmpdate := to_number(to_char(sysdate,'YYYYMMDD'));
select to_number(to_char(lastdate,'YYYYMMDD')) into lastdate_used
from mylastdate;
select mysequence.currval into lastseq from dual;
/* when this displays in the forum it shows lt gt as nothing on the screen
so this should be lastdate not equal to tmpdate */
if lastdate_used <> tmpdate and lastseq > 1 then
correction := -(lastseq - 1);
reset_mysequence(correction);
end if;
:new.myprimary_key := (tmpdate * 100) + mysequence.nextval;
end if;
end;
show errors;
Edited by: lake on Nov 30, 2010 10:39 AM
Edited by: lake on Nov 30, 2010 10:52 AM -
Inherit Purchase Requisition Price when creating a PO based on a PR
I would like to know what configuration is required to "inherit" the Purchase Requisition Price when creating a Purchase Order based on that Purchase Requisition.
Best Regards,
LOHi,
Its related to Buyers authorization: Line of action mention as under-
1. Go to SPRO > MM > Purchasing > Authorization Management > Define Function Authorizations for Buyers > Function Authorizations: Purchase Order > Here "New Entries" and define Function Authorization Key as "01" and give description.
you can also use the trax Code - OMET
Now in "General parameters" subscreen, activate "Adopt PO Price" indicator and select "Enter conditions"
In "Possible ref. objects", select "W/o reference" otherwise reference documents (for e.g. PR, RFQ, etc...) for PO will become mandatory.
2. Now go to SU01 > Enter User ID > Parameters Tab > Here for Parameter ID EFB i.e. Function Authorization: Purchase Order, maintain value "01" and check in PO, PR will become mandatory for that user.
3. Now during creation of PR in ME51N, under "Valuation" Tab, you will get option for PO Price Adoption as Net or Gross. Select as per your requirement and it will copy Price to PO.
Regards,
Sujoy -
FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06502.
Hi Guys,
I am a beginner in Oracle apps and have been trying to setup receivables module. I have completed all necessary setups such as system options, transaction types, transaction sources, Auto accounting etc.
Now, when I try to open transaction window, I am getting the following error
FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06502
RDBMS : 11.2.0.2.0
Oracle Applications : 12.1.3
Thanks in advance.. :-)Please see these docs.
Repair Orders Form Error: 'FRM-40735: When-Create-Record Trigger raised unhandled exception ORA-06502' For Instances With Alphanumeric Instance Numbers [ID 580147.1]
FRM-40735:WHEN-CREATE-RECORD Trigger Raised Unhandled Exception ORA-06502 [ID 125204.1]
Attempt To Open IGIPAPPF Approval Profile Form Fails With Error: FRM-40735 WHEN-CREATE-RECORD Trigger raised unhandled exception ORA-06502 [ID 418546.1]
Transactions Workbench Error: ORA-06502 [ID 1295626.1]
Transactions Workbench Error: Listing of FRM Errors [ID 1321612.1]
Forms Error: FRM-40735 [ID 1295620.1
Credit Transactions Form Errors Out With FRM-40735 [ID 1079945.1]
Thanks,
Hussein
Maybe you are looking for
-
I purchased an album with 11 tracks from the Store. When the download was complete, I edited the name to make it easier for me to find. I then synced my iPod and iPad with the new album. However I found that one of the tracks was defective and afte
-
Why isn't java working with safari 5.1?
I've been playing an online game lately that is powered by java. I saw there was a software update for my mac (os x lion i think) so i updated the software on my computer. Now, Java does not run on my computer, and i dont know how to downgrade to the
-
Scroll bar arrows in Lion?
Just curious if anyone knows if there is a way to get up and down arrows back at the bottom of the scroll bars in Lion? I'm using a trackball mouse so it's a little annoying having to click and drag on that tiny little scroll bar... Thanks for any in
-
After Installing Acrobat X Standard, Cannot print from another Windows Program
I am having a strange problem. Once I installed Acrobat X Standard, another Windows based program stopped printing. It now comes up with a usp10.dll error, but most of the time it just crashes the program. Tried reinstalling the program and no luc
-
What is the workflow to compile and load an external class as a runtime library?
I have a set of classes (with some large embeds) that I only want to load one by one at runtime as needed. I think that I need to compile each of these classes into a separate SWF and use one of the available loaders out there to load and link to the