-
Notifications
You must be signed in to change notification settings - Fork 0
/
cfs_at_sw.ini
138 lines (97 loc) · 4.7 KB
/
cfs_at_sw.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
;;;;;;;;;;;;;;;;;;;;;;;;;
; About cfs_at_sw.ini ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; The AutoTask / Southware integration script uses an ini file to define
; configuration variables for the script
; The cfs_at_sw.php script can be supplied with an ini parameter
; pointing to an ini file you specify, e.g.:
; PROMPT>php.exe cfs_at_sw.php ini=foo.ini
; Otherwise, the script will look for the default ini file, named
; cfs_at_sw.ini, in the local directory.
; If the script can locate neither the specified nor the default ini
; file, the script returns an error.
; The syntax of the file is extremely simple. Whitespace and lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
; If values contain bitwise ()|^&~!, surround the value with double quotes!
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
; foo = ; sets foo to an empty string
; foo = None ; sets foo to an empty string
; foo = "None" ; sets foo to the string 'None'
; TIMEZONE
; Optional from the list @ http://php.net/manual/en/timezones.php
; Defaults to America/New_York
timezone = America/New_York
; SMTP host & port
; Required to send e-mail notifications
smtp_host= localhost
smtp_port = 25
; From e-mail address
; Required to send e-mail notifications
smtp_from = [email protected]
; NOTIFICATION SETTINGS
; These directives take lists of email addresses separated by commas
; Examples:
; notify_errors = "[email protected],[email protected]"
; notify_errors = "Mickey Mouse <[email protected]>,Donald Duck <[email protected]>"
; Comma delimited list of e-mail addresses to send script any output
notify_results = "Jeff Norris <[email protected]>"
; Comma delimited list of e-mail addresses to send script any output
notify_errors = "Jeff Norris <[email protected]>,Donald Duck <[email protected]>"
; AUTOTASK SETTINGS
; The API must be enabled for the account and an admin user must be specified.
; The Autotask zone can be determined by looking at the URL when the
; specified user is logged in and noting the single digit numeral in "ww#".
autotask_api_user = "[email protected]"
autotask_api_password = "password"
autotask_api_zone = 5
autotask_tracking_id = TRACKING_ID
; ACCOUNT SYNC SETTINGS
; path to folder where southware account id's are stored
; e.g., c:/CFS/Accounts_Southware
accounts_southware_dir = c:/CFS/Accounts_Southware
; path to folder where southware account id's are archived after processing
; e.g., c:/CFS/Accounts_Southware/archive
accounts_southware_archive_dir = c:/CFS/Accounts_Southware/archive
; path to place account exports
; e.g., c:/CFS/Accounts_Autotask
accounts_autotask_dir = c:/CFS/Accounts_Autotask
; CONTRACT SYNC SETTINGS
; In invoice export file, export contract data for lines where ALLOCATION CODE EXTERNAL NUMBER
; is set to any of the following values (comma-delimited list of codes):
contracts_allocation_code = "ZCC"
; path to folder where southware contract id's are stored
; e.g., c:/CFS/Contracts_Southware
contracts_southware_dir = c:/CFS/Contracts_Southware
; path to folder where southware contract id's are archived after processing
; e.g., c:/CFS/Contracts_Southware/archive
contracts_southware_archive_dir = c:/CFS/Contracts_Southware/archive
; path to place contract exports
; e.g., c:/CFS/Contracts_Autotask
contracts_autotask_dir = c:/CFS/Contracts_Autotask
; INVOICE SYNC SETTINGS
; Name of Autotask Account Id & Number fields in Header of Invoice Export
invoices_account_id_field = "CLIENT ID"
invoices_account_number_field = "CLIENT NUMBER"
; path to folder where Autotask invoice exports are stored
; e.g., c:/CFS/Invoices_Autotask
invoices_autotask_dir = c:/CFS/Invoices_Autotask
; path to folder where Autotask invoice exports are archived after forwarding to Southware
; e.g., c:/CFS/Invoices_Autotask/archive
invoices_autotask_archive_dir = c:/CFS/Invoices_Autotask/archive
; path to folder where Autotask invoice exports are forwarded to Southware
; e.g., c:/CFS/Invoices_Southware
invoices_southware_dir = c:/CFS/Invoices_Southware
; comma-delimited list of any columns that should be left out of processed invoice file
; e.g. "TASK OR TICKET TITLE,TASK OR TICKET SUMMARY"
invoice_skip_columns = "TASK OR TICKET TITLE,TASK OR TICKET SUMMARY"
; a field that might commonly be breaking the CSV parsing in Autotask ...
; if defined, the script will try to truncate this field if it breaks the parsing!
invoice_truncate_column = "TASK OR TICKET TITLE"
; QUOTE SYNC SETTINGS
; path to place quote exports
; e.g., c:/CFS/Quotes_Autotask
quotes_autotask_dir = c:/CFS/Quotes_Autotask