Needs to consolidate twice after updating a business rule
Hi All,
I created a business rule to pull an nonconsolidated entity to an consolidated entity without realizing an existing rule is doing the same thing but using the parent instead. This cause the consolidation process to do it twice.I stopped the rule, added a new nonconsolidated entity and a new rule going to the same consolidated entity. This way the history data wouldn't be impacted. I would assumed that because I stopped the first rule that causing the data to impact twice I don't have the same problem but once I tested it, it is still doing the same thing. I am using HS.ImpactStatus on the BR. Please see below:
Old to stop the rule:
'case "global_chain"
'HS.ImpactStatus "E#Global_Chain_Corp"
New rule:
case "global_chain_corpnc"
HS.ImpactStatus "E#Global_Chain_Corp
any ideas why still need to consolidated twice?
thanks
sandy
Hi Sandy,
HFM is calculating the entities based on the order in the hierarchy structure.
I assume that you have this issue because entity global_chain_corpnc is calculated after entity Global_Chain_Corp and as a result Global_Chain_Corp will end up as impacted.
Based on my understanding HFM will:
On the first consolidation:
1.1) Calculate Global_Chain_Corp
1.2) Calcuate global_chain_corpnc which will result in Impacting Global_Chain_Corp
On the second consolidation
2.1) Calculate Global_Chain_Corp but not calcuate global_chain_corpnc because it is already calculated from the first consolidation
Regards,
Thanos
http://thanos-onetruth.blogspot.co.uk
Similar Messages
-
Do I need to uninstall PSE9 after updating to PSE13?
Do I need to uninstall PSE9 after updating to PSE13?
It is not a requirement but you can if you wish to.
-
Multiple row update; CEV business rule parameters are not refreshed
During a multiple row update, a business rule is fired for each row.
This change event business rule must update the value of another column in the same table (and same row).
Unfortunately, the parameters of the BR are keeping the values of the first row that has been checked. Since my parameter p_id always keeps the same value, I always update the same row.
Does somebody have a hint on how to solve this problem ?
I'm using Headstart R6i and Forms6i with Oracle9i DB.
Thanks in advance for your help,
Denis.I think that's how it works. I tried that with a variable where type is Members.
It is not showing me a prompt when i select multiple rows. However works only for first row. (even if the menu is initiated from second row).
Multiple rows selected, variable type is members. works only for first row in selection. (in 11.1.2.2) You can try log an SR and see what Oracle has to say.
Regards
Celvin
http://www.orahyplabs.com -
Mail needs to be sent after updating the salary column of emp table
Hi,
we have table test_emp_table, oracle form based application is running on this table...
it conatins salary column, we have requirement that, when every any update to the salary column, a mail needs to be sent to concerned person with new and old salary values..
I did that using the following procedure...
===========
-- Create Temporary Table to hold the Updated values
create table email_parameters
( id number primary key,
oldsal varchar2(10),
newsal varchar2(10),
ename varchar2(100));
--- Create Procedure
CREATE OR REPLACE PROCEDURE send_email_new (
l_job IN NUMBER ) is
l_oldsal varchar2(100);
l_newsal varchar2(100);
l_emp_name varchar2(100);
l_message varchar2(100);
BEGIN
SELECT oldsal
INTO l_oldsal
FROM email_parameters
WHERE ID = l_job;
SELECT newsal
INTO l_newsal
FROM email_parameters
WHERE ID = l_job;
SELECT ename
INTO l_emp_name
FROM email_parameters
WHERE ID = l_job;
l_message:=
'Employee Name= '
|| l_emp_name
|| chr(10)||chr(10)
|| 'Old Salary= '
|| l_oldsal
|| chr(10)||chr(10)
|| 'New Salary= '
|| l_newsal;
send_mail(l_message);
DELETE FROM email_parameters
WHERE ID = l_job;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line (DBMS_UTILITY.format_error_stack);
DBMS_OUTPUT.put_line (DBMS_UTILITY.format_call_stack);
END;
--- Create Trigger
create or replace trigger send_email_trg
after update on TEST_EMP_TABLE
for each row
declare
l_job number;
begin
dbms_job.submit (job => l_job,
what => 'send_email_new(job);' );
insert into email_parameters
values (l_job, :old.sal,:new.sal,:new.ename);
end send_email_trg;
-- Create Procedure for Sending Mail
create or replace procedure send_mail(l_message varchar2) is
c utl_smtp.connection;
PROCEDURE send_header(name VARCHAR2, header VARCHAR2) AS
BEGIN
utl_smtp.write_data(c,name ||':'|| header || UTL_TCP.CRLF);
END;
BEGIN
c := utl_smtp.open_connection('192.168.0.18');
utl_smtp.helo(c, 'abc.com');
utl_smtp.mail(c, '[email protected]');
utl_smtp.rcpt(c, '[email protected]');
utl_smtp.open_data(c);
send_header('From', '[email protected]');
send_header('To', '[email protected]');
send_header('Subject', 'Warning: Employee Solary has been updated!');
utl_smtp.write_data(c, UTL_TCP.CRLF || l_message);
utl_smtp.close_data(c);
utl_smtp.quit(c);
EXCEPTION
WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
BEGIN
utl_smtp.quit(c);
EXCEPTION
WHEN utl_smtp.transient_error
OR utl_smtp.permanent_error THEN
NULL;
END;
raise_application_error(-20000, SQLERRM);
END;
====================
But I have doubt, if there is any problem with mail server, if user is updating salary column from form based application at same time....
will table trigger allows him to save the new record or not????? or will he get any errors????thanks justin...
I have written that code..but it works...problem is ...i am not able to understand the flow...what happens in the order, until mail is sent...
i have another code.....
I have written with out dbms_job, i have witten directly in the trigger itself...
Tom suggested the procedure, what i have given above..but not the below procedure....
I am not able to understand, what is the difference between them.....
CREATE OR REPLACE TRIGGER test_emp_table_trg
AFTER UPDATE
ON test_emp_table
FOR EACH ROW
WHEN (NEW.sal <> OLD.sal)
DECLARE
l_employee_name VARCHAR2 (240);
l_old_sal VARCHAR2 (240);
l_new_sal VARCHAR2 (240);
l_message VARCHAR2 (240);
BEGIN
/* Gets the employee full name */
BEGIN
SELECT ename
INTO l_employee_name
FROM test_emp_table
WHERE empno = :OLD.empno;
EXCEPTION
WHEN OTHERS
THEN
l_employee_name := NULL;
END;
/* Gets the old Salary */
BEGIN
SELECT sal
INTO l_old_sal
FROM test_emp_table
WHERE empno = :OLD.empno;
EXCEPTION
WHEN OTHERS
THEN
l_old_sal := 0;
END;
/* Gets the new position name */
BEGIN
SELECT sal
INTO l_new_sal
FROM test_emp_table
WHERE empno= :NEW.empno;
EXCEPTION
WHEN OTHERS
THEN
l_new_sal := 0;
END;
l_message:=
'Employee Name= '
|| l_employee_name
|| 'Old Salary= '
|| l_old_sal
|| 'New Salary= '
|| l_new_sal;
BEGIN
send_mail (l_message);
END;
==========
can you please describe it clearly???
thanks in advance my dear friend????
Edited by: oraDBA2 on Oct 4, 2008 10:26 PM -
Do I need to network unlock after updating to iOS 6?
Some people sat that after updating to ios6 they can't connect wifi. Do I need to network unlock my iPod touch? Is it needed? And tell me something about speakers and earphone after updating?
I do not understand your question. Please rephrase it. If English is not your first or native language, please ask your question in your native language so some one can assist you.
-
Need help. Activation after update iOS 5.1 is not working!!
Need Help in activating my iphone 4 after update iOS 5.1. My phone was been neverlock and i used its before update without any activations. After update i can't turn on my phone!!! On the display have message "SIM not valid. Only compatible SIM cards from a supported carrier may be used to activate iPhone. Please insert the SIM card that came with your iPhone or visit a supported carrier's store to receive replacement SIM card". But i haven't any sim cards. Only the sim card from my operator "Kyivstar" (Ukraine)... What should i do?!
p.s.: sorry for my bad english, but i live in Ukraine, and we haven't autorized service center of Apple in our country. help me please.You have been using a phone that has been hacked to allow it to be used on your network. Upgrading your phone's software has relocked your phone to the original carrier.
You will not be able to use your phone again unless the ORIGINAL carrier offers unlocking. Many don't, and many who DO offer unlocking, will not unlock unless the phone has active service with the carrier in the appropriate country.
You will need to find out who the carrier your phone is locked to is, and see if that carrier unlocks the phone. It is very likely you will need to buy a new phone. -
Help Needed , N93I Camera problem after Update
Hi All
After updating my N93I the camera can't take pics and only take Black photos , You don't see nothing on the screen ( Only stripes)
The Phone is O.k since it worked for 1 time even after the upgrade and that's all.
I can use the internal camera.
Please Help .same problem here ( still waiting maybe someone knows the solution (
-
Asking a question twice owing to a business rule
Hi All,
I have a requirement where I have to ask for the new value of a Number attribute in the same interview as soon I have already answered it depending on a business rule.
e.g. consider the following
The application form is complete if
The applicant's age is known
{The applicant's age is a Number}*(but a hypothetical business rule is: if the age is under 18, ask the question again)*
i.e.
Interview 1:
What is applicant age: *20*
The application form is completeInterview 2:
What is applicant age: *15*
What is applicant age: *13*
The application form is completeInterview 3:
What is applicant age: *12*
What is applicant age: *12*
The application form is completeIs there a suitable workaround.
Hope this helps.
ThanksIdea 1:+ Use a warning rule like:
Warning("You've stated that your age is under 18. If this is correct, press the Submit button.") if
the applicant's age < 18
This will cause a warning message to appear on the screen, but (unlike an error event) it will allow the user to continue the interview.
Idea 2:+ Create a second age attribute. If the value of the first age attribute is under 18, ask the second. Of course, this creates a risk of having inconsistent data (like your scenario 2), so you would need additional rules to resolve the inconsistency.
I'd go with the first approach, personally. -
After completion of Business rule Job Console shows status as Processing
Hi All,
I have installed Oracle EPM 11.1.2 .
When I run rules through Hyperion planning the rules that go in to job console do not show a change of status even though they are completed. I checked Essbase logs which shows that the BR has completed its processing yet in Planning job Console it shows the status as "Processing" .
Please share your thoughts on how to rectify this issue.
Thanks
SauravCheck out:
Business Rules Jobs with Status "Processing" in Planning Web? (Doc ID 966683.1)
Cheers..!!! -
UI invisible after updating 5000 business partners
hi,
i'm updating about 5000 business partners in my addon.
I do this in a thread, so the user can do other things in sap.
If there is no user interaction the screen will be locked, but that doesn't matter because the addon will go on as i can see in the status bar.
After 1-2 hour the user cannot acess SAP anymore. The UI will not been refreshed. The only way is to kill the process.
Is there a way to handle this?
SAP 8.8 SP00 PL19
best regards
MarkusHello Marcus,
When i had this kind of error, i done the following: spliited the records to be updated as 1000 per group, and executed a them in a cycle.
Also a good idea it the following:
for 1 to 5000
call updateBP (params)
next
Sub Updatebp (params)
oBp = moSBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
oBp.update
'release object
GC.Collect() 'Call the garbage collector for good measure
end sub
no more data required, and stable.
Regards
János
pS: use GetDICompany to connect via UI Addon if necessary in 2007 / 8.8
Edited by: János Nagy on Feb 10, 2011 12:33 PM -
Safari opening twice after update
After latest update, Safari 7.04 is opening up twice and when I close one window they both close. Is this a bug in the new version?
Go to Safari > Preferences > General
Select: A new window from the Safari opens with: pop up menu
Quit and relaunch Safari to test.
If that doesn't hep, delete the cache.
Open a Finder window. From the Finder menu bar click Go > Go to Folder
Type or copy paste the following
~/Library/Caches/com.apple.Safari/Cache.db
Click Go then move the Cache.db file to the Trash.
Quit and relaunch Safari to test. -
Hi,
Maybe someone can help me resolving a (re) boot issue with my Mac Book Pro. Last few weeks I experienced a tremendous drop in performance (start-up as well as handling and using applications).
Yesterday I downloaded and installed an app to clean stuff from the mac, such as binaries that aren't used, cache files, etc. It resulted in substantial better performance. Than, I used the updater on this application to update. This morning, the Mac wouldn't boot. After several attempts I used the old DVD with Mac OS X to re-install and boot. That worked.
Following this approach, I received two messages (that HP apps weren't secured or something and therefor disabled). Than I updated the Mac OS X and later this evening it asked me if I wanted to install some (4) other updates as well (don't know what updates these were). So I updated but now I am back at square one: My Mac doesn't boot. I do get the grey starting screen, but now even the 'apple' logo is missing.
Anyone else experiencing these problems and have any clues on how to fix it? By the way, I also tried to alter permissions on all files on the main hard drives (to ensure that I do not always have to sign off on updates and or changes of applications). Would that have caused problems?You seem to have a lot going on here, so it's hard to know what's wrong. You likely had some underlying problems before doing the Software Update.
Here's a link that might help with the grey screen problem:
http://support.apple.com/kb/TS2570
Which app did you download?
If you can get booted up, check in the System Profiler to see that all of your RAM is recognized--if not, you may need to reseat one or both sticks.
If you can boot from your install disc, run the extended version of the Apple Hardware test to check for hardware problems. Freezing can be caused by a dying hard drive, which can also tend to corrupt software.
While booted from the install disc, navigate to Disk Utility and repair your boot disk. You can do this 2 or 3 times even if it says no problems found.
While in Disk Utility, check to see that the SMART status of your hard drive is verified. If not, you will need to replace the drive.
It probably wouldn't hurt to reinstall the OS.
Do you have a good, up to date backup? If not, it would be a good idea to make one as soon as you can, just to be on the safe side.
Have you tried a Safe Boot?
http://support.apple.com/kb/ht1455
http://support.apple.com/kb/ht1564
These are just a few ideas to get you started. Post back if you have more questions.
Good luck! -
Mbp shut down twice after updating to Yosemite
since the yosemite update from mavericks, my macbook pro 15" mid 2010 has been shutting down and rebooting by itself. at the pw login page before the os being loaded, soon it shuts down and reboots once again before the os can be loaded. (which means rebooting twice in a roll)
this situation has been happening like 3 times today. and its been happening like once everyday.since the yosemite update from mavericks, my macbook pro 15" mid 2010 has been shutting down and rebooting by itself. at the pw login page before the os being loaded, soon it shuts down and reboots once again before the os can be loaded. (which means rebooting twice in a roll)
this situation has been happening like 3 times today. and its been happening like once everyday. -
HT4623 need to restore now after updating
I updated my iphone 4 to the new ios 6 last night. Now my phone is saying It needs to Restore but it won't let me do anything. It shows the Plug into itunes screen and won't let me do anything on it.
iPad: Basic troubleshooting
http://support.apple.com/kb/TS3274
Update and restore alert messages on iPhone, iPad, and iPod touch
http://www.buybuyla.com/tech/view/012953a0d412000e.shtml
iOS: Resolving update and restore alert messages
http://support.apple.com/kb/TS1275
iPad: Unable to update or restore
http://support.apple.com/kb/ht4097
iTunes: Specific update-and-restore error messages and advanced troubleshooting
http://support.apple.com/kb/TS3694
Cheers, Tom -
I need help with iCal after updating to Lion. It's playing up
I just updated my iMac to Lion 10.7.5 and iCal keeps crashing. iCal is also taking a long time to sync with iCloud for the first time. It's still on 'starting' so I am not sure it's even syncing. Any thoughts/Solutions?
Mmm, a bit stuck for ideas other than checking Calendar>Preferences>Accounts tab and making sure it's enabled in there.
If that doesn't help hopefully someone else may spot this thread and have some ideas. Good luck.
Maybe you are looking for
-
Dot1x with port security and redundant radius servers
I have a strange issue with my dot1x port authentication. I have two radius servers configured in my switch for redundancy, and on my switchport I have a Cisco IP phone and a PC. Testing redundnacy with the radius servers, when I have both servers
-
Java.lang.NullPointerException when using readTemplate with WLST offline
I imported WLST offline as a module in to jython script and tried wlstOffline.readTemplate('../wls.jar') It gives me a java.lang.NullPointerException. Here is the entire stack trace Traceback (innermost last): File "testOffline.py", line 3, in ?
-
Exchange 2003 migrate to Exchange 2010 - single forest multiple domain. Active Sync problem
Hi All, I have AD single forest and multiple domain. for example, the forest domain is jakarta.co.id, and the other domain is bali.co.id. Exchange 2003 deployed in jakarta.co.id, User mail enabled in domain jakarta.co.id and bali.co.id. Then, I upgr
-
"registry settings for importing and burning are missing..."
I have installed itunes and the appropriate quicktime, but am not able to import any music. When I put cds in the drive, they do not even show up. I'm not sure if there is some other program blocking this importing or showing up of cds, but I get a m
-
Insert into two tables with trigger on PK in second table
Hi evereone, ineed help. I have two tables (organizations, addresses). On addresses table i have trigger on PK. When i do insert i must get this param and insert into OrganizationTable for reference. Without ADF i can do insert with returning on addr