INSERTINTOmap_rm(srce,target,regex,seq)VALUES('PNCC','Strip Amount Commas','{"map": "no", "defn": [{"key": "{Amount}", "flag": "g", "field": "amount", "regex": ",", "retain": "y", "replace": ""}], "name": "Strip Amount Commas", "where": [{}], "function": "replace", "description": "the Amount field come from PNC with commas embeded so it cannot be cast to numeric"}',1);
INSERTINTOmap_rm(srce,target,regex,seq)VALUES('PNCC','Parse Descr','{"map": "no", "defn": [{"key": "{Description}", "flag": "g", "field": "dparse", "regex": "([A-Z]{3,}?:)(.*)(?=[A-Z]{3,}?:|$)", "retain": "y"}], "name": "Parse Descr", "where": [{}], "function": "extract", "description": "parse the description based on at least three capital letters followed by a comma until another set of at lesat 3 capital letters and a comma is encountered"}',2);
-- Data for Name: map_rv; Type: TABLE DATA; Schema: tps; Owner: -
--
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "CANADA TAX", "acctn": "The HC Operating Company OPERA", "trans": "Detail Debit Adjustments"}','{"sign": "-1", "party": "PNC", "ledger": "Manual", "reason": "Bank Fees", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "ACH DEBIT SETTLEMENT", "acctn": "The HC Operating Company OPERA", "trans": "ACH Debits"}','{"sign": "-1", "ledger": "AP - ACH", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "RET DEP ITEM RTM", "acctn": "The HC Operating Company FBO P", "trans": "Deposited Items Returned"}','{"sign": "-1", "ledger": "Manual", "reason": "Returned Deposit RTM", "trantype": "Collections"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "RET DEP ITEM STOP", "acctn": "The HC Operating Company FBO P", "trans": "Deposited Items Returned"}','{"sign": "-1", "ledger": "Manual", "reason": "Returned Deposit STOP", "trantype": "Collections"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "CREDIT ADJUSTMENT", "acctn": "The HC Operating Company FBO P", "trans": "Detail Credit Adjustments"}','{"sign": "1", "ledger": "AR - Collections", "trantype": "Collections"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "REFER TO MAKER OF CK RETURN CK", "acctn": "The HC Operating Company OPERA", "trans": "Detail Credit Adjustments"}','{"sign": "1", "ledger": "Manual", "reason": "Returned Check", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "DEBIT ADJUSTMENT", "acctn": "The HC Operating Company PAYR", "trans": "Detail Debit Adjustments"}','{"sign": "-1", "ledger": "Manual", "reason": "Payroll Adjustment", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "DEPOSIT", "acctn": "The HC Operating Company FBO P", "trans": "Detail Deposits"}','{"sign": "1", "ledger": "AR - Collections", "trantype": "Collections"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "INTL WIRE OUT", "acctn": "The HC Operating Company OPERA", "trans": "Intl Money Transfer Debits"}','{"sign": "-1", "ledger": "AP - Wire", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "INTL WIRES OUT", "acctn": "The HC Operating Company OPERA", "trans": "Intl Money Transfer Debits"}','{"sign": "-1", "ledger": "AP - Wire", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "WHLS LBX DEP", "acctn": "The HC Operating Company FBO P", "trans": "Lockbox Deposits"}','{"sign": "1", "ledger": "AR - Collections", "trantype": "Collections"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "WHLS LBX DEP932855", "acctn": "The HC Operating Company FBO P", "trans": "Lockbox Deposits"}','{"sign": "1", "ledger": "AR - Collections", "trantype": "Collections"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "ADVANCE", "acctn": "The HC Operating Company OPERA", "trans": "Miscellaneous Credits"}','{"sign": "1", "ledger": "Manual", "reason": "Revolver Advance", "trantype": "Revolver Borrow"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "DEPOSIT:", "acctn": "The HC Operating Company FBO P", "trans": "Miscellaneous Credits"}','{"sign": "1", "ledger": "Manual", "trantype": "Collections"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "MISC CREDIT", "acctn": "The HC Operating Company OPERA", "trans": "Miscellaneous Credits"}','{"sign": "1", "ledger": "Manual", "reason": "Misc Credit", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "PAYMENT", "acctn": "The HC Operating Company FBO P", "trans": "Miscellaneous Credits"}','{"sign": "1", "ledger": "Manual", "reason": "Revolver Payment", "trantype": "Revolver Borrow"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "PAYMENT", "acctn": "The HC Operating Company FBO P", "trans": "Miscellaneous Debits"}','{"sign": "-1", "ledger": "Manual", "reason": "Revolver Payment", "trantype": "Revolver Payment"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "INTTL WIRES IN", "acctn": "The HC Operating Company FBO P", "trans": "Intl Money Transfer Credits"}','{"sign": "1", "ledger": "AR - Collections", "trantype": "Collections"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "PNC BANK- NJ LOAN PROCEEDS", "acctn": "The HC Operating Company FBO P", "trans": "Money Transfer CR-Other"}','{"sign": "1", "ledger": "Manual", "reason": "Revolver Advance", "trantype": "Revolver Borrow"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "PNC BANK-PGH LOAN PROCEEDS", "acctn": "The HC Operating Company OPERA", "trans": "Money Transfer CR-Other"}','{"sign": "1", "ledger": "Manual", "reason": "Revolver Advance", "trantype": "Revolver Borrow"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "FED WIRE IN", "acctn": "The HC Operating Company FBO P", "trans": "Money Transfer CR-Wire"}','{"sign": "1", "ledger": "AR - Collections", "trantype": "Collections"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "FED WIRE IN", "acctn": "The HC Operating Company OPERA", "trans": "Money Transfer CR-Wire"}','{"sign": "1", "ledger": "Manual", "reason": "Returned Wires", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "BOOK TRANSFER DEBIT", "acctn": "The HC Operating Company OPERA", "trans": "Money Transfer DB - Other"}','{"sign": "-1", "ledger": "Manual", "reason": "Returned Item", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "FED WIRE OUT", "acctn": "The HC Operating Company FREIG", "trans": "Money Transfer DB - Wire"}','{"sign": "-1", "ledger": "Manual", "reason": "Freight Wires", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "FED WIRE OUT", "acctn": "The HC Operating Company OPERA", "trans": "Money Transfer DB - Wire"}','{"sign": "-1", "ledger": "AP - Wire", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "FED WIRE OUT", "acctn": "The HC Operating Company PAYR", "trans": "Money Transfer DB - Wire"}','{"sign": "-1", "ledger": "Manual", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "FUNDS TRANSFER FROM ACCT", "acctn": "The HC Operating Company FREIG", "trans": "ZBA Credits"}','{"sign": "1", "ledger": "Manual", "reason": "ZBA Funding", "trantype": "Funding"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "FUNDS TRANSFER FROM ACCT", "acctn": "The HC Operating Company OPERA", "trans": "ZBA Credits"}','{"sign": "1", "ledger": "Manual", "reason": "ZBA Funding", "trantype": "Funding"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "FUNDS TRANSFER FROM ACCT", "acctn": "The HC Operating Company PAYR", "trans": "ZBA Credits"}','{"sign": "1", "ledger": "Manual", "reason": "ZBA Funding", "trantype": "Funding"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "FUNDS TRANSFER TO ACCT", "acctn": "The HC Operating Company OPERA", "trans": "ZBA Debits"}','{"sign": "-1", "ledger": "Manual", "reason": "ZBA Funding", "trantype": "Funding"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "FUNDS TRANSFER TO ACCT", "acctn": "The HC Operating Company PAYR", "trans": "ZBA Debits"}','{"sign": "-1", "ledger": "Manual", "reason": "ZBA Funding", "trantype": "Funding"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Currency','{"ini": "DEPOSIT:", "curr1": ["CREDIT", "USD"], "curr2": ["DEBIT", "CAD"]}','{"party": "The HC Canada Operating Company, Ltd.", "ledger": "Manual", "reason": "IC - Can to US Settlement", "trantype": "Interco Collection"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Wires Out','{"ini": "INTL WIRES OUT", "accts": ["8026322346", "010241000355"]}','{"party": "The HC Canada Operating Company, Ltd.", "ledger": "Manual", "reason": "IC - permanent AP funding"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "CORPORATE ACCOUNT ANALYSIS CHARGE", "acctn": "The HC Operating Company OPERA", "trans": "Miscellaneous Fees"}','{"sign": "-1", "party": "PNC", "ledger": "Manual", "reason": "Bank Fees", "trantype": "Fees"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "PNC MERCHANT FINCL ADJ", "acctn": "The HC Operating Company FBO P", "trans": "Miscellaneous Fees"}','{"sign": "-1", "party": "PNC", "ledger": "Manual", "reason": "Bank Fees", "trantype": "Fees"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','ACH Debits','{"ini": "ACH DEBIT RECEIVED", "desc": " ASO CLAIMS", "compn": " UNUM STD"}','{"party": "Unum", "reason": "Short Term Disability"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "PNC BANK- NJ LOAN PMTS", "acctn": "The HC Operating Company FBO P", "trans": "Miscellaneous Debits"}','{"sign": "-1", "ledger": "Manual", "reason": "Revolver Payment", "trantype": "Revolver Payment"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "WITHDRAWAL:", "acctn": "The HC Operating Company FBO P", "trans": "Miscellaneous Debits"}','{"sign": "-1", "ledger": "Manual", "trantype": "Disbursement"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "BOOK TRANSFER CREDIT", "acctn": "The HC Operating Company FBO P", "trans": "Money Transfer CR-Other"}','{"sign": "1", "ledger": "Manual", "reason": "Returned Item", "trantype": "Collections"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "BOOK TRANSFER CREDIT", "acctn": "The HC Operating Company OPERA", "trans": "Money Transfer CR-Other"}','{"sign": "1", "ledger": "Manual", "reason": "Returned Item", "trantype": "Collections"}');
INSERTINTOmap_rv(srce,target,retval,map)VALUES('PNCC','Trans Type','{"ini": "BOOK TRANSFER CREDIT GHFTDD DDA CREDIT", "acctn": "The HC Operating Company FBO P", "trans": "Money Transfer CR-Other"}','{"sign": "1", "ledger": "Manual", "reason": "Returned Item", "trantype": "Collections"}');