Related Classes, Methods, and Business Services

For an applet that requires product group visibility, use the class CSSSWEFAFrameListPGVisibility, or CSSSWEFAFramePGVisibility for Form applets. This class, during the initialization of the applet, uses GetPGVisibilitySearchspec to get a searchspec string using the business service FINS Product Group Visibility Service. SetNamedSearch sets the searchspec in the business component of the applet. When Execute is invoked later, the records are filtered according to the visibility rules.

Here are two examples of the searchspec returned by the business service for Opportunities:

  • (i) ( [FINS Product Group Id] = '88-263F5' OR [FINS Product Public Flag] = 'Y' )

    This is created when applet user property “FINS PGV UseBaseTable" set to N.

  • (ii) ( EXISTS ([FINS Product Group Id] = '88-263F5') OR EXISTS ([FINS Product Group Id] = '88-263F7') OR [FINS Product Public Flag] = 'Y' )

    This is created by applet with user property “FINS PGV UseBaseTable" is set to Y.

Business Service

The business service FINS Product Group Visibility Service plays an important role in implementing the PGV functionality by generating the searchspec.

BS Name: FINS Product Group Visibility Service
Business Service Methods

The Business Service method getting the searchspec is as follows:


Method Name: getPGVisibilitySearchSpec

Output: The searchspec string as value of the output propset.

Input Properties: 

	(key: “FINS PGV Confidential Flag" value: Y or N)

	(key: “FINS PGV Suppress Flag" value: N or Y)

	(key: "FINS PGV UseBaseTable" value: Y or N)

	(key: "FINS PGV UseMyPGRecordsOnly" value: Y or N)

Another method of the Business Service is as follows:

Method Name: getCurrentUserPublicFlag

Output: Public Flag value (Y / N) in output property "FINS Product Group Visibility 
Public Flag" 

Input Properties: Nil
Customization and Extensibility Options

Apart from the preconfigured applets and views having product group visibility, customers can create new applets and views with product group visibility with either the Confidential mode or the Suppress mode.