]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Order.pm
Dokumentation
[mfinanz.git] / SL / DB / Order.pm
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