HomeUsing LincDoc 3.0DANG Rule WizardAdvanced calculations

7.9. Advanced calculations

Certain calculations may entail multiple steps that require temporary fields to hold interim values.   For example, a payment may be due on the last day of the month, but you may wish to schedule it for the day before.

In this case you need a variable field to temporarily store the end of month date.   You can then use this field in the MinusDays function to calculate your final answer.

Creating a temporary variable

  1. Click on the submenu arrow to the right of the calculation's target field.  
  2. The New variable window is opened.   Name the variable and select the variable's type.   
  3. Select the new temp_EndOfMonth variable in the calculation's target field and configure its calculation.   
  4. Click on the plus button to the far right of the calculation's definition to create another calculation level.
  5. Complete the calculation of the pmt_dt field using the MinusDays method and the temp_EndOfMonth variable. 

Knowledge Tags
DANG  /  variable  / 

This page was: Helpful | Not Helpful