Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Formatting on report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Formatting on report
 Login/Join
 
Silver Member
posted
Hi All,

I need the report structure in the below format and the same report we are iterating on ORDER.

So I did ON ORDER SUBHEAD but when I am printing the data on SUBHEADING only second row is coming up, it is overriding the first row.


Order :101

TRANS_TYPE QUALIFIER CURRENCY MULTIPLE QTY SERIAL_NUMBER VALUE PRODUCT_TOTAL EXCHANGE_RATE CHARGES

Sell ABC USD 1600 1.21 0.0
1*30 10 AB123 500
1*50 20 PQ123 1100

Order:102

TRANS_TYPE QUALIFIER CURRENCY MULTIPLE QTY SERIAL_NUMBER VALUE PRODUCT_TOTAL EXCHANGE_RATE CHARGES

Sell ABC1 USD 600 1.21 0.0
1*10 5 AB1123 100
1*20 10 PQ1123 500

Thanks!!!!!

Kind Regards,
User1

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8
Windows, All Outputs
 
Posts: 37 | Registered: September 05, 2015Report This Post
Expert
posted Hide Post
I don't understand the question. Can you post your code for this particular problem? Please use CODE tags when posting code. Click on the Code button.



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Nice Francis.

Will use this next time someone hasn't used the code tags



Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
I've had enough of trying to get red carets and explaining...

Feel free to use
https://dl.dropboxusercontent.com/u/583666/fp_toolbar.png


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Silver Member
posted Hide Post
Hi ,

Sorry the content in my last post were not much clear.

This is the output format I needed,

Report output format ---

Order :101 

TRANS_TYPE QUALIFIER CURRENCY MULTIPLE QTY SERIAL_NUMBER VALUE PRODUCT_TOTAL EXCHANGE_RATE CHARGES 

Sell         ABC      USD			                  1600             1.21       0.0 
			       1*30    10     AB123        500 
	                       1*50    20     PQ123       1100

Order:102

TRANS_TYPE QUALIFIER CURRENCY MULTIPLE QTY SERIAL_NUMBER VALUE PRODUCT_TOTAL EXCHANGE_RATE CHARGES 

Sell         ABC1      USD                                        600             1.21       0.0 
			       1*10 	5     AB1123      100 
			       1*20 	1     PQ1123      500
	

Below is the  code I have tried but not getting the exact result.

SET SHOWBLANKS = ON

TABLE FILE TEST_DATA

-*BY ACCOUNT_NUMBER NOPRINT
-*BY USER NOPRINT
-*BY DATE NOPRINT
BY ORDER NOPRINT
BY TRANS_TYPE NOPRINT
BY QUALIFIER NOPRINT
BY ISSUER NOPRINT
BY PRODUCT NOPRINT
BY CURRENCY NOPRINT

ON ORDER SUBHEAD
" Order: <ORDER                                                                                                          Transaction Type: <TRANSACTION_TYPE"
"______________________________________________________________________________________________________________________________________________"

"Trans type     Qualifier      Issuer        Product      Currency       Multiple      Quantity              Serial Number                                Value                  Product Total        Exchange Rate            EUR                  Charges"
"<TRANS_TYPE    <QUALIFIER     <ISSUER       <PRODUCT    <CURRENCY       <MULTIPLE       <QTY               <SERIAL_NUMBER                                <VALUE                   <PRODUCT_TOTAL <EXCHANGE_RATE <EUR <CHARGES "

ON TABLE SET PAGE-NUM OFF



-*ITS=IN,
-*UEEZE=ON,
-*ORIENTATION=PORTRAIT,

ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
-*INCLUDE = IBFS:/EDA/STP/_EDAHOME/ETC/endeflt.sty,
$
END



  


Please provide your suggestion!!

Thanks,
User1

This message has been edited. Last edited by: User1,


WebFOCUS 8
Windows, All Outputs
 
Posts: 37 | Registered: September 05, 2015Report This Post
Silver Member
posted Hide Post
Also, I missed ENDSTYLE tag is above code.
That tag I have included.


WebFOCUS 8
Windows, All Outputs
 
Posts: 37 | Registered: September 05, 2015Report This Post
Expert
posted Hide Post
Are the fields, MULTIPLE QTY SERIAL_NUMBER VALUE, repeating values and the rest in the heading ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Silver Member
posted Hide Post
Yes...

MULTIPLE QTY SERIAL_NUMBER VALUE
1*30 10 AB123 500
1*50 20 pq123 1100

Here these columns have the unique values for each order whereas rest of the columns has similar values as first row for every order.

And When I tried the code which I posted in my last post with that I am able to get only last row, it is overriding the previous row.


Thanks,
User1

This message has been edited. Last edited by: User1,


WebFOCUS 8
Windows, All Outputs
 
Posts: 37 | Registered: September 05, 2015Report This Post
Silver Member
posted Hide Post
Hi,

Can anyone please suggest for the above issue. Looking forward for a response!!

Thanks,
User1


WebFOCUS 8
Windows, All Outputs
 
Posts: 37 | Registered: September 05, 2015Report This Post
Guru
posted Hide Post
Can you reproduce it using CAR?


WebFOCUS 8.1.05 / APP Studio
 
Posts: 272 | Location: Brazil | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
Can't you just write the report with

ON ORDER SUBHEAD
"

????????


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 74 | Registered: December 23, 2013Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Formatting on report

Copyright © 1996-2020 Information Builders