otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Reports / FTI and Other Analytics Integrating OTM / G-Log with Oracle Reports, FTI (OBIEE) and creating custom reports / analytics.

Tags: ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 6th, 2007, 14:39
Junior Member
 
Join Date: Jun 2007
Posts: 24
Thanks: 6
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
moshe is on a distinguished road
Can VPD be used to filter Records of the Report

Objective:

To Use a common Report in the Master Domian and filter its Records based on Vpd for each of the user avaialble under the Master Domain.

I wrote a VPD for a particular user to restrict a few records of a Report available at the Master Domain(admin)


VPD

Table :SHIPMENT

External Predicate:

SHIPMENT_GID IN (SELECT SHIPMENT_GID FROM SHIPMENT_REFNUM WHERE SHIPMENT_REFNUM_QUAL_GID ='RAJ01EPUDO.PUDO_PROVIDER_ID' AND SHIPMENT_REFNUM_VALUE LIKE '%KIALA%') OR SHIPMENT_GID IN (SELECT SHIPMENT_GID FROM SHIPMENT_INVOLVED_PARTY WHERE INVOLVED_PARTY_QUAL_GID ='RAJ01EPUDO.SHIPPER' AND INVOLVED_PARTY_CONTACT_GID LIKE '%KIALA%')

The vpd which I wrote for the USER got reflected both in the ADMIN and the USER
Inspite of associating the Vpd only to the User Role of the USER, the Report in the ADMIN was also affected .

Inorder to solve this issue we tried restarting the server.

Restarting the Server cancelled the effect of VPD on the Report.

Note:
The Vpd is still working perfectly for the Shipment Search Screens pulling the related shipments for USER based on the conditions specified in VPD.But failing to work for the Report.

Is there any reason for this inconsistent behaviorof OTM?
Can you also kindly help me in solving this issue?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old November 7th, 2007, 16:57
Junior Member
 
Join Date: Jun 2007
Posts: 24
Thanks: 6
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
moshe is on a distinguished road
Can Vpd's be used to filter Records of the Report

Is it possible to restrict records fetched by the Report available at the Admin , in the User level by writting VPDs?

Objective:
I ve a report which fetches all the available shipments at the Admin level.

I ve to call the same report in the user Level such that the report fetches only the shipments which has Shipment Refnum Qual "Company_name" and Shipment Refnum Value "ABCD"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old November 8th, 2007, 14:20
Member
 
Join Date: Mar 2007
Location: Bedfordshire England
Posts: 58
Thanks: 3
Thanked 10 Times in 9 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
cunninghamg is on a distinguished road
Send a message via AIM to cunninghamg Send a message via MSN to cunninghamg Send a message via Skype™ to cunninghamg
Re: Report And Vpd

Hi moshe

First of all - It's not very wise to use wildcard searches in VPD's where they invalidate indexes.
The VPD acts as a layer between the User and the Database, on top of the Domain VPD Filter. Therefore this would make for wildly inefficient querying.

I have in the past had problems getting Roles to work correctly when first configured but it is usually Levels that cause the issue as they have some caching to flush.

VPD filters should work in Roports too, provided the OTM Report Templates have been used.
It is important that the table in the VPD (Shipment in your case) is part of the report query also.

Hope this helps

Gary
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old November 14th, 2007, 16:04
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 847
Blog Entries: 7
Thanks: 53
Thanked 205 Times in 124 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: Can Vpd's be used to filter Records of the Report

Honestly, I've never seen VPD used in quite this way -- instead I've always seen it used to restrict the data that a user is able to see based on table/row combinations.

It may, in fact, be possible, though instead of utilizing VPD, wouldn't it be easier to simply prepend those restrictions (Shipment Refnum Qual "Company_name" and Shipment Refnum Value "ABCD") to the report query itself? If not easier, I'm sure it would perform better, since VPD can have significant performance implications, depending on the use.

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old November 15th, 2007, 21:13
Junior Member
 
Join Date: Mar 2007
Posts: 12
Thanks: 2
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
cheekythought is on a distinguished road
Re: Report And Vpd

As far as i am aware, report can have VPD profiles successfully applied without using report templates provided the correct table (with VPD) is joined in the report query.

May be i am missing something here?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Exporting more than 1000 records to Excel - Screens and Reports chrisplough Reports / FTI and Other Analytics 0 September 26th, 2007 13:43
[SOLVED] Linking Air Freight Rate Records to Schedules joecallan Rating 8 August 7th, 2007 17:06



All times are GMT. The time now is 03:59.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37