SYNTAX:
xpfGetWhereRule (schemaId : GENERIC;
whereRuleName : STRING; whereRuleLineNumber : INTEGER) whereRuleId : GENERIC;
The xpfGetWhereRule function returns the whereRuleId that uniquely identifies the specified where rule in an EDMdatabase. A where rule is defined in a dictionary model (Express schema) or in an EDMruleSchema. A where rule name is unique within the Entity or Type declaration that defines the actual where rule. Hence the where rule name must be qualified with the entity name or type name to be uniquely identified within an Express schema or an EDMruleSchema.
Where rules must not have a name, hence a particular where rule can be identified by the line number in the source file that defines the actual where rule.
The actual dictionary model that hold the where rule definition must be open before this operation can be successfully performed.
The function will return the constant xpxNullId when no whereRuleId that matches the input arguments are found.
This function is equivalent to the EDMinterface function edmiGetWhereRule.
General
Content
Integrations