Revision 78600d89
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/DB/Invoice.pm | ||
---|---|---|
273 | 273 |
|
274 | 274 |
=back |
275 | 275 |
|
276 |
Returns C<$self> on success and C<undef> on failure. |
|
276 |
Returns C<$self> on success and C<undef> on failure. The whole process |
|
277 |
is run inside a transaction. If it fails then nothing is saved to or |
|
278 |
changed in the database. A new transaction is only started if none is |
|
279 |
active. |
|
277 | 280 |
|
278 | 281 |
=item C<basic_info $field> |
279 | 282 |
|
SL/DB/Order.pm | ||
---|---|---|
155 | 155 |
chart to post to. If it is not set then the first chart configured for |
156 | 156 |
accounts receivables is used. |
157 | 157 |
|
158 |
Returns the new invoice instance on success and C<undef> on failure. |
|
158 |
Returns the new invoice instance on success and C<undef> on |
|
159 |
failure. The whole process is run inside a transaction. On failure |
|
160 |
nothing is created or changed in the database. |
|
159 | 161 |
|
160 | 162 |
At the moment only sales quotations and sales orders can be converted. |
161 | 163 |
|
164 |
=item C<create_sales_process> |
|
165 |
|
|
166 |
Creates and saves a new sales process. Can only be called for sales |
|
167 |
orders. |
|
168 |
|
|
169 |
The newly created process will be linked bidirectionally to both |
|
170 |
C<$self> and to all sales quotations that are linked to C<$self>. |
|
171 |
|
|
172 |
Returns the newly created process instance. |
|
173 |
|
|
162 | 174 |
=back |
163 | 175 |
|
164 | 176 |
=head1 BUGS |
Auch abrufbar als: Unified diff
Dokumentation