This is an old revision of the document!
−Table of Contents
Name
addmovedateadjustment
AddMoveDateAdjustment
Add a specific number of days, months, years to the Next Move Date if a field value matches a filter value.
Phase
This instruction is used by the TapeTrack Synchronization Engine.
Syntax
AddMoveDateAdjustment(field, filter, years, months, days);
string field;
string filter;
integer years;
integer months;
integer days;
field | The field to compare against. |
filter | A filter value to compare the field value against. |
years | The number of years to add to the Next Move Date. |
months | The number of months to add to the Next Move Date. |
days | The number of days to add to the Next Move Date. |
Examples
AddMoveDateAdjustment: Add 7 years to the Next Move Date if the Description contains YEARLY Extract(MOVEDATE, 4, 10, 0); SetMoveDateFormat(“d/m/%%Y”); Extract(DESCRIPTION, 5, 100, 0); AddMoveDateAdjustment(DESCRIPTION, “*YEARLY*”; 7, 0, 0);
Extract the MOVEDATE from offset 4, length 10 of the report body. Set the MOVEDATE format. Extract the DESCRIPTION from offset 5, length 100 of the report body. Adjust the extracted MOVEDATE by 7 years if the DESCRIPTION matches the pattern *YEARLY*.