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
Similar Messages
-
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;
fnd_file.put_line (fnd_file.LOG,
'Revenue Accrue Date is :' || v_rev_accrue
fnd_file.put_line (fnd_file.LOG, 'Parameters for GDR :');
fnd_file.put_line (fnd_file.LOG,
'Argument1 is :' || TO_CHAR (rec1.project_id)
fnd_file.put_line (fnd_file.LOG, 'Argument4 is :' || v_rev_accrue);
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 AP 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
---------------------------------------------------------------------------Duplicate thread.
fnd_request.submit_request error with PA_SRS_DATES2 value set
fnd_request.submit_request error with PA_SRS_DATES2 value set -
Error with DG4ODBC while setting up connectivity from oracle to IBM iSeries AS400 version V7R1
Hi,
I have Enterprise linux 64-bit hosting Oracle 11gR2 64-bit (11.2.0.1) database. I have access to IBM iSeries AS400 version V7R1. I am trying to connect to IBM iSeries from Oracle Database through ODBC connectivity using Database Link. The following is what I have done.
On the Database (Linux) host Installed iSeriesAccess-7.1.0-1.0.x86_64.rpm provided by IBM.
my odbcinst.ini has the following entries:
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1
[iSeries Access ODBC Driver]
Description = iSeries Access for Linux ODBC Driver
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
NOTE1 = If using unixODBC 2.2.11 or later and you want the 32 and 64-bit ODBC drivers to share DSN's,
NOTE2 = the following Driver64/Setup64 keywords will provide that support.
Driver64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
Threading = 2
DontDLClose = 1
UsageCount = 1
[iSeries Access ODBC Driver 64-bit]
Description = iSeries Access for Linux 64-bit ODBC Driver
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
Threading = 2
DontDLClose = 1
UsageCount = 1
The odbc.ini has the following entries:
[ODBC Data Sources]
dg4odbc = connection to db2
[dg4odbc]
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Description=iSeries Access for Linux ODBC Driver
LogonID=
Password=
Address= (IBM host IP Address)
location=Vm520
noprompt=true
system= (IBM host IP Address)
UNICODE=UTF-8
Naming = 0
ConnectionType = 0
CommitMode = 2
ExtendedDynamic = 0
AllowDataCompression = 1
LibraryView = 0
AllowUnsupportedChar = 0
ForceTranslation = 0
Trace = 0
made sure I could connect via ODBC and DSN using the following command:
isql dg4odbc oracle oracle1 -v
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL>
SQLRowCount returns -1
600 rows fetched
SQL>
could query the table in a library on AS400.
The $ORACLE_HOME/hs/admin/initdg4odbc.ora has the following entries:
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = dg4odbc
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME=/etc/newlib/libodbc.so
HS_FDS_TRACE_LEVEL = 255
HS_FDS_SUPPORT_STATISTICS=FALSE
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
# Environment variables required for the non-Oracle system
The listener entries are as follows:
(SID_DESC =
(SID_NAME = dg4odbc)
(ORACLE_HOME = /opt/oracle/dbs/product/11.2.0/dbhome_1)
(PROGRAM = dg4odbc)
Stopped and started the listener.
The TNS entry is as follows:
armcdb2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = vmw-dev-rmsdb.xxx.vmc)(PORT = 1521))
(CONNECT_DATA =
(SID=dg4odbc)
(HS=OK)
Could tnsping :
oracle@rmsdev[/opt/oracle/dbs/product/11.2.0/dbhome_1/network/admin]$ tnsping armcdb2
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-JUL-2013 16:01:23
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/opt/oracle/dbs/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = vmw-dev-rmsdb.xxx.vmc)(PORT = 1521)) (CONNECT_DATA = (SID=dg4odbc)) (HS=OK))
OK (0 msec)
created a public database link as follows:
SQL> create database link samplink connect to "oracle" identified by "oracle1" using 'armcdb2';
Database link created.
When I run a select query I get errors as follows:
SQL> select * from mdiaz.AREMAIL@samplink;
select * from mdiaz.AREMAIL@samplink
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
408
Below is the Trace file of dg4odbc:
Oracle Corporation --- THURSDAY JUL 11 2013 16:06:03.627
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY JUL 11 2013 16:06:03.627
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
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_RSET_RETURN_ROWCOUNT 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 "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "dg4odbc"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:dg4odbc
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=871
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=871
HOCXU_SEM_VER=112000
Entered hgolofn at 2013/07/11-16:06:03
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/etc/newlib/libodbc.so"
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLAllocHandle
symbol_peflctx=0xaab7c2f0
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLBindCol
symbol_peflctx=0xaab7c9d0
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLBindParameter
symbol_peflctx=0xaab7cb6c
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLCancel
symbol_peflctx=0xaab7d416
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDescribeParam
symbol_peflctx=0xaab7f7dc
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDisconnect
symbol_peflctx=0xaab7f978
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLEndTran
symbol_peflctx=0xaab7fe42
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLExecute
symbol_peflctx=0xaab808ac
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLFetch
symbol_peflctx=0xaab80b5c
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLFreeHandle
symbol_peflctx=0xaab816aa
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLFreeStmt
symbol_peflctx=0xaab82144
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetData
symbol_peflctx=0xaab83ad8
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetEnvAttr
symbol_peflctx=0xaab84e42
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetFunctions
symbol_peflctx=0xaab84fce
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLMoreResults
symbol_peflctx=0xaab85a0a
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLNumResultCols
symbol_peflctx=0xaab85fba
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLParamData
symbol_peflctx=0xaab86102
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLPutData
symbol_peflctx=0xaab871fc
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLRowCount
symbol_peflctx=0xaab87364
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetEnvAttr
symbol_peflctx=0xaab89054
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetDescRec
symbol_peflctx=0xaab88e20
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLColAttributeW
symbol_peflctx=0xaab7d6ba
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLColumnsW
symbol_peflctx=0xaab7e264
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLConnectW
symbol_peflctx=0xaab7e6b4
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDescribeColW
symbol_peflctx=0xaab7f39e
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDriverConnectW
symbol_peflctx=0xaab7fa9a
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLExecDirectW
symbol_peflctx=0xaab805e6
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLForeignKeysW
symbol_peflctx=0xaab80de6
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetConnectAttrW
symbol_peflctx=0xaab82714
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDescFieldW
symbol_peflctx=0xaab83c76
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDescRecW
symbol_peflctx=0xaab83fbe
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDiagFieldW
symbol_peflctx=0xaab8448a
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDiagRecW
symbol_peflctx=0xaab84916
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetInfoW
symbol_peflctx=0xaab85136
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetStmtAttrW
symbol_peflctx=0xaab85456
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetTypeInfoW
symbol_peflctx=0xaab8576e
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLPrepareW
symbol_peflctx=0xaab863b0
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLPrimaryKeysW
symbol_peflctx=0xaab8667c
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLProcedureColumnsW
symbol_peflctx=0xaab86a14
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLProceduresW
symbol_peflctx=0xaab86e64
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetConnectAttrW
symbol_peflctx=0xaab874ac
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetStmtAttrW
symbol_peflctx=0xaab896c8
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetDescFieldW
symbol_peflctx=0xaab88b00
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLStatisticsW
symbol_peflctx=0xaab89e64
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLTablesW
symbol_peflctx=0xaab8a668
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Exiting hgolofn, rc=0 at 2013/07/11-16:06:03
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 ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2013/07/11-16:06:03
hostmstr: 0: HOA After hoainit
hostmstr: 0: HOA Before hoalgon
Entered hgolgon at 2013/07/11-16:06:03
reco:0, name:oracle, tflag:0
Entered hgosuec at 2013/07/11-16:06:03
Exiting hgosuec, rc=0 at 2013/07/11-16:06:03
Entered hgopoer at 2013/07/11-16:06:03
hgopoer, line 233: got native error 408 and sqlstate 410; message follows...
408
Exiting hgopoer, rc=0 at 2013/07/11-16:06:03
hgolgon, line 193: calling SQLSetConnectAttr got sqlstate 410
Exiting hgolgon, rc=28500 at 2013/07/11-16:06:03 with error ptr FILE:hgolgon.c LINE:193 FUNCTION:hgolgon() ID:Connection Attribute: TRACE
hostmstr: 0: HOA After hoalgon
RPC Calling nscontrol(0), rc=0
hostmstr: 0: RPC Before Exit Agent
hostmstr: 0: HOA Before hoaexit
Entered hgoexit at 2013/07/11-16:06:03
Exiting hgoexit, rc=0
hostmstr: 0: HOA After hoaexit
hostmstr: 0: RPC After Exit Agent
I have looked up the errors on Oracle forums and could not get any valuable help anywhere.
Can someone kindly help out where I am going wrong?
Thanks,
Ram.Hello kgronau,
Thank You very much for your recommendations. I removed the parameter HS_FDS_TRACE_LEVEL = 255.
I added HS_FDS_FETCH_ROWS=1 and also HS_NLS_NCHAR = UCS2
Tested my sql statement, which yielded the result as follows:
SQL> select * from mdiaz.AREMAIL@samplink;
select * from mdiaz.AREMAIL@samplink
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
㈵″㠵6
SO I thought I would give a try of removing the line HS_NLS_NCHAR = UCS2
and again tested my sql statement and it worked like a charm!!!!
I tested a count(*) and got the results back.
SQL> select count(*) from mdiaz.AREMAIL@samplink;
COUNT(*)
600
I really appreciate your valuable pointers and help.
Thanks once again!!!
Ram. -
Hi,
i have created a Table value Set for showing Vendor_site_code in DFF
XXXX_VENDOR_NAME
Table Application :Purchasing
Table Name:PO_VENDORS
Value:VENDOR_NAME
ID:VENDOR_ID
XXXX_VENDOR_SITECODE
Table Application :Purchasing
Table Name:PO_VENDORS PV, PO_VENDOR_SITES_ALL PVS
Value:PVS.VENDOR_SITE_CODE
ID:PVS.VENDOR_SITE_ID
where/order by: where PV.VENDOR_ID=PVS.VENDOR_ID
XXX_ITEM
Table Application :IVENTORY
Table Name:MTL_SYSTEM_ITEMS_B
Value:PVSSEGMENT1||'-'||SEGMENT2||SEGMENT3
ID:PVS.INVENTORY_ITEM_ID
where/order by:WHERE ORGANIZATION_ID = cs_std.get_item_valdn_orgzn_id
i am facing the below error when opening the Form related to that DFF
APP-FND-01564: ORACLE error 1722 in FDFGVD
Cause: FDFGVD failed due to ORA-01722: invalid number.
The SQL statement being executed at the time of the error was: SELECT PVS.VENDOR_SITE_ID,PVS.VENDOR_SITE_CODE VALUE, PVS.VENDOR_SITE_CODE DESCRIPTION, NVL('N', 'N'), NVL(TO_NUMBER(NULL), -1), NULL, NVL('Y', 'Y'), NVL(TO_CHAR(TO_DATE(NULL), 'J'), 0), NVL(TO_CHAR(TO_DATE(NULL), 'J'), 0) FROM PO_VENDORS PV, PO_VENDOR_SITES_ALL PVS WHERE ( PV.VENDOR_ID=PVS.VENDOR_ID) AND PVS.VENDOR_SITE_ID = :X and was executed from the file &ERRFILE.Can you say where have you placed this valueset - which DFF, in which form?
-
Hi friends,
am trying to do a percentage calculation from two value sets
like
select round((to_number(:$FLEX$.PROP_BONUS)*100)/(12*to_number(:$FLEX$.XX_SAL)),2) FROM DUAL
this is giving me error ...
those two are number data type value sets.. and am using this in self service pages
the error says like this
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: select fnd_number.number_to_canonical(round((to_number(:$FLEX$.PROP_BONUS)*100)/(12*to_number(:$FLEX$.XX_SAL)),2)) FLEX_VALUE
, to_char(round((to_number(:$FLEX$.PROP_BONUS)*100)/(12*to_number(:$FLEX$.XX_SAL)),2)) FLEX_DISPLAY
from DUAL
where (1 = 1)
and 'Y' = 'Y'
and nvl(fnd_date.canonical_to_date(:1), trunc(SysDate))
between nvl(trunc(to_date(null)), nvl(fnd_date.canonical_to_date(:2), trunc(SysDate)))
and nvl(trunc(to_date(null)), nvl(fnd_date.canonical_to_date(:3), trunc(SysDate)))
and to_char(round((to_number(:$FLEX$.PROP_BONUS)*100)/(12*to_number(:$FLEX$.XX_SAL)),2)) like :L1
order by FLEX_DISPLAY
java.sql.SQLException: ORA-00911: invalid character
can some one suggest me a solution pleasePlease see if (Unable To Use $FLEX$ In Table Name Field While Creating Value Set [ID 1071197.1]) and (Compilation Error ORA-00911 Occurred After Adding To Descriptive Flexfield [ID 445246.1]) help.
Thanks,
Hussein -
Cost Allocation Flexfield with Table Value Sets
Hi
I am setting up Costing for Payroll. I have a requirement where I want to use Table Validated value sets for Cost Allocation Flexfield. In the Administrator Guide it is written that we should not use Table validated value sets for any KFFs.
I still tried the same (defining Table validated value sets) and my process errored out. It was giving following error
Value 381 for the flexfield segment Cost Center does not exist in the value set
SJR_COST_CENTER_LIST.
invalid code combination:
381SJR_COST_CENTER_LIST is name of the value set.
Then I changed the value set and keep the code and meaning in the value set table as same and my process worked fine.
Now I want to know that should I use Table validated value set or not. As Oracle does not support these in KFFsHi Thierry
Thanks for the reply
have you used cross validation rules?I am not sure about cross validation rules and how we can use in my case.
An other thought: there is an action parameter available parameter_name=COST_API_IMODE
Set the parameter_value = 'Y'In my case my costing process is working fine, even when I define my table validated value sets. My question is should we define table validated values sets or not as Oracle does not support it now? Oracle use to support this for KFFs some time back but now they are saying they does not support.
Are there any known issues if we use Table validated value sets? Why Oracle does not support it for KFFs? -
Restrict responsibility with one value set
Hi,
We have created a responsibility and we want that to have only one value set. When we add "Flexfield Value" menu to the responsibility it shows the query screen where users can access any value set.
Other than custom.pll or forms personalization, is there any other simple way?
Thanks.No, There is no simpler way to have only one value set.
-
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 HartmutHello 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 -
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. -
Installing Oracle 10g and error with DISPLAY value
Hello, I am instaling Oracle 10g and when I run:
. /runInstaller
this error apear:
Can't connect to X11 window server using :0.0 as the value of DISPLAY variable.
how must I set de DISPLAY variable if I have instaling in a local system?
ThanksCan't connect to X11 window server using :0.0 as the value of DISPLAY variable.you apparently set the display correctly (:0:0) if you are installing locally.
You could do a xhost + as user531326 if you did not start your X session as oracle
Message was edited by:
Laurent Schneider
note that xhost + is not a good security practice, have a look at
http://amath.colorado.edu/computing/unix/x/ -
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] -
Font error with inputsource 2-set Korean
When I type Korean font in certain 3rd party application such as Scrivener, font scatters and it doesn't build up correctly.
As you might be aware, a letter of korean word is consist of vowels and consonants in one buid up
For example, "king" is 킹 in Korean.
k = ㅋ
i = l
ng = ㅇ
ㅋ stands for k
ㅣ stands for i
o stands for ng
but korean lettter does not written horizonally like " ㅋㅣㅇ " . It written 킹 . the ng(ㅇ) lays vertically under 키
it is because that the korean letter is modularized with each syllabel and meanings.
When I type in Scrivener, the writting tool for writers, the letters I type would scatter and breaks away.
I have asked about that app's support team. They said it is because that the Apple text system only supports Eastern scripts for certain fonts.
Meantime, the scrivener support team told me the workacround to use font "AppleGothic" which supports Eastern scripts.
But when I tried with AppleGothic, the error occurs the same. see following screenshot.
Where fundamental reason do you think at?
Is it because from OS X embedded code? or the Application's code?
Similar case happened at Note input area in Omnigraffle app; the fonts flickers and don't move ahad. (try this in korean if you're a Omnigraffle user)
When I ask the Omnigraffle support team. they said "Copy and paste the text from another source" ....huh!
Where fundamental reason do you think at?
Is it because from OS X embedded code? or the Application's code?
I really like to knowThe standard Lion fonts for Korean are Nanum, AppleMyungjo, and AppleGothic. Do they all show this problem in Scrivener?
As a general rule, when something like this works just fine in all Apple apps but not in some 3rd party apps, it is really up to the people who make the 3rd party app to fix whatever the problem is. -
IDOC posting error with dollar values
Hello,
We have recently started posting general ledger transactions via IDOC. We just noticed that a few of the idocs reflect a status 53 however did not create postings. When drilling into the message, it says that there were not valid line items. (meaning lines with 0 dollar value). However all of the records had valid dollar values. I have found a few notes that adress this as an issue in 46B, however we are on 4.7 and all of the suggested code fixes have been implemented already. Has anyone seen this happen?
-Jeff1. Please check that the process code in the inbound partner profile is correct.
2. If this is the case, you should check the ALE inbound methods ALE inbound methods for the process code and see whether the specified function module and application object type are correct.
3. If this is also the case, then the function module and the application object type are not permitted for the logical message type, message variant, message function and basis type that are contained in the IDoc control record. You should check whether the correct values have been assigned to these fields in the control record. If they do have the correct values, then the assignment to the function module and the application object type needs to be maintained.
BR,
Alok -
Dimension Selector Error with Dimensional Security Set
I have the following dimensional security applied:
INDEX USER
CASE SOLFAE
SELECT Solution Below 'SOL-_FINANCE_&_ACCOUNTING_EXCELLENC'
SELECT Geography
SELECT Industry
SELECT Resource_Job_Function
SELECT Resource_Proficiency
SELECT Resource_Solution 'RS-_FINANCE_&_ACCOUNTING_EXCELLENC'
SELECT Resource_Solution Plus 'RS-_FINANCE_&_ACCOUNTING_EXCEL_PIM'
ENDINDEX
When I use the dimensional selector in the IP user interface (connecting to PAS with SOLFAE user id), I get the following error:
CAL062:
R is Not a Member of RESOURCE_SOLUTION
CAL062:
INTERNALAUDIT is Not a Member of RESOURCE_SOLUTION
However, when I remove the dimensional security on the RESOURCE_SOLUTION dimension, the dimension selector works fine. Does anyone out there have any insight into what may be causing this error. We are running SSM 7.0 SP7.
Thanks ahead of time for your help!
Edited by: Jason Allen on Oct 29, 2010 10:12 PMI think that it may be the "&" in the dimension member names. I'll test on Monday, and repost. In the meantime, if anyone has additional insight, please reply to this post.
-
Reed solomon VI gives error with higher values of n and k.
I am receiving the error message "Error -21872 occurred at mod_Validate RS code prms.vi"
If I use n = 15 and k = 11, it works fine. But if I use n = 64 and k = 32, it does not work and gives above mentioned error.
Can anyboody guideme how to fix it.
See attached VI for further details.
Attachments:
RS_Encode_V2.vi 17 KBThis is a repeat post. The original post is located here, and has already been answered.
Matthew R.
Applications Engineer
National Instruments
Maybe you are looking for
-
How to keep the Zoom level in Safari 7?
There is only one big win that's making me stick to Chrome over Safari: The zoom. In Chrome when you zoom in a page (With Cmd +) the zoom level is stored in the cookies, or the history, or somwhere, and it stays the same level when you open again tha
-
Hi, We have installed 4 SAP components(R/3,Xi,EP,BIW) on single OS (HP-UX)with Oracle. System perfectly working but little bit poor performance. During installation we have given 8GB memory for all the compoennets , that means each instance 2GB ( 60:
-
ASSERTION_FAILED in XD01,XD02 while maintaining Industry in Marketing tab
While creating a new customer (XD01) or changing an existing customer (XD02), in the Marketing tab, Industry field, when a value is maintained, it results in runtime error ASSERTION_FAILED. This occurs in line: assert condition lv_ind_sector_type is
-
Several problems after installing leopard
Last week I bought a new hard drive (WD 250GB 5400rpm) so I put the older one on a external case and installed the new one. A couple of days later I bought leopard and installed that. I have since had several problems. Whenever I power on my computer
-
Procedure to delete Fact Table
Hi All, If I have to rerun my fact table the same day, more than once a day, and if there were rows in it already, I want to delete those rows and reload the fact with current date. I want to create a procedure and include it in the package, the proc