From c07b79440c6f6763c7c76c8d107c7f32d80e302e Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sat, 14 Oct 2017 17:03:24 -0700 Subject: show compliance solutions JSON, RT#77789 --- FS/FS/Schema.pm | 2 ++ FS/FS/TaxEngine/compliance_solutions.pm | 1 + 2 files changed, 3 insertions(+) (limited to 'FS') diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index dfb5ce421..ecdfd0a94 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -694,6 +694,7 @@ sub tables_hashref { 'statementnum', 'int', 'NULL', '', '', '', #invoice aggregate statements 'agent_invid', 'int', 'NULL', '', '', '', #(varchar?) importing legacy 'promised_date', @date_type, '', '', + 'taxengine_request', 'text', 'NULL', '', '', '', 'pending', 'char', 'NULL', 1, '', '', ], @@ -731,6 +732,7 @@ sub tables_hashref { 'statementnum', 'int', 'NULL', '', '', '', #invoice aggregate statements 'agent_invid', 'int', 'NULL', '', '', '', #(varchar?) importing legacy 'promised_date', @date_type, '', '', + 'taxengine_request', 'text', 'NULL', '', '', '', #void fields 'void_date', @date_type, '', '', diff --git a/FS/FS/TaxEngine/compliance_solutions.pm b/FS/FS/TaxEngine/compliance_solutions.pm index 1f0c16605..33b6a3ef1 100644 --- a/FS/FS/TaxEngine/compliance_solutions.pm +++ b/FS/FS/TaxEngine/compliance_solutions.pm @@ -226,6 +226,7 @@ sub make_taxlines { } ); warn $request_json if $DEBUG > 1; + $cust_bill->taxengine_request($request_json); my $soap = SOAP::Lite->service("http://tcms1.csilongwood.com/cgi-bin/taxcalc.wsdl"); -- cgit v1.2.1