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
       [Expand]Building and Testing 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: 687.5197 ms
print   |
Label

Using Logical Expressions in Formulas

Formulas can contain conditional expressions in the form of 'if – then' . In formula nomenclature, such expressions are described using square brackets: [Condition:Value] – if the Condition is satisfied, then the formula is given Value.

Conditional clauses can also be combined, e.g. [Condition1:Value1] [Condition2:Value2] [Condition3:Value3] Value4

  • If Condition1, is met, then Value1, is different:
    • If Condition2 is met, then Value2 is different:
      • If Condition3, is met, then Value3, is different:
        • If no condition is met, the value is Value4.

Primeri formul:

Formula Description

#RPRICE# * 0,75

Multiplies the retail price by 0.75.

#RFACTOR# * #RHOURS#

Multiplies the factor from the payroll preparation by the hours from the payroll preparation.

[#KOL# > 100:#RPRICE#*0,8] #RPRICE#

If the quantity is greater than 100, then the price is Retail price – 20%, but if the condition is not met (i.e., the quantity is less than or equal to 100), then the price is Retail price.

 

000001.gif
WARNING

The logical operators 'greater than or equal to' and 'less than or equal to' are written with two consecutive conditions. For example: the term 'if A is greater than or equal to B, the value of the term is 0, otherwise 1' in the formula is written as: [A>B:0] [A=B:0] 1.

 

 



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