I have a VIEW that defines what tables need to be related and how. Created a SF BO to be able to map the VIEW to a BO. Then created a Custom BBS on the BO.
Naturally until a call is made to fill the BO no data is filled.
If you reference the BBS in the Sharpshooter report as a Datasource, then put filter expression on the report as parameters, will Sharpshooter return:
A. All data to fill the BO and then filter based on the Sharpshooter filter expressions? , or
B. Does Sharpshooter generate a SQL SELECT with the parameters already built into the SELECT statement thereby returning only the ropws needed?
From what I can see, I believe "A." is what Sharpshooter does.
Public Class CustomersBO Inherits MyApp.Business.CustomersBO
Private Shared _CustomerOrders As New Reports.MyReport.CustomerOrdersBO()
Public Readonly Property CustomerOrders As CustomerOrdersBO Get If me.Count > 0 Then _CustomerOrders.Filter = "ForeignKey=" & Me.MyPrimaryKey.ToString() End If
Return _CustomerOrders End Get End PropertyEnd Class
End namespace
You will then reference the CustomerOrders as the data source within the database you are using in RSS. This is far safer and more reliable...not to mention faster.
I am newbie to SF.
Can u supply me a good working example using this technique in reporting?
Kind regards....