altocompta/doc/developper/html/user__form__ods_8php.html

191 lines
10 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/include/user_form_ods.php File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.4 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000006.html">include</a></div>
<h1>user_form_ods.php File Reference</h1>Functions for the ledger of misc. operation. <a href="#_details">More...</a>
<p>
<p>
<a href="user__form__ods_8php-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__form__ods_8php.html#a0">FormODS</a> ($p_cn, $p_jrn, $p_periode, $p_submit, $p_array=null, $pview_only=true, $p_article=6, $p_saved=false)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display the miscellaneous operation Used to show detail, encode a new oper or update one. <a href="#a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__form__ods_8php.html#a1">RecordODS</a> ($p_cn, $p_array, $p_user, $p_jrn)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Record an buy in the table jrn &amp; jrnx. <a href="#a1"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Functions for the ledger of misc. operation.
<p>
<p>
Definition in file <a class="el" href="user__form__ods_8php-source.html">user_form_ods.php</a>.<hr><h2>Function Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="user_form_ods.php::FormODS" ref="a0" args="($p_cn, $p_jrn, $p_periode, $p_submit, $p_array=null, $pview_only=true, $p_article=6, $p_saved=false)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">FormODS </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_cn</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_jrn</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_periode</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_submit</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_array</em> = <code>null</code>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>pview_only</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_article</em> = <code>6</code>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_saved</em> = <code>false</code></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Display the miscellaneous operation Used to show detail, encode a new oper or update one.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>$p_cn</em>&nbsp;</td><td>database connextion </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_array</em>&nbsp;</td><td>which can be empty </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_jrn</em>&nbsp;</td><td>the "journal" </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_user</em>&nbsp;</td><td>= $g_user </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_submit</em>&nbsp;</td><td>contains the submit string </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$pview_only</em>&nbsp;</td><td>if we cannot change it (no right or centralized op) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_article</em>&nbsp;</td><td>number of article </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_saved</em>&nbsp;</td><td>if true propose to upload a piece gen :<ul>
<li>return: string with the form</li></ul>
</td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="user__form__ods_8php-source.html#l00045">45</a> of file <a class="el" href="user__form__ods_8php-source.html">user_form_ods.php</a>.
<p>
References <a class="el" href="jrn__pdf_8php-source.html#l00069">$filter</a>, <a class="el" href="setup_8php-source.html#l00255">$flag</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="jrn__detail_8php-source.html#l00124">$l_line</a>, <a class="el" href="modify__op_8php-source.html#l00054">$p_jrn</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</a>, <a class="el" href="ac__common_8php-source.html#l00036">echo_error()</a>, <a class="el" href="jrn_8php-source.html#l00523">GetJrnProperty()</a>, <a class="el" href="preference_8php-source.html#l00122">GetPeriode()</a>, <a class="el" href="poste_8php-source.html#l00036">GetPosteLibelle()</a>, <a class="el" href="ac__common_8php-source.html#l00076">isNumber()</a>, <a class="el" href="client_8inc_8php-source.html#l00116">name</a>, <a class="el" href="client_8inc_8php-source.html#l00117">value</a>, and <a class="el" href="user__common_8php-source.html#l00653">VerifyOperationDate()</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="user_form_ods.php::RecordODS" ref="a1" args="($p_cn, $p_array, $p_user, $p_jrn)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">RecordODS </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_cn</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_array</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_user</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_jrn</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Record an buy in the table jrn &amp; jrnx.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>$p_cn</em>&nbsp;</td><td>Database connection </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_array</em>&nbsp;</td><td>contains all the data e_date =&gt; e : 01.01.2003 nb_item =&gt; e : 3 e_account0 =&gt; e : 6 e_account0_amount=&gt;e:1<ul>
<li>$p_user userid</li><li>$p_jrn current folder (journal)</li></ul>
</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>true on success</dd></dl>
<p>
Definition at line <a class="el" href="user__form__ods_8php-source.html#l00247">247</a> of file <a class="el" href="user__form__ods_8php-source.html">user_form_ods.php</a>.
<p>
References <a class="el" href="print__invoice_8php-source.html#l00051">$amount</a>, <a class="el" href="impress__fiche_8php-source.html#l00079">$e</a>, <a class="el" href="annulation_8php-source.html#l00136">$seq</a>, <a class="el" href="balance_8php-source.html#l00033">exit</a>, <a class="el" href="user__common_8php-source.html#l00243">InsertJrnx()</a>, <a class="el" href="ac__common_8php-source.html#l00076">isNumber()</a>, <a class="el" href="postgres_8php-source.html#l00251">NextSequence()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>. </td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:47 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body>
</html>