Error RVTSH-189: Subroutine rvtshiline() returned error
Hi All,
I am new using OM, using R12
I am inserting record into rcv_headers_interface and rcv_transactions_interface and then running the Receiving Transaction Processor, i am getting the following error.
Error RVTSH-189: Subroutine rvtshiline() returned error
INSERT INTO rcv_transactions_interface
(interface_transaction_id,
header_interface_id,
processing_status_code,
transaction_date,
GROUP_ID,
last_update_date,
last_updated_by,
creation_date,
created_by,
transaction_type,
processing_mode_code,
transaction_status_code,
quantity,
to_organization_id,
source_document_code,
po_header_id,
po_line_id,
po_line_location_id,
po_distribution_id,
comments,
org_id
VALUES
(rcv_transactions_interface_s.NEXTVAL,
rcv_headers_interface_s.CURRVAL,
'PENDING',
SYSDATE,
rcv_interface_groups_s.CURRVAL,
SYSDATE,
-1,
SYSDATE,
-1,
'RECIEVE',
'BATCH',
'PENDING',
20,--quantity
83,
'VENDOR',
301,--po_header_id
321,--po_line_id
321,--po_line_location_id
301,--po_distribution_id
'TEST',
83);
update rcv_transactions_interface
set processing_mode_code = 'BATCH',
processing_status_code = 'PENDING',
processing_request_id = null,
transaction_status_code = 'PENDING',
transaction_type = 'RECEIVE',
source_document_code = 'INVENTORY',
destination_type_code = 'INVENTORY',
AUTO_TRANSACT_CODE = 'DELIVER',
RECEIPT_SOURCE_CODE = 'INVENTORY',
CHARGE_ACCOUNT_ID = 4037,
UNIT_OF_MEASURE = 'Each',
quantity =20
am i missing some column that needs to be entered or updated?
Any help on this would be appreciated.
Regards
Pl see if these MOS Docs can help
1080050.6 - GET ERRORS RVTSH-140 RVTSH-189 when run Receiving Transaction Processor
121907.1 - RVCTP: RVTSH-140 RVTSH-189 SUBROUTINE RVTSHILINE RETURNED ERROR
369258.1 - Receipts Failing with RVTS-189 for Receiving Open Interface Transaction
HTH
Srini
Similar Messages
-
RVTSH-189: Subroutine rvtshiline() returned error
HI everyone,
Iam trying to import reciept data from RCV_HEADERS_INTERFACE AND RCV_TRANSACTIONS_INTERFACE to base tables.
But when iam running the concurrent program receiving transaction processor, it is completing successfully. But in the PO_INTERFACE_ERRORS iam getting the below error.
RVTSH-189: Subroutine rvtshiline() returned error
Cause: Subroutine rvtshiline() returned an internal error.
Action: Note this error number and the actions you are trying to perform. Contact your system administrator for
Any help regarding above would be helpful to me.
PS:I have seen threads regarding this error but iam unable to find solution.HI sandeep..
My problem has been solved. During inserting into RCV_TRANSACTIONS_INTERFACE, I haven't inserted the VALIDATION_FLAG column. After inserting the column the base tables are populated.
Thank you
with regards
vijay
Edited by: vi**** on Sep 14, 2011 11:11 PM -
RVTBM-120: Subroutine rvtptcontrol() returned error
Getting this Error : RVTBM-120: Subroutine rvtptcontrol() returned error
Please find the log file:
Purchasing: Version : 11.5.0 - Development
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
RVCTP module: Receiving Transaction Processor
Current system time is 01-NOV-2010 17:20:04
Concurrent program RVCTP returned error
Cause: RVCTP encountered an internal error. Parameters: RVCTP,IMMEDIATE,203844,
Action: Note both this error number and the actions you are trying to perform. Contact your system ad
RVTBM-008: Subroutine rvtbm_immediate_mngr() returned error
Cause: Subroutine rvtbm_immediate_mngr() returned an internal error.
Action: Note this error number and the actions you are trying to perform. Contact your syste
RVTBM-120: Subroutine rvtptcontrol() returned error
Cause: Subroutine rvtptcontrol() returned an internal error.
Action: Note this error number and the actions you are trying to perform. Contact your system administrator
Concurrent Manager encountered an error while attempting to start your immediate concurrent program RVCTP. Routine &ROUTINE received a return code of failure.
Contact your support representative.
Current system time is 01-NOV-2010 17:20:06
Executing request completion options...
Output is not being printed because:
The print option has been disabled for this report.
Finished executing request completion options.
Please Suggest...Getting this Error : RVTBM-120: Subroutine rvtptcontrol() returned error
Please find the log file:
Purchasing: Version : 11.5.0 - Development
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
RVCTP module: Receiving Transaction Processor
Current system time is 01-NOV-2010 17:20:04
Concurrent program RVCTP returned error
Cause: RVCTP encountered an internal error. Parameters: RVCTP,IMMEDIATE,203844,
Action: Note both this error number and the actions you are trying to perform. Contact your system ad
RVTBM-008: Subroutine rvtbm_immediate_mngr() returned error
Cause: Subroutine rvtbm_immediate_mngr() returned an internal error.
Action: Note this error number and the actions you are trying to perform. Contact your syste
RVTBM-120: Subroutine rvtptcontrol() returned error
Cause: Subroutine rvtptcontrol() returned an internal error.
Action: Note this error number and the actions you are trying to perform. Contact your system administrator
Concurrent Manager encountered an error while attempting to start your immediate concurrent program RVCTP. Routine &ROUTINE received a return code of failure.
Contact your support representative.
Current system time is 01-NOV-2010 17:20:06
Executing request completion options...
Output is not being printed because:
The print option has been disabled for this report.
Finished executing request completion options.
Please Suggest... -
- RVTII-060: Subroutine inltpu() returned error - RVTII-060: Subroutine in
Hi,
I am getting " - RVTII-060: Subroutine inltpu() returned error - RVTII-060: Subroutine inltpu() returned error " error while processing receiving transaction.
Can you please help
SavitaSome receiving txn errors can be fixed by bouncing the Receiving Transaction processor and if that does not work, by bouncing the d/b.
-
Uln-yum-mirror [Errno 14] PYCURL ERROR 22 - The requested URL returned error: 416
Server is running Oracle Linux 6.5 and can receive updates from ULN without issue, I could easily upgrade the local servers version of Bash. The problem I am having is that the server is the local yum server however it is not downloading updates when I run /usr/bin/uln-yum-mirror I am receiving the errors below
[root@cr-svc-orayum1 yum]# cat /etc/oracle-release
Oracle Linux Server release 6.5
[root@cr-svc-orayum1 yum]# yum repolist
Loaded plugins: refresh-packagekit, rhnplugin, security
This system is receiving updates from ULN.
ol6_x86_64_UEKR3_latest/primary | 8.5 MB 00:21
ol6_x86_64_UEKR3_latest 234/234
ol6_x86_64_latest/primary | 41 MB 01:46
ol6_x86_64_latest 26159/26159
repo id repo name status
ol6_x86_64_UEKR3_latest Unbreakable Enterprise Kernel Release 3 for Oracle Linux 6 (x86_64) - Latest 234
ol6_x86_64_latest Oracle Linux 6 Latest (x86_64) 26,159
repolist: 26,393
[root@cr-svc-orayum1 yum]# yum clean all
Loaded plugins: refresh-packagekit, rhnplugin, security
Cleaning repos: ol5_x86_64_UEK_base ol5_x86_64_ksplice ol5_x86_64_latest ol6_x86_64_UEKR3_latest ol6_x86_64_latest
Cleaning up Everything
[root@cr-svc-orayum1 yum]#
[root@cr-svc-orayum1 yum]# /usr/bin/uln-yum-mirror
## BEGIN PROCESSING ol5_x86_64_ksplice ##
Channel Dir: /var/www/html/yum/OracleLinux/OL5/ksplice/x86_64
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from ULN.
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
Wrote: /var/www/html/yum/OracleLinux/OL5/ksplice/x86_64/repodata/updateinfo.xml.gz
type = updateinfo
location = repodata/updateinfo.xml.gz
checksum = bd8daef04c28ee5907c0482c5a55e5fdb2c56fae
timestamp = 1412066205.18
open-checksum = cd80d41782f6770822485ade46f1a8bf75cfa20b
Wrote: /var/www/html/yum/OracleLinux/OL5/ksplice/x86_64/repodata/repomd.xml
## END PROCESSING ol5_x86_64_ksplice ##
## BEGIN PROCESSING ol5_x86_64_latest ##
Channel Dir: /var/www/html/yum/OracleLinux/OL5/latest/x86_64
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from ULN.
Could not retrieve package alsa-lib-devel-1.0.17-1.el5.i386. Error was failed to retrieve getPackage/alsa-lib-devel-1.0.17-1.el5.i386.rpm from ol5_x86_64_latest
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Could not retrieve package alsa-lib-devel-1.0.17-1.el5.x86_64. Error was failed to retrieve getPackage/alsa-lib-devel-1.0.17-1.el5.x86_64.rpm from ol5_x86_64_latest
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Could not retrieve package alsa-utils-1.0.17-7.el5.x86_64. Error was failed to retrieve getPackage/alsa-utils-1.0.17-7.el5.x86_64.rpm from ol5_x86_64_latest
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Could not retrieve package 5:am-utils-6.1.5-9.el5_10.x86_64. Error was failed to retrieve getPackage/am-utils-6.1.5-9.el5_10.x86_64.rpm from ol5_x86_64_latest
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Could not retrieve package amanda-devel-2.5.0p2-9.el5.i386. Error was failed to retrieve getPackage/amanda-devel-2.5.0p2-9.el5.i386.rpm from ol5_x86_64_latest
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 416 Requested Range Not Satisfiable"
Could not retrieve package amanda-server-2.5.0p2-9.el5.x86_64. Error was failed to retrieve getPackage/amanda-server-2.5.0p2-9.el5.x86_64.rpm from ol5_x86_64_latestFirst, you need to upgrade to the latest version of uln-yum-mirror to avoid these errors in future. The latest version has mitigation tools to remove RPMs that fail GPG checking.
In this instance, you need to manually delete the RPMs that pyCURL can't download. Once you delete all the RPMs, the next run of uln-yum-mirror will download them fresh and recreate the yum metadata locally. -
Error - 21007 Search for table returned error - can't find data source??
I am using an Oracle thin driver through a BI JDBC system. The system connects fine when testing in my 2004s portal. It also worked fine in VC and I was able to browse tables and views in the Oracle db. Suddenly it has stopped working. When trying to search for a table in VC it returns the error message above.
The only thing I have changed is the "enable SQL editor" setting in Visual Admin which has been set to true. Changing this back to false has no effect, so I can't see that this should cause the problem.
HenningDear Henning,
Do you solve this case?.
Best regards, -
Failed software update returns error code 0x87D00668
We are using Secunia CSI to create and publish 3rd party software update packages to SCCM 2012. I have one client computer running Windows 7 Pro x64 that is having a problem with one update. When the user tries to install the Adobe Reader update
in Software Center it fails and returns the following error.
The software change returned error code 0x87D00668(-2016410008).
I haven't been able to find any information on this error code. I was just wondering if anyone else has encountered this error and might have any information on it??The item it's referring to in that error would seem to be the task that can't be found. No?
The issue that needs to be addressed is that the updates aren't needed - they are installed on the server. I've installed the updates manually, rebooted, Software Center should not even be reporting that the updates need to be installed. And back to
the second post above, "Software update still detected as actionable after being applied" seems to be saying that it DOES see that the patch is installed. The question is then, why is it still "actionable"?
Thanks
Why do you think that they are not needed? Have you force CM to scan again for SU? Are they show as being applied in CM12? What does the Windowsupdate.log say about that SU?
I don't think it is a task that can't be found based on that single line from the log file.
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ
I don't think the updates are needed because they are installed on the server. You will see in my above posts my reasoning for concluding that the updates are installed: "I have two security updates that are indeed installed (according to Windows Update,
the Windows Update log, and Add/remove programs), yet Software Center shows "failed" and with that exact same error of "Software update still detected as actionable after being applied".
Yes, I've forced multiple rescans (before and after reinstalling the client) over the course of a few days. Software Center still shows failed.
The Windows update log shows that it installed successfully. Here's one of lines in the log for one of the updates (in fact as far as the log goes back, 7-3, it's been saying this):
WindowsUpdate Success Content Install Installation Successful: Windows successfully installed the following update: Security Update for Microsoft .NET Framework 2.0 SP2 on Windows Server 2003 and Windows
XP x86 (KB2729450)
I think, again, we're back to the fact that is is installed but the issue is: "Software update still detected as actionable after being applied" seems to be saying that it DOES see that the patch is installed. The question is why is it still
"actionable"? The client sees that it's installed but ... why is it saying it's still "actionable"?
I realize that this issue might be a little tougher to track down since I couldn't find ANY other reference to it online.
Lastly, Config Manager shows "failed to install update" which is exactly what Software Center reports.
Thanks again, am happy to upload/copy/paste any logs you think would be helpful. -
Returning Errors from a webservice using XMLBeans
I have a webservice that accepts XML as input and output parameters, and I'm using XMLBeans to handle this. I'm trying to work out how I can return error information from the webservice, so I created an Exception.xsd schema and 'include' it in the output XML Schema, so an exception xml element is valid in the output schema. The problem is, the XMLBean class generated from the output XML schema has no methods that allow me to create an Exception element. Is there some other way of handling the return of exceptions from webservices using XML?
The answer is just throw a SoapFaultException and put the exception.xsd XMLBean in the FaultDetail section of the SoapFaultException.
-
Bug Report - DB toolkit returns error when calling the DefaultDatabase property with SQLite
There's an old bug in the DB toolkit where calling the DefaultDatabase property returns error -2147217887 if you're using certain DBs (such as SQLite or PostgreSQL and I believe MySQL as well).
The problem is that this property is called by a VI which is used in some of the commonly used VIs (such as the insert VI),
causing them to fail. Whoever wrote the code was aware of this issue,
since they added a comment about it, as you can see below.
The immediate fix for this is pretty easy - add code to ignore the error or don't call the property at all. It's not used anywhere in the toolkit and unless you're using the VI yourself to get the property, this won't break any code. The problem with this is that you need to do this in every PC.
NI already has a CAR for this (CAR 232063) and should hopefully fix it, so there's no need to take further action at the moment. This post is for people searching for this in the future.
Try to take over the world!Interesting. I have seen this before but it returned a different error code. (Error -2147352567)
=====================
LabVIEW 2012 -
After upgrading to Lion the bookmarks in Preview returns error message.
After upgrading to Lion the bookmarks in Preview returns error message : The File "****" couldn't be opened because you don't have permission to view it. To change the perimssion, select the item in finder and Choose File info. I have bookmarked plenty of files in Preview. How to overcome this error message???
Doesn't work Steve. I think it is an issue with Preview being sandboxed (check the sandbox column in Activity Monitor: Preview = Yes). Sandboxed apps restrict file access to those the user has explicitly selected. My theory is that this causes the unfortunate side effect of bookmarked or linked PDFs not working. A simple test: open a file with bookmarks, manually open the bookmarked file and then select the bookmark in the first file - it should open with no complaints about permissions (which leads to a weak workaround: open all the PDFs you intend to work with!).
-
SSRS expression returns #error value in some cells
Hello,
What do you think below expression sometimes return #error value in ssrs.
=SUM(Fields!X.Value / 100 * DateDiff(DateInterval.Day,Fields!s_date.Value,Fields!e_date.Value)) /
IIF( SUM(DateDiff(DateInterval.Day,Fields!s_date.Value,Fields!e_date.Value)) = 0
,nothing
,SUM(DateDiff(DateInterval.Day,Fields!s_date.Value,Fields!e_date.Value))Hi,
Use below expression to overcome the issue:
=
IIF( SUM(DateDiff(DateInterval.Day,Fields!s_date.Value,Fields!e_date.Value)) = 0
, 0
, SUM( Fields!X.Value / 100
* DateDiff(DateInterval.Day,Fields!s_date.Value,Fields!e_date.Value)
SUM(DateDiff(DateInterval.Day,Fields!s_date.Value,Fields!e_date.Value))
Thanks, Madhu
Hi madhu,
I have value for Month field as 0. I have used MonthName function in the report. So im getting error as #Error
Expression:
MONTHNAME(Fields!Month.Value)& " "& Fields!Day.Value &" "& Fields!Year.Value
Please help me to resolve the issue.
Thanks in Advance..
Regards,
LuckyAbdul -
Package Returning Error ORA-06502: PL/SQL: numeric or value error
Hi,
I create a package to export to spread sheet .xls, The package work for simple query if i pass the query to package.
There is no error in package please create the package and do the following as mentioned below
create or replace
PACKAGE export_pkg_spread_sheet
AS
procedure download_excel(vsql in clob );
PROCEDURE excel_header(p_header in out nocopy clob);
procedure excel_content(p_content in out nocopy clob,
vsql in clob );
procedure excel_footer(p_footer in out nocopy clob);
procedure get_usable_sql (p_sql_in IN clob,
p_sql_out OUT clob);
END export_pkg_spread_sheet;
create or replace
PACKAGE body export_pkg_spread_sheet
AS
PROCEDURE excel_header (p_header IN OUT nocopy CLOB)
AS
BEGIN
p_header := '<html><body>';
END;
procedure download_excel( vsql in clob )
as
p_header clob;
p_footer clob;
p_content clob;
begin
owa_util.mime_header( 'application/octet', FALSE );
htp.p('Content-Disposition: attachment; filename="report.xls"');
owa_util.http_header_close;
excel_header( p_header);
excel_content(p_content,vsql);
excel_footer(p_footer);
dbms_output.put_line(p_header ||p_content|| p_footer);
HTP.PRN( p_header ||p_content|| p_footer);
htmldb_application.g_unrecoverable_error := true;
end;
procedure excel_content(p_content in out nocopy clob,
vsql in clob)
as
p_sql_stmt clob;
cur PLS_INTEGER := DBMS_SQL.OPEN_CURSOR;
cols DBMS_SQL.DESC_TAB;
ncols PLS_INTEGER;
TYPE varColumn IS TABLE OF varchar2(32000);
vtab varColumn;
v_column_count NUMBER DEFAULT 0;
v_status INTEGER;
BEGIN
htp.prn('am here');
/* SELECT region_source into p_sql_stmt
FROM apex_application_page_regions
WHERE region_id = p_region_id AND
page_id = p_page_id AND
application_id = p_app_id; */
get_usable_sql (vsql,p_sql_stmt);
p_content := p_sql_stmt;
-- Parse the query.
DBMS_SQL.PARSE(cur, p_sql_stmt , DBMS_SQL.NATIVE);
-- Retrieve column information
DBMS_SQL.DESCRIBE_COLUMNS (cur, ncols, cols);
-- Display each of the column names
p_content := '<table> <tr>';
FOR colind IN 1 .. ncols
LOOP
p_content := p_content || '<td>' || cols(colind).col_name || '</td>';
END LOOP;
p_content := p_content || '</tr>';
vtab := varColumn(null);
for i in 1..ncols
loop
vtab.extend;
DBMS_SQL.DEFINE_COLUMN (cur, i, vtab(i), 2000);
--dbms_output.put_line(vtab(i));
end loop;
v_status := DBMS_SQL.EXECUTE (cur);
LOOP
p_content := p_content || '<tr>';
EXIT WHEN (DBMS_SQL.FETCH_ROWS (cur) <= 0);
FOR i IN 1 ..ncols
loop
DBMS_SQL.COLUMN_VALUE (cur, i, vtab(i));
-- p_content := p_content || '<td>' || 'xyz' || '</td>';
p_content := p_content || '<td>' || vtab(i) || '</td>';
END LOOP;
p_content := p_content || '</tr>' ;
END LOOP;
p_content := p_content || '<table>' ;
DBMS_SQL.CLOSE_CURSOR (cur);
exception
when others then
p_content := '<td>Exception Error in printing data</td><table>' ;
DBMS_SQL.CLOSE_CURSOR (cur);
end;
procedure excel_footer( p_footer in out nocopy clob)
as
begin
p_footer := '</body></html>';
end;
PROCEDURE get_usable_sql (p_sql_in IN clob, p_sql_out OUT clob)
IS
v_sql clob;
v_names DBMS_SQL.varchar2_table;
v_pos NUMBER;
v_length NUMBER;
v_exit NUMBER;
BEGIN
v_sql := p_sql_in;
v_names := wwv_flow_utilities.get_binds (v_sql);
FOR i IN 1 .. v_names.COUNT
LOOP
<<do_it_again>>
v_pos := INSTR (LOWER (v_sql), LOWER (v_names (i)));
v_length := LENGTH (LOWER (v_names (i)));
v_sql :=
SUBSTR (v_sql, 1, v_pos - 1)
|| v_names (i)
|| SUBSTR (v_sql, v_pos + v_length);
v_sql :=
REPLACE (v_sql,
UPPER (v_names (i)),
'(SELECT v('''
|| LTRIM (v_names (i), ':')
|| ''') FROM DUAL)'
IF INSTR (LOWER (v_sql), LOWER (v_names (i))) > 0
THEN
GOTO do_it_again;
END IF;
END LOOP;
p_sql_out := v_sql;
END;
END export_pkg_spread_sheet;
After creating the package pass the parameter to package like this
begin
export_pkg_spread_sheet.download_excel('select * from emp');
end;
Package will allow to download the spread shreet. If i try to pass the a complex query to package it is returning error as mentioned below
ORA-06502: PL/SQL: numeric or value error
In the above package there is a procedure called procedure excel_content which actuall prints the data in the spread sheet this is where the error is coming from there is a variable called vsql have declared it as clob to hold large string but still i am getting the same error when trying to pass a big string.
Please check the error and let me know.
Thanks
SudhirHi Praveen,
This is the query i am using to pass
Declare
qry clob;
Begin
qry := ' 'SELECT
AR.REGION_CODE,
AR.DISTRICT_CODE,
AR.TERRITORY_CODE,
CASE
WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NULL AND AR.TERRITORY_NAME IS NULL THEN
AR.REGION_NAME
WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NOT NULL AND AR.TERRITORY_NAME IS NULL THEN
AR.DISTRICT_NAME
WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NOT NULL AND AR.TERRITORY_NAME IS NOT NULL THEN
AR.TERRITORY_NAME
END TERR_NAME,
AR.EMPLOYEE_ID,
AR.LAST_NAME,
AR.FIRST_NAME,
AR.GENDER,
AR.DATE_OF_HIRE,
AR.PROJECT_EMPLOYEE_TITLE_ID,
AR.COMPANY_ID,
AR.CUSTOMER_EMAIL,
AR.BUSINESS_EMAIL,
AR.CUSTOMER_VOICEMAIL,
AR.CUSTOMER_VOICEMAIL_EXT,
AR.QUINTILES_VOICEMAIL,
AR.QUINTILES_VOICEMAIL_EXT , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ZipCode" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ZipCode" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ZipCode" FROM AR_V_ROSTER AR
LEFT JOIN AR_V_ADDRESS_HISTORY AAH
ON
(AR.PROJECT_ID = AAH.PROJECT_ID AND
AR.EMPLOYEE_ID = AAH.EMPLOYEE_ID)
WHERE
UPPER(AR.USER_EMPLOYEE_ID) = ''Q766730'' AND
AR.PROJECT_ID = 81 ';
export_pkg_spread_sheet.download_excel(qry);
End;
Praveen you can pass your DB table query to check the error. I am trying to pass as mentioned above.
Please let me know if my question is not clear.
Thanks
Sudhir -
Pacman : returning error 16 from alpm_db_update
Recently, yaourt behave oddly on my homeserver, outputting some truncated errors messages as if they were answers from a regex search. Long story short, I tried to fix the problem but did not yet succeeded, so maybe someone here will help me.
What I tried :
Use pacman instead of yaourt -> gave me a full error message "opening /var/lib/pacman/sync/core/dhcpcd-5.1.3-1/depends failed : No file or directory" . I am not sure the problem is package-related since I uninstalled and reinstalled it.
Moreover when I tried pacman with -Scc and -Syy I had an error message about the core database. Then, with -Syu and --debug option, I had this:
:: Synchronizing packages data...
debug: failed to get lastupdate time for core
debug: using 'core.db.tar.gz' for download progress
debug: HTTP_PROXY: (null)
debug: http_proxy: (null)
debug: FTP_PROXY: (null)
debug: ftp_proxy: (null)
debug: connected to distrib-coffee.ipsl.jussieu.fr successfully
downloading de core.db.tar.gz...
Error: deleting core database failed
debug: returning error 16 from alpm_db_update : removing entry from database failed
Error: updating core failed (removing entry from database failed)
Any idea ? Thanx in advanceHave you already tried a different mirror?
-
ATZ returning ERROR (N95 8GB)
I'm connecting to my N95 8GB via Bluetooth from a laptop running Ubuntu Linux. I had it working fine, but for the last few days whenever I dial out, it seems that the 'ATZ' command in the chat script is returning 'ERROR' instead of 'OK'.
I just can't see any reason for it. I've disabled/re-enabled Bluetooth on both sides, rebooted the phone, rebooted the laptop, turned any connectivity-related services off/on on the phone, but still no joy.
Does anyone have any suggestions as to why 'ATZ' might return 'ERROR' on an N95?
Thanks.
RossOK, ignore that. Thinking a little clearer this morning and it looks like I had inadvertently broke my /etc/bluetooth/rfcomm.conf file at some point. I had the 'rfcomm0' port bound to Channel 1 (Hands-free Audio Gateway), instead of Channel 4 (Dial-up Networking).
Not sure how/when I broke that, but the fact that it was returning 'OK' to my 'AT' commands had me convinced I was still talking to the modem service!
Sorry for the noise,
Ross -
Function returning error text validation
Hi,
I have a page where i can insert/update user, organisation, responsible.
Organisation can be nullable.
Only one user at a time can be responsible for a organisation.
To check this responsible validation i made a function returning error text validation as follow:
BEGIN
FOR c IN (SELECT usr_spa
FROM kpi_users
WHERE usr_org_id = :p22_usr_org_id
LOOP
IF upper(:p22_usr_spa) = upper('YES') and upper(c.usr_spa) = upper('YES')
THEN
RETURN 'A user is already responsible for this organisation'||'!';
END IF;
END LOOP;
END;
The validation works fine.
But it goes wrong when i want to insert a new user, without assigning him to an organisation.
I get following message:
ORA-01722: invalid number
ERR-1024 Unable to run "function body returning text" validation.
Can someone please help me solve this problem?
ThanksHi,
try:
BEGIN
FOR c IN (SELECT usr_spa
FROM kpi_users
WHERE usr_org_id = nvl(:p22_usr_org_id,-1)
LOOP
IF upper(:p22_usr_spa) = upper('YES') and upper(c.usr_spa) = upper('YES')
THEN
RETURN 'A user is already responsible for this organisation'||'!';
END IF;
END LOOP;
END;This assumes that :p22_usr_org_id could be null and converts this to -1 (pick another default value if this may exist as an id). It is possible that the statement would otherwise be seen as WHERE usr_org_id = null which is invalid.
or you could do:
BEGIN
IF :p22_usr_org_id IS NOT NULL THEN
FOR c IN (SELECT usr_spa
FROM kpi_users
WHERE usr_org_id = :p22_usr_org_id
LOOP
IF upper(:p22_usr_spa) = upper('YES') and upper(c.usr_spa) = upper('YES')
THEN
RETURN 'A user is already responsible for this organisation'||'!';
END IF;
END LOOP;
END IF;
END;As this would stop the validation running if the :p22_usr_org_id is null.
Or, you could just make your validation conditional on p22_usr_org_id not being null?
Andy
Maybe you are looking for
-
hi while posting po using miro this error comming: price too high( tol limit exceed 0.00 usd ) could you tell me where i have maintaned tol limt>> regards ss
-
Query Analyzer - issue in variables
Hello, In query analyzer, I have a requirement for 3 keyfigures. 1 -> Current Month budget 2 -> Next Month budget 3 -> Cummulated Yr to Month budget for eg. I fI am in month 02.2006 column 1-> budget for 02.2006 column 2-> budget for 03.2006 column 3
-
Online filing of CIS Monthly Returns (CIS300)
A problem with the Generic Withholding Tax Report transaction S_P00_07000134, program RFIDYYWT. The 2007 online filing of CIS monthly returns (CIS300) has been set up and is working, but when running the report an additional parameters pop up window
-
I've created a site on iWeb which post to an ftp address. I made some changes, the pages show up red (to show changes have been made), and the Publish Site arrow at the bottom become accessible. However, when I go ahead and Publish nothing gets updat
-
Corrupt File. Need help from iPod genius--please!
I keep getting these messages when I try to transfer songs from my computer to my iPod mini: The file or directory \iPod_Control\iTunes\Temp File 1 is corrupt and unreadable. Please run the Chkdsk utility. Windows was unable to save all the date for