1 package FS::part_pkg::fsinc_print;
8 'name' => 'Usage from Freeside Inc. web services',
9 'shortname' => 'Freeside web services',
15 return 'printing usage';
24 #my($self, $cust_pkg, $sdate, $details, $param ) = @_;
25 my( $self, $cust_pkg ) = @_;
27 my $custnum = $cust_pkg->custnum;
29 #false laziness w/ClientAPI/Freeside.pm and webservice_log.pm
33 FS::Record->scalar_sql("
34 UPDATE webservice_log SET status = 'done'
35 WHERE custnum = $custnum
38 RETURNING SUM ( $color + quantity * $page )
43 sub can_discount { 0; }