Report parameter is not populated with exact value in stacked column click throughs
I have stacked column chart to show below opportunity data.
Category axis: Month of created date
Series: sales stage
Aggregate: runningvalue of revenue on sales stage group.
data set has below fields.
1. opportunity id
2. created date
3. revenue
4. sales stage.
5. Calculated field: month of created date
I have a sub report which shows the detail information for that month when I click on Stacked column. In order to achieve this i have to pass a report parameter with month of created date(calculated field) on the click action of main report.
This report parameter is not getting populated when i click on the respective stacked column because of which the sub report is failing.
Any thoughts?
1. Category: month of the created date of opportunity(this
1. Category: month of the created date of opportunity(this
Thanks Katherine for reply.
Creating a subreport was never an issue, the issue was when I click on the stacked column the parameter (A) as per your screenshot was not getting populated, some times it just passes a null value.
In my report below is the sample data and in Chart
1. Series Aggregate is on Runningvalue of Revenue set to stage scope.
2. CAtegory group is on Month of Created date
3. Series group is on Stage
4. Have a report filter for Year.
Sub report parameter: Month which is passed when I click on the stacked column.
Below is sample data how my data looks like.
id
stage
createdon
revenue
1
U
1/1/2013
1000
2
Ir
1/2/2013
2000
3
Ir
2/2/2013
1000
4
A
2/3/2013
5000
5
A
3/3/2013
1000
6
Ir
3/3/2013
5000
7
Ir
4/3/2013
7000
Below is the image of actual report
In the above screenshot When i click on Region A or Region C for Aug Column, the Month Parameter for subreport is always null. When I click on Region B , parameter is having the
value as "Aug".
Let me know is there anything I am missing.
Similar Messages
-
Report Parameter form not showing list of values in Report svr
I was using reports 6i where I used to have list box in report parameter form. I now converted recompiled my reports in 10g and when I run I am not geting the list of values. I get the values as a list below the field
ex.
ITEM :___________
box,book,pencil,rubber,
dvd,floppy...
previously it was coming as a list in the item field
thanks
MGHello,
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/howto/params/pmp_creating_list_of_values.htm?tp=true
If you run the report from a Web browser and the list of values is unrestricted, the HTML Parameter Form will display a text field instead of a combo box, and a list of static values that you can copy and paste into the text field.
Regards -
I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query
parameter to report parameter i need to pass distinct values. How can i resolve thisHi nancharaiah,
If I understand correctly, you want to pass distinct values to report parameter. In Reporting Service, there are only three methods for parameter's Available Values:
None
Specify values
Get values from a query
If we utilize the third option that get values from a dataset query, then the all available values are from the returns of the dataset. So if we want to pass distinct values from a dataset, we need to make the dataset returns distinct values. The following
sample is for your reference:
Select distinct field_name from table_name
If you have any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
GR Value is not matching with PO Value while posting good receipt.
Hi Experts,
My client has raised the PO with accounts assignment category K (COST CENTRE) with material description.
but he has received invoice receipt before good receipt.while invoice receipt he has entered wrong value for some qty as per PO intially and cancelled that wrong entry.
I have gone through original & cancelled invoice document accounting entries. below is entries:
Original invoice document accounting entries:
GR/IR Clearing account: Debited
Vendor account: Credited
during cancelling the above document it should be vendor acc is debited and GR/IR account is credited but in the system below entries taken place
Cancelled invoice document accounting entries:
Vendor account : Debited
GR/IR Account : Credited
Consumption Account : Credited
Why consumption acc taken place here. pls help what are the possibilitis....
these entries affecting good receipt value means while taking goods receipt for some qty out of full qty value is not matching with PO value.
but while cancelling the GR documents system taking correct values as per PO. Please help.
Kindly help in this regards
Regards
MohanHi,
Check the Credit Memo document whether G/L tab is there & whether any G/L account is entered ?
I think instead of cancelling the MIRO document they might have posted a vendor credit memo manually by specifying a consumption GL.
Thanks & Regards, -
Hi ,
We have enabled context sensitive DFF in Bank Branch Page for HZ_PARTIES DFF , We have created Flex Map so that only bank branch context fields are only displayed in the bank branch page and as we know party information DFF is shared by supplier and Customer Page so we dint want to see any Bank Branch fields or context information in those pages.
We have achieved the requirement but when open existing branches bank branch update is throwing below error message :
"The value in flexfield context reference web bean does not match with the value in the context of the Descriptive flexfield web bean BranchDescFlex. If this in not intended, please go back to correct the data or contact your Systems Administrator for assistance."
this error is thrown only when we open existing branches, if we save existing branch and open then it is not throwing any error message.
Please let us know reason behind this error message.
Thanks,
MrudualaYou are kidding? It took me about 3 minutes to scroll down on my tab to get to the triplex button!
Habe you read the error message?
Quote:
java.sql.SQLSyntaxErrorException: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
Check the trigger and it should work again.
Timo -
Reg:F.19 report figures are not tallying with gl account 208030. Why?
hi boss
F.19 report figures are not tallying with gl account 208030. Why?
pls urgent
amkHi,
We have had GO-LIVE on 2008 April. They have executed balances carry forwrad for 2008 only. Do they need to carry forward balances for 2007 also?
Is this the reason, that the system is showing differances in F.08 report.
Kindly help me
Thanks
Kishore
Edited by: Emergys Corp on Nov 24, 2009 8:56 AM -
MIGO not updating with excise value.
Hey Guys,
I am facing with this problem of MIGO not
updating with excise value.
When I am creating the MIGO doc, and after
I give the excise invoice no. the excise
values are not picking up. Its showing
zero values.
The following
steps are being followed by me.
ME21N - Create STO from plant to warehouse
VL04 - Create outbound delivery
VF01 - Create invoice
J1IIN - Excise invoice
MIGO - Goods receipt at warehouse
Earlier it was working fine, but after
we upgraded the system with patches and implemented
Secondary higher education cess the
problem arose.
Please advise.
Appreciate your help.
Thanks,
ZakGot answer from SAP..dunno what they did but it was rectified.
-
Authorization variable not filled with authorization values
Hello All
I post a similar message earlier this week, I thought that my issue was solved, but it was not.
I've got a workbook with 4 differents queries.
There as an authorizations variable in each query. This variable properties is as follows :
**General tab**
Type of variable : characteristic value
Processing type : authorization
Characteristic : company code
**Details**
Variable represents : selection options
Variable is : optional
Variable is ready for input : yes
I've followed recommandations from OSS notes 976680
My issue is : if I run each query individually, variable is filled with authorized values
If I run the workbook, variable is not filled with authorized value, so when end user run the workbook, BW consider that end user wants to see all data and get "No authorization".
I don't understand why variable within the workbook doesn't show the authorized values and why the queries do.
Any suggestion about this issue ????
Thanks
CatherineHi
thanks for replying
I ran the query with UserID from RSECADMIN and I could open the query. But if I want to select 0profit_ctr I get this error No authorization to characteristic values.
I checked the log and this is the message.
Value Authorization
InfoProvider FIGL_MP1
Value Authorization for Characteristic 0PROFIT_CTR
Building the Buffer...
Building the Buffer...
No Authorization for Values
thanks -
Pro*C & SQLDA with NULL value for predicate column
Hi: I am using a C program to update a table via a dynamic sql (method 4) and SQLDA. In the update statement predicate, I have place holders (as in TBLCOL=:C000). One of the columns in the predicate contains null values, so I set L[n] = 0, V[n] = pData (which pData[0] = '\0'), *(I[n]) = -1, and T[n] = 5 (for text). I cannot find the row that I know is there.
I cannot change my statement to contain TBLCOL IS NULL, since I don't know ahead of time if I'm looking for rows with null values for this column. The Pro*C manual says that by setting the appropriate *(I[n]) = -1, it indicates to Oracle to simulate the "IS NULL" clause, and update the appropriate rows. In my case, I receive 1403 as SQLCODE when I use TBLCOL=:C000 vs TBLCOL IS NULL. What am I doing wrong? Thank you for your help.You should include these columns as well;
ChangeType (see mxi_changetype)
ValOwner (repository)
UserID ("jobid=<>", usermskey, GUI (mmc), DG (dyngrp), reconcile)
IdAudit (This is the event task (add and del member for assignments)
ParentAuditId (AuditID of parent which last updated the attribute, not consistent)
ChangedBy (Holds the MSKEY of the user which last changed the attribute)
ExpiryTime
to make sure you get a fuller picture of the audit record.
Your selection does not cover all events and descriptions
br,
Chris -
I do not want the learner to be able to click through the project until they hear the audio recorded on each slide, however I also would like them to have click to advance to the next slide. Is there a way to set up these 2 functions together?
I don't like that approach for adult learners, cannot refrain from mentioning that.
Don't use a playbar but create custom navigation. You'll need a next button on each slide that appears after the audio (in timeline). Since slides will not all have the same duration you'll need an individual button per slide, a shape button on master slide or timed for the rest of the project will not be possible. -
Hey,
I created a report in Reporting Services where I added multi-value parameter
( Filter). When I run my report, and try to select more than one parameter, I get an error: Incorrect syntax near ','
then i put in parameter expression : join(Parameters!Filter.Value,",")
and add : dbo.ufnSplit before calling parameter in query :
>>> set @valwhere = 'table.field IN (select * from dbo.ufnSplit(' + @Filter + ' , '',''))'
but i still have errors : incorrect syntax near 'text' which is the second value of the picklist of the parameter,
Please Any idea ?
Thanks !!I have sometimes had to collate as default with the SQL query
currently I've just using
CompanyName in
(selectitemfromdbo.fnSplit(@function,','))
In the SSRS report text box I have Join(Parameters!Company.Value,",") -
[OCI] Parameter Binding, repeated Statements with differing values
Hello
I am working on an application written in C which sends about 50 different SQL Statements to an Oracle Database using OCI. These Statements are executed repeatedly with different values.
In order to improve performance I would like to know what possibilities I have.
Whats the benefit of the following "techniques" ?
- Parameter Binding
- Statement Caching
What else could I look into?
with friendly greetings.It doesn't take zero-time of course, and it does level-off after a while, but array-bind/define or pre-fetching can make a significant impact on performance:
truncated table: 0.907 / 0.918
insert_point_stru_1stmt_1commit: x100,000: 0.141 / 0.144Above I truncate the table to get repeatable numbers; deleting all rows from a previous run leaves a large free list (I guess...), and performance of this little contrived benchmark degrades non-negligeably otherwise. This is a single array-bind insert statement.
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@0: 7.594 / 7.608
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@1: 4.000 / 4.004
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@10: 0.906 / 0.910
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@100: 0.297 / 0.288
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@1,000: 0.204 / 0.204
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@10,000: 0.265 / 0.268
fetched 100,000 rows. (0 errors)Above I do a regular "scalar" define, but turn pre-fetching on (default is one row, but I tested with pre-fetching completly off too). @N means pre-fetch N rows.
select_points_array: x100,000@10: 0.969 / 0.967
fetched 100,000 rows. (0 errors)
select_points_array: x100,000@100: 0.250 / 0.251
fetched 100,000 rows. (0 errors)
select_points_array: x100,000@1,000: 0.156 / 0.167
fetched 100,000 rows. (0 errors)
select_points_array: x100,000@10,000: 0.156 / 0.157
fetched 100,000 rows. (0 errors)Above I use array-defines instead of pre-fetch.
select_points_struct: x100,000@10: 0.938 / 0.935
fetched 100,000 rows. (0 errors)
select_points_struct: x100,000@100: 0.219 / 0.217
fetched 100,000 rows. (0 errors)
select_points_struct: x100,000@1,000: 0.140 / 0.140
fetched 100,000 rows. (0 errors)
select_points_struct: x100,000@1,000: 0.140 / 0.140Above I use array-of-struct defines instead of pre-fetch or array-bind. Performance is just a little better, probably because of better memory "locality" with structures.
The table is simple:
create table point_tab(
id number,
x binary_float,
y binary_float,
z binary_float
So each row is 22 + 4 + 4 + 4 = 34 bytes. There are no constraints or indexes of course to make it as fast as possible (this is 11g on XP win32, server and client on the same machine, single user, IPC protocol, so it doesn't get much better than this, and is not realistic of true client-server multi-user conditions).
There aren't enough data point to confirm or not your prediction that the advantage of array-bind level-off at the packet size threshold, but what you write makes sense to me.
So I went back and tried more sizes. 8K divided by 34 bytes is 240 rows, so I selected 250 rows as the "middle", and bracketed it with 2 upper and lower values which "double" up or down the number of rows:
truncated table: 0.953 / 0.960
insert_point_stru_1stmt_1commit: x100,000: 0.219 / 0.220
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@67: 0.329 / 0.320
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@125: 0.297 / 0.296
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@250: 0.250 / 0.237
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@500: 0.218 / 0.210
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@1,000: 0.187 / 0.195
fetched 99,964 rows. (0 errors)
select_points_array: x99,964@67: 0.297 / 0.294
fetched 100,000 rows. (0 errors)
select_points_array: x100,000@125: 0.235 / 0.236
fetched 100,000 rows. (0 errors)
select_points_array: x100,000@250: 0.203 / 0.206
fetched 100,000 rows. (0 errors)
select_points_array: x100,000@500: 0.188 / 0.179
fetched 100,000 rows. (0 errors)
select_points_array: x100,000@1,000: 0.156 / 0.165
fetched 99,964 rows. (0 errors)
select_points_struct: x99,964@67: 0.250 / 0.254
fetched 100,000 rows. (0 errors)
select_points_struct: x100,000@125: 0.203 / 0.207
fetched 100,000 rows. (0 errors)
select_points_struct: x100,000@250: 0.172 / 0.168
fetched 100,000 rows. (0 errors)
select_points_struct: x100,000@500: 0.157 / 0.152
fetched 100,000 rows. (0 errors)
select_points_struct: x100,000@1,000: 0.125 / 0.129As you can see, it still gets faster at 1,000, which is about 32K. I don't know the packet size of course, but 32K sounds big for a packet.
truncated table: 2.937 / 2.945
insert_point_stru_1stmt_1commit: x100,000: 0.328 / 0.324
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@1,000: 0.250 / 0.250
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@2,000: 0.266 / 0.262
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@3,000: 0.250 / 0.254
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@4,000: 0.266 / 0.273
fetched 100,000 rows. (0 errors)
select_first_n_points: x100,000@5,000: 0.281 / 0.278
fetched 100,000 rows. (0 errors)
select_points_array: x100,000@1,000: 0.172 / 0.165
fetched 100,000 rows. (0 errors)
select_points_array: x100,000@2,000: 0.157 / 0.159
fetched 99,000 rows. (0 errors)
select_points_array: x99,000@3,000: 0.156 / 0.157
fetched 100,000 rows. (0 errors)
select_points_array: x100,000@4,000: 0.141 / 0.155
fetched 100,000 rows. (0 errors)
select_points_array: x100,000@5,000: 0.157 / 0.164
fetched 100,000 rows. (0 errors)
select_points_struct: x100,000@1,000: 0.125 / 0.129
fetched 100,000 rows. (0 errors)
select_points_struct: x100,000@2,000: 0.125 / 0.123
fetched 99,000 rows. (0 errors)
select_points_struct: x99,000@3,000: 0.125 / 0.120
fetched 100,000 rows. (0 errors)
select_points_struct: x100,000@4,000: 0.125 / 0.121
fetched 100,000 rows. (0 errors)
select_points_struct: x100,000@5,000: 0.125 / 0.122Above 32K, there doesn't seem to be much benefit (at least in this config. My colleague on linux64 is consistently faster in benchmarks, even connecting to the same servers, when we have the same exact machine). So 32K may indeed be a threshold of sort.
In all, I hope I've shown there is value in array-binds (or defines), or even simple pre-fetching (but the latter helps in selects only). I don't think one can very often take advantage of it, and I have no clue how it compares to direct-path calls, but value there is still IMHO. --DD -
Report parameter does not show up in rtf template
Hi all
I was able to produce an rtf file based on the XML bellow. I could create the header with the customer name and the invoice list with the totals. However, I already tried by any means to insert the AS_OF_DATE parameter in the rtf template but it never appears. Do I have to put it between a <?for-each?> <?end for-each?>. This must be a simple question but I’m very new to this.
Thanks in advance for any help.
Octavio
<?xml version="1.0"?>
<!-- Generated by Oracle Reports version 6.0.8.27.0 -->
<ARXAGMW>
<LIST_G_SETUP>
<G_SETUP>
<COMPANY_NAME>TUI Portugal, SA.</COMPANY_NAME>
<COAID>101</COAID>
<FUNCTIONAL_CURRENCY>EUR</FUNCTIONAL_CURRENCY>
<IN_SET_OF_BOOKS_ID>50</IN_SET_OF_BOOKS_ID>
<FUNCTIONAL_CURRENCY_PRECI>2</FUNCTIONAL_CURRENCY_PRECI>
<CONVERT_FLAG>Y</CONVERT_FLAG>
<LIST_G_SEL_CREDIT_OPTIONS>
<G_SEL_CREDIT_OPTIONS>
<INCLUDE_CREDIT_HIGH>Y</INCLUDE_CREDIT_HIGH>
<IN_ON_ACCOUNT_LOW>N</IN_ON_ACCOUNT_LOW>
<CREDIT_OPTION_MEANING>Age</CREDIT_OPTION_MEANING>
<LIST_G_SEL_OPTIONS>
<G_SEL_OPTIONS>
<PRINT_ON_ACCOUNT_FLAG></PRINT_ON_ACCOUNT_FLAG>
<SORT_OPTION>C</SORT_OPTION>
<SUMMARY_OPTION>I</SUMMARY_OPTION>
<FORMAT_DETAILED></FORMAT_DETAILED>
<INVOICE_TYPE_PRINT></INVOICE_TYPE_PRINT>
<CUSTOMER_NAME_PRINT></CUSTOMER_NAME_PRINT>
<BALANCE_DUE_PRINT></BALANCE_DUE_PRINT>
<LIST_G_COMPANY_CUST>
</LIST_G_COMPANY_CUST>
<LIST_G_COMPANY_INV>
<G_COMPANY_INV>
<COMPANY_INV>01</COMPANY_INV>
<LIST_G_INV_INV>
<G_INV_INV>
<SORT_FIELD1_INV></SORT_FIELD1_INV>
<INV_TID_INV>*</INV_TID_INV>
<SORT_FIELD2_INV>10FC</SORT_FIELD2_INV>
<LIST_G_CUST_INV>
<G_CUST_INV>
<CUST_NAME_INV>Academia Contemporânea do Espectáculo</CUST_NAME_INV>
<CUST_NO_INV>1011</CUST_NO_INV>
<CUST_ID_INV>*</CUST_ID_INV>
<CUST_STATE_INV></CUST_STATE_INV>
<CUST_CITY_INV>Porto</CUST_CITY_INV>
<CONTACT_SITE_ID_INV>*</CONTACT_SITE_ID_INV>
<LIST_G_SITE_INV>
<G_SITE_INV>
<ADDR_ID_INV>*</ADDR_ID_INV>
<AMT_DUE_REMAINING_INV>*</AMT_DUE_REMAINING_INV>
<LIST_G_1>
<G_1>
<INVNUM>10FC*526</INVNUM>
<CONS_BILLING_NUMBER></CONS_BILLING_NUMBER>
<LIST_G_INVOICE>
<G_INVOICE>
<DUE_DATE_INV>26-OCT-07</DUE_DATE_INV>
<INVOICE_TYPE_INV>10FC</INVOICE_TYPE_INV>
<CLASS_INV>INV</CLASS_INV>
<PAYMENT_SCHED_ID_INV>*</PAYMENT_SCHED_ID_INV>
<DAYS_PAST_DUE2>*</DAYS_PAST_DUE2>
<AMOUNT_ADJUSTED_INV></AMOUNT_ADJUSTED_INV>
<AMOUNT_APPLIED_INV></AMOUNT_APPLIED_INV>
<AMOUNT_CREDITED_INV></AMOUNT_CREDITED_INV>
<GL_DATE_INV>26-SEP-07</GL_DATE_INV>
<DATA_CONVERTED_INV></DATA_CONVERTED_INV>
<PS_EXCHANGE_RATE_INV>1</PS_EXCHANGE_RATE_INV>
<B0_INV>0</B0_INV>
<B1_INV>0</B1_INV>
<B2_INV>0</B2_INV>
<B3_INV>0</B3_INV>
<B4_INV>1</B4_INV>
<B5_INV>0</B5_INV>
<B6_INV>0</B6_INV>
<COMP_AMT_DUE_REM_INV>181.54</COMP_AMT_DUE_REM_INV>
<C_DATA_CONV_FLAG_INV>0</C_DATA_CONV_FLAG_INV>
<C_AMT_DUE_REM_INV>181.54</C_AMT_DUE_REM_INV>
<C_AMT_DUE_REM_INV_DSP> 181.54 </C_AMT_DUE_REM_INV_DSP>
<C_AMOUNT_CH_INV>0</C_AMOUNT_CH_INV>
<C_AMOUNT_CR_INV>0</C_AMOUNT_CR_INV>
<C_AMOUNT_RISK_INV>0</C_AMOUNT_RISK_INV>
<C_AMOUNT_CLAIM_INV>0</C_AMOUNT_CLAIM_INV>
<C_INV_BALANCE>181.54</C_INV_BALANCE>
<C_COMP_BAL_INV>181.54</C_COMP_BAL_INV>
<C_INV_BALANCE_DSP> 181.54 </C_INV_BALANCE_DSP>
<C_INV_B0>0</C_INV_B0>
<C_INV_B0_DSP> </C_INV_B0_DSP>
<C_INV_B1>0</C_INV_B1>
<C_INV_B1_DSP> </C_INV_B1_DSP>
<C_INV_B2>0</C_INV_B2>
<C_INV_B2_DSP> </C_INV_B2_DSP>
<C_INV_B3>0</C_INV_B3>
<C_INV_B3_DSP> </C_INV_B3_DSP>
<C_INV_B4>181.54</C_INV_B4>
<C_INV_B4_DSP> 181.54 </C_INV_B4_DSP>
<C_INV_B5>0</C_INV_B5>
<C_INV_B5_DSP> </C_INV_B5_DSP>
<C_INV_B6>0</C_INV_B6>
<C_INV_B6_DSP> </C_INV_B6_DSP>
</G_INVOICE>
</LIST_G_INVOICE>
<CONS_BILL_DISP>10FC*526</CONS_BILL_DISP>
</G_1>
</LIST_G_1>
<PERCENT_B0_ADDR>0</PERCENT_B0_ADDR>
<PERCENT_B1_ADDR>0</PERCENT_B1_ADDR>
<PERCENT_B2_ADDR>0</PERCENT_B2_ADDR>
<PERCENT_B3_ADDR>0</PERCENT_B3_ADDR>
<PERCENT_B4_ADDR>100</PERCENT_B4_ADDR>
<PERCENT_B5_ADDR>0</PERCENT_B5_ADDR>
<PERCENT_B6_ADDR>0</PERCENT_B6_ADDR>
<SET_PERCENT_ADDR>0</SET_PERCENT_ADDR>
<TOTAL_SITE_AMT>181.54</TOTAL_SITE_AMT>
<TOTAL_SITE_AMT_DSP> 181.54 </TOTAL_SITE_AMT_DSP>
<TOTAL_SITE_B0>0</TOTAL_SITE_B0>
<TOTAL_SITE_B0_DSP> 0.00 </TOTAL_SITE_B0_DSP>
<TOTAL_SITE_B1>0</TOTAL_SITE_B1>
<TOTAL_SITE_B1_DSP> 0.00 </TOTAL_SITE_B1_DSP>
<TOTAL_SITE_B2>0</TOTAL_SITE_B2>
<TOTAL_SITE_B2_DSP> 0.00 </TOTAL_SITE_B2_DSP>
<TOTAL_SITE_B3>0</TOTAL_SITE_B3>
<TOTAL_SITE_B3_DSP> 0.00 </TOTAL_SITE_B3_DSP>
<TOTAL_SITE_B4>181.54</TOTAL_SITE_B4>
<TOTAL_SITE_B4_DSP> 181.54 </TOTAL_SITE_B4_DSP>
<TOTAL_SITE_B5>0</TOTAL_SITE_B5>
<TOTAL_SITE_B5_DSP> 0.00 </TOTAL_SITE_B5_DSP>
<TOTAL_SITE_B6>0</TOTAL_SITE_B6>
<TOTAL_SITE_B6_DSP> 0.00 </TOTAL_SITE_B6_DSP>
<C_SITE_PAYMENTS_DSP> 0.00 </C_SITE_PAYMENTS_DSP>
<C_SITE_PAYMENTS>0</C_SITE_PAYMENTS>
<C_SITE_RISK>0</C_SITE_RISK>
<C_SITE_CREDITS>0</C_SITE_CREDITS>
<C_SITE_CREDITS_DSP> 0.00 </C_SITE_CREDITS_DSP>
<C_SITE_BALANCE>181.54</C_SITE_BALANCE>
<C_SITE_BALANCE_DSP> 181.54 </C_SITE_BALANCE_DSP>
<SEL_CONTACT_INV> </SEL_CONTACT_INV>
<C_CONTACT_NAME_INV></C_CONTACT_NAME_INV>
<C_CONTACT_PHONE_INV></C_CONTACT_PHONE_INV>
<C_CONTACTS_INV></C_CONTACTS_INV>
</G_SITE_INV>
</LIST_G_SITE_INV>
<D_CUST_NAME_INV>Academia Contemporânea do</D_CUST_NAME_INV>
<TOTAL_INV_AMT>181.54</TOTAL_INV_AMT>
<TOTAL_INV_AMT_DSP> 181.54 </TOTAL_INV_AMT_DSP>
<TOTAL_INV_B0>0</TOTAL_INV_B0>
<TOTAL_INV_B0_DSP> 0.00 </TOTAL_INV_B0_DSP>
<TOTAL_INV_B1>0</TOTAL_INV_B1>
<TOTAL_INV_B1_DSP> 0.00 </TOTAL_INV_B1_DSP>
<TOTAL_INV_B2>0</TOTAL_INV_B2>
<TOTAL_INV_B2_DSP> 0.00 </TOTAL_INV_B2_DSP>
<TOTAL_INV_B3>0</TOTAL_INV_B3>
<TOTAL_INV_B3_DSP> 0.00 </TOTAL_INV_B3_DSP>
<TOTAL_INV_B4>181.54</TOTAL_INV_B4>
<TOTAL_INV_B4_DSP> 181.54 </TOTAL_INV_B4_DSP>
<TOTAL_INV_B5>0</TOTAL_INV_B5>
<TOTAL_INV_B5_DSP> 0.00 </TOTAL_INV_B5_DSP>
<TOTAL_INV_B6>0</TOTAL_INV_B6>
<TOTAL_INV_B6_DSP> 0.00 </TOTAL_INV_B6_DSP>
<SUM_INV_BALANCE>181.54</SUM_INV_BALANCE>
<SUM_INV_BALANCE_DSP> 181.54 </SUM_INV_BALANCE_DSP>
<SUM_ONACC_CR_INV>0</SUM_ONACC_CR_INV>
<SUM_ONACC_CR_INV_DSP> 0.00 </SUM_ONACC_CR_INV_DSP>
<ONACC_CONV_CH_INV> </ONACC_CONV_CH_INV>
<ONACC_CONV_CR_INV> </ONACC_CONV_CR_INV>
<ONACC_CONV_RISK_INV></ONACC_CONV_RISK_INV>
<SUM_ONACC_CH_INV>0</SUM_ONACC_CH_INV>
<SUM_ONACC_CH_INV_DSP> 0.00 </SUM_ONACC_CH_INV_DSP>
<SUM_ONACC_RISK_INV>0</SUM_ONACC_RISK_INV>
<SUM_ONACC_RISK_INV_DSP> 0.00 </SUM_ONACC_RISK_INV_DSP>
<SUM_CLAIM_INV>0</SUM_CLAIM_INV>
<SUM_CLAIM_INV_DSP> 0.00 </SUM_CLAIM_INV_DSP>
<SEL_PERCENT_INV>0</SEL_PERCENT_INV>
<PERCENT_B0_INV>0</PERCENT_B0_INV>
<PERCENT_B1_INV>0</PERCENT_B1_INV>
<PERCENT_B2_INV>0</PERCENT_B2_INV>
<PERCENT_B3_INV>0</PERCENT_B3_INV>
<PERCENT_B4_INV>100</PERCENT_B4_INV>
<PERCENT_B5_INV>0</PERCENT_B5_INV>
<PERCENT_B6_INV>0</PERCENT_B6_INV>
</G_CUST_INV>
</LIST_G_CUST_INV>
<C_LABEL2_INV>Total For Type</C_LABEL2_INV>
<C_LABEL3_INV>Type</C_LABEL3_INV>
<FLEX_TYPE_INV>10FC</FLEX_TYPE_INV>
<TOTAL_INV_INV_AMT>181.54</TOTAL_INV_INV_AMT>
<TOTAL_INV_INV_AMT_DSP> 181.54 </TOTAL_INV_INV_AMT_DSP>
<TOTAL_INV_INV_B0>0</TOTAL_INV_INV_B0>
<TOTAL_INV_INV_B0_DSP> 0.00 </TOTAL_INV_INV_B0_DSP>
<TOTAL_INV_INV_B1>0</TOTAL_INV_INV_B1>
<TOTAL_INV_INV_B1_DSP> 0.00 </TOTAL_INV_INV_B1_DSP>
<TOTAL_INV_INV_B2>0</TOTAL_INV_INV_B2>
<TOTAL_INV_INV_B2_DSP> 0.00 </TOTAL_INV_INV_B2_DSP>
<TOTAL_INV_INV_B3>0</TOTAL_INV_INV_B3>
<TOTAL_INV_INV_B3_DSP> 0.00 </TOTAL_INV_INV_B3_DSP>
<TOTAL_INV_INV_B4>181.54</TOTAL_INV_INV_B4>
<TOTAL_INV_INV_B4_DSP> 181.54 </TOTAL_INV_INV_B4_DSP>
<TOTAL_INV_INV_B5>0</TOTAL_INV_INV_B5>
<TOTAL_INV_INV_B5_DSP> 0.00 </TOTAL_INV_INV_B5_DSP>
<TOTAL_INV_INV_B6>0</TOTAL_INV_INV_B6>
<TOTAL_INV_INV_B6_DSP> 0.00 </TOTAL_INV_INV_B6_DSP>
<TOTAL_INV_INV_BALANCE>181.54</TOTAL_INV_INV_BALANCE>
<TOTAL_INV_INV_CREDIT>0</TOTAL_INV_INV_CREDIT>
<TOTAL_INV_INV_RISK>0</TOTAL_INV_INV_RISK>
<TOTAL_INV_INV_CLAIM>0</TOTAL_INV_INV_CLAIM>
<TOTAL_INV_INV_CASH>0</TOTAL_INV_INV_CASH>
<SET_PERCENT_INV_INV>0</SET_PERCENT_INV_INV>
<SUM_PERCENT_B0_INV>0</SUM_PERCENT_B0_INV>
<SUM_PERCENT_B1_INV>0</SUM_PERCENT_B1_INV>
<SUM_PERCENT_B2_INV>0</SUM_PERCENT_B2_INV>
<SUM_PERCENT_B3_INV>0</SUM_PERCENT_B3_INV>
<SUM_PERCENT_B4_INV>100</SUM_PERCENT_B4_INV>
<SUM_PERCENT_B5_INV>0</SUM_PERCENT_B5_INV>
<SUM_PERCENT_B6_INV>0</SUM_PERCENT_B6_INV>
</G_INV_INV>
</LIST_G_INV_INV>
<TOTAL_COMPANY_INV_AMT>181.54</TOTAL_COMPANY_INV_AMT>
<TOTAL_COMPANY_INV_AMT_DSP> 181.54 </TOTAL_COMPANY_INV_AMT_DSP>
<SET_GSUM_INV_AMT> 181.54 </SET_GSUM_INV_AMT>
<SET_GSUM_INV_B0> 0.00 </SET_GSUM_INV_B0>
<SET_GSUM_INV_B1> 0.00 </SET_GSUM_INV_B1>
<SET_GSUM_INV_B2> 0.00 </SET_GSUM_INV_B2>
<SET_GSUM_INV_B3> 0.00 </SET_GSUM_INV_B3>
<SET_GSUM_INV_B4> 181.54 </SET_GSUM_INV_B4>
<SET_GSUM_INV_B5> 0.00 </SET_GSUM_INV_B5>
<SET_GSUM_INV_B6> 0.00 </SET_GSUM_INV_B6>
<SET_PAY_CR_MEMOS_INV> 0.00 </SET_PAY_CR_MEMOS_INV>
<SET_RISK_INV> 0.00 </SET_RISK_INV>
<SET_CLAIM_INV> 0.00 </SET_CLAIM_INV>
<SET_GPERCENT_INV>0</SET_GPERCENT_INV>
<SET_GSUM_INV_BALANCE> 181.54 </SET_GSUM_INV_BALANCE>
</G_COMPANY_INV>
</LIST_G_COMPANY_INV>
<SET_SEL_OPTIONS>1</SET_SEL_OPTIONS>
</G_SEL_OPTIONS>
</LIST_G_SEL_OPTIONS>
<SET_CREDIT_OPTIONS>Age</SET_CREDIT_OPTIONS>
</G_SEL_CREDIT_OPTIONS>
</LIST_G_SEL_CREDIT_OPTIONS>
<CA_FUNCTIONAL_CURRENCY>EUR</CA_FUNCTIONAL_CURRENCY>
<ACCT_BAL_APROMPT>Empresa</ACCT_BAL_APROMPT>
<ACCT_FLEX_BAL_SEG>c.SEGMENT1</ACCT_FLEX_BAL_SEG>
<ACCT_BAL_LPROMPT>Empresa</ACCT_BAL_LPROMPT>
<REPORT_NAME></REPORT_NAME>
<SUB_TITLE>22-FEB-08</SUB_TITLE>
<APP_MAX_ID></APP_MAX_ID>
<ADJ_MAX_ID>74399</ADJ_MAX_ID>
<PS_MAX_ID></PS_MAX_ID>
<SET_UNID_PHRASE>Unidentified Payments</SET_UNID_PHRASE>
<SET_BUCKET_TITLES>1</SET_BUCKET_TITLES>
<SET_FTR_LABEL></SET_FTR_LABEL>
<SET_COLUMNS>1</SET_COLUMNS>
<SET_CURRENCY>EUR</SET_CURRENCY>
<UNID_CH>0</UNID_CH>
</G_SETUP>
</LIST_G_SETUP>
<RP_COMPANY_NAME>TUI Portugal, SA.</RP_COMPANY_NAME>
<RP_REPORT_NAME>Aging - 7 Buckets Report</RP_REPORT_NAME>
<RP_DATA_FOUND></RP_DATA_FOUND>
<RP_SUBTITLE> 22-FEB-08</RP_SUBTITLE>
<AS_OF_DATE>22-FEB-08</AS_OF_DATE>
<UNID_PHRASE>Unidentified Payments</UNID_PHRASE>
<SHORT_UNID_PHRASE>Unidentified Payme</SHORT_UNID_PHRASE>
<TOP0>Não</TOP0>
<TOP1>Até</TOP1>
<TOP3>Até</TOP3>
<TOP2>Até</TOP2>
<TOP4>Até</TOP4>
<TOP5>Mais de</TOP5>
<TOP6>Em</TOP6>
<BOT0>Vencido</BOT0>
<BOT1>30 Dias</BOT1>
<BOT2>60 Dias</BOT2>
<BOT3>90 Dias</BOT3>
<BOT4>180 Dias</BOT4>
<BOT5>180 Dias</BOT5>
<BOT6>Litígio</BOT6>
<BUCKET_LINE_TYPE_0>CURRENT</BUCKET_LINE_TYPE_0>
<BUCKET_LINE_TYPE_1>PAST</BUCKET_LINE_TYPE_1>
<BUCKET_LINE_TYPE_2>PAST</BUCKET_LINE_TYPE_2>
<BUCKET_LINE_TYPE_3>PAST</BUCKET_LINE_TYPE_3>
<BUCKET_LINE_TYPE_4>PAST</BUCKET_LINE_TYPE_4>
<BUCKET_LINE_TYPE_5>PAST</BUCKET_LINE_TYPE_5>
<BUCKET_LINE_TYPE_6>DISPUTE_PENDADJ</BUCKET_LINE_TYPE_6>
<BUCKET_DAYS_FROM_0>-99999999</BUCKET_DAYS_FROM_0>
<BUCKET_DAYS_FROM_1>1</BUCKET_DAYS_FROM_1>
<BUCKET_DAYS_FROM_2>31</BUCKET_DAYS_FROM_2>
<BUCKET_DAYS_FROM_3>61</BUCKET_DAYS_FROM_3>
<BUCKET_DAYS_FROM_4>91</BUCKET_DAYS_FROM_4>
<BUCKET_DAYS_FROM_5>181</BUCKET_DAYS_FROM_5>
<BUCKET_DAYS_FROM_6></BUCKET_DAYS_FROM_6>
<BUCKET_DAYS_TO_0>0</BUCKET_DAYS_TO_0>
<BUCKET_DAYS_TO_1>30</BUCKET_DAYS_TO_1>
<BUCKET_DAYS_TO_2>60</BUCKET_DAYS_TO_2>
<BUCKET_DAYS_TO_3>90</BUCKET_DAYS_TO_3>
<BUCKET_DAYS_TO_4>180</BUCKET_DAYS_TO_4>
<BUCKET_DAYS_TO_5>999999999</BUCKET_DAYS_TO_5>
<BUCKET_DAYS_TO_6></BUCKET_DAYS_TO_6>
<BUCKET_CATEGORY>DISPUTE_PENDADJ</BUCKET_CATEGORY>
<GSUM_CUST_B0></GSUM_CUST_B0>
<GSUM_CUST_B1></GSUM_CUST_B1>
<GSUM_CUST_B2></GSUM_CUST_B2>
<GSUM_CUST_B3></GSUM_CUST_B3>
<GSUM_CUST_B4></GSUM_CUST_B4>
<GSUM_CUST_B5></GSUM_CUST_B5>
<GSUM_CUST_B6></GSUM_CUST_B6>
<GSUM_CUST_PERCENT_B0></GSUM_CUST_PERCENT_B0>
<GSUM_CUST_PERCENT_B1></GSUM_CUST_PERCENT_B1>
<GSUM_CUST_PERCENT_B2></GSUM_CUST_PERCENT_B2>
<GSUM_CUST_PERCENT_B3></GSUM_CUST_PERCENT_B3>
<GSUM_CUST_PERCENT_B4></GSUM_CUST_PERCENT_B4>
<GSUM_CUST_PERCENT_B5></GSUM_CUST_PERCENT_B5>
<GSUM_CUST_PERCENT_B6></GSUM_CUST_PERCENT_B6>
<GSUM_CUST_AMT></GSUM_CUST_AMT>
<GSUM_CUST_BALANCE>0</GSUM_CUST_BALANCE>
<GSUM_ONACC_AMT_CREDIT_CUST>0</GSUM_ONACC_AMT_CREDIT_CUST>
<GSUM_ONACC_AMT_CASH_CUST>0</GSUM_ONACC_AMT_CASH_CUST>
<GSUM_PAY_CR_CUST>0</GSUM_PAY_CR_CUST>
<TEMP_SUM_CUST></TEMP_SUM_CUST>
<GSUM_CUST_B0_DSP></GSUM_CUST_B0_DSP>
<GSUM_CUST_B1_DSP></GSUM_CUST_B1_DSP>
<GSUM_CUST_B2_DSP></GSUM_CUST_B2_DSP>
<GSUM_CUST_B3_DSP></GSUM_CUST_B3_DSP>
<GSUM_CUST_B4_DSP></GSUM_CUST_B4_DSP>
<GSUM_CUST_B5_DSP></GSUM_CUST_B5_DSP>
<GSUM_CUST_B6_DSP></GSUM_CUST_B6_DSP>
<GSUM_CUST_AMT_DSP></GSUM_CUST_AMT_DSP>
<GSUM_CUST_BALANCE_DSP></GSUM_CUST_BALANCE_DSP>
<GSUM_PAY_CR_CUST_DSP></GSUM_PAY_CR_CUST_DSP>
<C_DATA_CONV_GSUM></C_DATA_CONV_GSUM>
<TEMP_ONACC_CR_CUST></TEMP_ONACC_CR_CUST>
<TEMP_ONACC_CH_CUST></TEMP_ONACC_CH_CUST>
<RP_FTR_LBL>Grand Total:</RP_FTR_LBL>
<C_DATA_CONV_GSUM_INV></C_DATA_CONV_GSUM_INV>
<GSUM_INV_B0>0</GSUM_INV_B0>
<GSUM_INV_B1>0</GSUM_INV_B1>
<GSUM_INV_B2>0</GSUM_INV_B2>
<GSUM_INV_B3>0</GSUM_INV_B3>
<GSUM_INV_B4>181.54</GSUM_INV_B4>
<GSUM_INV_B5>0</GSUM_INV_B5>
<GSUM_INV_B6>0</GSUM_INV_B6>
<GSUM_INV_PERCENT_B1>0</GSUM_INV_PERCENT_B1>
<GSUM_INV_PERCENT_B2>0</GSUM_INV_PERCENT_B2>
<GSUM_INV_PERCENT_B0>0</GSUM_INV_PERCENT_B0>
<GSUM_INV_PERCENT_B3>0</GSUM_INV_PERCENT_B3>
<GSUM_INV_PERCENT_B4>100</GSUM_INV_PERCENT_B4>
<GSUM_INV_PERCENT_B5>0</GSUM_INV_PERCENT_B5>
<GSUM_INV_PERCENT_B6>0</GSUM_INV_PERCENT_B6>
<GSUM_INV_AMT>181.54</GSUM_INV_AMT>
<GSUM_INV_BALANCE>181.54</GSUM_INV_BALANCE>
<GSUM_ONACC_AMT_CR_INV>0</GSUM_ONACC_AMT_CR_INV>
<GSUM_ONACC_AMT_CH_INV>0</GSUM_ONACC_AMT_CH_INV>
<GSUM_PAY_CR_INV>0</GSUM_PAY_CR_INV>
<TEMP_SUM_INV>0</TEMP_SUM_INV>
<GSUM_INV_BALANCE_DSP> 181.54 </GSUM_INV_BALANCE_DSP>
<GSUM_PAY_CR_INV_DSP> 0.00 </GSUM_PAY_CR_INV_DSP>
<GSUM_INV_B0_DSP> 0.00 </GSUM_INV_B0_DSP>
<GSUM_INV_B1_DSP> 0.00 </GSUM_INV_B1_DSP>
<GSUM_INV_B2_DSP> 0.00 </GSUM_INV_B2_DSP>
<GSUM_INV_B3_DSP> 0.00 </GSUM_INV_B3_DSP>
<GSUM_INV_B4_DSP> 181.54 </GSUM_INV_B4_DSP>
<GSUM_INV_B5_DSP> 0.00 </GSUM_INV_B5_DSP>
<GSUM_INV_B6_DSP> 0.00 </GSUM_INV_B6_DSP>
<GSUM_INV_AMT_DSP> 181.54 </GSUM_INV_AMT_DSP>
<TEMP_ONACC_CR_INV>0</TEMP_ONACC_CR_INV>
<TEMP_ONACC_CH_INV>0</TEMP_ONACC_CH_INV>
<C_PS_MAX_ID></C_PS_MAX_ID>
<C_ADJ_MAX_ID>74399</C_ADJ_MAX_ID>
<C_APP_MAX_ID></C_APP_MAX_ID>
<C_CONVERT_FLAG>Y</C_CONVERT_FLAG>
<C_CREDIT_OPTION_MEANING>Age</C_CREDIT_OPTION_MEANING>
<C_FUNCTIONAL_CURRENCY>EUR</C_FUNCTIONAL_CURRENCY>
<C_FORMAT_DETAILED></C_FORMAT_DETAILED>
<C_SORT_OPTION>C</C_SORT_OPTION>
<C_SUMMARY_OPTION>I</C_SUMMARY_OPTION>
<REF_CURR_CODE_INV>EUR</REF_CURR_CODE_INV>
<C_CUST_SUM_LBL></C_CUST_SUM_LBL>
<C_ONACC_AMT_CR_CUST></C_ONACC_AMT_CR_CUST>
<C_ONACC_AMT_CH_CUST></C_ONACC_AMT_CH_CUST>
<C_ONACC_AMT_CR_INV>0</C_ONACC_AMT_CR_INV>
<C_ONACC_AMT_CH_INV>0</C_ONACC_AMT_CH_INV>
<C_CREDIT_APPLIED_LATE_CUST></C_CREDIT_APPLIED_LATE_CUST>
<C_UNID_CH></C_UNID_CH>
<C_CREDIT_APPLIED_LATE_INV>0</C_CREDIT_APPLIED_LATE_INV>
<C_UNID_CH_INV>0</C_UNID_CH_INV>
<C_SUMMARY_MEANING>Brief</C_SUMMARY_MEANING>
<C_FORMAT_MEANING>Invoice Summary</C_FORMAT_MEANING>
<SET_MEANINGS></SET_MEANINGS>
<C_INDUSTRY_CODE>C</C_INDUSTRY_CODE>
<C_COMPANY_TITLE></C_COMPANY_TITLE>
<C_BAL_SEGMENT_LPROMPT></C_BAL_SEGMENT_LPROMPT>
<C_PAYMENT_MEANING>Payment</C_PAYMENT_MEANING>
<C_RISK_MEANING>Risk</C_RISK_MEANING>
<C_ONACC_AMT_RISK_INV></C_ONACC_AMT_RISK_INV>
<TEMP_ONACC_RISK_INV></TEMP_ONACC_RISK_INV>
<C_RISK_OPTION_MEANING>Do Not Show</C_RISK_OPTION_MEANING>
<GSUM_ONACC_AMT_RISK_INV>0</GSUM_ONACC_AMT_RISK_INV>
<GSUM_RISK_INV_DSP> 0.00 </GSUM_RISK_INV_DSP>
<GSUM_RISK_CUST_DSP></GSUM_RISK_CUST_DSP>
<GSUM_ONACC_AMT_RISK_CUST>0</GSUM_ONACC_AMT_RISK_CUST>
<CF_PAYMENT_MEANING>Payment</CF_PAYMENT_MEANING>
<CF_RISK_MEANING></CF_RISK_MEANING>
<CF_RISK_OPTION_MEANING></CF_RISK_OPTION_MEANING>
<CF_ACCOUNTING_FLEXFIELD></CF_ACCOUNTING_FLEXFIELD>
<GSUM_CLAIM_CUST_DSP></GSUM_CLAIM_CUST_DSP>
<GSUM_CLAIM_AMT_CUST>0</GSUM_CLAIM_AMT_CUST>
<GSUM_CLAIM_INV_DSP> 0.00 </GSUM_CLAIM_INV_DSP>
<GSUM_CLAIM_AMT_INV>0</GSUM_CLAIM_AMT_INV>
<C_CLAIM_OPTION_MEANING></C_CLAIM_OPTION_MEANING>
</ARXAGMW>hi Rex,
your requirement is u want to show your report parameter in rtf(template).
create a placeholder column get your parameter in the placeholder column.
and run the report to generate XMl.
use the placeholder column in template to show parameter.
Regards
Rajesh -
Report script - using substitution variable with multiple values
Hi All,
Substitution variable with multiple values is not working correctly with Report scripts. Can you please let me know what is the syntax to assign multiple values to a sub variable using maxl:
alter database samp.samp set variable 'ExtractQuarter' 'Q1,Q2,Q3,Q4';
alter database Samp.Samp set variable 'ExtractQuarter' 'Q1:Q4';
I tried both of the above but they are errored out with the below error:
Error: 1001005 - Unknown Member [Q1:Q4] in Report.
my requirement is different for both Actual and forecast data extract so i would like to make use of this variable to extract whole year data for Forecast and current quarter data for Actual with out duplicating the report scripts for both processes.
Thanks,
PRaveenHi,
Please refer following thread,
range of months in report script?
Hope it helps.
Regards -
Why the Parameter Dialog not invoked with OpenReport RDC SDK?
Hai,
I am working in Crystal Reports XI Release 2 with Visual studio .Net 2003 (VC++).I am using RDC SDK
OpenReport function to create report.The report is generating without any fail.But the parameter dialog not invoked though the report is designed with parameter .
Here is the code snippet i used to generate
OnInitDialog()
CoInitialize(NULL);
IApplicationPtr m_Application;
IReportPtr m_Report;
HRESULT hr = m_Application.CreateInstance("CrystalRuntime.Application");
m_Report = m_Application->OpenReport("Sample.rpt");
m_Viewer.SetReportSource(m_Report);
m_Viewer.ViewReport();
It creates report in ActiveX viewer but the parameter dialog not invoked before showing in viewer.
But in my another project i have used Crystal report 8 and CRPE32 dll(8 version) API PEStartPrintJob
It invokes parameter dialog automatically before showing report in Viewer.
Thankyou,
SatheeshKumar
Edited by: SatheeshDharmaraj on Mar 18, 2009 12:29 PMPlease note:
The RDC is specifically designed around the COM technologies and is intended for use Visual Basic 6 developers; therefore, it is not recommended, nor tested, for use in a .NET application. This limits the support offering for the RDC in a .NET application; however, because COM is a supported technology in .NET the RDC is known to function as expected in a .NET application.
To support any issue encountered with the RDC in a .NET application, these issues need to be reproducible in a supported COM-based development tool (such as VB6).
Also, the RDC is a retired technology, no longer shipping in the current version of CR - CR 12.x:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80bd35e5-c71d-2b10-4593-d09907d95289
this may have implications to your applications lifecycle as CR XI r2 will be out of support June 10 of this year. See the following for more details:
Business Objects Product Lifecycles [original link is broken]
I'd recommend you forget about RDC in .NET and use the CR Assemblies for .NET.
Nevertheless, if you absolutely must stay with the RDC in .NET, the error suggests that you are either not using any database logon code, or the code is incorrect. To connect the report to a database, you must use the connection properties bag. More information on the connection properties bag is [here|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00635998-751e-2b10-9cba-f50ee1e4ef81]
C++ code could look something like this:
bstrt bstrReportPath("C:
Documents and Settings
Mujeeb
Desktop
VC++
RDC_VCPP_CR10
Report1.rpt";);
m_Application.CreateInstance("CrystalRuntime.Application.10";);
m_Report = m_Application-->OpenReport(bstrReportPath, vtTempCopy);
m_Report-->DiscardSavedData();
m_Report>Database>Tables>GetItem(1)>ConnectionProperties-->DeleteAll();
m_Report>Database>Tables>GetItem(1)>ConnectionProperties-->Add("Provider","SQLOLEDB.1";);
m_Report>Database>Tables>GetItem(1)>ConnectionProperties-->Add("Data Source","10.10.17.30";);
m_Report>Database>Tables>GetItem(1)>ConnectionProperties-->Add("User ID","sa");
m_Report>Database>Tables>GetItem(1)>ConnectionProperties-->Add("Password","excellence");
m_Report>Database>Tables>GetItem(1)>ConnectionProperties-->Add("Database","Northwind");
m_Report>Database>Verify();
m_Viewer.SetReportSource(m_Report);
m_Viewer.ViewReport();
Now, you do not have to use the deleteAll property and simply log on to the database. Unfortunately only code I have handy for that is as described in the above doc. The code woudl be something like this in VB:
(ODBC)
report.database.tables(1).connectionProperties("DSN") = "the DSN"
report.database.tables(1).connectionProperties("user ID") = "the user ID"
report.database.tables(1).connectionProperties("database" = "the database name"
report.database.tables(1).connectionProperties("password") = "the password"
(if using OLE DB)
report.database.tables(1).connectionProperties("data source") = "the server name"
report.database.tables(1).connectionProperties("user ID") = "the user ID"
report.database.tables(1).connectionProperties("initial catalog") = "the database name"
report.database.tables(1).connectionProperties("password") = "the password"
(if using native connection)
report.database.tables(1).connectionProperties("server:) = "the server name"
report.database.tables(1).connectionProperties("user ID") = "the user ID"
report.database.tables(1).connectionProperties("password") = "the password"
I also recommend searching our notes database for more resources:
https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
The downloads section may also contain C++ sample code, but I am not sure if there will be anything that uses the connection properties bag. E.g.; do not use deprecated methods such as
.LogOnserver, .SetNthTableLogOnInfo, etc.
Ludek
Maybe you are looking for
-
Cannot enable aero after turning on (and then off) battery stretch
I have a T520 running Win7 x64. I turned on battery stretch in the power manager the other day, and after turning it off I cannot enable aero again. I've selected an aero theme, but windows does not turn on aero. A screenshot of my desktop settings i
-
My phone blacked out, re-set it and now says my sim card is not installed! Help!
What do I do if my phone blacked out, then re-set it, but now says my sim card is not installed!
-
Smart Mailboxes want (A | B) & C where C is "not in Mailbox N".
Is this possible by editing the SmartMailboxes.plist? Powerbook G4 1.67 GHZ with Dual-DVI Mac OS X (10.4)
-
Still no fixes for Audigy 2zs problem
I still have major issues with my Audigy 2zs in many games, yet I still see absolutely no updates on the drivers. Have you completely abandoned you customers now? If I install your bloatware to get the functionality, I get crash after crash, yet if I
-
ITunesStoreAustralia:why not allowed buy/rent HD content without Apple TV?
Anyone know why in Australia, we are not allowed to purchase HD content without an Apple TV? I don't need an Apple TV with my laptop, and forthcoming Mac Mini, so why should I be forced to buy one just to get HD content from the store...