]> wagnertech.de Git - mfinanz.git/commitdiff
Dokumentation
authorMoritz Bunkus <moritz@bunkus.org>
Thu, 11 Nov 2010 21:33:07 +0000 (22:33 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 12 Jan 2011 15:27:32 +0000 (16:27 +0100)
SL/DB/Invoice.pm
SL/DB/Order.pm

index 6e0cf60a120fb3970ecabaa13172325b61ea9162..e9c04ed92134e08ba73a536bc653cec64f5789e1 100644 (file)
@@ -273,7 +273,10 @@ Lx-Office is not configured to use Einnahmenüberschussrechnungen
 
 =back
 
 
 =back
 
-Returns C<$self> on success and C<undef> on failure.
+Returns C<$self> on success and C<undef> on failure. The whole process
+is run inside a transaction. If it fails then nothing is saved to or
+changed in the database. A new transaction is only started if none is
+active.
 
 =item C<basic_info $field>
 
 
 =item C<basic_info $field>
 
index 25c37880fdc952e16e6f6cc2e44aa1c865ffbc96..74f713ca00470b4088b529569e990644a344dbb9 100644 (file)
@@ -155,10 +155,22 @@ C<$paras{ar_id}>. If set it must be the ID of the accounts receivables
 chart to post to. If it is not set then the first chart configured for
 accounts receivables is used.
 
 chart to post to. If it is not set then the first chart configured for
 accounts receivables is used.
 
-Returns the new invoice instance on success and C<undef> on failure.
+Returns the new invoice instance on success and C<undef> on
+failure. The whole process is run inside a transaction. On failure
+nothing is created or changed in the database.
 
 At the moment only sales quotations and sales orders can be converted.
 
 
 At the moment only sales quotations and sales orders can be converted.
 
+=item C<create_sales_process>
+
+Creates and saves a new sales process. Can only be called for sales
+orders.
+
+The newly created process will be linked bidirectionally to both
+C<$self> and to all sales quotations that are linked to C<$self>.
+
+Returns the newly created process instance.
+
 =back
 
 =head1 BUGS
 =back
 
 =head1 BUGS