PANTHEON™ manual

 Categories
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Expand]Guides for PANTHEON
 [Collapse]User Manuals for PANTHEON
  [Collapse]User Manual for PANTHEON
   [Collapse]Getting Started
     Dictionary of terms
     First steps with PANTHEON
    [Expand]Using PANTHEON at Tecta, a fictional company
    [Expand]Instructions for Ensuring Compliance of PANTHEON with SAS
    [Expand]PANTHEON Installation
    [Expand]PANTHEON System
    [Collapse]PANTHEON Basics
     [Expand]Entering PANTHEON
     [Expand]PANTHEON windows and forms
     [Collapse]Entering data and navigating across PANTHEON
      [Expand]Records
      [Expand]Lookup Window
      [Expand]Input Elements
       Lookup List
      [Expand]Keyboard Shortcuts
       Wildcard Characters
      [Collapse]Formulas
       [Collapse]Building and Testing Formulas
        [Collapse]Formula Testing
          Using logical operator without logical expression
          Opening or closing round bracket missing!
          Opening or closing square bracket missing!
          Last character of the formula is an operator!
          Adjacent hashes!
          Syntax error in conditional statement. Correct syntax is [condition:value]
          Adjacent operators (xx)!
          Variable not enclosed in hashes (#)!
          Illegal characters: xyz
          Unknown error!
          The first character of #xx# must be a transaction type or a column mark!
          The line number must be an integer (#xx#)!
          The first character of #xx# must be an operation type (R, S, O or A)!
          The second character of #xx# must be a transaction type (D, K, S, P, or O)!
          Variable not defined
         Debugging Formulas
        Using Conditional Statements in Formulas
       Insert Image
     [Expand]Instructions for PANTHEON
    [Expand]PANTHEON Help
    [Expand]Materials and Goods Movements
    [Expand]Assigning Identifiers
    [Expand]Frequently asked questions about Pantheon (F.A.Q.)
    [Expand]Archive
   [Expand]User Manual for eBusiness
   [Expand]Settings
   [Expand]Orders
   [Expand]Goods
   [Expand]Manufacturing
   [Expand]Service
   [Expand]Help
   [Expand]Personnel
   [Expand]Financials
   [Expand]Analytics
  [Expand]User Manual for PANTHEON Retail
  [Expand]User manual for PANTHEON Vet
  [Expand]User Manual for PANTHEON Farming
[Expand]PANTHEON Web
[Expand]PANTHEON Granules
[Expand]User Site

Load Time: 703.1315 ms
print   |
Label

Using Logical Operator Without a Logical Expression

Formulas may also contain a conditional expression in the form of 'if – then'. In the formula nomenclature, such expressions are described using square brackets (see Using logical expressions in formulas).

The formula test expects each logical operator (e.g., >, <, =) to be enclosed in square brackets. If this condition is not met, the formula test returns an error:

33028.jpg

The message also indicates where in the formula the (possibly) redundant logical operator occurs. If there are several such inputs in one formula, it puts us on the first invalid input found.

Clicking the OK button causes the program to place the cursor on the part of the formula where the error occurred. Possible solutions:

1. Delete logical operator if it is redundant.

2. If the logical operator is entered correctly, place the expression in square brackets (see Using logical expressions in formulas).

Correct Incorrect

To solution 1:

[#RPrice# > 20:#RPrice#*0.9] #RPrice#

 

[#AMNT# > 20:#RPrice#*0,9] > #RPrice#

To solution 2:

[#RPrice# > 20:#RPrice#*0.9] #RPrice#

 

#RPrice#*0,9 #RPrice#

 



Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!