Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this document? Why not share!

Sr 3 2057791987 price lease opportunity ora-06503 plsql function returned without value in package okl-pricing_u

on

  • 577 views

 

Statistics

Views

Total Views
577
Views on SlideShare
577
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Sr 3 2057791987 price lease opportunity ora-06503 plsql function returned without value in package okl-pricing_u Sr 3 2057791987 price lease opportunity ora-06503 plsql function returned without value in package okl-pricing_u Document Transcript

  • Page Printed: November 15, 2010 4:25:49 PM GMT+07:00SR 3-2057791987: Price Lease Opportunity: ORA-06503: PL/SQL: Function returned without value in Package OKL_PRICING_U<br />Information<br />Request Number3-2057791987Filed ByTHUNTD_ALC2@PYTHIS.COMPrimary ContactThu Nguyen Tran DanPrimary Contact Phone(084) 384-8460 x8Alternate Contactduy phamAlternate Contact Phone08 3 8484608StatusResolved with solutionSeverity2Support ID16474694Legacy SR NumberOpened August 27, 2010 10:54:09 AM GMT+07:00Last UpdateOctober 1, 2010 7:26:55 PM GMT+07:00ProductOracle Lease and Finance ManagementProduct Version12.1.2PlatformLinux x86<br />History<br />Oracle Support - October 1, 2010 4:05:32 AM GMT+07:00 [Information]Generic Note------------------------Created Note 1224143.1 for the setup issue.We have the other two SRs to document the 11i code in R12 issue if need be.Closing this SR as requested as the issue is resolved.<br />Oracle Support - October 1, 2010 3:57:06 AM GMT+07:00 [ODM Solution/Action Plan]=== ODM Solution / Action Plan ===Using the seeded Credit Management Super User responsibility select the Policy Management tab and then the System Options sub-tab. Complete the setup in this page selecting a value for Default Customer Credit Classification and save the changes.Note that Aging Bucket is a required field in this page a this value can NOT be changed once saved.Before saving this setup a decision must be made on which value to use for Aging Bucket.<br />Oracle Support - October 1, 2010 3:54:47 AM GMT+07:00 [ODM Proposed Solution Justif]=== ODM Proposed Solution Justif ===Once this setup is complete there will be a value available for the function to find and it will not return without a value.<br />Oracle Support - October 1, 2010 3:54:03 AM GMT+07:00 [ODM Proposed Solution(s)]=== ODM Proposed Solution ===Complete the System Options setup in Credit Management.<br />Oracle Support - October 1, 2010 3:53:27 AM GMT+07:00 [ODM Cause Justification]=== ODM Cause Justification ===In OKL_PRICING_UTILS_PVT.price_standard_quote_asset a call is being made to to a function named okl_lease_app_pvt.get_credit_classfication which will ultimately try to get the Default Customer Credit Classification from the Credit Management System Options setup.This function is returning with a value because this setup is not completed in Credit Management.<br />Oracle Support - October 1, 2010 3:48:34 AM GMT+07:00 [ODM Cause Determination]=== ODM Cause Determination ===The setup for Credit Management's System Options has not been completed or is missing a value for Default Customer Credit Classification.<br />Oracle Support - October 1, 2010 3:42:43 AM GMT+07:00 [ODM Issue Verification]=== ODM Issue Verification ===Verified in the screen shots provided.<br />Oracle Support - October 1, 2010 3:42:07 AM GMT+07:00 [ODM Issue Clarification]=== ODM Issue Clarification ===On : 12.1.2 version, Sales & OriginationWhen attempting to validate and price a Quote within a Lease Opportunity,the following error occurs.ERROR-----------------------ORA-06503: PL/SQL: Function returned without value in Package OKL_PRICING_UTILS_PVT procedure price_standard_quoteSTEPS-----------------------The issue can be reproduced at will with the following steps:1. Create a Quote within a Lease Opportunity.2. Complete the entry into the Quote as required.3. Click the Validate and Price button in the Quote.BUSINESS IMPACT-----------------------The issue has the following business impact:Due to this issue, users cannot price the Quotes which prevents further processing of the Quote.<br />Oracle Support - October 1, 2010 3:22:57 AM GMT+07:00 [Information]Generic Note------------------------We had a few issues in a few SRs, most of which seemed to be caused by the 11i OKL code in the R12 instance.However, this one persisted after we compiled the R12 code and was determined to be a valid R12 setup issue.I need to document that in a note and then close this SR as requested.<br />DUYPM@PYTHIS.COM - September 28, 2010 12:26:19 PM GMT+07:00 [Close Requested By Customer]Hi,The issue is resolved.Thanks for your help!DuyPM<br />Oracle Support - September 26, 2010 11:24:18 PM GMT+07:00 [Information]Generic Note------------------------Duy,In my instance the only field that cannot be updated, because this setup has already been saved, if the Aging Bucket. In your shot that also seems to be the one that you're asking about.I got this from the help link for the OCM System Options page:--------------------------------------------------------------------Aging BucketSpecify which aging buckets to use when presenting aging data in Credit Management. Credit Management presents aging data as data points in several pages, such as from the Aging Details and Credit Summary pages.Note: To ensure that credit review comparisons display consistent aging data, you cannot change this system option once you have saved it.--------------------------------------------------------------------If you have no values available in the Aging Bucket field, those are defined in Receibles using this navigation:Setup > Collections > Aging Buckets and Interest TiersIf you have values but don't know which to pick then there's not much I can do to help with that as that would depend on your business requirements. You may want to run this buy the Business to see what they would like to use. The other option would be to just select one, I believe one with the name " Standard" may be seeded, and use that in this instance. It may not be exactly what the users want, but it would get things working and the value can be set differently in the next instance if required.Kenny<br />DUYPM@PYTHIS.COM - September 26, 2010 11:02:45 PM GMT+07:00 [Update from Customer]Hi,My system have values as picture (I uploaded). Please help to give standard values for solving these issues what is values I need to setup?ThanksDuyPM<br />DUYPM@PYTHIS.COM - September 26, 2010 10:58:33 PM GMT+07:00 [Update from Customer]Uploaded Attachment 9_26_2010_10_55_55_PM.png in GTCR<br />Oracle Support - September 26, 2010 7:01:02 PM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Duy,Using the Credit Management Super User responsibility select the Policy Management tab and then the System Options sub-tab. Please verify that a value is defined in the Default Customer Credit Classification field. If this is not set please select a value in this field, save and then re-test this issue.Kenny<br />Oracle Support - September 26, 2010 6:47:19 PM GMT+07:00 [ODM Research]=== ODM Research ===Bug 6474290 and 6060742 both mention the following solution for the same error:----------------------setup 'Default Customer Credit Classification' using following navigation Credit management > Policy Management > System Options.----------------------Checking that setup now.<br />DUYPM@PYTHIS.COM - September 26, 2010 2:43:23 PM GMT+07:00 [Update from Customer]Hi,The issue is still for all. In document, you can see error in LO1176 picture, this LO is created new. Please review document erro_picture_01.doc (I uploaded).Please give me solution resolve for all of case!ThanksDuyPM<br />DUYPM@PYTHIS.COM - September 26, 2010 2:34:43 PM GMT+07:00 [Update from Customer]Uploaded Attachment error_picture_01.doc in GTCR<br />Oracle Support - September 26, 2010 12:06:37 PM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Duy,Going by the Lease Opportunity Numbers in the screen shot you provided today (LO55) and the one you provided when the SR was opened (LO80) it appears that you are using existing Lease Opportunities and Quotes. I believe that those may have been created incorrectly due to the number of files we had with incorrect versions. Can you please create a fresh test case for these and let me know if those hit the same error? Please do not copy from an any existing Lease Opportunity or Quote to complete this test.Thanks,Kenny<br />DUYPM@PYTHIS.COM - September 26, 2010 11:10:15 AM GMT+07:00 [Update from Customer]Hi,The issue is still. Please review Document file (error_picture.docx). Please have a look and give me solution!thanksDuyPM<br />DUYPM@PYTHIS.COM - September 26, 2010 11:08:22 AM GMT+07:00 [Update from Customer]Uploaded Attachment error_picture.docx in GTCR<br />Oracle Support - September 26, 2010 9:25:54 AM GMT+07:00 [Information]Generic Note------------------------Duy,The apps check looks a lot better.  There are a couple invalids, both of which are related to Vendor Program Agreements and should not impact any of the issues that we have in the 3 open SRs that I have with you and Thu.  Before you start testing it might be a good idea to complete the steps below.  We've done a lot of compiling so I think its probably a good idea to make sure other application files are valid by compiling with adadmin, then bouncing apache and clearing the cache to get a fresh start there.  Please complete these steps to do that:1. Compile the APPS schema using adadmin.2. Bounce apache.3. Log into the applications and select the Functional Administrator responsibility.  From there: a. Select the Core Services tab. b. Select the Caching Framework sub-tab. c. Select Global Configuration in the left pane. d. Click the Clear All Cache button in the Cache Policy section of this page. e. Click Yes in the confirmation page that opens.Once these steps are completed please re-test the issues in all of our open SRs and update each of the SRs to let me know if the issue still exists.  In the meantime I'll see what I can find on these last OKL two packages that are invalid.Thanks,Kenny<br />Oracle Support - September 26, 2010 9:18:42 AM GMT+07:00 [ODM Data Collection]Name--------ODM Data CollectionApps Check OutputFileName----------------Diagnostics__Apps_Check_260910_0045.txtFileComment----------------------Two invalids, different ones that we've had before:-----------------------------------------------------------------------OKL_VP_K_ARTICLE_PUB_W         OKLUCARB.pls              120.3                          BODY INVALIDErrors for PACKAGE BODY OKL_VP_K_ARTICLE_PUB_WPLS-00306: wrong number or types of arguments in call to 'ROSETTA_TABLE_COPY_IN_P3'PL/SQL: Statement ignoredPLS-00306: wrong number or types of arguments in call to 'ROSETTA_TABLE_COPY_OUT_P3'PL/SQL: Statement ignoredPLS-00306: wrong number or types of arguments in call to 'ROSETTA_TABLE_COPY_IN_P3'PL/SQL: Statement ignoredPLS-00306: wrong number or types of arguments in call to 'ROSETTA_TABLE_COPY_OUT_P3'PL/SQL: Statement ignoredPLS-00306: wrong number or types of arguments in call to 'ROSETTA_TABLE_COPY_IN_P3'PL/SQL: Statement ignored-----------------------------------------------------------------------OKL_VP_SYNC_CR_PVT             OKLRCRSB.pls              120.15                         BODY INVALIDErrors for PACKAGE BODY OKL_VP_SYNC_CR_PVTPLS-00306: wrong number or types of arguments in call to 'DELETE_K_ARTICLE'PL/SQL: Statement ignoredPLS-00306: wrong number or types of arguments in call to 'CREATE_K_ARTICLE'PL/SQL: Statement ignored-----------------------------------------------------------------------These packages are related to Vendor Program Agreements.While they should be valid, they would not impact any of the issues we have in this or the relates SRs.<br />Oracle Support - September 26, 2010 9:13:20 AM GMT+07:00 [Information]Generic Note------------------------Reviewing --Kenny<br />DUYPM@PYTHIS.COM - September 26, 2010 8:33:29 AM GMT+07:00 [Update from Customer]Uploaded Attachment Diagnostics__Apps_Check_260910_0045.txt in GTCR<br />DUYPM@PYTHIS.COM - September 26, 2010 8:30:50 AM GMT+07:00 [Update from Customer]Hi,I removed the lines for OKLVSHKS.pls and OKLVSHKB.pls. And ran shell script without these lines. I upload Diagnostice apps check file again. Please review it!Please have a look!ThanksDuyPM<br />Oracle Support - September 26, 2010 12:58:49 AM GMT+07:00 [Information]Generic Note------------------------Duy,Actually, you can remove the lines for OKLVSHKS.pls and OKLVSHKB.pls. I checked OKLVSHKS.pls and that file has been stubbed out to have nothing in it. So we didn't need OKLVSHKS.pls or OKLVSHKB.pls.Kenny<br />Oracle Support - September 26, 2010 12:56:56 AM GMT+07:00 [Information]Generic Note------------------------Duy,Please remove the line with OKLVSHKB.pls in the shell script. I added this because the file OKLVSHKS.pls was in the list and I assumed that if there was a spec there would be a body. For whatever reason in this case that seems to not be the case.Kenny<br />DUYPM@PYTHIS.COM - September 26, 2010 12:45:19 AM GMT+07:00 [Update from Customer]Hi,I uploaded Diagnostice apps check. Please review it.When I complie package, I can't find package $OKL_TOP/patch/115/sql/OKLVSHKB.pls.Please check and give me solution as soon as possible!ThanksDuyPM<br />DUYPM@PYTHIS.COM - September 26, 2010 12:41:41 AM GMT+07:00 [Update from Customer]Uploaded Attachment Diagnostics__Apps_Check_260910.txt in GTCR<br />Oracle Support - September 25, 2010 10:59:15 PM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Duy,I have uploaded a couple of files to the SR. Those were File_Comparisons.xls and oklcompile.sh. I created File_Comparisons.xls in Excel to build a list of files in the instance that have one file version compiled in the database and another version in the $OKL_TOP/patch/115/sql directory. In this sheet I built the list of these files and then reviewed that list to make sure that we're compiling everything we need. I then took the final list in File_Comparisons.xls and created oklcompile.sh to compile all files in the list of mismatched versions. Please download a copy of oklcompile.sh from the SR. Before running this file please open it and use the Find > Replace function in a text editor to update the value for the apps password. I used the value apps_pw for this, so you can find that string and replace it with the actual password. Once all of the " apps_pw" values are updated, please save the changes and execute this file at the unix prompt. Once this completes all of your compiled pls versions should match the versions in OKL_TOP. This should also resolve most, if not all, of the issues in our open SRs.Please update to let me know. Please also provide the information requested in the last action plan.Thank you,Kenny<br />Oracle Support - September 25, 2010 10:52:44 PM GMT+07:00 [Notes]Uploaded Attachment oklcompile.sh in GTCR<br />Oracle Support - September 25, 2010 10:39:53 PM GMT+07:00 [Notes]Uploaded Attachment File_Comparisons.xls in GTCR<br />Oracle Support - September 25, 2010 9:41:27 PM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Duy,We're down to only 2 invalids, both hitting errors referencing ORIG_CONTRACT_LINE_ID. This string is used in two ways in these files. In some cases it is used as part of a record type, in other cases it is used as a field in the table OKL_K_LINES. I believe we have the record fixed, but to be sure I'll need to know exactly where these two files are erroring.Please run this command at the SQL prompt:SQL> alter package OKL_COPY_CONTRACT_PVT compile body;I expect that to error. After you get the error please use this command to print the errorsSQL> show errorsPlease copy the entire output of these errors to the SR. These errors indicate the line numbers of where the error is being hit which will tell me exactly what use of ORIG_CONTRACT_LINE_ID is causing the error.Then repeat the same for OKL_CREATE_STREAMS_PVT:SQL> alter package OKL_CREATE_STREAMS_PVT compile body;SQL> show errorsCopy these errors into the SR too.I am now going through the apps check provided to make sure that the pls file versions that you have compiled match the versions that you have in $OKL_TOP. We have everything just about valid now, but there's still a chance that some files are not in the correct versions. And while the differences in them may not be enough to cause them to be invalid, they could cause other issues within the application. I hope to have that matching completed shortly.Thanks,Kenny<br />Oracle Support - September 25, 2010 9:29:39 PM GMT+07:00 [ODM Data Collection]Name--------ODM Data CollectionApps Check, down to 2 invalids...FileName----------------Diagnostics__Apps_Check_250910_2117.txtFileComment----------------------OKL_COPY_CONTRACT_PVT          OKLRCOPB.pls              120.50.12010000.5              BODY INVALIDErrors for PACKAGE BODY OKL_COPY_CONTRACT_PVTPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: SQL Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredOKL_CREATE_STREAMS_PVT         OKLRCSMB.pls              120.30.12010000.8              BODY INVALIDErrors for PACKAGE BODY OKL_CREATE_STREAMS_PVTPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: SQL Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignored<br />Oracle Support - September 25, 2010 9:21:34 PM GMT+07:00 [Information]Generic Note------------------------Thanks Duy, I am reviewing now. --Kenny<br />DUYPM@PYTHIS.COM - September 25, 2010 9:20:19 PM GMT+07:00 [Update from Customer]Hi,I uploaded Diagnostics apps checks. please check again and give me solution as soon as possible!ThanksDuyPM<br />DUYPM@PYTHIS.COM - September 25, 2010 9:18:49 PM GMT+07:00 [Update from Customer]Uploaded Attachment Diagnostics__Apps_Check_250910_2117.txt in GTCR<br />Oracle Support - September 25, 2010 8:19:29 PM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Thu and Duy,I kept digging into the errors with ORIG_CONTRACT_LINE_ID and determined that the error is probably not due to this field missing from the table.  I found that it is not defined in the record type being used in these packages.  I have modified the last action plan so that we can now address that problem.We still need to compile these from the last action plan:sqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLPCSMS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLPCSMB.plsNow to get the ORIG_CONTRACT_LINE_ID errors resolved we need to compile these:sqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLSKLES.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLSKLEB.pls Once those are in place the other files should compile without issue.We could compile these with adadmin, but since we're already using the above method we can just keep going with that:sqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCOPB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCSMB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSBPB.plsOnce those are compiled we should be left with one OKL invalid, the package body OKL_SIMPLE_PRICING_PVT.This package is obsolete, and was only compiled when we compiled all pls files in OKL_TOP.So to get rid of this invalid we can simply drop it using this command at the SQL prompt:drop package OKL_SIMPLE_PRICING_PVT;Please upload another Apps Check output after this action plan has been completed so that I can verify that all packages are valid and have an up to date snapshot of the instance.Thanks,Kenny<br />Oracle Support - September 25, 2010 7:49:37 PM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Thu and Chuong,Please run the following at the unix prompt (substituting the apps password):sqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLPCSMS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLPCSMB.plsAfter these are compiled the package body for OKL_LA_STREAM_PVT should now be valid.Next we need to check to see if the field ORIG_CONTRACT_LINE_ID exists in the table okl_k_lines.To do that please run this select statement in the instance:select ORIG_CONTRACT_LINE_IDfrom okl_k_lines;If you get an error like this:ORA-00904: " ORIG_CONTRACT_LINE_ID" : invalid identifierthen we need to get this field into this table using OKLCONR.odf.I'll work to get the syntax to do that once we confirm that we need it.Please update to let me know if this select statement runs with or without error.Thanks,Kenny<br />Oracle Support - September 25, 2010 7:36:27 PM GMT+07:00 [ODM Research]=== ODM Research ===Research========In OKLRSGAB.pls 120.141.12010000.32:IF p_orp_code IS NOT NULLTHENl_csm_loan_header.orp_code := OKL_CREATE_STREAMS_PUB.G_ORP_CODE_UPGRADE;ELSEl_csm_loan_header.orp_code := OKL_CREATE_STREAMS_PUB.G_ORP_CODE_BOOKING;END IF;-- l_csm_loan_header.orp_code := OKL_CREATE_STREAMS_PUB.G_ORP_CODE_BOOKING;Looks like G_ORP_CODE_UPGRADE is not in the spec for OKL_CREATE_STREAMS_PUB.Spec for OKL_CREATE_STREAMS_PUB is OKLPCSMS.pls and according to the apps check the compiled version is 120.1.And the version in OKL_TOP is 120.1.12010000.2.So we need to compile OKLPCSMS.pls from OKL_TOP, which means we then need to compile OKLPCSMB.pls from here too.The rest of the packages that are invalid all reference ORIG_CONTRACT_LINE_ID.And as I mentioned yesterday, that field should have been added to okl_k_lines via OKLCONR.odf.Apps Check shows OKLCONR.odf is version 120.51.12010000.7, which is fine.So we'll check for this field and if its not there we need to load this odf.<br />Oracle Support - September 25, 2010 7:25:45 PM GMT+07:00 [ODM Data Collection]Name--------ODM Data CollectionApps Check OutputDown to 4 that matter (OKL_SIMPLE_PRICING_PVT is obsolete)FileName----------------Diagnostics__Apps_Check_250910.txtFileComment------------------------------------------------------------------------------------------------OKL_COPY_CONTRACT_PVT          OKLRCOPS.pls              120.3.12010000.1               SPEC VALID  OKL_COPY_CONTRACT_PVT          OKLRCOPB.pls              120.50.12010000.5              BODY INVALIDErrors for PACKAGE BODY OKL_COPY_CONTRACT_PVTPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: SQL Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: SQL Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignored--------------------------------------------------------------------------OKL_CREATE_STREAMS_PVT         OKLRCSMB.pls              120.30.12010000.8              BODY INVALIDErrors for PACKAGE BODY OKL_CREATE_STREAMS_PVTPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: SQL Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignored--------------------------------------------------------------------------OKL_LA_STREAM_PVT              OKLRSGAB.pls              120.141.12010000.32            BODY INVALIDErrors for PACKAGE BODY OKL_LA_STREAM_PVTPLS-00302: component 'G_ORP_CODE_UPGRADE' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'G_ORP_CODE_UPGRADE' must be declaredPL/SQL: Statement ignored--------------------------------------------------------------------------OKL_SUBSIDY_PROCESS_PVT        OKLRSBPB.pls              120.27.12010000.7              BODY INVALIDErrors for PACKAGE BODY OKL_SUBSIDY_PROCESS_PVTPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignored--------------------------------------------------------------------------<br />Oracle Support - September 25, 2010 6:28:04 PM GMT+07:00 [Information]Generic Note------------------------Reviewing --Kenny<br />DUYPM@PYTHIS.COM - September 25, 2010 10:09:13 AM GMT+07:00 [Update from Customer]Contact Info: Hi,Please update contact to us as below:- Contact information :- Technical resource (primary contact) :- Duy- skype : ptshcm_duypm- email: duypm@pythis.com- Cell : (84) 907 58 11 59 (VietNam)- Functional :- thu- skype : ptshcm_thuntd- email: thuntd@pythis.com- cell : (84) 979 597 799 (VietNam)Please send all information about SR to emails duypm@pythis.com and thuntd@pythis.comTime zone is GMT +7 ThanksDuyPM<br />DUYPM@PYTHIS.COM - September 25, 2010 10:03:38 AM GMT+07:00 [Update from Customer]Hi,I completed the action plan but the issue is still. Please check logfiles!Note: We upgraded my system to R12.1.3 but the issue is still. I uploaded log file patch R12.AD.B.DELTA.3 Patch 9239089. Please review it!Please have a look and give me solution as soon as possible!ThanksDuyPM<br />DUYPM@PYTHIS.COM - September 25, 2010 10:00:16 AM GMT+07:00 [Update from Customer]Uploaded Attachment log.zip in GTCR<br />DUYPM@PYTHIS.COM - September 25, 2010 9:56:26 AM GMT+07:00 [Update from Customer]Uploaded Attachment Diagnostics__Apps_Check_250910.txt in GTCR<br />Oracle Support - September 25, 2010 4:26:35 AM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Thu and ChuongCan you please complete the action plan below and update with the requested information?Thanks,Kenny1. Please execute the following statements at the unix prompt to compile these pls files in the instance used to provide the latest Apps Check output you uploaded. Be sure to change the second " apps" to your actual apps user's password.sqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRLAUS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRLAUB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSGAS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSGAB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCFES.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCFEB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCOPS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCOPB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCSMS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCSMB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRLFES.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRLFEB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSGAS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSGAB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRPIGS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRPIGB.pls2. Once these complete please compile the APPS schema using adadmin. Please upload the adadmin log file and the log files for all workers. 3. Bounce apache.4. Log into the applications and select the Functional Administrator responsibility. From there:a. Select the Core Services tab.b. Select the Caching Framework sub-tab.c. Select Global Configuration in the left pane.d. Click the Clear All Cache button in the Cache Policy section of this page.e. Click Yes in the confirmation page that opens.5. Re-test the issues in this SR and the related Lease Management SRs.6. Please upload a new output for the Diagnostics: Apps Check report run for Lease Management. We'll want to verify the status of everything after the compilations completed above.7. Please also provide the adpatch log, and the logs for all workers for the application of Patch 7303033 (12.1.2) and patch 9451692 (OKL RUP2) if you have them. We will need theseto help figure out what caused this issue.<br />Oracle Support - September 25, 2010 2:08:46 AM GMT+07:00 [Information]Generic Note------------------------Called Thu at the number in the SR, (084) 384-8460 x8.Call was answered by a machine with a greeting.Unable to understand the greeting.Greeting ended, followed by a disconnection.84-985 353 625 provided by Chuong earlier in the SR.Sounded like he answered but he was unable to hear me.84 -8 -985 353 625 - answered by what sounded like a fax machine84 -8 - 979 597 799 - answered by what sounded like a fax machineFound milestone and contact info in the SR:- Next milestone to UAT is September 27- Contact information :    - Technical resource (primary contact) :        - chuong       - skype : ptshcm_chuongnh       - Cell : 84 -8 -985 353 625 (VietNam)   - Functional :        - thu       - skype : ptshcm_thuntd       - cell : 84 -8 - 979 597 799<br />Oracle Support - September 25, 2010 1:37:09 AM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Action Plan===========Thu,Please execute the following statements at the unix prompt to compile these pls files in the instance used to provide the latest Apps Check output you uploaded. Be sure to change the second " apps" to your actual apps user's password. sqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRLAUS.pls sqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRLAUB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSGAS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSGAB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCFES.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCFEB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCOPS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCOPB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCSMS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCSMB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRLFES.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRLFEB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSGAS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSGAB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRPIGS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRPIGB.plsOnce these complete please compile the APPS schema using adadmin. Please upload the adadmin log file and the log files for all workers. Please also provide the adpatch log, and the logs for all workers for the application of Patch 7303033 (12.1.2) and patch 9451692 (OKL RUP2) if you have them.To escalate this issue to a Severity 1 we will need 24/7 contact information for a functional and technical resource. We will also need some information on your project milestones (CRP, UAT, etc.), with dates. We would also usually need information on why you can't continue with this issue, but in this case I think that's pretty clear. Can you please update to provide the contact and milestone information? In the meantime I am going to be researching this issue.Thanks,Kenny<br />Oracle Support - September 25, 2010 1:32:27 AM GMT+07:00 [ODM Research]=== ODM Research ===Research========Have NeedOKLRLAUS.pls 120.12 120.12.12010000.4OKLRLAUB.pls 120.18.12010000.2 120.18.12010000.7OKLRSGAS.pls 120.13.12010000.2 120.13.12010000.8OKLRCFES.pls 120.2.12010000.5 120.2.12010000.6OKLRCOPS.pls 120.3 120.3.12010000.1OKLRCSMS.pls 120.11 120.11.12010000.5OKLRLFES.pls 120.0.12010000.5 120.0.12010000.6OKLRSGAS.pls 120.13.12010000.2 120.13.12010000.8OKLRPIGS.pls 120.9 120.9.12010000.2Apps Check also shows versions in OKL_TOP:patch/115/sql/OKLRLAUS.pls 120.12.12010000.4 patch/115/sql/OKLRLAUB.pls 120.18.12010000.8 patch/115/sql/OKLRSGAS.pls 120.13.12010000.8 patch/115/sql/OKLRCFES.pls 120.2.12010000.6 patch/115/sql/OKLRCOPS.pls 120.3.12010000.1 patch/115/sql/OKLRCSMS.pls 120.11.12010000.5 patch/115/sql/OKLRLFES.pls 120.0.12010000.6 patch/115/sql/OKLRSGAS.pls 120.13.12010000.8 patch/115/sql/OKLRPIGS.pls 120.9.12010000.2 So we have what we need, we just need to compile these pls files.sqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRLAUS.pls sqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRLAUB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSGAS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSGAB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCFES.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCFEB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCOPS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCOPB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCSMS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRCSMB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRLFES.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRLFEB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSGAS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRSGAB.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRPIGS.plssqlplus apps/apps @$OKL_TOP/patch/115/sql/OKLRPIGB.pls<br />Oracle Support - September 25, 2010 1:13:17 AM GMT+07:00 [ODM Research]=== ODM Research ===Research========----------------------------------------------------------------------Error #1OKL_ACTIVATE_CONTRACT_PUB      OKLPACOB.pls              120.26.12010000.7              BODY INVALIDErrors for PACKAGE BODY OKL_ACTIVATE_CONTRACT_PUBPLS-00302: component 'CHECK_REBOOK_UPGRADE' must be declaredPL/SQL: Statement ignoredIn this file:OKL_LLA_UTIL_PVT.check_rebook_upgradeIn Apps Check OKL_LLA_UTIL_PVT is OKLRLAUS.pls 120.12 and OKLRLAUB.pls 120.18.12010000.2.check_rebook_upgrade introduced in OKLRLAUB.pls 120.18.12010000.7 and OKLRLAUS.pls 120.12.12010000.4 via Bug 8756653.Patch 7303033 contains OKLRLAUB.pls 120.18.12010000.8 and OKLRLAUS.pls 120.12.12010000.4So these should be in OKL_TOP.----------------------------------------------------------------------Error #2OKL_BOOK_CONTROLLER_PVT        OKLRBCTB.pls              120.8.12010000.4               BODY INVALIDErrors for PACKAGE BODY OKL_BOOK_CONTROLLER_PVTPLS-00302: component 'UPDATE_EXTERNAL_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'UPGRADE_ESG_KHR_FOR_PRB' must be declaredPL/SQL: Statement ignoredIn OKLRBCTB.pls 120.8.12010000.4:OKL_LLA_UTIL_PVT.update_external_id(p_chr_id => l_chr_rec.orig_chr_id,OKL_LA_STREAM_PVT.upgrade_esg_khr_for_prbUPDATE_EXTERNAL_ID is in the version of OKLRLAUB.pls noted in Error #1.Apps check shows OKL_LA_STREAM_PVT is OKLRSGAS.pls 120.13.12010000.2 and OKLRSGAB.pls 120.141.12010000.32 (invalid).OKLRSGAB.pls seems to be the correct version.However, OKLRSGAS.pls 120.13.12010000.2 is the 12.1.1 version.Patch 7303033 contains 120.13.12010000.8, and this version will work.----------------------------------------------------------------------Error #3OKL_CNTRCT_FIN_EXTRACT_PVT     OKLRCFEB.pls              120.2.12010000.19              BODY INVALIDErrors for PACKAGE BODY OKL_CNTRCT_FIN_EXTRACT_PVTPLS-00323: subprogram or cursor 'PULL_EXTRACT_DATA_CONC' is declared in a package specification andPLS-00323: subprogram or cursor 'PULL_EXTRACT_DATA' is declared in a package specification and mustFor this one the error says that the procedure is in the spec but not the body.I checked this version of OKLRCFEB.pls and these procedures are there.So there must be a signature mismatch.Apps check says we have OKLRCFES.pls 120.2.12010000.5Patch 7303033 contains version 120.2.12010000.6, which is the one we want as there are changes to the parameters for these procedures.----------------------------------------------------------------------Error #4OKL_CONTRACT_BOOK_PVT          OKLRBKGB.pls              120.63.12010000.6              BODY INVALIDErrors for PACKAGE BODY OKL_CONTRACT_BOOK_PVTPLS-00302: component 'CHECK_REBOOK_UPGRADE' must be declaredPL/SQL: Statement ignoredIn this file:OKL_LLA_UTIL_PVT.check_rebook_upgradeSame as in Error #1.----------------------------------------------------------------------Error #5OKL_COPY_CONTRACT_PVT          OKLRCOPB.pls              120.50.12010000.5              BODY INVALIDErrors for PACKAGE BODY OKL_COPY_CONTRACT_PVTPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: SQL Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: SQL Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredORIG_CONTRACT_LINE_ID is in a few places.Apps Check shows OKLRCOPS.pls 120.3.We want 120.3.12010000.1, which is in Patch 7303033.----------------------------------------------------------------------Error #6OKL_CREATE_STREAMS_PVT         OKLRCSMB.pls              120.30.12010000.8              BODY INVALIDErrors for PACKAGE BODY OKL_CREATE_STREAMS_PVTPLS-00201: identifier 'G_ORP_CODE_UPGRADE' must be declaredPL/SQL: Statement ignoredPLS-00201: identifier 'G_ORP_CODE_UPGRADE' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: SQL Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'DATE_PAID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredAgain, all over, apps check shows OKLRCSMS.pls 120.11.We want 120.11.12010000.5 from Patch 7303033.----------------------------------------------------------------------Error #7OKL_DEAL_CREAT_PVT             OKLRDCRB.pls              120.5.12010000.9               BODY INVALIDErrors for PACKAGE BODY OKL_DEAL_CREAT_PVTPLS-00302: component 'GET_LAST_ACTIVATION_DATE' must be declaredPL/SQL: Statement ignoredIn this file:  --Bug# 8370699  X_DEAL_VALUES_REC.LAST_ACTIVATION_DATE      := OKL_LLA_UTIL_PVT.GET_LAST_ACTIVATION_DATE(p_chr_id => p_chr_id);Need the same file as in Error #1.----------------------------------------------------------------------Error #8OKL_K_LINE_FIN_EXT_PVT         OKLRLFEB.pls              120.0.12010000.38              BODY INVALIDErrors for PACKAGE BODY OKL_K_LINE_FIN_EXT_PVTPLS-00323: subprogram or cursor 'PULL_EXTRACT_DATA_CONC' is declared in a package specification andPLS-00323: subprogram or cursor 'PULL_EXTRACT_DATA' is declared in a package specification and mustApps Check shows OKLRLFES.pls 120.0.12010000.5.We want 120.0.12010000.6 from Patch 7303033.----------------------------------------------------------------------Error #9OKL_LA_STREAM_PVT              OKLRSGAB.pls              120.141.12010000.32            BODY INVALIDErrors for PACKAGE BODY OKL_LA_STREAM_PVTPLS-00313: 'GENERATE_PASSTHRU_EXP_STREAMS' not declared in this scopePL/SQL: Statement ignoredPLS-00302: component 'PROSP_ADJ_ACC_STRMS' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredApps check shows OKLRSGAS.pls 120.13.12010000.2.We want 120.13.12010000.8 from Patch 7303033.----------------------------------------------------------------------Error #10OKL_MASS_REBOOK_PVT            OKLRMRPB.pls              120.33.12010000.5              BODY INVALIDErrors for PACKAGE BODY OKL_MASS_REBOOK_PVTPLS-00302: component 'CHECK_REBOOK_UPGRADE' must be declaredPL/SQL: Statement ignoredIn this file:OKL_LLA_UTIL_PVT.check_rebook_upgradeSame as #1----------------------------------------------------------------------Error #11OKL_PRB_UPGRADE_PVT            OKLRPRBB.pls              120.0.12010000.6               BODY INVALIDErrors for PACKAGE BODY OKL_PRB_UPGRADE_PVTPLS-00302: component 'UPDATE_EXTERNAL_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'UPGRADE_ESG_KHR_FOR_PRB' must be declaredPL/SQL: Statement ignoredIn this file:OKL_LLA_UTIL_PVT.update_external_id(p_chr_id => l_esg_upg_cntrcts_tbl(i).khr_id,Same as #1okl_la_stream_pvt.upgrade_esg_khr_for_prbAs in #2, we want OKLRSGAS.pls 120.13.12010000.8 from Patch 7303033.----------------------------------------------------------------------Error #12OKL_PRICING_PVT                OKLRPIGB.pls              120.76.12010000.4              BODY INVALIDErrors for PACKAGE BODY OKL_PRICING_PVTPLS-00302: component 'GET_DAY_COUNT_METHOD' must be declaredPL/SQL: Statement ignoredPLS-00306: wrong number or types of arguments in call to 'COMPUTE_BK_YIELD'PL/SQL: Statement ignoredPLS-00323: subprogram or cursor 'GET_LOAN_AMORTIZATION' is declared in a package specification and mFrom this file:okl_pricing_utils_pvt.get_day_count_method(okl_pricing_utils_pvt.compute_bk_yield(Apps check says okl_pricing_utils_pvt is OKLRPIUS.pls 120.8.12010000.3 and OKLRPIUB.pls 120.75.12010000.4. These seem fine, not sure yet why we're getting these. Moving on, maybe they will go away when we get everything else in order.  I must be missing something with these.And the error for GET_LOAN_AMORTIZATION implies that the spec for this file is incorrect.Apps check says that is OKLRPIGS.pls 120.9, we want 120.9.12010000.2 from Patch 7303033.----------------------------------------------------------------------Error #13OKL_QA_DATA_INTEGRITY          OKLRQADB.pls              120.153.12010000.24            BODY INVALIDErrors for PACKAGE BODY OKL_QA_DATA_INTEGRITYPLS-00302: component 'GET_PTH_FEE_DUE_AMOUNT' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'GET_PTH_FEE_DUE_AMOUNT' must be declaredPL/SQL: Statement ignoredIn this file: OKL_LA_STREAM_PVT.get_pth_fee_due_amount(p_chr_id           =>  p_chr_id, OKL_LA_STREAM_PVT.get_pth_fee_due_amount(p_chr_id           =>  p_chr_id,As in #2, we want OKLRSGAS.pls 120.13.12010000.8 from Patch 7303033.----------------------------------------------------------------------Error #14OKL_STREAM_GENERATOR_PVT       OKLRSGPB.pls              120.101.12010000.14            BODY INVALIDErrors for PACKAGE BODY OKL_STREAM_GENERATOR_PVTPLS-00306: wrong number or types of arguments in call to 'GET_LOAN_AMORTIZATION'PL/SQL: Statement ignoredPLS-00306: wrong number or types of arguments in call to 'GET_LOAN_AMORTIZATION'PL/SQL: Statement ignoredPLS-00302: component 'GENERATE_PASSTHRU_EXP_STREAMS' must be declaredPL/SQL: Statement ignoredIn this file:OKL_PRICING_PVT.get_loan_amortization(p_khr_id           => p_khr_id,OKL_PRICING_PVT.get_loan_amortization(These two are as mysterious as in Error #12.OKL_LA_STREAM_PVT.GENERATE_PASSTHRU_EXP_STREAMSAs in #2, we want OKLRSGAS.pls 120.13.12010000.8 from Patch 7303033.----------------------------------------------------------------------Error #15OKL_SUBSIDY_PROCESS_PVT        OKLRSBPB.pls              120.27.12010000.7              BODY INVALIDErrors for PACKAGE BODY OKL_SUBSIDY_PROCESS_PVTPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredORIG_CONTRACT_LINE_ID is used as part of this record:l_sub_klev_rec    okl_contract_pub.klev_rec_type;okl_contract_pub is OKLPKHRS.pls 120.1 and OKLPKHRB.pls 120.2.Those also look fine.Digging in more it would seem that maybe table okl_k_lines was not updated during patching to include column ORIG_CONTRACT_LINE_ID.This field was added in OKLCONR.odf 120.51.12010000.2, also in Patch 7303033.Apps Check says we have OKLCONR.odf 120.51.12010000.7.May need to look into this one more later too.----------------------------------------------------------------------<br />Oracle Support - September 25, 2010 12:03:53 AM GMT+07:00 [Information]Generic Note------------------------Thu,To escalate this issue to a Severity 1 we will need 24/7 contact information for a functional and technical resource. We will also need some information on your project milestones (CRP, UAT, etc.), with dates. We would also usually need information on why you can't continue with this issue, but in this case I think that's pretty clear. Can you please update to provide the contact and milestone information? In the meantime I am going to be researching this issue.Thanks,Kenny<br />DUYPM@PYTHIS.COM - September 24, 2010 10:51:15 PM GMT+07:00 [Update from Customer]Hi,This issue is very serious. We can't continue project. Please raise this SR to Severity 1 (highest level). Please have a look!ThanksDuyPM<br />Oracle Support - September 24, 2010 6:16:27 PM GMT+07:00 [ODM Data Collection]Name--------ODM Data CollectionApps Check OutputStill some invalids remain...FileName----------------Informations.zipFileComment--------------------------------------------------------------------------------------------OKL_ACTIVATE_CONTRACT_PUB      OKLPACOB.pls              120.26.12010000.7              BODY INVALIDErrors for PACKAGE BODY OKL_ACTIVATE_CONTRACT_PUBPLS-00302: component 'CHECK_REBOOK_UPGRADE' must be declaredPL/SQL: Statement ignored----------------------------------------------------------------------OKL_BOOK_CONTROLLER_PVT        OKLRBCTB.pls              120.8.12010000.4               BODY INVALIDErrors for PACKAGE BODY OKL_BOOK_CONTROLLER_PVTPLS-00302: component 'UPDATE_EXTERNAL_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'UPGRADE_ESG_KHR_FOR_PRB' must be declaredPL/SQL: Statement ignored----------------------------------------------------------------------OKL_CNTRCT_FIN_EXTRACT_PVT     OKLRCFEB.pls              120.2.12010000.19              BODY INVALIDErrors for PACKAGE BODY OKL_CNTRCT_FIN_EXTRACT_PVTPLS-00323: subprogram or cursor 'PULL_EXTRACT_DATA_CONC' is declared in a package specification and PLS-00323: subprogram or cursor 'PULL_EXTRACT_DATA' is declared in a package specification and must ----------------------------------------------------------------------OKL_CONTRACT_BOOK_PVT          OKLRBKGB.pls              120.63.12010000.6              BODY INVALIDErrors for PACKAGE BODY OKL_CONTRACT_BOOK_PVTPLS-00302: component 'CHECK_REBOOK_UPGRADE' must be declaredPL/SQL: Statement ignored----------------------------------------------------------------------OKL_COPY_CONTRACT_PVT          OKLRCOPB.pls              120.50.12010000.5              BODY INVALIDErrors for PACKAGE BODY OKL_COPY_CONTRACT_PVTPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: SQL Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: SQL Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignored----------------------------------------------------------------------OKL_CREATE_STREAMS_PVT         OKLRCSMB.pls              120.30.12010000.8              BODY INVALIDErrors for PACKAGE BODY OKL_CREATE_STREAMS_PVTPLS-00201: identifier 'G_ORP_CODE_UPGRADE' must be declaredPL/SQL: Statement ignoredPLS-00201: identifier 'G_ORP_CODE_UPGRADE' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: SQL Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'DATE_PAID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignored----------------------------------------------------------------------OKL_DEAL_CREAT_PVT             OKLRDCRB.pls              120.5.12010000.9               BODY INVALIDErrors for PACKAGE BODY OKL_DEAL_CREAT_PVTPLS-00302: component 'GET_LAST_ACTIVATION_DATE' must be declaredPL/SQL: Statement ignored----------------------------------------------------------------------OKL_K_LINE_FIN_EXT_PVT         OKLRLFEB.pls              120.0.12010000.38              BODY INVALIDErrors for PACKAGE BODY OKL_K_LINE_FIN_EXT_PVTPLS-00323: subprogram or cursor 'PULL_EXTRACT_DATA_CONC' is declared in a package specification and PLS-00323: subprogram or cursor 'PULL_EXTRACT_DATA' is declared in a package specification and must ----------------------------------------------------------------------OKL_LA_STREAM_PVT              OKLRSGAB.pls              120.141.12010000.32            BODY INVALIDErrors for PACKAGE BODY OKL_LA_STREAM_PVTPLS-00313: 'GENERATE_PASSTHRU_EXP_STREAMS' not declared in this scopePL/SQL: Statement ignoredPLS-00302: component 'PROSP_ADJ_ACC_STRMS' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignored----------------------------------------------------------------------OKL_MASS_REBOOK_PVT            OKLRMRPB.pls              120.33.12010000.5              BODY INVALIDErrors for PACKAGE BODY OKL_MASS_REBOOK_PVTPLS-00302: component 'CHECK_REBOOK_UPGRADE' must be declaredPL/SQL: Statement ignored----------------------------------------------------------------------OKL_PRB_UPGRADE_PVT            OKLRPRBB.pls              120.0.12010000.6               BODY INVALIDErrors for PACKAGE BODY OKL_PRB_UPGRADE_PVTPLS-00302: component 'UPDATE_EXTERNAL_ID' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'UPGRADE_ESG_KHR_FOR_PRB' must be declaredPL/SQL: Statement ignored----------------------------------------------------------------------OKL_PRICING_PVT                OKLRPIGB.pls              120.76.12010000.4              BODY INVALIDErrors for PACKAGE BODY OKL_PRICING_PVTPLS-00302: component 'GET_DAY_COUNT_METHOD' must be declaredPL/SQL: Statement ignoredPLS-00306: wrong number or types of arguments in call to 'COMPUTE_BK_YIELD'PL/SQL: Statement ignoredPLS-00323: subprogram or cursor 'GET_LOAN_AMORTIZATION' is declared in a package specification and m----------------------------------------------------------------------OKL_QA_DATA_INTEGRITY          OKLRQADB.pls              120.153.12010000.24            BODY INVALIDErrors for PACKAGE BODY OKL_QA_DATA_INTEGRITYPLS-00302: component 'GET_PTH_FEE_DUE_AMOUNT' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'GET_PTH_FEE_DUE_AMOUNT' must be declaredPL/SQL: Statement ignored----------------------------------------------------------------------OKL_STREAM_GENERATOR_PVT       OKLRSGPB.pls              120.101.12010000.14            BODY INVALIDErrors for PACKAGE BODY OKL_STREAM_GENERATOR_PVTPLS-00306: wrong number or types of arguments in call to 'GET_LOAN_AMORTIZATION'PL/SQL: Statement ignoredPLS-00306: wrong number or types of arguments in call to 'GET_LOAN_AMORTIZATION'PL/SQL: Statement ignoredPLS-00302: component 'GENERATE_PASSTHRU_EXP_STREAMS' must be declaredPL/SQL: Statement ignored----------------------------------------------------------------------OKL_SUBSIDY_PROCESS_PVT        OKLRSBPB.pls              120.27.12010000.7              BODY INVALIDErrors for PACKAGE BODY OKL_SUBSIDY_PROCESS_PVTPLS-00302: component 'ORIG_CONTRACT_LINE_ID' must be declaredPL/SQL: Statement ignored----------------------------------------------------------------------<br />Oracle Support - September 24, 2010 6:07:32 PM GMT+07:00 [Information]Generic Note------------------------Reviewing--Kenny<br />THUNTD_ALC2@PYTHIS.COM - September 24, 2010 5:37:58 PM GMT+07:00 [Update from Customer]3. Patch 9451692 and its post-install patches are not errors<br />THUNTD_ALC2@PYTHIS.COM - September 24, 2010 5:35:09 PM GMT+07:00 [Update from Customer]Uploaded Attachment Informations.zip in GTCR<br />DUYPM@PYTHIS.COM - September 24, 2010 5:28:04 PM GMT+07:00 [Update from Customer]Hi,Must I re-apply patch 9451692:R12.OKL.B and its post-install patches?ThanksDuyPM<br />DUYPM@PYTHIS.COM - September 24, 2010 5:25:59 PM GMT+07:00 [Update from Customer]Uploaded Attachment applied_patch.xls in GTCR<br />DUYPM@PYTHIS.COM - September 24, 2010 5:24:44 PM GMT+07:00 [Update from Customer]Uploaded Attachment Diagnostics__Apps_Check_240910.txt in GTCR<br />Oracle Support - September 24, 2010 9:34:35 AM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Hi Thu,Please do the following:1. Provide the output of the following SQL:SELECT DISTINCT a.bug_number, e.patch_name, c.end_date, b.applied_flagFROMad_bugs a,ad_patch_run_bugs b,ad_patch_runs c,ad_patch_drivers d ,ad_applied_patches eWHERE a.bug_id = b.bug_id AND b.patch_run_id = c.patch_run_id AND c.patch_driver_id = d.patch_driver_id AND d.applied_patch_id = e.applied_patch_id AND a.bug_number in (9451692,9843371,9433005)ORDER BY 1 DESC;2. Provide Apps Check output run for Oracle Lease Management product as the following:(R) Oracle Order Management Super User(N) Reports > Request > Run Request > Single Request - Choose " Diagnostics: Apps Check" , select 'Oracle Lease Management' from the LOV.3. Confirm the status after applying Patch 9451692:R12.OKL.B and its post-install patches. Do you still get any errors? If yes, upload screen shot of the error.Regards,WaelGlobal Support Services<br />THUNTD_ALC2@PYTHIS.COM - September 24, 2010 8:27:24 AM GMT+07:00 [Update from Customer]Hi Kenny,Patch 9451692 require 2 patch applied in post installation step is : 9843371 and 9433005.Three patch are already applied onto system.SQL> select * from ad_bugs where bug_number='9451692';BUG_ID APPLICATION_SHORT_NAME---------- --------------------------------------------------BUG_NUMBER CREATION_DATE ARU_RELEASE_NAME------------------------------ --------------- ------------------------------CREATED_BY LAST_UPDATE_DAT LAST_UPDATED_BY TRACKABL---------- --------------- --------------- --------BASELINE_NAME--------------------------------------------------------------------------------G LANG- ----3949109451692 15-SEP-10 R125 15-SEP-10 5 okl--------------------------------------------------------------SQL> select * from ad_bugs where bug_number='9843371';BUG_ID APPLICATION_SHORT_NAME---------- --------------------------------------------------BUG_NUMBER CREATION_DATE ARU_RELEASE_NAME------------------------------ --------------- ------------------------------CREATED_BY LAST_UPDATE_DAT LAST_UPDATED_BY TRACKABL---------- --------------- --------------- --------BASELINE_NAME--------------------------------------------------------------------------------G LANG- ----3939109843371 26-AUG-10 R125 26-AUG-10 5 okx---------------------------------------------------------------SQL> select * from ad_bugs where bug_number='9433005';BUG_ID APPLICATION_SHORT_NAME---------- --------------------------------------------------BUG_NUMBER CREATION_DATE ARU_RELEASE_NAME------------------------------ --------------- ------------------------------CREATED_BY LAST_UPDATE_DAT LAST_UPDATED_BY TRACKABL---------- --------------- --------------- --------BASELINE_NAME--------------------------------------------------------------------------------G LANG- ----3949969433005 15-SEP-10 R125 15-SEP-10 5 ar<br />Oracle Support - September 23, 2010 8:03:01 PM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Thu,The file that you hit the error in compiling, OKLRSGPB.pls, is also included in Patch 9451692:R12.OKL.B  which was requested in step 2 of the action plan Wael provided.  With that file in this patch any dependencies that may be causing the error in compilation are likely also included in this patch.  So oplease proceed with the action plan and apply Patch 9451692:R12.OKL.B.  The is the latest roll up patch for OKL on 12.1.2 and is going to be required in most if not all future OKL patches on 12.1.2.  Please also note that the readme for patch 9451692:R12.OKL.B includes a couple patches to be applied after this one has completed.  One is an OKX (Contracts Integration) patch and the other is an AR patch.  Please don't miss these.  While they may not impact the current issues we're working they are required and not having them applied could cause issues in other areas.Once Patch 9451692:R12.OKL.B is applied please provide run the program Diagnostics: Apps Check again for Lease Management and upload the output of that report to the SR.  This report will show any errors in compilation for any OKL invalids giving us a better idea of what is going wrong, if anything, after this patch is applied.  Thank you,Kenny<br />THUNTD_ALC2@PYTHIS.COM - September 23, 2010 2:06:19 PM GMT+07:00 [Update from Customer]Uploaded Attachment Up230910.txt in GTCR<br />THUNTD_ALC2@PYTHIS.COM - September 23, 2010 1:52:52 PM GMT+07:00 [Update from Customer]Hi Weal,I run all the sql that you give, 1 error return. Please see the uploaded file.Thanks<br />Oracle Support - September 23, 2010 11:57:33 AM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Hi Choung,Please do the following:1. Connect to SQLPLUS as APPS user and run the following files:SQL> @$OKL_TOP/patch/115/sql/OKLPAPIS.plsSQL> @$OKL_TOP/patch/115/sql/OKLPAPIB.plsSQL> @$OKL_TOP/patch/115/sql/OKLPDEGS.plsSQL> @$OKL_TOP/patch/115/sql/OKLPDEGB.plsSQL> @$OKL_TOP/patch/115/sql/OKLRPIUS.plsSQL> @$OKL_TOP/patch/115/sql/OKLRPIUB.plsSQL> @$OKL_TOP/patch/115/sql/OKLRQQCS.plsSQL> @$OKL_TOP/patch/115/sql/OKLRQQCB.plsSQL> @$OKL_TOP/patch/115/sql/OKLRQQHS.plsSQL> @$OKL_TOP/patch/115/sql/OKLRQQHB.plsSQL> @$OKL_TOP/patch/115/sql/OKLRQUCS.plsSQL> @$OKL_TOP/patch/115/sql/OKLRQUCB.plsSQL> @$OKL_TOP/patch/115/sql/OKLRSGPS.plsSQL> @$OKL_TOP/patch/115/sql/OKLRSGPB.plsSQL> @$OKL_TOP/patch/115/sql/OKLRUTLS.plsSQL> @$OKL_TOP/patch/115/sql/OKLRUTLB.plsSQL> @$OKL_TOP/patch/115/sql/OKLRQQHS.plsSQL> @$OKL_TOP/patch/115/sql/OKLRQQHB.plsSQL> @$OKL_TOP/patch/115/sql/OKLSQQLS.plsSQL> @$OKL_TOP/patch/115/sql/OKLSQQLB.plsPackages should be created successfully without any errors.2. Apply Patch OLFM CONSOLIDATED PATCH 9451692:R12.OKL.B 3. Retest the flow and update the SR with the results.Regards,WaelGlobal Support Services<br />Oracle Support - September 23, 2010 11:07:59 AM GMT+07:00 [ODM Research]=== ODM Research ===ISSUE ANALYSIS----------------------- The current error message is:ORA-06508: PL/SQL: could not find program unit being called in Package OKL_QUICK_QUOTES_PVT Procedure handle_quick_quote.- Ran the following SQL to check on all dependent packages for OKL_QUICK_QUOTES_PVT packageSELECT owner, object_type, object_nameFROM dba_objectsWHERE object_type = 'PACKAGE BODY'AND object_name like 'OKL%'AND object_name IN (SELECT referenced_name FROM dba_dependenciesWHERE name = 'OKL_QUICK_QUOTES_PVT');OWNER OBJECT_TYPE OBJECT_NAME---------- --------------------- ---------------------------------------------APPS PACKAGE BODY OKL_API <- OKLPAPIB.plsAPPS PACKAGE BODY OKL_DEBUG_PUB <- OKLPDEGB.pls APPS PACKAGE BODY OKL_PRICING_UTILS_PVT <- OKLRPIUB.plsAPPS PACKAGE BODY OKL_SALES_QUOTE_QA_PVT <- OKLRQQCB.pls APPS PACKAGE BODY OKL_QUICK_QUOTES_PVT <- OKLRQQHB.pls APPS PACKAGE BODY OKL_LEASE_QUOTE_CASHFLOW_PVT <- OKLRQUCB.pls APPS PACKAGE BODY OKL_STREAM_GENERATOR_PVT <- OKLRSGPB.pls APPS PACKAGE BODY OKL_UTIL <- OKLRUTLB.pls APPS PACKAGE BODY OKL_QQH_PVT <- OKLSQQHB.pls APPS PACKAGE BODY OKL_QQL_PVT <- OKLSQQLB.pls- Reviewing the uploaded APPS Check for customer file versions against what Patch 9451692 OLFM : CONSOLIDATED PATCH #2 ON R12.1.2 (SEP/2010) can offer us, found the following files can be upgraded by this patch.OKLPAPIB.pls 120.4 <- Latest released.OKLPDEGB.pls 120.2 <- Latest released.OKLRPIUB.pls 120.75.12010000.4 <- Latest released.OKLRQQCB.pls 120.78 <- Patch 9451692 provides version 120.78.12010000.2OKLRQQHB.pls 120.37.12010000.3 <- Latest released.OKLRQUCB.pls 120.30.12010000.7 <- Latest released.OKLRSGPB.pls 120.101.12010000.13 <- Patch 9451692 provides version 120.101.12010000.14OKLRUTLB.pls 120.7.12010000.3 <- Latest released.OKLSQQHB.pls 120.2.12010000.4 <- Latest released.OKLSQQLB.pls 120.1 <- Latest released.- Now, need to ensure that customer's environment have all the above packages of R12 version and their status are VALID. Also, need to patch the environment with Patch 9451692<br />Oracle Support - September 23, 2010 10:14:20 AM GMT+07:00 [Call - Outbound]Call - Outbound------------------------------- Called Choung on +84-985 353 625, he is on customer training and will not be able to join the OWC.- Confirmed to him that I am going to update the SR with an action plan and based on that we can decide the next course of actions.<br />Oracle Support - September 23, 2010 10:04:53 AM GMT+07:00 [Oracle Web Conference]Oracle Web Conference: STRTC--------------------------------------------------------I have started a web conference using Oracle Collaboration Suite - Real Time Conferencing. Please access this conference by going to:https://strtc.oracle.com/imtapp/app/cmn_jm.uix?mID=7402601Oracle Web Conferencing: Conference Key------------------------------------------------------------------------------<br />Oracle Support - September 22, 2010 2:07:01 PM GMT+07:00 [Call - Outbound]Call - Outbound------------------------------- Called again on the same number finally got Chuong answered the line.- Unfortunately, Choung is stuck in some other task and can not have the OWC now.- Rescheduled the OWC conference to tomorrow, 23-Sep at 10 am (Vietnam time).<br />Oracle Support - September 22, 2010 1:59:47 PM GMT+07:00 [Call - Outbound]Call - Outbound------------------------------- Called +84-985 353 625, got a message " All the lines to this country is currently busy, please call later'..!!!<br />Oracle Support - September 22, 2010 1:57:16 PM GMT+07:00 [Oracle Web Conference]Oracle Web Conference: STRTC--------------------------------------------------------I have started a web conference using Oracle Collaboration Suite - Real Time Conferencing. Please access this conference by going to:https://strtc.oracle.com/imtapp/app/cmn_jm.uix?mID=7398071Oracle Web Conferencing: Conference Key------------------------------------------------------------------------------<br />THUNTD_ALC2@PYTHIS.COM - September 22, 2010 1:26:53 PM GMT+07:00 [Update from Customer]Hi Wael,Please reach me at 84-985 353 625.We are ready to move to OWC now. ThanksChuong<br />Oracle Support - September 22, 2010 1:06:22 PM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Hi Chuong,OWC today at 2:00 pm your time is fine with me. Please update the SR with a direct number as I have tried to reach you on +84 -8 -985 353 625 many times without luck.A valid contract number is very important when I need to start the OWC session at 2:00 pm.Regards,WaelGlobal Support Services<br />THUNTD_ALC2@PYTHIS.COM - September 22, 2010 12:11:31 PM GMT+07:00 [Update from Customer]Hi Weal,Now is 12:10PM, we will avaible in 2:00 today PM for OWC. Please send me information. Thanks Chuong<br />Oracle Support - September 22, 2010 11:51:46 AM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Hi Thu,I have tried to reach either you or chuong on the number listed in your last update without any luck - it keeps giving me busy lines and sometimes a message saying these are invalid numbers.I have tried the following numbers:+84 -8 -985 353 625+84 -8 - 979 597 799Please verify if the above cell numbers are valid. Otherwise, please provide a land line number so that I can call it.On the other hand, I have started a web conference using Oracle Collaboration Suite - Real Time Conferencing. Please access this conference by going to:https://strtc.oracle.com/imtapp/app/cmn_jm.uix?mID=7397711Regards,Wael<br />Oracle Support - September 22, 2010 11:39:28 AM GMT+07:00 [Oracle Web Conference]Oracle Web Conference: STRTC--------------------------------------------------------I have started a web conference using Oracle Collaboration Suite - Real Time Conferencing. Please access this conference by going to:https://strtc.oracle.com/imtapp/app/cmn_jm.uix?mID=7397711Oracle Web Conferencing: Conference Key------------------------------------------------------------------------------<br />THUNTD_ALC2@PYTHIS.COM - September 22, 2010 11:24:47 AM GMT+07:00 [Update from Customer]Hi Kenny,I provide information :- Next milestone to UAT is September 27- Contact information : - Technical resource (primary contact) : - chuong- skype : ptshcm_chuongnh- Cell : 84 -8 -985 353 625 (VietNam)- Functional : - thu- skype : ptshcm_thuntd- cell : 84 -8 - 979 597 799- We will arrange to open OWC soon.Thanks<br />Oracle Support - September 22, 2010 11:12:28 AM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Hi Thu,I'd like to walk through this issue in an OWC. Please update the SR with your availability and a preferred contact number, and we will schedule a time for the session. Thank you,WaelGlobal Customer Services<br />Oracle Support - September 22, 2010 11:08:10 AM GMT+07:00 [Call - Outbound]Call - Outbound------------------------------- Called +1 84 3848460 4 times, no answer....not sure if this is a correct number..but this is the only number mentioned in the SR header.<br />Oracle Support - September 22, 2010 4:34:39 AM GMT+07:00 [Information]Generic Note------------------------Thu,I have not yet raised the Severity of this SR to a Severity 1. But I assure you that I have been working it as if it was a Severity 1 issue. I have also been discussing this, and the other OKL SRs that you have, with my colleague Wael. Wael is working from Australia and will likely be holding an OWC with you today to continue working this issue. If he decides that an OWC is not required I'm sure that he will be contacting you in some way to progress this issue.In order to complete the request for a Severity 1 we'll need to get some idea of your project milestones. Can you please provide the dates for your next milestones (UAT, CRP, etc)? Please also provide 24/7 contact information for both functional and technical resource(s) that will be available to work this issue.Thank You,Kenny<br />Oracle Support - September 22, 2010 4:17:29 AM GMT+07:00 [Notes]Uploaded Attachment QQ1210_debug_viscrm08.xls in GTCR<br />Oracle Support - September 22, 2010 4:06:03 AM GMT+07:00 [ODM Test Case]=== ODM Test Case ===Test Case=========Tested in viscrm08.Created Quick Quote Number QQ1206.Step 1 of 5:Term: 12End of Term Option: KH_EOT_USDFTX_INTStep 2 of 5:Item Category Name: EQUIPMENT.PANELSStep 3 of 5 Entered nothing, clicked Next.Step 4 of 5No error as shown in the screen shot.Entered:Frequency: MonthlyRate: 5Periods: 12Step 5 of 5Nothing to enter, all looks fine.Clicked Finish.Confirmation received confirming the Quote was created.Repeating this test, with debug on this time.<br />Oracle Support - September 22, 2010 2:11:56 AM GMT+07:00 [Information]Generic Note------------------------OK, I went to start testing and realized that we seem to be in a different place than when we started.The original flow was Lease Opportunity > Estimate > Lease Quote > Pricing Error in the Quote.In the latest screen shots we're in a completely different place, now we're in Quick Quotes.I'll check out the Quick Quotes for now in this SR, as its pretty clear across all of these SRs that the main cause is probably all related and we've already got 3 SRs trying to fix what may be the same cause with a lot of different errors depending on where you happen to be working in OKL.But in the end we may need a new SR for the Quick Quote issue, because that might just not work if the file versions are really correct as I seem to have found in my initial review.I'll test, see what is calling those files, and see if I can reproduce. If I cannot reproduce I'll check the versions of the calling files and see if there correct and go from there.<br />Oracle Support - September 22, 2010 1:45:31 AM GMT+07:00 [ODM Research]=== ODM Research ===Research========Checked OKLRQQHS.pls 120.4.This is the correct, and latest, version of this file.Comment at the top of this file:--------------------------------------| 21-oct-05 viselvar -- changed signature of handle_quick_quotes |--------------------------------------I then checked OKLRQQHB.pls 120.37.12010000.3.This is again the latest available version.So it would seem that in this case the pls files are fine.But the file calling them must not be making the right call.Testing in viscrm08 to determine what file would call this.<br />Oracle Support - September 22, 2010 1:36:06 AM GMT+07:00 [ODM Research]=== ODM Research ===Research======== From the latest Apps Check provided in SR 3-2118221801:OKL_QUICK_QUOTES_PVT OKLRQQHS.pls 120.4 SPEC VALID OKL_QUICK_QUOTES_PVT OKLRQQHB.pls 120.37.12010000.3 BODY VALID <br />Oracle Support - September 22, 2010 1:04:08 AM GMT+07:00 [ODM Data Collection]Name--------ODM Data CollectionScreen ShotFileName----------------Select_Pricing_Option___Error.JPGFileComment----------------------This shot shows the same error as seen in the previous shot Step 4 of 5, Select Pricing Option.In this page there is an error:ORA-06508: PL/SQL: could not find program unit being called in Package OKL_QUICK_QUOTES_PVT Procedure handle_quick_quote.<br />Oracle Support - September 22, 2010 1:03:07 AM GMT+07:00 [ODM Data Collection]Name--------ODM Data CollectionScreen ShotsFileName----------------Price_Oppotunity.rarFileComment----------------------Screen shots within this zip file show a Quick Quote being created.The first shot is at Step 3 of 5, Enter Pricing Options.No Pricing Options are entered.The second shot shows Step 4 of 5, Select Pricing Option.In this page there is an error:ORA-06508: PL/SQL: could not find program unit being called in Package OKL_QUICK_QUOTES_PVT Procedure handle_quick_quote.<br />THUNTD_ALC2@PYTHIS.COM - September 21, 2010 4:31:30 PM GMT+07:00 [Update from Customer]Uploaded Attachment Select_Pricing_Option___Error.JPG in GTCR<br />THUNTD_ALC2@PYTHIS.COM - September 21, 2010 4:30:10 PM GMT+07:00 [Update from Customer]Hi Kenny, Result of the retesting is the same. The screen appear with same unmoved error.Thanks<br />THUNTD_ALC2@PYTHIS.COM - September 21, 2010 4:28:03 PM GMT+07:00 [Update from Customer]Hi Kenny,I update informations that's required. By the way, i want to rise this SR to Severity 1 (highest level). Because, it's become emergency. QL> @$OKL_TOP/patch/115/sql/OKLRQQHB.plsPackage body created.Commit complete.SQL> @$OKL_TOP/patch/115/sql/OKLRQQHS.plsPackage created.Commit complete.--------------------------------------------------------------------------------/* $Header: OKLRQQHB.pls 120.37.12010000.3 2008/11/13 13:33--------------------------------------------------------------------------------SQL> select object_name, status 2 from dba_objects3 where object_name = 'OKL_QUICK_QUOTES_PVT';OBJECT_NAME--------------------------------------------------STATUS-------OKL_QUICK_QUOTES_PVTVALIDOKL_QUICK_QUOTES_PVTVALIDThanks<br />Oracle Support - September 21, 2010 3:17:42 PM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Hi Thu,Please do the following:1. Connect to SQLPLUS as APPS user and run the following files:SQL> @$OKL_TOP/patch/115/sql/OKLRQQHS.plsSQL> @$OKL_TOP/patch/115/sql/OKLRQQHB.plsPackages should be created successfully without any errors.2. Confirm the version of package OKL_QUICK_QUOTES_PVT in your database using the following SQL:SELECT text FROM all_source WHERE NAME = upper('OKL_QUICK_QUOTES_PVT')AND TYPE = 'PACKAGE BODY' AND line = 2;3. Confirm the status of package OKL_QUICK_QUOTES_PVT in your database using the following SQL:select object_name, status from dba_objectswhere object_name = 'OKL_QUICK_QUOTES_PVT';Package status should be 'VALID'. 4. Retest the flow. If you get the same or any new errors, then please update the SR with the following:a) The error detailsb) Your availability for an OWC to walk through this issue. Please note that I am based in Australia so we are sharing almost the same timzone (with only 1 hour difference).So, if you are ready for an OWC tomorrow, Wednesday, 22-Sep at 10:00 am (VietNam) / 11:00am (Australia) that would be great.Please confirm. Regards,WaelGlobal Support Services<br />Oracle Support - September 21, 2010 3:02:13 PM GMT+07:00 [ODM Research]=== ODM Research ===ISSUE ANALYSIS------------------------- Ran the following SQL to check the file name related to OKL_QUICK_QUOTES_PVT included in the new error message:SELECT text FROM all_source WHERE NAME = upper('OKL_QUICK_QUOTES_PVT')AND TYPE = 'PACKAGE BODY' AND line = 2;File name is OKLRQQHB.pls - Customer will need to ensure that both files OKLRQQHS.pls & OKLRQQHB.pls are run from $OKL_TOP/patch/115/sql/ so that he can get the R12 file version into the Database.<br />Oracle Support - September 21, 2010 2:57:40 PM GMT+07:00 [ODM Data Collection]Name--------=== ODM Data Collection ====== ODM Data Collection ===SCREEN SHOTS--------------------See the following error in 'Select Pricing Option' step while creating a LQ.ORA-06508: PL/SQL: could not find program unit being called in Package OKL_QUICK_QUOTES_PVT Procedure handle_quick_quoteFileName----------------Price_Oppotunity.rarURL------https://support.us.oracle.com/oip/faces/filedownloadservlet?ObjectType=SR&ObjectNo=3-2057791987&FileName=Price_Oppotunity.rar<br />THUNTD_ALC2@PYTHIS.COM - September 21, 2010 1:13:59 PM GMT+07:00 [Update from Customer]Hi Kenny,Error appear is show is the screen i uploaded. File Price_Oputunity.rar. What is the suitable solution for this issue.ThanksChuong<br />THUNTD_ALC2@PYTHIS.COM - September 21, 2010 11:40:37 AM GMT+07:00 [Update from Customer]Hi,The error still here.ORA-06508: PL/SQL: could not find program unit being called in Package OKL_QUICK_QUOTES_PVT Procedure handle_quick_quotePlease consider, this SR become imergency, and i need to fix this as soon as posible.This very important.Thanks<br />THUNTD_ALC2@PYTHIS.COM - September 21, 2010 11:31:26 AM GMT+07:00 [Update from Customer]Hi ,/* $Header: OKLRSULS.pls 120.9.12010000.3 2009/07/29 10:10:28 racheruv ship $ */SQL> @$OKL_TOP/patch/115/sql/OKLRSULS.plsPackage created.Commit complete.SQL> @$OKL_TOP/patch/115/sql/OKLRSULB.plsPackage body created.Commit complete.SQL> select * from ad_bugs where bug_number ='7303033';BUG_ID APPLICATION_SHORT_NAME---------- --------------------------------------------------BUG_NUMBER CREATION_DATE ARU_RELEASE_NAME------------------------------ --------------- ------------------------------CREATED_BY LAST_UPDATE_DAT LAST_UPDATED_BY TRACKABL---------- --------------- --------------- --------BASELINE_NAME--------------------------------------------------------------------------------G LANG- ----3747667303033 16-JUL-10 R125 16-JUL-10 5 auBUG_ID APPLICATION_SHORT_NAME---------- --------------------------------------------------BUG_NUMBER CREATION_DATE ARU_RELEASE_NAME------------------------------ --------------- ------------------------------CREATED_BY LAST_UPDATE_DAT LAST_UPDATED_BY TRACKABL---------- --------------- --------------- --------BASELINE_NAME--------------------------------------------------------------------------------G LANG- ----R12y USThanks<br />Oracle Support - September 21, 2010 3:48:08 AM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Action Plan===========Chuong,Yes that file does have the procedure UPDATE_TRX_STATE, and the file is also the correct version for your patch level. However the specification for OKL_STREAMS_UTIL, file OKLRSULS.pls does not contain this procedure in the version you have. According to the Apps Check provided you have OKLRSULS.pls 120.9.12010000.2 compiled in the instance. That is not the correct version for your patch level. You should have version 120.9.12010000.3, which does contain the procedure UPDATE_TRX_STATE. If the procedure is not in the specification that it cannot be used in any calls other than those within the body of OKL_STREAMS_UTIL. In this case the call is being made from outside that package, and it cannot be found because it is not in the spec.So here's what I think we need to do. 1. First we want to check to see what version of OKLRSULS.pls is in $OKL_TOP. Please check that using the following command at the unix prompt:strings -a $OKL_TOP/patch/115/sql/OKLRSULS.pls |grep '$Header' a. If the result of that shows OKLRSULS.pls 120.9.12010000.3 then we can simplycompile that file using this command:sqlplus apps/<apps_password> @$OKL_TOP/patch/115/sql/OKLRSULS.plsOnce that is compiled we'll need to compile the body again, do that with this:sqlplus apps/<apps_password> @$OKL_TOP/patch/115/sql/OKLRSULB.plsb. If the result comes back as OKLRSULS.pls 120.9.12010000.2 then compiling this file in that version will have no impact on the issue. If this is the case, please confirm that Patch 7303033 Oracle E-Business Suite 12.1.2 Release Update Pack (RUP2) has been applied. If you have the adpatch log files, and the ad worker files, from the applicationof this patch please zip all of those up and upload those to the SR.2. The next step we'll want to take, assuming that Patch 7303033 is in place, is to apply thelatest OKL roll up patch. This patch was just released last week and will be the required minimum patch level for any future OKL bug fixes. None of the fixes in this patch really specifically were designed to address the issues in any of the SRs that I have with you andThu at the moment. But this patch does contain a lot of files that are in higher versions thanwhat you have, which means that many of the files that you have in bad versions will be replacedby good versions. I usually don't suggest patches like this, but given the circumstances and the fact that the application of this patch is inevitable, there's really no reason not to apply it.Now that I've explained why it should be applied, the patch is Patch 9451692 OLFM : CONSOLIDATED PATCH #2 ON R12.1.2 (SEP/2010). Please apply this patchI already know that this patch will not fix the issue with the procedure UPDATE_TRX_STATE not being found.This patch does not contain OKLRSULS.pls in any version. So if this file is not resolved in step 1we're going to need to figure out how to get the correct version in your instance. But I honestly believethat this patch should resolve at least some of the outstanding issues. From there we'll have a betterbase, and fewer issues, and we can work on the issues that are left. Kenny<br />THUNTD_ALC2@PYTHIS.COM - September 19, 2010 10:34:04 PM GMT+07:00 [Update from Customer]Hi,i didn't catch up your point in here " Body for okl_streams_util is OKLRSULB.pls, apps check indicates this version is 120.20.12010000.10.This version is the latest available for this file.And this file does have the procedure UPDATE_TRX_STATE." The procedure UPDATE_TRX_STATE is not available. So, what do i need to do now, i still have some invalid object about OKL. Is there any solution to solve these.Tell me if you need any information can help this SRThank you so much Chuong<br />Oracle Support - September 17, 2010 11:14:30 PM GMT+07:00 [ODM Research]=== ODM Research ===Research========Started with this error:-------------------------------OKL_ACTIVATE_CONTRACT_PUB OKLPACOB.pls 120.26.12010000.7 BODY INVALIDErrors for PACKAGE BODY OKL_ACTIVATE_CONTRACT_PUBPLS-00302: component 'CHECK_REBOOK_UPGRADE' must be declaredPL/SQL: Statement ignoredPLS-00302: component 'UPDATE_TRX_STATE' must be declaredPL/SQL: Statement ignored-------------------------------In OKLPACOB.pls 120.26.12010000.7:-------------------------------OKL_LLA_UTIL_PVT.check_rebook_upgrade(p_api_version => p_api_version, p_init_msg_list => p_init_msg_list,x_return_status => x_return_status,x_msg_count => x_msg_count,x_msg_data => x_msg_data,p_chr_id => l_orig_khr_id,p_rbk_chr_id => p_chrv_id);--------------------------------------------------------------okl_streams_util.update_trx_state(l_contract_id, 'BOTH');-------------------------------Body for OKL_LLA_UTIL_PVT is OKLRLAUB.pls, apps check indicates this version is 120.18.12010000.2There is no procdure named check_rebook_upgrade in this version.Procedure check_rebook_upgrade debuts in version 120.18.12010000.7, via Bug 8756653.The first released version with this procedure is version 120.18.12010000.8That version is included in patch 7303033 Oracle E-Business Suite 12.1.2 Release Update Pack (RUP2)Body for okl_streams_util is OKLRSULB.pls, apps check indicates this version is 120.20.12010000.10.This version is the latest available for this file.And this file does have the procedure UPDATE_TRX_STATE.Reviewed the call against the procedure signature and everything matches up.Leaving us with the only cause being that the package specification does not have this procedure.Apps check shows that the spec for this package is OKLRSULS.pls 120.9.12010000.2.There is no procedure UPDATE_TRX_STATE in this version of the spec.But there is in the next version, 120.9.12010000.3, also available in patch 7303033 (12.1.2).OKL RUP2 for 12.1.2 was released 2 days ago and is now the new minimum required for OKL in R12.Checking that to see if it has enough of these files to resolve all of these errors.<br />Oracle Support - September 17, 2010 10:53:15 PM GMT+07:00 [ODM Research]=== ODM Research ===Research========Reviewed invalid list, still have OKL invalids that would cause issues throughout OKL.Apps Check provided in new SR 3-2118221801 yesterday shows that the following OKL packages are invalid:OKL_ACTIVATE_CONTRACT_PUB OKLPACOB.pls 120.26.12010000.7OKL_BOOK_CONTROLLER_PVT OKLRBCTB.pls 120.8.12010000.4OKL_CNTRCT_FIN_EXTRACT_PVT OKLRCFEB.pls 120.2.12010000.19OKL_CONTRACT_BOOK_PVT OKLRBKGB.pls 120.63.12010000.6OKL_COPY_CONTRACT_PVT OKLRCOPB.pls 120.50.12010000.5OKL_CREATE_STREAMS_PVT OKLRCSMB.pls 120.30.12010000.8OKL_DEAL_CREAT_PVT OKLRDCRB.pls 120.5.12010000.9OKL_K_LINE_FIN_EXT_PVT OKLRLFEB.pls 120.0.12010000.38OKL_LA_STREAM_PVT OKLRSGAB.pls 120.141.12010000.32OKL_MASS_REBOOK_PVT OKLRMRPB.pls 120.33.12010000.5OKL_PRB_UPGRADE_PVT OKLRPRBB.pls 120.0.12010000.6OKL_PRICING_PVT OKLRPIGB.pls 120.76.12010000.4OKL_QA_DATA_INTEGRITY OKLRQADB.pls 120.153.12010000.24OKL_SPLIT_ASSET_PVT OKLRSPAB.pls 120.61.12010000.10OKL_STREAM_GENERATOR_PVT OKLRSGPB.pls 120.101.12010000.14--This one is not an issue, obsoleteOKL_SIMPLE_PRICING_PVT OKLRSPRB.pls 120.1This Apps Check Output is from the same instance as the instance used to provide the original Apps Check output in this SR.The new Apps Check shows that we now have all R12 file versions compiled, which is good.But we still have some that are invalid, which is not so good.Checking into these compilation errors now.<br />Oracle Support - September 17, 2010 10:47:23 PM GMT+07:00 [ODM Data Collection]Name--------ODM Data CollectionInvalid Objects ListFileName----------------Invalid_Ob.txtFileComment----------------------Only listing OKL invalidsOKL_ACTIVATE_CONTRACT_PUBOKL_CONTRACT_BOOK_PVTOKL_COPY_CONTRACT_PVTOKL_CREATE_STREAMS_PVTOKL_MASS_REBOOK_PVTOKL_QA_DATA_INTEGRITYOKL_STREAM_GENERATOR_PVTOKL_LA_STREAM_PVTOKL_SIMPLE_PRICING_PVTOKL_SPLIT_ASSET_PVTOKL_PRICING_PVTOKL_BOOK_CONTROLLER_PVTOKL_DEAL_CREAT_PVTOKL_CNTRCT_FIN_EXTRACT_PVTOKL_K_LINE_FIN_EXT_PVTOKL_PRB_UPGRADE_PVT<br />THUNTD_ALC2@PYTHIS.COM - September 17, 2010 4:19:24 PM GMT+07:00 [Update from Customer]Uploaded Attachment Price_Oppotunity.rar in GTCR<br />THUNTD_ALC2@PYTHIS.COM - September 17, 2010 4:14:59 PM GMT+07:00 [Update from Customer]Hi,The problem occur in step 4 : Select Pricing Option, when create a Quick Quote. I upload 2 screent shoot for consideration.ThanksChuong<br />THUNTD_ALC2@PYTHIS.COM - September 17, 2010 9:48:14 AM GMT+07:00 [Update from Customer]Uploaded Attachment Invalid_Ob.txt in GTCR<br />THUNTD_ALC2@PYTHIS.COM - September 17, 2010 9:47:41 AM GMT+07:00 [Update from Customer]Hi,I ran 2 scripts you give, s.sh ,b.sh then compile apps schema by adadmin. I upload file list of invalid object. Chuong<br />Oracle Support - September 15, 2010 6:44:19 PM GMT+07:00 [Information]Generic Note------------------------Thu,I apologize for not having those files uploaded to the SR. I uploaded them to the bug and I must have forgotten to get them into the SR. But they are in the SR now.Using adadmin before these scripts won't help this issue until these files are run. That will only recompile the code that is already in place. Once we have the code in place using these two shell scripts we will then use adadmin to make sure everything is valid.Regards,Kenny<br />Oracle Support - September 15, 2010 6:42:21 PM GMT+07:00 [Notes]Uploaded Attachment s.sh in GTCR<br />Oracle Support - September 15, 2010 6:42:03 PM GMT+07:00 [Notes]Uploaded Attachment b.sh in GTCR<br />THUNTD_ALC2@PYTHIS.COM - September 15, 2010 9:47:37 AM GMT+07:00 [Update from Customer]Hi, I can not find 2 scrip s.sh, b.sh for compile these object. Please show me, or i can run adadmin to compile invalid object.Thanks<br />Oracle Support - September 15, 2010 3:43:40 AM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Action Plan===========Thu,I updated SR 3-2042979591 to ask whether the issue that SR and this SR were the same instance as the issue being reported in Pythis SR 3-2007932171 were related. I have since concluded that they are as the screen shots show the same url being used in the applications. So I am update this SR with the action plan below that I believe will resolve all three SRs.I have logged Bug 10113216 with Lease Management Development to ask for a patch or some other simpler method to do what I will be suggesting below. However, I don't expect that to be provided in the near future. So to try to get all of your issues moving we'll proceed here. I have just completed testing everything below in my instance and everything worked out just fine. There were a couple bumps along the way, and I have documented those and how to get around them below. From the data provided in SR 3-2042979591, SR 3-2057791987, and SR 3-2007932171 it seems clear that you have a number of 11i OKL pls files compiled in this instance. This issue has occurred a few times in R12 installs and the exact cause has not yet been identified. However the solution is fairly simple. We need to compile all of the pls files for OKL so that all of your compiles packages are using R12 code. There is probably 100 different ways to accomplish this and after what is now more than a few attempts my current solution is the steps below. The main goal in these steps is to recompile all OKL package specifications and bodies. The approach taken in these steps is to first compile all package specifications in this directory with the file s.sh. Once that script completes we then compile all package bodies with the file b.sh. If you have steps that you prefer that will accomplish the same then feel free to use those. As I mentioned there are probably 100 ways to get this done, and this is just the latest in my approaches to getting it done. These scripts are only compiling files that should have already been compiled by the R12 install patch. They are making no changes to any code. Each of these scripts will be compile many hundreds of files and each is going to take some time to complete.1. Please download copies of s.sh and b.sh from the SR.2. Place copies of both of these files in the following directory:$OKL_TOP/patch/115/sql3. Execute s.sh from the unix prompt.This file will compile all of the package specification files in this directory.4. Once s.sh completes execute b.sh from the unix prompt.This file will compile all of the package body files in this directory.There will be two different types of occasions where these shell scripts will pause requiring input. Whenever you see the script stop you will need to manually get it moving again. The way to do that depends on the situation:1. The script will stop with the cursor at the sql prompt. My guess is that this is because there is no Exit in the pls file that was just compiled. To get the script rolling again simply type exit and hit enter. This will end the sql plus session and the shell script will continue.2. While compiling the scrip with stop and prompt with " Please enter a value for x" where x can be any number of values. This seems to be caused by the use of ampersands (&) or other variable substitution characters within the comments of the file being compiled. When these are hit you can simply hit enter and the script will continue.One other other suggestion I can make would be to shut down the instance while these files are being compiled. This will prevent issues with the packages being locked should anyone be attempting to use OKL. Any attempt to use OKL while these files are being compiled will no doubt result in errors, so there is really no use in even trying until these files are compiled.Once both scripts complete the R12 code will be in place, but there are sure to be some invalids. It would be just about impossible to manually compile thousands of pls files like we just did without getting invalids, a most likley a bunch of them.Please use adadmin to recompile the apps schema. Again we're going to have more than the usual number of invalids to be recompiled during this process. So adadmin will likely take longer than usual to compile the apps schema. Once that completes you're ready to bring the instance back up and re-test the issues in each of the three SRs mentioned above.If you check for OKL invalids and find that OKL_SIMPLE_PRICING_PVT is invalid that is to be expected. This package is obsolete and no longer used. If you prefer to not have this package invalid you can simply drop it.Please update each SR with the new test results after these actions are completed.Please complete these steps and re-test the issues in all of these SRs. I am pretty confident at least some of them are going to be resolved and there's a very good chance it will resolve all of them.If you have any questions or concerns about this action plan please feel free to let me know.Thanks,Kenny<br />Oracle Support - September 15, 2010 12:48:57 AM GMT+07:00 [Predefect Update]Defect 10113216 has been created via Defect Workbench iBug portal request id: (2788951).<br />Oracle Support - September 15, 2010 12:29:55 AM GMT+07:00 [Notes]Uploaded Attachment Apps_Check__Lease_Management.txt in GTCR<br />Oracle Support - September 14, 2010 8:23:58 PM GMT+07:00 [ODM Research]=== ODM Research ===Research========Compared screen shots provided in this SR to screen shots provided in SR 3-2007932171.Both show that the same url is being used in the instance.The Apps Check provided in SR 3-2007932171 shows that there are numerous 11i pls files compiled.All of these should be R12 files.Working on an action plan to get the 11i files to R12 versions.<br />Oracle Support - September 14, 2010 8:14:18 PM GMT+07:00 [Information]Generic Note------------------------Just updated SR 3-2042979591 with an action plan.There's some additional information in this SR that may help me confirm my suspicion in that SR.Reviewing now to see if that's true.<br />THUNTD_ALC2@PYTHIS.COM - September 14, 2010 8:54:18 AM GMT+07:00 [Update from Customer]Hi,Please feedback. It's so long for solving this issue. We can't continue our working because of it.Regards,Thu<br />Oracle Support - September 9, 2010 7:46:37 PM GMT+07:00 [ODM Research]=== ODM Research ===Research========Output of LO_debug1.sql for one of the Lease Quotes I created to test this issue this morning:--------------------------------L_QUOTE_NUMBER is LQ388L_QUOTE_ID is 379cust_details_rec.parent_id is 361cust_details_rec.prospect_id is 1150cust_details_rec.cust_acct_id is 1150cust_details_rec.SALES_TERRITORY_ID is cust_details_rec.CURRENCY_CODE is USDL_CREDIT_CLASSFICATION is LOWEOT_TYPE_REC.id is 379EOT_TYPE_REC.reference_number is LQ388EOT_TYPE_REC.end_of_term_name is KH_EOT_USDFTX_INTEOT_TYPE_REC.eot_type_code is AMOUNTEOT_TYPE_REC.END_OF_TERM_ID is 219862313782027915479839130690144325409EOT_TYPE_REC.end_of_term_ver_id is 219862313782029124405658745319319031585--------------------------------Record cust_details_rec is populated for my Quotes.That is because parent_object_code and parent_object_id are populated for this Quote.<br />Oracle Support - September 9, 2010 7:34:58 PM GMT+07:00 [Notes]Uploaded Attachment viscrm08_LO430.xls in GTCR<br />Oracle Support - September 9, 2010 7:12:19 PM GMT+07:00 [ODM Test Case]=== ODM Test Case ===Test Case=========Created Lease Opportunity LO429.Created Estimate QQ184.Clicked Create Quote in the Estimate record.When I clicked Finish to complete the Quote I received this message:-----------Successfully created, validated and priced the Quote.-----------Quote is priced and validated.The Validate button and the Validate and Price button were never active when I created this Quote. So I was never able to select these buttons.I then opened the Quote and updated the Asset information.This update was only to enter a value in Model.No financial changes were made.The Validate buttons are now active.Clicked Validate and Price.Quote was validated and priced without error.SELECT parent_object_code, parent_object_idfrom OKL_LEASE_QUOTES_Bwhere reference_number = 'LQ387'PARENT_OBJECT_CODE PARENT_OBJECT_ID ------------------------------ ---------------------- LEASEOPP 360 Need to determine where these fields are being populated.These are the fields causing the problem in Thu's Quote.<br />Oracle Support - September 9, 2010 6:35:03 PM GMT+07:00 [ODM Research]=== ODM Research ===Research========The Estimate is a step that I haven't seen used yet.And that possible explain the null values in okl_lease_quotes_b.parent_object_code and okl_lease_quotes_b.parent_object_id.If the Quote was created within the Lease Opportunity without the Esitmate this would probably work without error.<br />Oracle Support - September 9, 2010 6:32:15 PM GMT+07:00 [ODM Data Collection]Name--------ODM Data CollectionScreen ShotsFileName----------------09SEP2010_Steps_to_create_Quote_from_Lease_Opportunity.docxFileComment----------------------A lease Opportunity is created.An Estimate is created within the Lease Opportunity.Create Quote is then clicked in the Estimate record.Error is received when pricing this quote.<br />THUNTD_ALC2@PYTHIS.COM - September 9, 2010 9:58:34 AM GMT+07:00 [Update from Customer]Uploaded Attachment 09SEP2010_Steps_to_create_Quote_from_Lease_Opportunity.docx in GTCR<br />THUNTD_ALC2@PYTHIS.COM - September 9, 2010 9:54:31 AM GMT+07:00 [Update from Customer]Hi,Please view the uploaded file " 09SEP2010-Steps to create Quote from Lease Opportunity" for details.Regards,Thu<br />Oracle Support - September 9, 2010 2:45:23 AM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Action Plan===========Thu,In the SR opening you indicated that you navigated to Sales > Lease Opportunity. The next step that you mentioned was creating a Quote. Given the navigation I assumed that you were creating this Quote within a Lease Opportunity. However the script output that you provided is showing that may not be the case. The we have the Quote Number LQ29 which tells me that was the case. So I'm thinking that you created the Lease Opportunity then created the Lease Quote within this Lease Opportunity. Can you please confirm the steps you took to create this Quote?Please also upload the results of the following select statement to the SR in spread sheet format:--Statement 1SELECT * FROM OKL_LEASE_QUOTES_B where id = 8;Thanks,Kenny<br />Oracle Support - September 9, 2010 2:33:17 AM GMT+07:00 [ODM Research]=== ODM Research ===Research========Output shows that cursor get_cust_details_csr is not getting any records.The portion of LO_debug1.sql that is missing in the output is:------------------------------for cust_details_rec in get_cust_details_csr(l_quote_id) loopDBMS_OUTPUT.PUT_LINE('cust_details_rec.parent_id is '||CUST_DETAILS_REC.PARENT_ID);DBMS_OUTPUT.PUT_LINE('cust_details_rec.prospect_id is '||CUST_DETAILS_REC.prospect_id);DBMS_OUTPUT.PUT_LINE('cust_details_rec.cust_acct_id is '||CUST_DETAILS_REC.CUST_ACCT_ID); DBMS_OUTPUT.PUT_LINE('cust_details_rec.SALES_TERRITORY_ID is '||CUST_DETAILS_REC.SALES_TERRITORY_ID);DBMS_OUTPUT.PUT_LINE('cust_details_rec.CURRENCY_CODE is '||cust_details_rec.CURRENCY_CODE); L_CREDIT_CLASSFICATION := okl_lease_app_pvt.get_credit_classfication(p_party_id => CUST_DETAILS_REC.prospect_id,P_CUST_ACCT_ID => CUST_DETAILS_REC.CUST_ACCT_ID,P_SITE_USE_ID => -99);DBMS_OUTPUT.PUT_LINE('L_CREDIT_CLASSFICATION is '||L_CREDIT_CLASSFICATION); end loop;FOR EOT_TYPE_REC IN GET_EOT_TYPE(l_quote_id) LOOPDBMS_OUTPUT.PUT_LINE('EOT_TYPE_REC.id is '||EOT_TYPE_REC.id); DBMS_OUTPUT.PUT_LINE('EOT_TYPE_REC.reference_number is '||EOT_TYPE_REC.reference_number); ------------------------------And that cursor is:------------------------------CURSOR get_cust_details_csr( p_lq_id NUMBER )ISSELECT lopp.id parent_id ,lopp.prospect_id prospect_id ,lopp.cust_acct_id cust_acct_id ,lopp.sales_territory_id sales_territory_id ,lopp.currency_code currency_codeFROM okl_lease_quotes_b lq,okl_lease_opportunities_b loppWHERE parent_object_code = 'LEASEOPP'AND parent_object_id = lopp.idAND LQ.ID = P_LQ_ID;------------------------------The Quote ID used in the script seems valid as the cursor get_eot_type is getting values later in the script.So it would seem that the value in okl_lease_quotes_b.parent_object_code and / or okl_lease_quotes_b.parent_object_id are not so valid.<br />Oracle Support - September 8, 2010 10:58:59 PM GMT+07:00 [Information]Generic Note------------------------Reviewing --Kenny<br />THUNTD_ALC2@PYTHIS.COM - September 8, 2010 8:48:43 AM GMT+07:00 [Update from Customer]Hi, The output of script LO_debug1.sql:L_QUOTE_NUMBER is LQ29L_QUOTE_ID is 8EOT_TYPE_REC.id is 8EOT_TYPE_REC.reference_number is LQ29EOT_TYPE_REC.end_of_term_name is EOF 01EOT_TYPE_REC.eot_type_code is AMOUNTEOT_TYPE_REC.END_OF_TERM_ID is 235159738464742404367292495399846771388EOT_TYPE_REC.end_of_term_ver_id is 235159738464743613293112110029021477564Regards,Thu<br />Oracle Support - September 8, 2010 12:14:46 AM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Action Plan===========Thu,Please download a copy of LO_debug1.sql from the SR. This is a debug script that I created based on the code where the error you are receiving is being hit. The script performs no updates, it will simply print out debug messages. Please run this script in the same instance used to generate the debug file that you uploaded to the SR. The script uses dbms_output to print the debug messages. Please be sure that the tool you use to run this has this output turned on. In SQL Plus the command to turn this on is:set serveroutput onFor other tools, such as SQL Developer, TOAD, etc. there are usually buttons and / or menu options to accomplish the same. Please update the SR with the output of this script when available.Regards,Kenny<br />Oracle Support - September 8, 2010 12:10:06 AM GMT+07:00 [Notes]Uploaded Attachment LO_debug1.sql in GTCR<br />Oracle Support - September 7, 2010 11:03:35 PM GMT+07:00 [ODM Research]=== ODM Research ===Research========Debug messages:-----------------------------------------------------begin debug call price_standard_quotebegin debug OKLRPIUB.pls call price_standard_quote!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!Pricing of LQ29!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Effective To of the LQ 26-AUG-2013end debug call price_standard_quoteOAF LOG: Event : Check Errors, in: oracle.apps.fnd.framework.webui.OAPageErrorHandler: Exception: ORA-06503: PL/SQL: Function returned without value in Package OKL_PRICING_UTILS_PVT Procedure price_standard_quote ,In VO: null-----------------------------------------------------Checking Procedure OKL_PRICING_UTILS_PVT.price_standard_quote in OKLRPIUB.pls 120.75.12010000.4.The last real message we get from this procedure is " Effective To of the LQ 26-AUG-2013" And that is printed in the first line of this snippet:-----------------------------------------------------put_in_log(l_debug_enabled,is_debug_procedure_on,is_debug_statement_on,l_module, 'S','Effective To of the LQ ' || l_eot_date );-- Populate the l_adj_mat_cat_rec !-- Here instead of straightly assuming that user will only pick the SRT at the-- Quote level, we should be writing an API, which will build the cash flows and cash flow levels-- if the user has picked the SRT, or otherwise the API will fetch directly from-- the Cash flows in case of User picked the Structured Pricing option ...l_adj_mat_cat_rec.target_eff_from := quote_rec.expected_start_date;l_adj_mat_cat_rec.term := quote_rec.term;IF quote_rec.parent_object_code = 'LEASEOPP'THEN-- Fetch from the Lease OpportunityFOR t_rec IN get_cust_details_csr( p_lq_id => p_qte_id )LOOPl_adj_mat_cat_rec.territory := t_rec.sales_territory_id;l_adj_mat_cat_rec.customer_credit_class :=okl_lease_app_pvt.get_credit_classfication(p_party_id => t_rec.prospect_id,p_cust_acct_id => t_rec.cust_acct_id,p_site_use_id => -99);-- Store the currency nowl_currency := t_rec.currency_code;END LOOP;ELSE-- Fetch from the Lease ApplicationFOR t_rec IN get_cust_details_csr_lapp( p_lq_id => p_qte_id )LOOPl_adj_mat_cat_rec.territory := t_rec.sales_territory_id;l_adj_mat_cat_rec.customer_credit_class :=okl_lease_app_pvt.get_credit_classfication(p_party_id => t_rec.prospect_id,p_cust_acct_id => t_rec.cust_acct_id,p_site_use_id => -99);-- Store the currency nowl_currency := t_rec.currency_code;END LOOP;END IF;l_adj_mat_cat_rec.deal_size := NULL; -- Dont know how to get these value !-- Know the type of the EOTFOR t_rec IN get_eot_type( p_lq_id => p_qte_id )LOOPl_eot_type_code := t_rec.eot_type_code;END LOOP;put_in_log(l_debug_enabled,is_debug_procedure_on,is_debug_statement_on,l_module, 'S','****Currency Code = ' || l_currency || '****EOT Type ' || l_eot_type_code);-----------------------------------------------------We are not getting to the last line in this snippet because this line is not present in the debug file.So it would seem we hit an issue somewhere in the above code.I also see that we have the mesage " begin debug OKLRPIUB.pls call price_standard_quote" in the debug file.But we do not have the ending message, found here just before the exception block:-----------------------------------------------------put_in_log(l_debug_enabled,is_debug_procedure_on,is_debug_statement_on,l_module, 'P','end debug OKLRPIUB.pls call get_so_hdr');EXCEPTIONWHEN OKL_API.G_EXCEPTION_ERROR THEN-----------------------------------------------------So we're definitely having a problem in this procedure, just like the error indicates.<br />Oracle Support - September 7, 2010 8:37:21 AM GMT+07:00 [Call - Inbound]Call - Inbound----------------------------Customer contact name (if not same as in SR header): Verify preferred method of contact: PHONE OR My Oracle Support customer portal MOSPhone#: ?084-38484608Email: thuntd_alc2@pythis.comComments for this update: customer, Thu has requestd a status update to this SRACTION PLAN--------------------contact enggThank you.HelenOracle Global Customer HUB<br />Oracle Support - September 7, 2010 8:33:35 AM GMT+07:00 [Call - Inbound]<br />THUNTD_ALC2@PYTHIS.COM - September 6, 2010 10:23:55 AM GMT+07:00 [Update from Customer]Hi,Please feedback. We cannot continue our working because of this issue.Regards,Thu<br />THUNTD_ALC2@PYTHIS.COM - September 4, 2010 9:02:35 AM GMT+07:00 [Update from Customer]Hi,Please give me solution soon. It lasts so long.Regards,Thu<br />Oracle Support - August 30, 2010 6:48:25 PM GMT+07:00 [ODM Data Collection]Name--------ODM Data CollectionFND Debug FileFileName----------------30aug2010_debug.xlsFileComment----------------------Debug messages from Module LEASE.ACCOUNTING.PRICING.OKL_PRICING_UTILS_PVT.PRICE_STANDARD_QUOTE:-------------------------------begin debug OKLRPIUB.pls call price_standard_quote!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!Pricing of LQ29!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Effective To of the LQ 26-AUG-2013end debug call price_standard_quote-------------------------------<br />Oracle Support - August 30, 2010 6:40:57 PM GMT+07:00 [Information]Generic Note------------------------Reviewing --Kenny<br />THUNTD_ALC2@PYTHIS.COM - August 30, 2010 9:14:23 AM GMT+07:00 [Update from Customer]Hi, The patch 9172279 had been applied before. I send the debug file so that you can give me the solution soon.Regards,Thu<br />THUNTD_ALC2@PYTHIS.COM - August 30, 2010 9:11:18 AM GMT+07:00 [Update from Customer]Uploaded Attachment 30aug2010_debug.xls in GTCR<br />THUNTD_ALC2@PYTHIS.COM - August 30, 2010 9:10:48 AM GMT+07:00 [Update from Customer]Uploaded Attachment Patch_9172279.JPG in GTCR<br />Oracle Support - August 27, 2010 9:34:31 PM GMT+07:00 [ODM Action Plan]=== ODM Action Plan ===Action Plan===========Thu,Can you please confirm whether Patch 9172279 OLFM CONSOLIDATED PATCH #1 ON R12.1.2 (JAN/2010) has been applied? If not, please have this patch applied. There is little use in testing, or trying to debug any issue, without this patch applied. If this issue persists after this patch is applied please complete the following to generate a debug file for this issue:Set the following Profile Options at your User Level:FND: Debug Log Enabled YesFND: Debug Log Level StatementFND: Debug Log Module %After setting these switch Responsibilities the appropriate responsibility and prepare to reproduce this issue. Complete all pre-requisite steps prior to the step to reproduce the error. This will make sure we limit the data in the debug file to data that is relevant to this issue.Just BEFORE you get to the point of reproducing this issue (clicking Validate and Price), run the following sql and note down the result. Please substitute your application user name in this sql before running it. This result will be used in the next sql statement.select max(m.log_sequence) from fnd_user u,fnd_log_messages mwhere u.user_name = upper('<application_user_name>')and u.user_id = m.user_idand timestamp > sysdate - 1;Reproduce the issue by clicking Validate and Price.Please complete the next step to get the debug message before taking any other actions in the applications with the current user. Run the following sql statement substituting the value returned from the first sql, as well as your application user name.select m.* from fnd_user u,fnd_log_messages mwhere u.user_name = upper('<application_user_name>')and u.user_id = m.user_idand m.log_sequence > :value_returned_by_previous_statement;Export the results of this sql to a spread sheet and please upload that spread sheet to the SR.Once this test is complete, please return to the FND Profile Options set earlier and revert those to their original values.Please upload the spread sheet with the sql results to the SR.Thanks,Kenny<br />THUNTD_ALC2@PYTHIS.COM - August 27, 2010 10:54:10 AM GMT+07:00 [Customer Problem Description]### Steps to Reproduce ###Lease Sales Super User > Sales > Lease OpportunityCreate Quotes Click Validation and Price, the error message " ORA-06503: PL/SQL: Function returned without value in Package OKL_PRICING_UTILS_PVT procedure price_standard_quote" ### Instance Name and Type of System ###development### Recent Changes ###nothing### Workaround ###nothing### Impact on Business ###nothing### Environment Information ###Yes, I am### Occurrence Frequency and Conditions ###Yes, it does### Functionality Expectations ###The solution for fixing it soon.### Form Name and Version Information ###http://app02.alc2.com:8000/OA_HTML/OA.jsp?page=/oracle/apps/okl/sales/quote/webui/SOQuoteDetailsPG&_ri=540&jttoijappn=OKL&SoLeaseOppId=49&SoQuoteId=6&SoExpStartDt=27-Aug-2010&okl_module=SO&okl_object=LO&OA_SubTabIdx=4&_ti=895804723&retainAM=Y&addBreadCrumb=S&oapc=27&oas=JPkd4X_2CVS8zZVwlUo3bw..Can you easily recover from, bypass or work around the problem?NoDoes your system or application continue normally after the problem occurs?NoAre the standard features of the system or application still available; is the loss of service minor?No<br />THUNTD_ALC2@PYTHIS.COM - August 27, 2010 10:54:09 AM GMT+07:00 [Customer Problem Description]Problem Description: ORA-06503: PL/SQL: Function returned without value in Package OKL_PRICING_UTILS_PVT Procedure price_standard_quote<br />THUNTD_ALC2@PYTHIS.COM - August 27, 2010 10:42:08 AM GMT+07:00 [Update from Customer]Uploaded Attachment 27AUG2010_printsceen.docx in GTCR<br />Copyright (c) 2007, 2010, Oracle. All rights reserved.<br />