Signatur | string bill__copy( string $sid, int $bill_id, string $new_type [, boolean $no_parent_id [, boolean $allow_duplicate]] ) |
Parameter |
|
Returns | string standard return array |
Description | Copy bill Copy an existing bill to a new one where the bill type can be the same or another one. By default, the existing bill and the new bill will be grouped - that means they'll belong to the same bill chain. If you don't want that, you have to set $no_parent_id to TRUE |