📚 SAP Business One SDK Help

Condition Object Members
See Also  Overview 

Public Properties

Public Property AliasThe alias name of a database field.

For example, for a WHERE clause CardName = "Joe", the Alias property would be CardName.

Public Property BracketCloseNumThe number of closing brackets in the condition.
Public Property BracketOpenNumThe number of opening brackets in the condition.
Public Property ComparedAliasThe alias name of a database field with which to compare the field specified in the Alias property.

For example, for a WHERE clause CardName = CntctPrsn, the Alias property would be CardName and the ComparedAlias property would be CntctPrson.

Public Property CompareFieldsIndicates whether the value with which to compare the field specified by the Alias property field is another database field (specified in the CompareFields property) or a constant (specified in the CondVal property).
Public Property CondEndValA second constant for use when the comparison operation is BETWEEN.

For example, for a WHERE clause Balance BETWEEN 1000 and 3000, the CondVal property would be 1000 and the CondEndVal property would be 3000.

Public Property CondValThe constant with which to compare the field specified in the Alias property.

For example, for a WHERE clause CardName = "Joe", the CondVal property would be Joe.

Public Property OperationThe comparison operation for the condition.

For example, for a WHERE clause CardName = "Joe", the Operation property would be co_EQUAL.

Public Property RelationshipIndicates the logical relationship of the current condition to the following condition in the collection.
Public Property UseResultFor future use.

See Also