Logical operations use the Boolean expressions as their operands.
NOT returns True if its operand is False or False if its operand is True. Example:
NOT Document.Consignee = Document.Shipper
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 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