You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.0 KiB
72 lines
2.0 KiB
#### Paths: using '' makes the string 'raw' to avoid escape characters
|
|
|
|
# Path to the directory to search for input report files
|
|
input_directory = 'tests\test_inputs'
|
|
# Regex used to discover newest files
|
|
input_glob_pattern = { GP = "*GP*.xlsx", OB = '*OB*.xlsx'}
|
|
# Path to the directory to save the reconcilation work report
|
|
output_directory = 'tests\test_outputs'
|
|
# Fallback to interactive?
|
|
interactive_inputs = false # NOT YET IMPLEMENTED
|
|
|
|
|
|
#### DB
|
|
|
|
# Whether to try using a mssql database
|
|
# NOT YET IMPLEMENTED!
|
|
use_mssql = false
|
|
# Path to the SQLite database used to view/save reconcilations
|
|
database_path = './onhold_reconciliation.db'
|
|
|
|
|
|
### Finished rec details
|
|
|
|
# Columns to add to all 'work' sheets
|
|
# also saved 'Reconcilations' database
|
|
work_columns = [
|
|
"HideNextMonth", # Boolean column for user to indicate if this contract should be ignored next month
|
|
"Resolution" # Text field describing the disprecany and how it may be resolved
|
|
]
|
|
# Columns to keep on reconcilation 'work' sheets
|
|
finished_column = [
|
|
"contract_number",
|
|
"vendor_name",
|
|
"AppNum", # OB only
|
|
"Document Number", # GP Only
|
|
"DateBooked", # OB only
|
|
"Document Date", # GP Only
|
|
# 'Source' added for 'no match'
|
|
]
|
|
|
|
# Any regex filters that might be needed
|
|
[filters]
|
|
# Use label to distinguish a regex set
|
|
doc_num_filters = [
|
|
"p(oin)?ts",
|
|
"pool",
|
|
"promo",
|
|
"o(ver)?f(und)?",
|
|
"m(ar)?ke?t",
|
|
"title",
|
|
"adj",
|
|
"reg fee",
|
|
"rent",
|
|
"cma"
|
|
]
|
|
po_filter = ['^(?!.*cma(\s|\d)).*$']
|
|
|
|
# Columns that are featured & expected on both OB & GP
|
|
[[shared_columns]]
|
|
standardized_name = "contract_number" # The name you'd like to use to standardize them
|
|
GP = "Transaction Description" # Column name used in GP
|
|
OB = "Contract" # Column name used in GP
|
|
|
|
[[shared_columns]]
|
|
standardized_name = "onhold_amount"
|
|
GP = "Current Trx Amount"
|
|
OB = "CurrentOnHold"
|
|
|
|
[[shared_columns]]
|
|
standardized_name = "vendor_name"
|
|
GP = "Vendor Name"
|
|
OB = "DealerName" |