summaryrefslogtreecommitdiff
path: root/FS/FS/Schema.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-12-07 15:27:49 -0800
committerMark Wells <mark@freeside.biz>2016-12-07 15:27:58 -0800
commit7a33cb6e4c3e33b7399d6574cbd3ee38ddcba5e0 (patch)
treeb46feaff7d6c842e2ee3be38d71b684d33d7b7f2 /FS/FS/Schema.pm
parentecd038f7ae5c1ffc929f3c928ecd161eeb45d9be (diff)
specify Avalara tax product for per-line taxes, #73063
Diffstat (limited to 'FS/FS/Schema.pm')
-rw-r--r--FS/FS/Schema.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index f8b82f4..0e41b1a 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -3248,6 +3248,7 @@ sub tables_hashref {
'adjourn_months', 'int', 'NULL', '', '', '',
'contract_end_months','int','NULL', '', '', '',
'change_to_pkgpart', 'int', 'NULL', '', '', '',
+ 'units_taxproductnum','int','NULL', '', '', '',
],
'primary_key' => 'pkgpart',
'unique' => [],
@@ -3265,6 +3266,10 @@ sub tables_hashref {
{ columns => [ 'taxproductnum' ],
table => 'part_pkg_taxproduct',
},
+ { columns => [ 'units_taxproductnum' ],
+ table => 'part_pkg_taxproduct',
+ references => [ 'taxproductnum' ],
+ },
{ columns => [ 'agentnum' ],
table => 'agent',
},