sync:definition
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sync:definition [2021/06/03 04:54] – [Complete Definition File] Scott Cunliffe | sync:definition [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| volume, | volume, | ||
| - | 000000L6, | + | 000000L6, |
| - | 000001L6, | + | 000001L6, |
| - | 000002L6, | + | 000002L6, |
| - | 000003L6, | + | 000003L6, |
| - | 000004L6, | + | 000004L6, |
| - | 000005L6, | + | 000005L6, |
| - | 000006L6, | + | 000006L6, |
| - | 000007L6, | + | 000007L6, |
| + | CLN00012, | ||
| | | ||
| === Add File Type Directives === | === Add File Type Directives === | ||
| Line 42: | Line 43: | ||
| Skip any line starting with volume, as it is a heading and not a Volume | Skip any line starting with volume, as it is a heading and not a Volume | ||
| + | Skip any Volume that starts with CLN. | ||
| AddString(EXCLUSION, | AddString(EXCLUSION, | ||
| - | | + | |
| Line 55: | Line 57: | ||
| setLiteral(MEDIA, | setLiteral(MEDIA, | ||
| setLiteral(SCRATCH, | setLiteral(SCRATCH, | ||
| + | | ||
| + | ==== Define Fields ==== | ||
| + | |||
| + | Definition fields to pass date format to Sync engine, Y=YYYY (y-YY), m=mm, d=dd. | ||
| + | Permanent date value sets the specified date to Permanent or no next move date. | ||
| + | |||
| + | SetMoveDateFormat(" | ||
| + | SetPermanentDateValue(" | ||
| Line 78: | Line 88: | ||
| RemoveSpaces(DESCRIPTION); | RemoveSpaces(DESCRIPTION); | ||
| | | ||
| + | Extract Movedate from column 5, length 11 | ||
| + | |||
| + | Extract(MOVEDATE, | ||
| ==== Translate Fields Directly ==== | ==== Translate Fields Directly ==== | ||
| Line 113: | Line 126: | ||
| Extract(DESCRIPTION, | Extract(DESCRIPTION, | ||
| RemoveSpaces(DESCRIPTION); | RemoveSpaces(DESCRIPTION); | ||
| + | | ||
| + | SetMoveDateFormat(" | ||
| + | Extract(MOVEDATE, | ||
| + | | ||
| + | AddString(EXCLUSION, | ||
| + | AddExclusionOnValue(VOLUME, | ||
| | | ||
| AddTranslation(REPOSITORY, | AddTranslation(REPOSITORY, | ||
sync/definition.1622696044.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
