Revision d80ffb81
Von Sven Schöling vor mehr als 13 Jahren hinzugefügt
SL/DB/Order.pm | ||
---|---|---|
136 | 136 |
|
137 | 137 |
=head1 FUNCTIONS |
138 | 138 |
|
139 |
=head2 type
|
|
139 |
=head2 C<type>
|
|
140 | 140 |
|
141 | 141 |
Returns one of the following string types: |
142 | 142 |
|
143 | 143 |
=over 4 |
144 | 144 |
|
145 |
=item saes_order |
|
145 |
=item sales_order
|
|
146 | 146 |
|
147 | 147 |
=item purchase_order |
148 | 148 |
|
... | ... | |
152 | 152 |
|
153 | 153 |
=back |
154 | 154 |
|
155 |
=head2 is_type TYPE
|
|
155 |
=head2 C<is_type TYPE>
|
|
156 | 156 |
|
157 |
Rreturns true if the order is of the given type.
|
|
157 |
Returns true if the order is of the given type. |
|
158 | 158 |
|
159 |
=item C<convert_to_invoice %params>
|
|
159 |
=head2 C<convert_to_invoice %params>
|
|
160 | 160 |
|
161 | 161 |
Creates a new invoice with C<$self> as the basis by calling |
162 | 162 |
L<SL::DB::Invoice::new_from>. That invoice is posted, and C<$self> is |
... | ... | |
171 | 171 |
|
172 | 172 |
At the moment only sales quotations and sales orders can be converted. |
173 | 173 |
|
174 |
=item C<create_sales_process>
|
|
174 |
=head2 C<create_sales_process>
|
|
175 | 175 |
|
176 | 176 |
Creates and saves a new sales process. Can only be called for sales |
177 | 177 |
orders. |
... | ... | |
181 | 181 |
|
182 | 182 |
Returns the newly created process instance. |
183 | 183 |
|
184 |
=back |
|
185 |
|
|
186 | 184 |
=head1 BUGS |
187 | 185 |
|
188 | 186 |
Nothing here yet. |
Auch abrufbar als: Unified diff
Podfixes.