diff options
author | jeff <jeff> | 2001-09-01 21:52:20 +0000 |
---|---|---|
committer | jeff <jeff> | 2001-09-01 21:52:20 +0000 |
commit | 6412f71a3557249225abf5eb2096ebad1729c585 (patch) | |
tree | e8365251d39c29387ba68dce8a3fb56564d407b7 /bin | |
parent | cdd5aa1d86cd5b266e02bed58570c97c2d7698ba (diff) |
add cust_credit_bill relating multiple invoices to credits
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fs-setup | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/bin/fs-setup b/bin/fs-setup index 2cba840ef..8fbc67ef3 100755 --- a/bin/fs-setup +++ b/bin/fs-setup @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: fs-setup,v 1.45 2001-09-01 20:11:07 ivan Exp $ +# $Id: fs-setup,v 1.46 2001-09-01 21:52:20 jeff Exp $ #to delay loading dbdef until we're ready BEGIN { $FS::Record::setup_hack = 1; } @@ -317,6 +317,18 @@ sub tables_hash_hack { 'index' => [ ['custnum'] ], }, + 'cust_credit_bill' => { + 'columns' => [ + 'crednum', 'int', '', '', + 'invnum', 'int', '', '', + '_date', @date_type, + 'amount', @money_type, + ], + 'primary_key' => 'crednum', + 'unique' => [ [] ], + 'index' => [ ['invnum'] ], + }, + 'cust_main' => { 'columns' => [ 'custnum', 'int', '', '', |