title: PL/SQL call a function outside a package
body: <p>I define a function outside a package, tried to call this function, failed. </p>
  
  <p>how to fix it ? thanks</p>
  
  <pre><code>create or replace
  package body test_erp AS    
      procedure init_data is
      begin             
          logMessage('procedure init_data');
      end init_data;        
  end test_erp;
  /
  
  show error
  </code></pre>
  
  <p>error is </p>
  
  <pre><code>PLS-00221: 'LOGMESSAGE' is not a procedure or is undefined
  </code></pre>