Exemplo n.º 1
0
 /**
  * Set an accounting reference item
  *
  * Method will set an accounting reference record
  *
  * @access public
  * @param mixed $nodeid The ID of the referenced item (customer id, order id, etc) OR the search criteria array for the reference data
  * @param string $type The node type (customer, product or order)
  * @param mixed $reference The reference value to store
  * @return int The accountref record ID if the record is unique and was inserted, false otherwise
  */
 public function setAccountingReference($nodeid, $type, $reference)
 {
     return parent::setAccountingReference($this->getid(), $nodeid, $type, $reference);
 }