<?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%3A1.9%3ADocumentation%3ADeveloper%2FFS%2Fqueue_depend</id>
		<title>Freeside:1.9:Documentation:Developer/FS/queue depend - 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%3A1.9%3ADocumentation%3ADeveloper%2FFS%2Fqueue_depend"/>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Developer/FS/queue_depend&amp;action=history"/>
		<updated>2026-08-28T13:26:02Z</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:1.9:Documentation:Developer/FS/queue_depend&amp;diff=2692&amp;oldid=prev</id>
		<title>Ivan: import from POD</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Developer/FS/queue_depend&amp;diff=2692&amp;oldid=prev"/>
				<updated>2007-10-04T00:26:23Z</updated>
		
		<summary type="html">&lt;p&gt;import from POD&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:26, 4 October 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==METHODS==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==METHODS==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; new HASHREF&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; new HASHREF&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:Creates a new dependancy. To add the dependancy to the database, see [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Freeside:1.9:Documentation:Developer/#insert|&amp;quot;insert&amp;quot;|&lt;/del&gt;#insert|&amp;quot;insert&amp;quot;]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:Creates a new dependancy. To add the dependancy to the database, see [[#insert|&amp;quot;insert&amp;quot;]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ivan</name></author>	</entry>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Developer/FS/queue_depend&amp;diff=2551&amp;oldid=prev</id>
		<title>Ivan: import from POD</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:1.9:Documentation:Developer/FS/queue_depend&amp;diff=2551&amp;oldid=prev"/>
				<updated>2007-10-03T23:50:53Z</updated>
		
		<summary type="html">&lt;p&gt;import from POD&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_depend - Object methods for queue_depend records&lt;br /&gt;
&lt;br /&gt;
==SYNOPSIS==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  use FS::queue_depend;&lt;br /&gt;
 &lt;br /&gt;
  $record = new FS::queue_depend \%hash;&lt;br /&gt;
  $record = new FS::queue_depend { '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_depend object represents an job dependancy. FS::queue_depend inherits from FS::Record. The following fields are currently supported:&lt;br /&gt;
&lt;br /&gt;
; dependnum - primary key; jobnum - source jobnum (see [[Freeside:1.9:Documentation:Developer/FS/queue|FS::queue]]).; depend_jobnum - dependancy jobnum (see [[Freeside:1.9:Documentation:Developer/FS/queue|FS::queue]])&lt;br /&gt;
The job specified by '''jobnum''' depends on the job specified '''depend_jobnum''' - the '''jobnum''' job will not be run until the '''depend_jobnum''' job has completed successfully (or manually removed).&lt;br /&gt;
&lt;br /&gt;
==METHODS==&lt;br /&gt;
; new HASHREF&lt;br /&gt;
:Creates a new dependancy. To add the dependancy to the database, see [[Freeside:1.9:Documentation:Developer/#insert|&amp;quot;insert&amp;quot;|#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 dependancy. 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:1.9:Documentation:Developer/FS/queue|FS::queue]], [[Freeside:1.9:Documentation:Developer/FS/Record|FS::Record]], schema.html from the base documentation.&lt;/div&gt;</summary>
		<author><name>Ivan</name></author>	</entry>

	</feed>