public function getData() { parent::getData(); if (empty($this->_data["currency_id"]) && !empty($this->_id)) { ${"GLOBALS"}["rpfbuigfkvr"] = "key"; ${"GLOBALS"}["carnsq"] = "value"; $this->_currencyData = getInventoryCurrencyInfo($this->getModuleName(), $this->_id); foreach ($this->_currencyData as ${${"GLOBALS"}["rpfbuigfkvr"]} => ${${"GLOBALS"}["carnsq"]}) { $xicpnptkvv = "key"; $this->_data[${$xicpnptkvv}] = ${${"GLOBALS"}["cqlhrtj"]}; } $this->_data["currency_id"] = vtws_getWebserviceEntityId("Currency", $this->_data["currency_id"]); $this->_currencyID = $this->_data["currency_id"]; } if (!empty($this->_data["currency_id"]) && strpos($this->_data["currency_id"], "x") === false) { $this->_data["currency_id"] = vtws_getWebserviceEntityId("Currency", $this->_data["currency_id"]); $this->_currencyID = $this->_data["currency_id"]; } return $this->_data; }