From: Moritz Bunkus Date: Wed, 12 Jan 2011 15:27:24 +0000 (+0100) Subject: Dokumentation X-Git-Tag: release-2.6.3~61^2~7^2~1^2~2^2~52 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=62bb3c51ddf8a8b0ea4888a695c87637a4b8f633;p=kivitendo-erp.git Dokumentation Conflicts: SL/DB/Order.pm --- diff --git a/SL/DB/Order.pm b/SL/DB/Order.pm index 1be7b22bf..25c37880f 100644 --- a/SL/DB/Order.pm +++ b/SL/DB/Order.pm @@ -142,6 +142,25 @@ Returns one of the following string types: Rreturns true if the order is of the given type. +=item C + +Creates a new invoice with C<$self> as the basis by calling +L. That invoice is posted, and C<$self> is +linked to the new invoice via L. C<$self>'s +C attribute is set to C, and C<$self> is saved. + +The arguments in C<%params> are passed to +L. One parameter of note is +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. + +At the moment only sales quotations and sales orders can be converted. + +=back + =head1 BUGS Nothing here yet.