[freeside-devel] [freeside-commits]
Jeff Finucane
jeff at cmh.net
Thu Dec 6 17:58:21 PST 2007
Ivan Kohler <ivan at sisd.com> wrote on Thu, 6 Dec 2007 17:40:56 -0800....
+----------
| Message-ID: <20071207014053.GG31374 at rootwood.420.am>
| Subject: Re: [freeside-devel] [freeside-commits]
| freeside/FS/FS cust_credit.pm, 1.27, 1.28
|
| On Thu, Dec 06, 2007 at 08:27:48PM -0500, Jeff Finucane wrote:
| > "Ivan,,," <ivan at wavetail.420.am>:
| >
| > Sure about this? I am not certain what you mean by "hanging"... do
| > you mean it won't pass ::check() for lack of find a cust_main?
|
| Right. That shouldn't happen (and hasn't in years AFAIK), but I
| need to upgrade at least one old database with records like this.
|
| What alternative would you suggest? Modify cust_credit::check to ignore
| missing custnums ("local($ignore_custnum_check) = 1" or something) so
| the reasons can migrate?
|
| > and the warnings are issued again on a subsequent upgrade run.
|
| Well, they should probably be cleaned up at some point anyway...
+----------
That routine is the ideal place for a cleanup. Perhaps it should
find or create an appropriate 'Legacy' customer and attach the credits.
--
jeff at cmh.net
"There is no worse tyranny than to force a man to pay for what he does
not want merely because you think it would be good for him."
Professor Bernardo de le Paz
[ R.A. Heinlein -- "The Moon is a Harsh Mistress" ]
More information about the freeside-devel
mailing list