Table
ExpressionPredicate
Expression predicate
A single condition in an expression. It compares a field with a value or with another field. It can hold string, number, date, enum, currency or record reference values, and it points to an expression element.
- Table name
ExpressionPredicate- Module
System administration- Table group
Framework- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
ApplicationFoundation
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AbsoluteDateValueFixed date and time used in the comparison. | UtcDateTimeExpressionPredicateAbsoluteDateValue | No | None | |
ComparisonTypeSays whether the comparison is against a value or against a field. | EnumExpressionComparisonType (enum) | No | None | |
CurrencyCodeCurrency code used in the comparison. | String (3)CurrencyCodeBase | No | Currency.CurrencyCode | None |
DateOperatorTypeSays whether the date offset is added (Plus) or subtracted (Minus). | EnumExpressionDateOperatorType (enum) | No | None | |
DateTypeSays whether the date is relative or absolute. | EnumExpressionDateType (enum) | No | None | |
EnumValueNumber of the enumeration value used in the comparison. | IntegerExpressionPredicateEnumValue | No | None | |
ExpressionElementThe expression element that this predicate belongs to. | Int64RefRecId | No | ExpressionElement.RecId | None |
ExpressionFieldLHSThe expression field on the left side of the comparison. | Int64RefRecId | No | ExpressionProjectionField.RecId | None |
ExpressionFieldRHSThe expression field on the right side of the comparison. | Int64RefRecId | No | ExpressionProjectionField.RecId | None |
LongValueWhole-number value used in the comparison. | Int64ExpressionPredicateLongValue | No | None | |
OffsetDaysNumber of days used as an offset for a date. | IntegerExpressionPredicateOffsetDays | No | None | |
OperatorComparison operator, such as Equals, Contains or Greater than. | EnumExpressionOperator (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RealValueDecimal number used in the comparison. | RealExpressionPredicateNumericValue | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefRecIdValueSystem record ID of a record used as the comparison value. | Int64RefRecId | No | None | |
RefTableIdValueID of the table for the record used as the comparison value. | IntegerRefTableId | No | None | |
SequenceOrder of this argument in the expression. | IntegerExpressionArgumentSequence | No | None | |
StartDayTypeStart day for a relative date: today, first day of month or last day of month. | EnumExpressionStartDayType (enum) | No | None | |
StringValueText used in the comparison. | String (250)ExpressionPredicateStringValue | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
ExpressionElementIdxNot unique.
ExpressionProjectionFieldIdxNot unique.
ExpressionProjectionFieldIdx1Not unique.
Relations (5)
Each relation joins ExpressionPredicate to another table on the fields shown.
Common→CommonJoin on
RefRecIdValue = Common.RecId,RefTableIdValue = Common.TableIdMany ExpressionPredicate records → zero or one Common record
ExpressionElement→ExpressionElementJoin on
ExpressionElement = ExpressionElement.RecIdMany ExpressionPredicate records → zero or one ExpressionElement record
ExpressionFieldLHS→ExpressionProjectionFieldJoin on
ExpressionFieldLHS = ExpressionProjectionField.RecIdOne or more ExpressionPredicate records → zero or one ExpressionProjectionField record
ExpressionFieldRHS→ExpressionProjectionFieldJoin on
ExpressionFieldRHS = ExpressionProjectionField.RecIdMany ExpressionPredicate records → zero or one ExpressionProjectionField record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany ExpressionPredicate records → zero or one Currency record
Get this data out
No public entity reads from ExpressionPredicate. Its data is only reachable through the application, a custom entity or a database export.
Need help with ExpressionPredicate in a report, an integration or a migration? Talk to Dr Dynamics.