X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/02c95ae1b7e9f46951854f6a105f9cd39b98e3bb..78600d89c89dbdbb0ff0ef31e04feacedb1b5589:/SL/DB/Order.pm diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index 25c37880f..74f713ca0 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -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. -Returns the new invoice instance on success and C on failure. +Returns the new invoice instance on success and C 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. +=item C + +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