TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:sync:addmovedateadjustment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
engine:sync:addmovedateadjustment [2020/02/24 00:40] Scott Cunliffeengine:sync:addmovedateadjustment [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 9: Line 9:
 ''AddMoveDateAdjustment(field, filter, years, months, days);'' ''AddMoveDateAdjustment(field, filter, years, months, days);''
  
-string //field;//\\ +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ Min Value ^ Max Value ^ 
-string //filter;//\\ +|field  | String | The field to compare against. | 1|40
-integer //years;//\\ +|filter | String | A filter value to compare the field value against. |1|256
-integer //months;//\\ +|years | Integer | The number of years to add to the Next Move Date. |1|10|-214748364 | 2147483647
-integer //days;//\\ +|months | Integer | The number of months to add to the Next Move Date. |1|10|-214748364 | 2147483647
- +|days | Integer | The number of days to add to the Next Move Date.|1|10|-214748364 | 2147483647|
-|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.|+
  
 ==== Example ==== ==== Example ====
Line 25: Line 20:
 Add 7 years to the Next Move Date if the Description contains YEARLY Add 7 years to the Next Move Date if the Description contains YEARLY
  
-<sxh>+<code>
 # #
 # Extract the MOVEDATE from offset 4, length 10 of the report body. # Extract the MOVEDATE from offset 4, length 10 of the report body.
Line 38: Line 33:
 # Adjust the extracted MOVEDATE by 7 years if the DESCRIPTION matches the pattern *YEARLY*. # Adjust the extracted MOVEDATE by 7 years if the DESCRIPTION matches the pattern *YEARLY*.
 AddMoveDateAdjustment(DESCRIPTION, "*YEARLY*"; 7, 0, 0); AddMoveDateAdjustment(DESCRIPTION, "*YEARLY*"; 7, 0, 0);
-</sxh>+</code> 
 + 
 +===== See Also ===== 
 + 
 +[[engine:import|Import Engine Functions]] \\ 
 +[[cli:sync_fields|Sync Engine Fields]] \\ 
 +[[cli:tmss10sync|TMSS10Sync]]
  
 {{tag> import_engine}} {{tag> import_engine}}
engine/sync/addmovedateadjustment.1582504851.txt.gz · Last modified: 2025/01/21 22:07 (external edit)