Order::duplicate
Create a duplicate of this order/estimate as well as duplicating associated items
Signature
public function duplicate([boolean
$doWrite = true] )
Parameters
$doWrite
— boolean- a write() operation before returning the object. If this is true, it will create the
duplicate in the database.
Returns
- DataObject
- A duplicate of this node. The exact type will be the type of this node.