ProcCategoryAccessPolicyParameter::addFilterForCategoryAccessPolicyRule Method
Conditionally adds an inner join filter to the specified query build data source.
Syntax
client server public static void addFilterForCategoryAccessPolicyRule(
RefRecId _le,
RefRecId _ou,
QueryBuildDataSource _parentDataSource,
FieldId _procurementCategoryFieldIdOnParent)
Run On
Called
Parameters
- _le
Type: RefRecId Extended Data Type
An instance of the RefRecId class for the CompanyInfo table to indicate the legal entity.
- _ou
Type: RefRecId Extended Data Type
An instance of the RefRecId class to indicate the operating unit.
- _parentDataSource
Type: QueryBuildDataSource Class
The query build data source to which to conditionally add an inner join filter.
- _procurementCategoryFieldIdOnParent
Type: FieldId Extended Data Type
The field ID of the column on the specified _parentDataSource parameter value that represents the procurement category record ID.
Remarks
An inner join is added only if category access policy rule is found for the specified _le and _ou parameter values.
The inner join is between the _parentDataSource parameter value and the ProcCategoryAccessPolicyParameter table on the procurement category fields.