RequisitionRepCatAccessPolicyRuleData::addFilterForCategoryAccessPolicyRule Method
Conditionally adds an inner join filter to the given query build data source !Malformed!_parentDataSource.
Syntax
client server public static void addFilterForCategoryAccessPolicyRule(
RefRecId _le,
RefRecId _ou,
QueryBuildDataSource _parentDataSource,
FieldId _categoryFieldIdOnParent)
Run On
Called
Parameters
- _le
Type: RefRecId Extended Data Type
An instance of the RefRecId class for the CompanyInfo table to denote the legal entity.
- _ou
Type: RefRecId Extended Data Type
An instance of the RefRecId class to denote the operating unit.
- _parentDataSource
Type: QueryBuildDataSource Class
The query build data source to conditionally add an inner join filter to.
- _categoryFieldIdOnParent
Type: FieldId Extended Data Type
The field Id of the column on the given !Malformed!_parentDataSource representing the procurement category record Id.
Remarks
An inner join is added only if category access policy rule is found for the given !Malformed!_le and !Malformed!_ou.
The inner join is between the !Malformed!_parentDataSource and the RequisitionRepCatAccessPolicyRuleData table on the procurement category fields.