[freeside-commits] freeside/FS/FS Schema.pm,1.317.2.13,1.317.2.14

Ivan,,, ivan at wavetail.420.am
Tue Oct 25 16:47:04 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv17744/FS/FS

Modified Files:
      Tag: FREESIDE_2_3_BRANCH
	Schema.pm 
Log Message:
add legacy_cust_bill to hold legacy invoice content, RT#12981

Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.317.2.13
retrieving revision 1.317.2.14
diff -u -w -d -r1.317.2.13 -r1.317.2.14
--- Schema.pm	21 Oct 2011 23:09:03 -0000	1.317.2.13
+++ Schema.pm	25 Oct 2011 23:47:02 -0000	1.317.2.14
@@ -538,6 +538,23 @@
       'index' => [ ['custnum'], ['_date'], ['statementnum'], ['agent_invid'] ],
     },
 
+    #for importing invoices from a legacy system for display purposes only
+    # no effect upon balance
+    'legacy_cust_bill' => {
+      'columns' => [
+        'legacyinvnum',  'serial',     '',      '', '', '',
+        'legacyid',     'varchar', 'NULL', $char_d, '', '',
+        'custnum',          'int',     '',      '', '', '', 
+        '_date',       @date_type,                  '', '', 
+        'charged',    @money_type,                  '', '', 
+        'content_pdf',     'blob', 'NULL',      '', '', '',
+        'content_html',    'text', 'NULL',      '', '', '',
+      ],
+      'primary_key' => 'legacyinvnum',
+      'unique' => [],
+      'index'  => [ ['legacyid', 'custnum'], ],
+    },
+
     'cust_statement' => {
       'columns' => [
         'statementnum', 'serial', '', '', '', '',



More information about the freeside-commits mailing list