Hi Trent,
Thanks for your reply.
I have done the below already before, and let me explain what I have done.
Before you get too deep, first, just create a view that returns all of the same columns and attach it and see it the browse still works. If so, then let's go from there.
BrowseResultLayout - All fields needed from the ProductsMGRBO (mainBO)
BusinessObjectToPopulate - ProductsMGRBO1 (main biz object)
BusinessObjectTipe - ProductsMGRBO
OverRideSearchTableName - Get_Products_MenuOptions_View1
OverRideSearchTableSchema - dbo
SearchFields - Need to place the SearchCategory and SearchOption fields which are part of the view and also in the Result Layout.
Here is the actual view name: Get_Products_MenuOptions_View
I am trying to search based of these fields: SearchCategory and SearchOption(part of the view) while the FKs of those fields are in the main BO named: ProductsMGRBO. The ProductsMGR is the main BO.
SELECT
dbo.ProductsMGR.ProductsMGR_PK,
dbo.ProductsMGR.SearchOptions_FK,
dbo.ProductsMGR.SearchCategories_FK,
dbo.ProductsMGR.Products_FK,
dbo.ProductsMGR.DisplayProdutOrder,
dbo.ProductsMGR.DateTimeCreated,
dbo.Products.ProductName,
dbo.Products.Price,
dbo.Products.OriginalPrice,
dbo.Products.DiscountedPrice,
dbo.Products.ProductNo,
dbo.SearchCategories.SearchCategory,
dbo.SearchOptions.SearchOption
FROM
dbo.ProductsMGR
LEFT OUTER JOIN dbo.Products ON (dbo.ProductsMGR.Products_FK = dbo.Products.Products_PK)
LEFT OUTER JOIN dbo.SearchOptions ON (dbo.ProductsMGR.SearchOptions_FK = dbo.SearchOptions.SearchOptions_PK)
LEFT OUTER JOIN dbo.SearchCategories ON (dbo.ProductsMGR.SearchCategories_FK = dbo.SearchCategories.SearchCategories_PK)
Now how do I add the other fields from the view. Please provide some steps.
Thanks,
Doron