If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > package to package communication

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-03, 09:51
hsisson hsisson is offline
Registered User
 
Join Date: Nov 2003
Location: Newcastle upon Tyne
Posts: 6
package to package communication

Hello!

I'm having a problem trying to call a package from another package in PL/SQL.

The package I'm in is TIS_OWNER.portlet_itemised_calls, and the package I'm trying to call is TIS_OWNER.portlet_list_calls. So far I am able to call one of the procedures in TIS_OWNER.portlet_list_calls (openWindow) but I want to call the main Show method which is the default procedure which outputs to the screen, which I don't think I can do as it takes p_portlet_record wwpro_api_provider.portlet_runtime_record as a parameter.

The code is to be opened in a new window, so it looks like this at the moment (this works!):

Code:
<A HREF="JavaScript:openWindow('''||give_path()||'TIS_OWNER.PORTLET_LIST_CALLS.openWindow?line='||summRec.LN||''');">'||summRec.LN||'</A>
summRec.LN is the dynamically created link that opens the window, and is also sent to the new window. "OpenWindow" is what I want to swap for "show", but I am guessing that I will need to call it differently due to the nature of te procedure.

I'm not sure how confusing this may sound, but if you can help at all I'd be very relieved!
Thanks,
Hazel
Reply With Quote
  #2 (permalink)  
Old 11-24-03, 07:51
shelva shelva is offline
Registered User
 
Join Date: Nov 2003
Location: Rotterdam, Netherlands
Posts: 127
Hi,
Oracle DOSENOT ALLOW calling another package from one.
If at all you want to use those routines, u have to either replicate it in your current package or else make it a NORMAL STORED PROCEDURE.

Regards
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On