<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://secure.freeside.biz/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Freeside%3A3%3ADocumentation%3ADeveloper%2FFS%2Fqueue_stat</id>
		<title>Freeside:3:Documentation:Developer/FS/queue stat - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://secure.freeside.biz/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Freeside%3A3%3ADocumentation%3ADeveloper%2FFS%2Fqueue_stat"/>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:3:Documentation:Developer/FS/queue_stat&amp;action=history"/>
		<updated>2026-08-13T12:49:25Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:3:Documentation:Developer/FS/queue_stat&amp;diff=8376&amp;oldid=prev</id>
		<title>Jeremyd: Edit via perl MediaWiki framework (1.13)</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:3:Documentation:Developer/FS/queue_stat&amp;diff=8376&amp;oldid=prev"/>
				<updated>2015-02-10T13:39:33Z</updated>
		
		<summary type="html">&lt;p&gt;Edit via perl MediaWiki framework (1.13)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==NAME==&lt;br /&gt;
FS::queue_stat - Object methods for queue_stat records&lt;br /&gt;
&lt;br /&gt;
==SYNOPSIS==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  use FS::queue_stat;&lt;br /&gt;
 &lt;br /&gt;
  $record = new FS::queue_stat \%hash;&lt;br /&gt;
  $record = new FS::queue_stat { 'column' =&amp;gt; 'value' };&lt;br /&gt;
 &lt;br /&gt;
  $error = $record-&amp;gt;insert;&lt;br /&gt;
 &lt;br /&gt;
  $error = $new_record-&amp;gt;replace($old_record);&lt;br /&gt;
 &lt;br /&gt;
  $error = $record-&amp;gt;delete;&lt;br /&gt;
 &lt;br /&gt;
  $error = $record-&amp;gt;check;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
==DESCRIPTION==&lt;br /&gt;
An FS::queue_stat object represents statistcs about a completed (queued) job. FS::queue_stat inherits from FS::Record. The following fields are currently supported:&lt;br /&gt;
&lt;br /&gt;
; statnum&lt;br /&gt;
:primary key&lt;br /&gt;
; jobnum&lt;br /&gt;
:jobnum&lt;br /&gt;
; job&lt;br /&gt;
:job&lt;br /&gt;
; custnum&lt;br /&gt;
:custnum&lt;br /&gt;
; insert_date&lt;br /&gt;
:insert_date&lt;br /&gt;
; start_date&lt;br /&gt;
:start_date&lt;br /&gt;
; end_date&lt;br /&gt;
:end_date&lt;br /&gt;
&lt;br /&gt;
==METHODS==&lt;br /&gt;
; new HASHREF&lt;br /&gt;
:Creates a new record. To add the record to the database, see [[#insert|&amp;quot;insert&amp;quot;]].&lt;br /&gt;
&lt;br /&gt;
:Note that this stores the hash reference, not a distinct copy of the hash it points to. You can ask the object for a copy with the ''hash'' method.&lt;br /&gt;
; insert&lt;br /&gt;
:Adds this record to the database. If there is an error, returns the error, otherwise returns false.&lt;br /&gt;
; delete&lt;br /&gt;
:Delete this record from the database.&lt;br /&gt;
; replace OLD_RECORD&lt;br /&gt;
:Replaces the OLD_RECORD with this one in the database. If there is an error, returns the error, otherwise returns false.&lt;br /&gt;
; check&lt;br /&gt;
:Checks all fields to make sure this is a valid record. If there is an error, returns the error, otherwise returns false. Called by the insert and replace methods.&lt;br /&gt;
&lt;br /&gt;
==BUGS==&lt;br /&gt;
==SEE ALSO==&lt;br /&gt;
[[Freeside:3:Documentation:Developer/FS/Record|FS::Record]]&lt;/div&gt;</summary>
		<author><name>Jeremyd</name></author>	</entry>

	</feed>