Error with decimal value using DG4MSQL
Hello,
when i make an update on a numeric column [numeric(38,15)] of a database table residing on a MS-SQL-Server 2005 it works fine when the value has no decimal part:
declare
v_test1 number := 1;
begin
update CUSTOMER@DBL_MSSQL4 set "freenumber1" = v_test1;
commit;
end;
/But if i use a value with a decimal part it gets an error
declare
v_test1 number := 1.2;
begin
update CUSTOMER@DBL_MSSQL4 set "freenumber1" = v_test1;
commit;
end;
/Error message:
ORA-28500: Verbindung von ORACLE zu Fremdsystem gab diese Nachricht zurück:
[Oracle][ODBC SQL Server Driver]Ungültiger Zeichenwert für Konvertierungsangabe
ORA-02063: vorherige 2 lines von DBL_MSSQL4
ORA-06512: in Zeile 7And here is the trace:
Oracle Corporation --- MONTAG MRZ 08 2010 15:20:14.940
Heterogeneous Agent Release
11.1.0.6.0
Oracle Corporation --- MONTAG MRZ 08 2010 15:20:14.940
Version 11.1.0.6.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
HOSGIP returned value of "RECOVER" for HS_FDS_RECOVERY_ACCOUNT
HOSGIP returned a value for HS_FDS_RECOVERY_PWD
setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL16UTF16"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "FALSE"
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "DG4MSQL"
Product-Info:
Port Rls/Upd:6/0 PrdStat:0
Agent:Oracle Database Gateway for MSSQL
Facility:hsa
Class:MSSQL, ClassVsn:11.1.0.6.0_0006, Instance:DG4MSQL
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=2000
HOCXU_DB_CSET=178
HOCXU_SEM_VER=102000
Entered hgolofn at 2010/03/08-15:20:14
RC=-1 from HOSGIP for "PATH"
PATH from environment is "D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\IBM\Informix\Client-SDK\bin;C:\Programme\Microsoft SQL Server\90\Tools\binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0"
Exiting hgolofn, rc=0 at 2010/03/08-15:20:14
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
Exiting hgoinit, rc=0 at 2010/03/08-15:20:14
Entered hgolgon at 2010/03/08-15:20:14
reco:0, name:testuju, tflag:0
Entered hgosuec at 2010/03/08-15:20:14
uencoding=UTF16
Entered shgosuec at 2010/03/08-15:20:14
Exiting shgosuec, rc=0 at 2010/03/08-15:20:14
shgosuec() returned rc=0
Exiting hgosuec, rc=0 at 2010/03/08-15:20:14
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using testuju as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/03/08-15:20:14
HS_FDS_CONNECT_INFO = "OBELIXUS//testuju"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/03/08-15:20:14
dsn:OBELIXUS//testuju, name:testuju
optn:
Entered shgogohn at 2010/03/08-15:20:14
ohn is 'OraGtw11g_home1'
Exiting shgogohn, rc=0 at 2010/03/08-15:20:14
Entered hgocont_OracleCsidToIANA at 2010/03/08-15:20:14
Returning 2252
Exiting hgocont_OracleCsidToIANA at 2010/03/08-15:20:15
##>Connect Parameters (len=211)<##
## DRIVER=Oracle 11g dg4msql-OraGtw11g_home1;
## SERVER=OBELIXUS;
## Database=testuju;
#! UID=testuju;
#! PWD=*
## AnsiNPW=Yes;
## QuotedId=Yes;
## IANAAppCodePage=2252;
## ArraySize=100;
## PadVarbinary=0;
## SupportNumericPrecisionGreaterThan38=1;
Exiting hgogenconstr, rc=0 at 2010/03/08-15:20:15
DriverName:HGmsss22.dll, DriverVer:05.20.0053 (b0041, u0024)
DBMS Name:Microsoft SQL Server, DBMS Version:09.00.3068
Exiting hgocont, rc=0 at 2010/03/08-15:20:15
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 128 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2010/03/08-15:20:15
Entered hgoulcp at 2010/03/08-15:20:15
Entered hgowlst at 2010/03/08-15:20:15
Exiting hgowlst, rc=1 at 2010/03/08-15:20:15
SQLGetInfo returns Y for SQL_PROCEDURES
Exiting hgoulcp, rc=0 at 2010/03/08-15:20:15
Entered hgouldt at 2010/03/08-15:20:15
Exiting hgouldt, rc=0 at 2010/03/08-15:20:15
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber1
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber2
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber3
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber4
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber5
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber6
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber7
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber8
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber9
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber10
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber11
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber12
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber13
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber14
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber15
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber16
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber17
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber18
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber19
3 DECIMAL Y 41 41 38/ 15 0 0 0 freenumber20
91 DATE Y 16 16 0/ 0 0 0 0 freedate1
91 DATE Y 16 16 0/ 0 0 0 0 freedate2
91 DATE Y 16 16 0/ 0 0 0 0 freedate3
91 DATE Y 16 16 0/ 0 0 0 0 freedate4
91 DATE Y 16 16 0/ 0 0 0 0 freedate5
91 DATE Y 16 16 0/ 0 0 0 0 freedate6
91 DATE Y 16 16 0/ 0 0 0 0 freedate7
91 DATE Y 16 16 0/ 0 0 0 0 freedate8
91 DATE Y 16 16 0/ 0 0 0 0 freedate9
91 DATE Y 16 16 0/ 0 0 0 0 freedate10
91 DATE Y 16 16 0/ 0 0 0 0 freedate11
91 DATE Y 16 16 0/ 0 0 0 0 freedate12
91 DATE Y 16 16 0/ 0 0 0 0 freedate13
91 DATE Y 16 16 0/ 0 0 0 0 freedate14
91 DATE Y 16 16 0/ 0 0 0 0 freedate15
91 DATE Y 16 16 0/ 0 0 0 0 freedate16
91 DATE Y 16 16 0/ 0 0 0 0 freedate17
91 DATE Y 16 16 0/ 0 0 0 0 freedate18
91 DATE Y 16 16 0/ 0 0 0 0 freedate19
91 DATE Y 16 16 0/ 0 0 0 0 freedate20
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean1
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean2
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean3
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean4
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean5
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean6
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean7
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean8
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean9
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean10
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean11
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean12
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean13
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean14
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean15
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean16
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean17
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean18
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean19
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean20
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean21
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean22
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean23
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean24
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean25
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean26
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean27
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean28
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean29
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean30
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean31
3 DECIMAL Y 3 3 1/ 0 0 0 0 freeboolean32
12 VARCHAR Y 50 50 0/ 0 0 0 0 custtypekey
-4 LONGVARBINARY Y 0 0 0/ 0 0 0 20 logo
3 DECIMAL Y 3 3 1/ 0 0 0 0 Active
91 DATE N 16 16 0/ 0 0 0 0 CreateDate
12 VARCHAR Y 50 50 0/ 0 0 0 0 CreateUser
91 DATE N 16 16 0/ 0 0 0 0 UpdateDate
12 VARCHAR Y 50 50 0/ 0 0 0 0 UpdateUser
12 VARCHAR Y 50 50 0/ 0 0 0 0 Status
12 VARCHAR Y 50 50 0/ 0 0 0 0 WFInstanceId
12 VARCHAR Y 50 50 0/ 0 0 0 0 RightPk
3 DECIMAL Y 12 12 10/ 0 0 0 0 ClientNo
3 DECIMAL Y 3 3 1/ 0 0 0 0 MassData
3 DECIMAL Y 3 3 1/ 0 0 0 0 OfflineData
12 VARCHAR Y 50 50 0/ 0 0 0 0 PersonPk
Exiting hgodscr, rc=0 at 2010/03/08-15:20:16
Entered hgotcis at 2010/03/08-15:20:16
Calling SQLStatistics for CUSTOMER
Calling SQLColumns for testuju.CUSTOMER
Exiting hgotcis, rc=0 at 2010/03/08-15:20:16
Entered hgoclse, cursor id 1 at 2010/03/08-15:20:16
Exiting hgoclse, rc=0 at 2010/03/08-15:20:16
Entered hgodafr, cursor id 1 at 2010/03/08-15:20:16
Exiting hgodafr, rc=0 at 2010/03/08-15:20:16
Entered hgopars, cursor id 1 at 2010/03/08-15:20:16
type:0
SQL text from hgopars, id=1, len=39 ...
00: 41445055 22204554 54535543 52454D4F [UPDATE "CUSTOMER]
10: 45532022 66222054 6E656572 65626D75 [" SET "freenumbe]
20: 20223172 3D203F [r1" = ?]
Exiting hgopars, rc=0 at 2010/03/08-15:20:16
Entered hgoexec, cursor id 1 at 2010/03/08-15:20:16
octype=2
hgoexec, line 91: Printing hoada @ 02175BCC
MAX:1, ACTUAL:1, BRC:1, WHT=3
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
3 DECIMAL N 65 0 0/ 0 0 0 0 ?
Entered hgoprbv at 2010/03/08-15:20:16
hgoprbv, line 119: Printing hoada @ 02175BCC
MAX:1, ACTUAL:1, BRC:1, WHT=3
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
3 DECIMAL N 65 0 0/ 0 0 0 0 ?
Exiting hgoprbv, rc=0 at 2010/03/08-15:20:16
Entered hgopoer at 2010/03/08-15:20:16
hgopoer, line 159: got native error 0 and sqlstate 22018; message follows...
[Oracle][ODBC SQL Server Driver]Ungültiger Zeichenwert für Konvertierungsangabe
Exiting hgopoer, rc=0 at 2010/03/08-15:20:16
hgoexec, line 216: calling SQLExecute got sqlstate 22018
nrows:0
Exiting hgoexec, rc=28500 at 2010/03/08-15:20:16 with error ptr FILE:hgoexec.c LINE:216 ID:Executing SQL stmt
Entered hgocomm at 2010/03/08-15:24:22
keepinfo:0, tflag:1
00: 44555248 45522E42 53455247 44522E53 [HRUDB.REGRESS.RD]
10: 2E534D42 2E564544 4F2E5355 4C434152 [BMS.DEV.US.ORACL]
20: 4F432E45 65312E4D 33366465 322E6631 [E.COM.1eed631f.2]
30: 2E34332E 38363832 31 [.34.28681]
tbid (len 10) is ...
0: 00220002 00007009 0104 [.."..p....]
cmt(0):
Entered hgocpctx at 2010/03/08-15:24:22
Exiting hgocpctx, rc=0 at 2010/03/08-15:24:22
Exiting hgocomm, rc=0 at 2010/03/08-15:24:22
Entered hgolgof at 2010/03/08-15:24:22
tflag:1
Exiting hgolgof, rc=0 at 2010/03/08-15:24:22
Entered hgoexit at 2010/03/08-15:24:22
Exiting hgoexit, rc=0 at 2010/03/08-15:24:22The init file for the DG4MSQL look like this:
HS_FDS_CONNECT_INFO=OBELIXUS//testuju
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVERAny ideas what i have to change to be able to update numeric columns with values containing a deciomal part using DG4MSQL?
Many thanks in advance for any help.
Regards Hartmut
Hello Mike,
here the results of the given select statements:
select * from NLS_DATABASE_PARAMETERS;
NLS_LANGUAGE AMERICAN
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET WE8MSWIN1252
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_RDBMS_VERSION 10.2.0.4.0select * from NLS_INSTANCE_PARAMETERS ;
NLS_LANGUAGE GERMAN
NLS_TERRITORY GERMANY
NLS_SORT
NLS_DATE_LANGUAGE
NLS_DATE_FORMAT
NLS_CURRENCY
NLS_NUMERIC_CHARACTERS
NLS_ISO_CURRENCY
NLS_CALENDAR
NLS_TIME_FORMAT
NLS_TIMESTAMP_FORMAT
NLS_TIME_TZ_FORMAT
NLS_TIMESTAMP_TZ_FORMAT
NLS_DUAL_CURRENCY
NLS_COMP
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSEselect * from NLS_SESSION_PARAMETERS ;
NLS_LANGUAGE GERMAN
NLS_TERRITORY GERMANY
NLS_CURRENCY €
NLS_ISO_CURRENCY GERMANY
NLS_NUMERIC_CHARACTERS ,.
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT MM/DD/YYYY HH24:MI:SS
NLS_DATE_LANGUAGE GERMAN
NLS_SORT GERMAN
NLS_TIME_FORMAT HH24:MI:SSXFF
NLS_TIMESTAMP_FORMAT DD.MM.RR HH24:MI:SSXFF
NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR
NLS_TIMESTAMP_TZ_FORMAT DD.MM.RR HH24:MI:SSXFF TZR
NLS_DUAL_CURRENCY €
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSEThat was easy, but how and where to read the settings of the MS-SQL-Server?
All i can find is
Sprache Deutsch (Deutschland)
Standardsprache EnglischI have defined one more parameter in the ini<...>.ora file:
HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252and now it works!
(With "HS_LANGUAGE=GERMAN_GERMANY.WE8MSWIN1252" is gives the same old error.)
Many thanks for your help!
Reagrds Hartmut
Similar Messages
-
Problem with decimal fields using BADI For PD Infotypes
Hi,
I'm implementing BADI HRBAS00INFTY.
For reading the fields of infotype , I'm using the substring
of the field NEW_INNNN-VDATA .
I have a problem with fields of type DEC.
In field NEW_INNNN-VDATA it looks like this : '####'
I believe that the possible reason for this is conversion from DEC to CHAR
But I don't know how to fix it.
Thank you .
Message was edited by: Alon LozinskyHi Alon,
We had same issue. Use following code.
data: hri1011_str type hri1011.
move new_innnn-vdata to hri1011_str.
HRI1011_STR fields will have decimal values.
Let me know if you still have any issues. If solution works, kindly do Point Recognition.
-Bharat -
Hi,
I can't find the answer to my problem :
I'm on Indesign CS4 (french) and Windows XP. Constantly, without no (obvious) reason, the fields x, y, height and width (top left) suddenly doesn't take decimal values anymore.
It drives me crazy!
I work for a printer, I daily use Indesign so it's important.
Apparently, the problem disappear when i restart the soft.
I tried with point and decimal point,
I tried to change one number when the value is already a decimal,
I checked my keyboard (AZERTY),
but nothing at all….
Each time, the soft display "Valeur numerique incorrect" (Incorrect numeric value).
Did someone already had this problem ? An even more important, does anyone have a solution?
Hope you can help.
THXAre you using the correct separator for the decimal (comma vs dot -- not sure which would be right for you), and are the files all French in origin (not sure tht matters).
Check the Language settings in Windows under regional settings, and diable the keyboard shortcut to switch languages if you have multiple languages installed. That screws things up all the time becasue the OS interprests one of the common ID shorcuts as a call to switch languages.
You might also want to trash your prefs. See Replace Your Preferences -
Write all digitall ports (Channels) with decimal value
Hi,
it is possible to write all digital port with a decimal value for a device with 96 channels in the same time?
I have a USB 6509 device and I want to write each bit whit value 1 in loop (for the first port I write 0,1,2,4,8,16, 32, 64 and 128) with line "Dev3/port0/line0:7", but if I want to write all the ports in the same time how to set the line and the "DAQmx write.vi"?
Thank you.
Solved!
Go to Solution.
Attachments:
Untitled 1.vi 13 KBYou can setup reading and writing in 8-bit ports with the 6509. So you could just write 128 to "Dev3/port0". If you want to write to all 12 ports, I recommend making a task that is multiple channels on the 6509 module, each channel in the task being a port. You can then use the Multiple Channel, Single Sample to write your values. Your values will need to be in an array of U8.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Purchase order with decimal values in held status.
Hello, i have a SC. The quantity is decimal for the line item.When it was approved, the PO got a 'held' status.How do i release the PO and what can i do in order to accept decimal values in my SC ?
Hello,
Are you sure this is not a workflow issue? If it is held, someone either placed it in hold status or something like that. Since, there was nothing to suspect an application error, I don't think the decimals is your issue. If you feel that it is, have you checked OSS.
More information would be helpful....
Regards, Dean. -
Hi
I need to store a very long decimal value. something like
0.123456789012 in to the SQL data base.
However after doing some calculations , my value is trim to
0.12345
float value = v1 v2v3;
v1 is long and v2 is a float and v3 is in double.
anyone noes y? I need the value to be in full lenght (as in all the numbers after the decimal point).
many thanks !
yanbut my SQL database is designed to store float
value.
I haf no control of the SQL database..Don't assume that float in the SQL database is the same as float in Java code.
SQL-Server 2000's float is the same as a Java double. Depending on the RDBMS you are using, the same words may have a different meaning between the RDBMS and Java -
SetProperty giving error with boolean values
I created a boolean property in the property sets. When I try to change the
value using setProperty, I keep getting the following error.
\_full_disclaimer.java:134: cannot resolve symbol
symbol : method setValue (boolean)
location: class com.beasys.commerce.user.jsp.tags.SetPropertyTag
umsetProperty0.setValue(trueValue);
ile://[ /portals/repository/full_disclaimer.jsp; Line: 19]
^
1 error
JSP Code snippit:
<%
// Check for submit parameter
String strSubmit = request.getParameter("submit"); if (strSubmit==null)
strSubmit="";
if (strSubmit.equalsIgnoreCase("Accept")) {
boolean trueValue = true;
%>
<um:setProperty propertyName="legaldisclaimer"
propertySet="<%=portalName%>" value="<%=trueValue%>" />
<jsp:forward page="<%=createURL(request, "portal.jsp", null)%>"/>
<%
%>
Any ideas why this is happening, and more importantly, what do I need to do
so I get the desired results????
Thanks,
Ken Lee
[email protected]Ken,
Use a Boolean Object instance.
Sincerely,
Daniel Selman
"Kenneth Lee" <[email protected]> wrote in message
news:[email protected]..
I created a boolean property in the property sets. When I try to changethe
value using setProperty, I keep getting the following error.
\_full_disclaimer.java:134: cannot resolve symbol
symbol : method setValue (boolean)
location: class com.beasys.commerce.user.jsp.tags.SetPropertyTag
umsetProperty0.setValue(trueValue);
ile://[ /portals/repository/full_disclaimer.jsp; Line: 19]
^
1 error
JSP Code snippit:
<%
// Check for submit parameter
String strSubmit = request.getParameter("submit"); if (strSubmit==null)
strSubmit="";
if (strSubmit.equalsIgnoreCase("Accept")) {
boolean trueValue = true;
%>
<um:setProperty propertyName="legaldisclaimer"
propertySet="<%=portalName%>" value="<%=trueValue%>" />
<jsp:forward page="<%=createURL(request, "portal.jsp", null)%>"/>
<%
%>
Any ideas why this is happening, and more importantly, what do I need todo
so I get the desired results????
Thanks,
Ken Lee
[email protected] -
Compiler Error with simple vi using MatLab script nodes
While attempting to build a simple vi to test the capabilities of LabView's interface with MatLab, I received a compiler error message that said I should report the problem to National Instruments Tech Support. The error said, "reference to undefined label from: refPC=0x41C." I've attached the vi that created the error. I am using LabView 7.0 on a PC running Windows 98.
Attachments:
Compliererror.vi 11 KBI don't know if this will help your problem, but there is a fix for some problems with LabVIEW 7.0 and Matlab:
http://digital.ni.com/public.nsf/websearch/4475BC3CEB062C9586256D750058F14B?OpenDocument
Good luck,
-Jim -
Error with Links if using x3 primary keys
Hi Folks:
Here is the error code I'm receiving:
ORA-01422: exact fetch returns more than requested number of rows
Unable to fetch row.
Background: I am using Application Express 3.2
All of the pages I have created that rely on x2 primary keys (first_name, last_name) work fine.
I have a table that has x3 primary keys: Table is called "time_off_awards". The x3 primary keys are: last_name, first_name, approval_date.
I created a report that works properly and lists the awards for each person (each person can receive more than one award-on different dates).
I also created an edit link that works properly IF *(only if)* each individual has only one award. If the individual has more than one award then I get the error above. When I set up the link I used all three keys. The x3 PK's should uniquely identify each row, but if the same last name/first name appear more than once (that is if the person has more than one award) I get the error. I thought at first maybe it was just not reading the 3rd key/part of the link (approval_date), but it shows properly if you move your cursor over the edit link.
Here is a link to a screen pic of how I have my link set in Apex:
[http://www.wczone.com/link_settings.gif]
Here is a link to a pic of the report with some info:
[http://www.wczone.com/report_link.gif]
If needed, here is my table info:
CREATE TABLE PERSONNEL.TIME_OFF_AWARDS (
LAST_NAME VARCHAR2(40) NOT NULL,
FIRST_NAME VARCHAR2(25) NOT NULL,
APPROVAL_DATE DATE NOT NULL,
HOURS_OFF NUMBER(3),
CITATION VARCHAR2(1500),
/* Keys */
PRIMARY KEY (LAST_NAME, FIRST_NAME, APPROVAL_DATE),
/* Foreign keys */
CONSTRAINT TOA_PERSONNEL
FOREIGN KEY (LAST_NAME, FIRST_NAME)
REFERENCES PERSONNEL.MARC_PERSONNEL(LAST_NAME, FIRST_NAME)
TABLESPACE PERSONNEL;
Thanks for any help, I've tried looking at a couple of Apex books, but they didn't help much.
Matt
Edited by: user10495310 on Mar 4, 2009 8:21 AMThank you everyone for the help and information you gave to me.
Your ideas and advice helped me to think through the issues involved.
The way i actually found to work around this issue was a little different.
What I did was the following (which may only be usable with empty tables. If its possible to create a new column with a sequence and trigger on a table that already contains data it should work also):
1. I removed the current PK's that were currently set.
2. I added a single, unique PK (that used a sequence and trigger to automatically increment) to the table as was suggested in this thread and other APEX forum threads.
3. I changed the link on the report so that it used the new PK, and also changed the PK used on the forms (under Processes - both the page rendering and page processing processes).
The Difference:
4. Next I changed the table (not by using APEX, but directly) from using the automatically generated ID as the PK, back to using the compound PK (x3 keys). I then added an constraint to make sure that the automatically generated column was unique. So now I have the compound PK that my supervisor wants us to use, and I'm able to use a unique, automatically generated key for APEX to use.
I found also that if you already have a column that uses a unique/auto-generated key you can still use it with APEX without switching keys around.
1. I added the new column to the sql in the reports source section so that the new column was searched (and then used 'hidden' so it wouldn't be displayed on the report users would see).
2. You can still add the unique key under the processes on the form that is being linked too under the Primary key tabs. If its not a PK it won't show up in the pop up which is to the right of "Item Containing Primary Key Column Value" but it can be entered manually (i.e. p23_AUTO_ID) and it will work fine. You would also need to edit your form so that the auto ID that is being passed from the report is part of the form - but hidden if desired). -
Report data binding error with date values
I have CF7.02 with a Microsoft Visual FoxPro 9.0 SP1 Database
that I connect to using ODBC (FoxPro Driver 6.01.8630.01). I send
my sql results to a CF Report Builder 7.02 PDF report and it works
fine. If I dump the date values before I change them, they look
like the following: {ts '2004-12-20 00:00:00'} . However I have
tried a number of ways of manipulating the date before sending it
to the report, but I continue to get errors. I don't care what
format they go to the report in, since the report reformats them
anyway. I checked to make sure that none of the dates were null.
For example <cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDateTime(#ldCFPrcInputDate#) /> yields values in the
{ts '2004-12-20 00:00:00'} format when I dump the query results to
screen. Where:
ldCFPrcInputDate = 12/20/2004
CreateODBCDateTime(ldCFPrcInputDate) = {ts '2004-12-20
00:00:00'}
ReportQuery.PrcInputDate[lcCurRow] = {ts '2004-12-20
00:00:00'}
I get the error:
Report data binding error Unable to get value for field
'prcinputdate' of class 'java.util.Date'.
coldfusion.runtime.OleDateTime -> Date
Not using the CreateODBCDate function for example <cfset
ReportQuery.PrcInputDate[lcCurRow] = #ldCFPrcInputDate# /> I
get:
Report data binding error Unable to get value for field
'prcinputdate' of class 'java.util.Date'.
java.lang.String -> Date
Here are some of my failed attempts:
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDateTime(#ldCFPrcInputDate#) />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
#ldCFPrcInputDate# />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
DateFormat(CreateODBCDate(#ldCFPrcInputDate#),'mm/dd/yyyy') />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate(DateFormat(#ldCFPrcInputDate#,'mm/dd/yyyy') />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate(DateFormat(#ldCFPrcInputDate#,'mm-dd-yyyy') />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
Trim(createODBCDateTime(ldtmpdate)) />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate({05-07-2006}) />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate('{05-07-2006}') />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate(05/07/2006) />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate('05/07/2006')/>
<cfset ReportQuery.PrcInputDate[lcCurRow] =
CreateODBCDate(parseDateTime('05/07/2006')) />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
parseDateTime(CreateODBCDateTime(05/07/2006)) />
<cfset ReportQuery.PrcInputDate[lcCurRow] =
parseDateTime(CreateODBCDateTime('#ldCFPrcInputDate#')) />
<cfset ReportQuery.PrcInputDate[lcCurRow] = '{05-07-2006}'
/>
<cfset ReportQuery.PrcInputDate[lcCurRow] = '{05/07/2006}'
/>
<cfset ReportQuery.PrcInputDate[lcCurRow] = '05/07/2006'
/>
I also did some googling without success. Any help is
appreciated.You may want to make sure that the column is not included in
the query variable list in your report cfr file.
The newest version of the Report Builder, which may be
installed on the server, no longer tolerates vars appearing in that
list of they are not in the query itselft. -
Fnd_request.submit_request error with PA_SRS_DATES2 value set
Hi,
We are applications 12.0.6 with 10.2.0.3.0 database. I'm trying to submit the "PRC: Generate Draft Revenue for a Single Project" through fnd_request.submit_request and is erroring out with "PA: Error - Entered Accrue through date is not within open/future PA period". I'm able to run the same program from the application with the same parameters. I'm passing Accue date of 2009/08/31 00:00:00 from the program and I can see the same value when submitted frm the applications also.
Value set for this Accrue date parameter is "PA_SRS_DATES2". It is setup as format type "Standard Date" and maximum size is 11.
Thanks for your help,
Shree.
Here is the script
SELECT TO_CHAR (rec1.per_end_date, 'RRRR/MM/DD HH24:MI:SS')
INTO v_rev_accrue
FROM DUAL;
v_fc_req_id :=
fnd_request.submit_request (application => 'PA',
program => 'PARGDR_SINGLE',
sub_request => FALSE,
start_time => NULL,
argument1 => rec1.project_id,
argument2 => 'N',
argument3 => 'Y',
argument4 => v_rev_accrue,
argument5 => NULL,
argument6 => NULL,
argument7 => NULL,
argument8 => NULL,
argument9 => NULL,
argument10 => NULL,
argument11 => 'Y',
argument12 => 'N',
argument13 => NULL,
argument14 => NULL,
argument15 => NULL,
argument16 => NULL,
argument17 => NULL,
argument18 => 'N',
argument19 => 'N',
argument20 => 'N'
IF NVL (v_fc_req_id, 0) = 0
THEN
gv_debug_name :=
'Error in Submitting the draft revenue program program. ';
fnd_file.put_line (fnd_file.LOG, gv_debug_name);
RAISE general_error;
ELSE
COMMIT;
fnd_file.put_line (fnd_file.LOG,
'draft revenue program. Request Id:'
|| TO_CHAR (v_fc_req_id)
END IF;
Here is the log for the request submitted via fnd_request.submit_request.
Projects: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
PARGDR_SINGLE module: PRC: Generate Draft Revenue for a Single Project
Current system time is 13-AUG-2009 18:59:19
Entering parmai()
...Connected to Oracle
Accrue Thru date from Command line is : 2009/08/31 00:00:00
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Finished executing request completion options.
PA: Error - Entered Accrue through date is not within open/future PA period
Exceptions posted by this request:
Concurrent Request for "PRC: Generate Draft Revenue for a Single Project" has completed with error.
Concurrent request completed
Current system time is 13-AUG-2009 18:59:20
Here is the log for the request submitted via the application
Projects: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
PARGDR_SINGLE module: PRC: Generate Draft Revenue for a Single Project
Current system time is 10-AUG-2009 17:12:11
Entering parmai()
...Connected to Oracle
Accrue Thru date from Command line is : 2009/08/31 00:00:00
project:196 delete:N regenerate:Y acc_thru_dt:2009/08/31
start project: end project:
Operating unit is 153Revenue is running in Normal revenue mode
Revenue is not based on specific project type...
Revenue is not based on specific organization...
Revenue is not based on specific customer...
Revenue is not based on specific Agreement...
Revenue is running for MCB/Non MCB projects...
Revenue is running for Unrelease revenue mode...
Revenue is not creating the detail report ...
Revenue Processing Parameter List
=================================
-------------- < parameter list > -----------------------
Accru Through Date ----------------------------------------> 2009/08/31
Project ID ------------------------------------------------> 196
From Project Number --------------------------------------->
To Project Number ----------------------------------------->
Adjusting Revenue Run -------------------------------------> No
Project Type ID -----------------------------------------> 0
Organization ID ------------------------------------------> 0
Customer ID ----------------------------------------------> 0
Agreement ID ----------------------------------------------> 0
Multi Currency Projects -----------------------------------> No
Release Draft Revenue -------------------------------------> No
Include Detail Report -------------------------------------> No
-------------- < End of parameter list > -----------------------
...Request ID = 714111
This concurrent request is not being rescheduled
Current system time is 10-AUG-2009 17:12:11
...about to delete revenue for project id 196
...0 draft revenues deleted
Current system time is 10-AUG-2009 17:12:11
...about to process adjustments
SELECT p.project_id, p.segment1,
p.distribution_rule, p.project_level_funding_flag,p.project_currency_code,
p.project_bil_rate_date_code,
p.project_bil_rate_type,
to_char(p.project_bil_rate_date,'YYYY/MM/DD'),
p.project_bil_exchange_rate,
p.projfunc_currency_code,
p.projfunc_bil_rate_date_code,
p.projfunc_bil_rate_type,
to_char(p.projfunc_bil_rate_date,'YYYY/MM/DD'),
p.projfunc_bil_exchange_rate,
p.revproc_currency_code,
p.funding_rate_date_code,
p.funding_rate_type,
to_char(p.funding_rate_date,'YYYY/MM/DD'),
p.funding_exchange_rate,
p.multi_currency_billing_flag,
p.assign_precedes_task,
p.enable_top_task_customer_flag,
p.enable_top_task_inv_mth_flag,
nvl(p.inv_by_bill_trans_curr_flag, 'N'),
nvl(p.revtrans_currency_type, 'PROJ_FUNC_CURR_ONLY')
FROM pa_projects p, pa_project_types t
WHERE p.project_id = :project_id
AND pa_project_utils.check_prj_stus_action_allowed(p.project_status_code,'GENERATE_REV') = 'Y'
AND :start_project_number||'x' != :end_project_number||'y'
AND p.project_type = t.project_type
AND t.project_type_class_code = 'CONTRACT'
AND EXISTS (SELECT /*+ INDEX(pf pa_summary_project_fundings_u1)*/ NULL
FROM pa_summary_project_fundings pf
WHERE pf.project_id = p.project_id
AND nvl(pf.revproc_baselined_amount, 0) != 0)
AND NOT EXISTS
(SELECT NULL
FROM pa_draft_revenues r2
WHERE r2.project_id = p.project_id
AND r2.released_date||'' is null
AND r2.generation_error_flag||'' = decode(:mass_gen,
1, 'Y', r2.generation_error_flag)
AND (EXISTS (SELECT NULL
FROM pa_expenditure_items_all i
WHERE i.project_id = p.project_id
AND i.cost_distributed_flag ||''= 'Y'
AND i.revenue_distributed_flag = 'N'
AND i.expenditure_item_date
<= NVL(TO_DATE(:acc_thru_dt,'YYYY/MM/DD'),sysdate)
AND (EXISTS (SELECT /*+ LEADING(l)*/ NULL
FROM pa_draft_revenues r, pa_cust_rev_dist_lines l
WHERE r.project_id = i.project_id
AND ((l.expenditure_item_id = i.adjusted_expenditure_item_id AND i.adjusted_expenditure_item_id is not null )
OR (l.expenditure_item_id = i.expenditure_item_id))
AND NVL(l.reversed_flag,'N') = 'N'
AND l.line_num_reversed IS NULL
AND r.project_id = l.project_id
AND r.draft_revenue_num = l.draft_revenue_num
AND (r.released_date||'' is not null
OR r.generation_error_flag||'' = decode(:mass_gen,
1, 'N', 'E')))
or exists (
select 1 from pa_expenditure_items ei2
where ei2.project_id = i.project_id
and ei2.expenditure_item_id=i.adjusted_expenditure_item_id
and ei2.revenue_distributed_flag='Y'
and ei2.raw_revenue=0))
union all
SELECT /*+ LEADING(v)*/NULL
FROM pa_events v
WHERE v.project_id = p.project_id
AND ((v.revenue_distributed_flag = 'N'
AND v.completion_date
<= NVL(TO_DATE(:acc_thru_dt,'YYYY/MM/DD'),sysdate))
OR (substr(p.distribution_rule,1,4) = 'COST'
AND v.revenue_distributed_flag = 'Y'
AND v.completion_date
> NVL(TO_DATE('2009/08/31','YYYY/MM/DD'), sysdate)))
AND (DECODE(NVL(v.bill_trans_rev_amount, 0), 0 ,
DECODE(NVL(v.zero_revenue_amount_flag, 'N'), 'Y', 1, 0),1) = 1)
AND NVL(revenue_hold_flag, 'N') = 'N'
AND EXISTS (
SELECT NULL
FROM pa_tasks t
WHERE v.task_id is not NULL
AND t.ready_to_distribute_flag = 'Y'
AND v.task_id = t.task_id
UNION ALL
SELECT NULL
FROM pa_tasks t1
WHERE v.task_id is NULL
AND t1.ready_to_distribute_flag = 'Y'
AND v.project_id = t1.project_id )
AND Exists (select null from pa_draft_revenues r,pa_cust_event_rev_dist_lines l
where l.project_id = v.project_id
AND ( l.task_id = v.task_id OR v.task_id is NULL )
AND l.event_num = v.event_num
AND NVL(l.reversed_flag,'N') = 'N'
AND l.line_num_reversed IS NULL
AND r.project_id = v.project_id
AND r.draft_revenue_num = l.draft_revenue_num
AND (r.released_date||'' is not null
OR r.generation_error_flag||'' = decode(:mass_gen,
1, 'N', 'E')))
union all
SELECT /*+ USE_CONCAT */ NULL
FROM PA_Billing_Extensions be, PA_Billing_Assignments bea
WHERE bea.active_flag = 'Y'
AND bea.billing_extension_id = be.billing_extension_id
AND (bea.project_id = p.project_id
OR bea.project_type = p.project_type
OR bea.distribution_rule = p.distribution_rule)
AND be.calling_process in ('Revenue','Both')
AND nvl(be.call_after_adj_flag, 'N') = 'Y'
AND be.trx_independent_flag = 'Y'))
Current system time is 10-AUG-2009 17:12:11
...0 projects processed for adjustments
Current system time is 10-AUG-2009 17:12:11
...about to generate revenue for project id 196
...Fetching next project
Current system time is 10-AUG-2009 17:12:11
...about to call pa_billing.bill_ext_driver( 196, 'Revenue', 'PRE', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
...exiting pa_billing.bill_ext_driver( 196, 'Revenue', 'PRE', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
Leaving pauoarchn()
...no rows to process for this project.
Current system time is 10-AUG-2009 17:12:11
...generated revenue for project id 196, number 72DM000001
...about to call pa_billing.bill_ext_driver( 196, 'Revenue', 'REG', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
...exiting pa_billing.bill_ext_driver( 196, 'Revenue', 'REG', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
l_inv_by_btc_flag is ...N
l_mcb_flag is ...Y
l_rpc_code is ...GBP
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
...Else loop 1
...else loop 2
...else loop 4
...else loop 5
...non_zero_amount
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
...Else loop 1
...else loop 2
...else loop 4
...else loop 5
...non_zero_amount
Leaving pauoarchn()
Leaving pauoarchn()
Leaving pauoarchn()
Current system time is 10-AUG-2009 17:12:11
...generated revenue for automatic events for project id 196, number 72DM000001 calling loc REG
...about to call pa_billing.bill_ext_driver( 196, 'Revenue', 'POST-REG', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
...exiting pa_billing.bill_ext_driver( 196, 'Revenue', 'POST-REG', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
...generated revenue for automatic events for project id 196, number 72DM000001 calling loc POST-REG
...about to call pa_billing.bill_ext_driver( 196, 'Revenue', 'POST', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
...exiting pa_billing.bill_ext_driver( 196, 'Revenue', 'POST', '2009/08/31', 714111 )
Current system time is 10-AUG-2009 17:12:11
...Fetching next project
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
...about to call AutoAccounting
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Entering pafvsu
Allocating pafvcs structure
Allocating memory for structure, fdfkai
Allocating memory for structure, fdfkao
Allocating flex input and output structure
Assigning ptype
Calling pagtfn
Nullig out
Setting everything that does not need to be allocated
Allocating optional arrays
Checking a_line_id
Checking a_trans_ind
Checking a_param_lst
Checking a_extra_atr
Allocating required array
Allocating auto accounting elements
Describing kff and control processing options
Tune flex validation system options
Allocate main cache
Allocate additional memory for main cache
Allocate ksv if needed
Store pointer to text strings in last ksv element so we can free later
val [¿], segval [00000000]
val [00000000], segval [000000]
val [000000], segval [7210OCOA01]
val [7210OCOA01], segval [0000]
val [0000], segval [72OXLFTG]
val [72OXLFTG], segval [66101010]
val [66101010], segval [7210]
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
...returned from AutoAccounting
...about to update pe_expenditures_all for intercompany processing
Current system time is 10-AUG-2009 17:12:11
Entering parddl()
...setting error codes and bad code combination id to null
... Update draft revenues for marking autoaccounting error if any
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
... Update draft revenues without generation error to normal state
Current system time is 10-AUG-2009 17:12:11
1 rows updated.
... Update pa_cust_event_rev_dist_lines for setting bad CCID to null
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
... Update pa_events for marking AutoAccounting error if any
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
... Update pa_events for setting revenue_distributed_flag to 'N'
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
... Update pa_cust_rev_dist_lines for setting bad CCID to null
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
... Update pa_expenditure_items_all for marking AutoAccounting error if any
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
... Update pa_expenditure_items_all for setting revenue_distributed_flag to 'N'
Current system time is 10-AUG-2009 17:12:11
0 rows updated.
Leaving parddl()
Current system time is 10-AUG-2009 17:12:11
Current system time is 10-AUG-2009 17:12:11
0 rows updated with Generation error due to ccid=-1
Current system time is 10-AUG-2009 17:12:11
0 rows updated with Generation error PA_REV_GEN_ERROR
Current system time is 10-AUG-2009 17:12:11
...1 projects processed for revenue generation
Deleting automatic event for which revenue has generation error
Current system time is 10-AUG-2009 17:12:11
...about to update proj summary funding amounts
executing pa_billing.check_spf_amounts('B',196, , ) Calling check_spf_amounts...Inside the Single projects If
Current system time is 10-AUG-2009 17:12:11
...about to generate reports
SEL-SUC:72DM000001 4 1048 BP Exploration Operating DML 101 31-AUG-09 121659.83
Current system time is 10-AUG-2009 17:12:12
...completed generating reports
Process completed.
0 rows deleted from distribution_warnings table.
Start of log messages from FND_FILE
Request id is :714111
Before calling the insert event for top task_id :19839
Parameters to the insert event API :
Revenue amount is :12106.73
Bill amount is :12106.73
Project id is :196
Event Type is :BILLING
Top Task id is :19839
organization id is :239
completion date is :31-AUG-2009
event description is :Financing Fee
Return status after calling insert event is :0
error message after calling insert event is :
Before calling the insert event for top task_id :14612
Parameters to the insert event API :
Revenue amount is :109553.1
Bill amount is :109553.1
Project id is :196
Event Type is :BILLING
Top Task id is :14612
organization id is :239
completion date is :31-AUG-2009
event description is :Expenditure
Return status after calling insert event is :0
error message after calling insert event is :
End of log messages from FND_FILE
Executing request completion options...
------------- 1) PRINT -------------
Printing output file.
Request ID : 714111
Number of copies : 0
Printer : noprint
Finished executing request completion options.
Concurrent request completed successfully
Current system time is 10-AUG-2009 17:12:12
---------------------------------------------------------------------------Hi srini,
For the request submitted via the application and for the request submitted by fnd_request.submit_request, argument4 has the same value 2009/08/31 00:00:00
Thanks -
Error with Do Not use SOAP envelope
All,
I used the do not send SOAP envelope option in the SOAP receiver adapter.
Instead of XSLT, I used JAVA mapping to create the entire SOAP message ( Am more comfortable with Java and this is just a trial) , and this is the output of my java mapping with the SOAP envelope created,
<i><?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"><soap:Header></soap:Header><soap:Body><ns1:GetQuote xmlns:ns1="http://www.webserviceX.NET/"><ns1:symbol>SAP</ns1:symbol></ns1:GetQuote></soap:Body></soap:Envelope></i>
Am using the STOCK Quote for testing purposes and this is the error I am getting when testing my interface,
<i><faultstring>System.Web.Services.Protocols.SoapException: Server found request content type to be '', but expected 'text/xml'. at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters() at System.Web.Services.Protocols.WebServiceHandler.Invoke() at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()</faultstring></i>
Any directions / inputs on how to resolve this issue?
Regards,
BhaveshHenrique,
Tried various permutations~~ The only new error / progress seems to be for this,
SOAPAction "http://www.webserviceX.NET/GetQuote"
This is giving me an error ,
<i>HTTP server code 400 reason Bad Request explanation <h1>Bad Request (Invalid Header Name)</h1></i>
Also, tried by adding the Colon after SOAPAction,
SOAPAction: "http://www.webserviceX.NET/GetQuote"
Same error
Final thing i guess is to make SOAPAction all small as soapaction and check if it works. Will let you know.
Regards,
Bhavesh -
Error Cache:
Unable to update files in cache.
Name: myApplet
java.net.MalformedURLException: no protocol: jar/dragndrop_applet.jar
I get a bunch of these Cache Errors. Happens with application only, its blackboard hosted by continuinged.uml.edu.
Run the same thing using IE it has no problems. Firefox till the latest upgrade was also working fine.
What can I do to resolve this problem?There's a bug in 3.6.14 with Java applets. 3.6.15 was released last Friday to fix that bug. Use '''Help > Check for Updates''' to start the update process to 3.6.15.
-
How to display the message along with a value using BBP_CHECK_BADI
Hi Gurus,
I need to display a message dynamically when the user create's a shopping cart. I am using Check_badi for this. i.e., I need to display the buyer number and amount left for him dynamically. I am storing both of them in variables and don't know how to display the messages laong with some message " the amount left for <XXXXXX> is <$$$$$$$$>". Can you help me out.
Thanks,
NeelimaHi,
you can use the function module 'BBP_PD_MSG_ADD'. This is the function module normally used for the displaying the error messages in SRM.
See wether you can use already available error messages , use the transaction SE91 , and the message class being BBP_PD -
Searching a Table field with multiple values using a shuttle item
Hello All,
I have a shuttle item whhich of course users can select multiple values:
eg: Orange:Pear:Banana
Now I have a table where I want to get the Crate Numbers where these fruit items reside.
The Fruit field has multiple stored values
eg:
Crate Fruits
=== ====
12487 Apple:Orange:Pear:Banana
17653 Orange:Pear:Grapes
12874 Apple:Banana
13655 Grapes:Watermelon:Pineapple
87643 Pear:Banana
53626 Strawberries:Apple
I would like to see a final report similiar to this
Crate Fruit
=== ===
12487 Orange
12487 Pear
12487 Banana
17653 Orange
17653 Pear
12874 Banana
87643 Pear
87643 Banana
I thought maybe this needs to be done using collections but I am not familiar with this function, if their is another way I would appreciate it
Hope u can help
FrankHi Frank,
I find that in this sort of case, it is easier to create a link table containing the individual values rather than lumping them into one column.
so the data is stored in the 'Crate, Fruit' format, rather then the 'Crate Fruits' format.
It is a bit more work maintaining the link table when the values are amended and populating the shuttle, but it is a 'proper' relational table then.
Regards
Michael
Maybe you are looking for
-
How can I open a picture with Jtree
hi, I want to write a Filemanagerprogramm with JTree, but how can I open it, after I clickt the .jpg or .png file. Thank you for your Tip!
-
When I used to move the cursor over a link, it would display the address of the link in the lower left hand corner before I clicked on it. This has disappeared, how do I turn it back on? == This happened == Not sure how often == A few months ago
-
Hi All: I am completely new to Flash and to animating generally. But I understand some of the underlying basics. I have created and scanned a series of drawings on acetate creating a Christmas card with a chicken and an egg. I don't think I need to t
-
Burst in HTML format as body of email
Is this possible? I have a very small report that I want to burst to email, but I want the email body to contain the HTML report. (In theory, so it can be read on mobile devices). When I set attachment to false, the emails are blank.
-
For Macbook Pro Mid2010: Why not build a WiFi based AirDrop solution between iOS8 and Yosemite? Really sad it does not work.