Solved

How can I incorporate this function into the attached query

Posted on 2010-08-27
1
358 Views
Last Modified: 2013-12-07
Hi There,

I have the attached query which is a report from a billing application and below is a description of a function that was used to run the report. How can the report be modified to include the functionality of the function in the second file?



Thanks,
R
Report.txt
Function.txt
0
Comment
Question by:Rhonda Carroll
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
mottor earned 500 total points
ID: 33543457
Replace in query this:

:PARMMSGTYPE  ->  decode(:PARMMSGTYPE,'ALLC','ALL',:PARMMSGTYPE)
:PARMNETWORK  ->  decode(:PARMMSGTYPE,'ALLC','C','POS','C',:PARMNETWORK)
:PARMVESSELSORT ->nvl( (SELECT VESSEL_SORT FROM TCUSTOMR,INVOICE WHERE INVOICE.INVOICE_NUM = :PARMINVOICENUM AND INVOICE.CUSTOMER_CODE = TCUSTOMR.CUSTOMER_CODE AND ROWNUM = 1),:PARMVESSELSORT)
:PARMREPTITLE ->  decode(:PARMMSGTYPE,'ALLC','for Inmarsat C','POS','for Inmarsat C Data Reports','for All Services')



0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that useā€¦
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question