Home » Developer & Programmer » Reports & Discoverer » Report are not running (reports 6i, xp sp2)
Report are not running [message #540518] |
Tue, 24 January 2012 04:11 |
|
makrand.solke
Messages: 3 Registered: January 2012 Location: pune
|
Junior Member |
|
|
i am running report but it gives me error while running
and showing error rep-'cf_bank_and_loc_descformula'.Fatal pl\sql error occurred.
ORA-06502:NUMERIC OR VALUE ERROR
REP-0619: you cannot run without a layout.
my function is
function CF_BANK_AND_LOC_DESCFormula return Char is
begin
RETURN(:DRAWEE_BANK_DESCRIPTION||' , '||:LOC_DESCRIPTION);
end;
SELECT
"CLIENT_MST"."CLIENT_DESCRIPTION",
"CLIENT_MST"."CLIENT_CODE",
"DEPOSIT_DETAIL_TXN"."DEPOSIT_NMBR"||"DEPOSIT_DETAIL_TXN"."INTERNAL_TRANSACTION_NMBR" "TXN_REFERENCE_NMBR",
"CLIENT_PICKUP_LOCATIONS_MST"."ADDR_1",
"CLIENT_PICKUP_LOCATIONS_MST"."ADDR_2",
"CLIENT_PICKUP_LOCATIONS_MST"."ADDR_3",
"CLIENT_PICKUP_LOCATIONS_MST"."ADDR_4",
"CLIENT_PICKUP_LOCATIONS_MST"."ADDR_5",
"CLIENT_PICKUP_LOCATIONS_MST"."FAX_NMBR",
"CLIENT_PICKUP_LOCATIONS_MST"."TEL_NMBR",
"CLIENT_PICKUP_LOCATIONS_MST"."CONTACT_PERSON",
"CLIENT_PICKUP_LOCATIONS_MST"."RET_DISP_ADDR",
"CLIENT_PICKUP_LOCATIONS_MST"."OTHER_PICKUP_LOC",
"PRODUCT_MST"."PRODUCT_DESCRIPTION",
"DEPOSIT_HEADER_TXN"."INPUT_DEPOSIT_NMBR",
"LIQUIDATION_DETAIL_TXN"."INSTRUMENT_NMBR",
"LIQUIDATION_DETAIL_TXN"."INSTRUMENT_AMNT",
"LIQUIDATION_DETAIL_TXN"."DRAWER_DESCRIPTION",
"DRAWEE_BANK_MST"."DRAWEE_BANK_DESCRIPTION",
"CLEARING_LOCATION_MST"."LOC_DESCRIPTION",
"DEPOSIT_HEADER_TXN"."DEPOSIT_DATE",
"LIQUIDATION_HEADER_TXN"."LIQUIDATION_DATE",
"LIQUIDATION_DETAIL_TXN"."RETURN_REASON"
FROM
"DEPOSIT_DETAIL_TXN",
"DEPOSIT_HEADER_TXN",
"LIQUIDATION_DETAIL_TXN",
Transaction_Detail_Txn,
"LIQUIDATION_HEADER_TXN",
"CLEARING_LOCATION_MST",
"CLIENT_PICKUP_LOCATIONS_MST",
"DRAWEE_BANK_MST",
"CLIENT_MST",
"PRODUCT_MST"
WHERE
( "DEPOSIT_HEADER_TXN"."DEPOSIT_NMBR" = "DEPOSIT_DETAIL_TXN"."DEPOSIT_NMBR" )
AND ( "LIQUIDATION_HEADER_TXN"."LIQUIDATION_NMBR" = "LIQUIDATION_DETAIL_TXN"."LIQUIDATION_NMBR" )
AND ( "LIQUIDATION_DETAIL_TXN"."DEPOSIT_NMBR" = "DEPOSIT_DETAIL_TXN"."DEPOSIT_NMBR")
AND ( "LIQUIDATION_DETAIL_TXN"."INTERNAL_TRANSACTION_NMBR" = "DEPOSIT_DETAIL_TXN"."INTERNAL_TRANSACTION_NMBR")
AND ( "CLEARING_LOCATION_MST"."CLEARING_LOC_CODE" = "DEPOSIT_DETAIL_TXN"."CLEARING_LOCATION_CODE")
AND ( "CLIENT_PICKUP_LOCATIONS_MST"."CLIENT_CODE" = "DEPOSIT_HEADER_TXN"."CLIENT_CODE")
AND ( "CLIENT_PICKUP_LOCATIONS_MST"."CLEARING_LOC_CODE" = "DEPOSIT_HEADER_TXN"."CLEARING_LOC_CODE" )
AND ( "DRAWEE_BANK_MST"."DRAWEE_BANK_CODE" = "DEPOSIT_DETAIL_TXN"."DRAWEE_BANK_CODE")
AND ( "CLIENT_MST"."CLIENT_CODE" = "DEPOSIT_HEADER_TXN"."CLIENT_CODE" )
AND ( "PRODUCT_MST"."PRODUCT_CODE" = "DEPOSIT_HEADER_TXN"."PRODUCT_CODE")
AND Transaction_Detail_Txn.Deposit_Nmbr = LIQUIDATION_DETAIL_TXN.Deposit_Nmbr
AND Transaction_Detail_Txn.Internal_Transaction_Nmbr = LIQUIDATION_DETAIL_TXN.INTERNAL_TRANSACTION_NMBR
AND Transaction_Detail_Txn.Active_Flag = 'Y'
AND Transaction_Detail_Txn.Liquidation_Nmbr = LIQUIDATION_DETAIL_TXN.Liquidation_Nmbr
AND "DEPOSIT_DETAIL_TXN"."STATUS_FLAG" = 'A'
AND "DEPOSIT_DETAIL_TXN"."TRANSACTION_STATUS" <> 'RR'
AND "LIQUIDATION_DETAIL_TXN"."TYPE_OF_LIQ_FLAG" = 'R'
AND "DEPOSIT_HEADER_TXN"."STATUS_FLAG" = 'A'
AND "LIQUIDATION_HEADER_TXN"."STATUS_FLAG" = 'A'
AND liquidation_header_txn.liquidation_date BETWEEN TO_DATE(:P_START_DATE||'00:00:00' , 'DD:MM:YYYY HH24:MI:SS')
AND TO_DATE( :P_END_DATE||'23:59:59' , 'DD:MM:YYYY HH24:MI:SS')
&WHERE_CL
ORDER BY
liquidation_detail_txn.client_code,
deposit_header_txn.product_code,
liquidation_header_txn.liquidation_date
please help me.
|
|
|
Re: Report are not running [message #540521 is a reply to message #540518] |
Tue, 24 January 2012 04:17 |
|
Michel Cadot
Messages: 68729 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
ORA-06502: PL/SQL: numeric or value error%s
*Cause: An arithmetic, numeric, string, conversion, or constraint error
occurred. For example, this error occurs if an attempt is made to
assign the value NULL to a variable declared NOT NULL, or if an
attempt is made to assign an integer larger than 99 to a variable
declared NUMBER(2).
*Action: Change the data, how it is manipulated, or how it is declared so
that values do not violate constraints.
Please read OraFAQ Forum Guide and How to use [code] tags and make your code easier to read.
Make sure that lines of code do not exceed 80 characters when you format.
Indent the code, use code tags and align the columns in result.
Use the "Preview Message" button to verify.
Also always post your Oracle version, with 4 decimals.
Regards
Michel
|
|
|
|
Goto Forum:
Current Time: Sat Jan 04 23:06:35 CST 2025
|