Logical Operations

NOT
AND
OR

Logical operations use the Boolean expressions as their operands.

NOT

NOT returns True if its operand is False or False if its operand is True. Example:

NOT Document.Consignee = Document.Shipper

AND

AND returns True if both of its operands are True or False if one of its operands is False. Example:

Document.Consignee = Document.Shipper AND Document.Consignee = &Contractor

OR

OR returns True if one of its operands is True or False if both of its operands are False. Example:

Document.Consignee = Document.Shipper OR Document.Consignee = &Contractor

See also:
                      
Data Composition System Expression Language
                       Bilingual Presentation of Data Composition System Keywords

1C:Enterprise Developer's Community