public function getInvoiceId()
 {
     $id = parent::getInvoiceId();
     if ($id > 0) {
         return $id;
     }
     $id = $this->getRequest()->getParam('invoice_id', 0);
     return $id;
 }
 public function getCreditmemoId()
 {
     $id = parent::getCreditmemoId();
     if ($id > 0) {
         return $id;
     }
     $id = $this->getRequest()->getParam('creditmemo_id', 0);
     return $id;
 }
 public function getShipmentId()
 {
     $id = parent::getShipmentId();
     if ($id > 0) {
         return $id;
     }
     $id = $this->getRequest()->getParam('shipment_id', 0);
     return $id;
 }