projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
revise process for updating WA sales taxes, #73185 and #73226
[freeside.git]
/
FS
/
FS
/
log_context.pm
diff --git
a/FS/FS/log_context.pm
b/FS/FS/log_context.pm
index
db97c9b
..
7a59ea7
100644
(file)
--- a/
FS/FS/log_context.pm
+++ b/
FS/FS/log_context.pm
@@
-9,6
+9,12
@@
my @contexts = ( qw(
bill_and_collect
FS::cust_main::Billing::bill_and_collect
FS::cust_main::Billing::bill
bill_and_collect
FS::cust_main::Billing::bill_and_collect
FS::cust_main::Billing::bill
+ FS::cust_main::Billing_Realtime::realtime_verify_bop
+ FS::part_pkg
+ FS::Misc::Geo::standardize_uscensus
+ FS::saved_search::send
+ FS::saved_search::render
+ FS::cust_location::process_district_update
Cron::bill
Cron::upload
spool_upload
Cron::bill
Cron::upload
spool_upload
@@
-16,6
+22,8
@@
my @contexts = ( qw(
queue
upgrade
upgrade_taxable_billpkgnum
queue
upgrade
upgrade_taxable_billpkgnum
+ freeside-paymentech-upload
+ freeside-paymentech-download
) );
=head1 NAME
) );
=head1 NAME
@@
-67,8
+75,6
@@
points to. You can ask the object for a copy with the I<hash> method.
=cut
=cut
-# the new method can be inherited from FS::Record, if a table method is defined
-
sub table { 'log_context'; }
=item insert
sub table { 'log_context'; }
=item insert
@@
-76,27
+82,15
@@
sub table { 'log_context'; }
Adds this record to the database. If there is an error, returns the error,
otherwise returns false.
Adds this record to the database. If there is an error, returns the error,
otherwise returns false.
-=cut
-
-# the insert method can be inherited from FS::Record
-
=item delete
Delete this record from the database.
=item delete
Delete this record from the database.
-=cut
-
-# the delete method can be inherited from FS::Record
-
=item replace OLD_RECORD
Replaces the OLD_RECORD with this one in the database. If there is an error,
returns the error, otherwise returns false.
=item replace OLD_RECORD
Replaces the OLD_RECORD with this one in the database. If there is an error,
returns the error, otherwise returns false.
-=cut
-
-# the replace method can be inherited from FS::Record
-
=item check
Checks all fields to make sure this is a valid example. If there is
=item check
Checks all fields to make sure this is a valid example. If there is
@@
-105,17
+99,13
@@
and replace methods.
=cut
=cut
-# the check method should currently be supplied - FS::Record contains some
-# data checking routines
-
sub check {
my $self = shift;
my $error =
$self->ut_numbern('logcontextnum')
|| $self->ut_number('lognum')
sub check {
my $self = shift;
my $error =
$self->ut_numbern('logcontextnum')
|| $self->ut_number('lognum')
- #|| $self->ut_enum('context', \@contexts)
- #|| $self->ut_enum('context', \@contexts)
+ || $self->ut_text('context') #|| $self->ut_enum('context', \@contexts)
;
return $error if $error;
;
return $error if $error;