{"id":18206,"date":"2019-04-25T23:35:53","date_gmt":"2019-04-26T02:35:53","guid":{"rendered":"https:\/\/orabr.com\/?p=18206"},"modified":"2019-04-25T23:38:01","modified_gmt":"2019-04-26T02:38:01","slug":"-duvida-oracle-ame-approvals-managment-5","status":"publish","type":"post","link":"https:\/\/orabr.virttus.com\/?p=18206","title":{"rendered":"D\u00favida Oracle AME (Approvals Managment)"},"content":{"rendered":"<p><HTML><HTML><\/p>\n<div>  <span style=\"display:none\">&nbsp;<\/span>    <!--~-|**|PrettyHtmlStartT|**|-~-->  <\/p>\n<div id=\"ygrp-mlmsg\" style=\"position:relative;\">\n<div id=\"ygrp-msg\" style=\"z-index: 1;\">  <!--~-|**|PrettyHtmlEndT|**|-~-->        <\/p>\n<div id=\"ygrp-text\" >\n<p><div dir=\"ltr\">Ol\u00e1<\/p>\n<div><\/div>\n<div>Ser\u00e1 que posso tentar ajudar?<\/div>\n<div><\/div>\n<div>Tamb\u00e9m j\u00e1 participei de um projeto com o modulo Ame.<\/div>\n<div>Foi necess\u00e1rio criar uma fun\u00e7\u00e3o com retorno de tabela, q\u00a0 a partir da Ordem de Compra ou Requisi\u00e7\u00e3o, fazia a busca dos respons\u00e1veis de acordo com al\u00e7ada de aprova\u00e7\u00e3o.<\/div>\n<div><\/div>\n<div>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">FUNCTION<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> GET_APPROVER<\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">(<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">P_TRANSACTION_ID  <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">NUMBER<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> <\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">)<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">RETURN<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> T_APPROVER_RETURN <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">PIPELINED<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">  <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">IS<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"><\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">&#8212;<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\"><br \/><\/span><\/b><\/p>\n<\/div>\n<div>exemplo parcial:<\/div>\n<div>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">SELECT<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">  PAPF.PERSON_ID<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">INTO<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">  P_APPROVER_ID<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">FROM<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">  PER_ALL_PEOPLE_F\u00a0\u00a0\u00a0\u00a0\u00a0 PAPF<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">,<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">PER_ALL_ASSIGNMENTS_F  PAAF<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">,<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">HR_ALL_POSITIONS_F\u00a0\u00a0\u00a0 HAPF<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">WHERE<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">  HAPF.POSITION_ID <\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">=<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> P_POSITION_ID<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">AND<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">  PAPF.PERSON_ID <\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">=<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> PAAF.PERSON_ID<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">AND<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">  PAAF.POSITION_ID <\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">=<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> HAPF.POSITION_ID<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">AND<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">  trunc<\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">(<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">SYSDATE<\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">)<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">BETWEEN<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> PAPF.EFFECTIVE_START_DATE <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">AND<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">  PAPF.EFFECTIVE_END_DATE<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">AND<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">  trunc<\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">(<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">SYSDATE<\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">)<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">BETWEEN<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> PAAF.EFFECTIVE_START_DATE <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">AND<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">  PAAF.EFFECTIVE_END_DATE<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">AND<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">EXISTS<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> <\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">(<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">SELECT<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> EMPLOYEE_ID<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">FROM<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> FND_USER FU<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">WHERE<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> FU.EMPLOYEE_ID <\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">=<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">  PAPF.PERSON_ID<\/span><\/b><\/p>\n<p class=\"MsoNormal\" style=\"margin:0cm 0cm 0.0001pt;font-size:10pt;font-family:&quot;Book Antiqua&quot;,serif;\"><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">AND<\/span><\/b><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> NVL<\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">(<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\">FU.END_DATE<\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">,<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> trunc<\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">(<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">SYSDATE<\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">)<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> <\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">&#43;<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> <\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:fuchsia;background-repeat:initial;\">1<\/span><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">)<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> <\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">&gt;<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"> trunc<\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">(<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(170,85,255);background-repeat:initial;\">SYSDATE<\/span><\/b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:rgb(255,102,0);background-repeat:initial;\">));<\/span><b><span lang=\"EN-US\" style=\"font-size:8pt;font-family:&quot;Courier New&quot;;color:teal;background-repeat:initial;\"><\/span><\/b><\/p>\n<\/div>\n<div><\/div>\n<div>&#8212;<\/div>\n<div>\n<div><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/orabr.com\/wp-content\/uploads\/2019\/04\/image-1.png\" alt=\"image.png\" width=\"557\" height=\"367\"><\/div>\n<\/div>\n<div><\/div>\n<div>Caso prefira me adicionar no skype, anaclaudia_coutob, estou \u00e0 disposi\u00e7\u00e3o em auxiliar seu colega.<\/div>\n<div><\/div>\n<div><\/div>\n<div>Ana Claudia Barreto<\/div>\n<div><\/div>\n<\/div>\n<div id=\"DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2\"> <\/p>\n<table style=\"border-top:1px solid #d3d4de;\">\n<tr>\n<td style=\"width:55px;\"><a href=\"http:\/\/www.avg.com\/email-signature?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ipmcdn.avast..com\/images\/icons\/icon-envelope-tick-green-avg-v1.png\" alt width=\"46\" height=\"29\" style=\"width: 46px;height: 29px;\"><\/a><\/td>\n<td style=\"width:470px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;\">Livre de v\u00edrus. <a href=\"http:\/\/www.avg.com\/email-signature?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail\" target=\"_blank\" style=\"color:#4453ea;\" rel=\"noopener noreferrer\">www.avg.com<\/a>.         <\/td>\n<\/tr>\n<\/table>\n<p>  <a href=\"#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2\" width=\"1\" height=\"1\"><\/a><\/div>\n<p><\/p>\n<div class=\"gmail_quote\">\n<div dir=\"ltr\" class=\"gmail_attr\">Em qui, 25 de abr de 2019 \u00e0s 15:12, Marcelo Macedo <a href=\"mailto:marcelo.rmacedo@yahoo.com.br\">marcelo.rmacedo@yahoo.com.br<\/a>  &lt;<a href=\"mailto:\"><\/a>&gt; escreveu:<\/div>\n<blockquote class=\"gmail_quote\" style=\"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);\"><p>      <u><\/u>                       <\/p>\n<div style=\"background-color:rgb(255,255,255);\">  <span>\u00a0<\/span>      <\/p>\n<div id=\"gmail-m_8723866144779988822ygrp-mlmsg\">\n<div id=\"gmail-m_8723866144779988822ygrp-msg\">\n<div id=\"gmail-m_8723866144779988822ygrp-text\">\n<div class=\"gmail-m_8723866144779988822yahoo-style-wrap\" style=\"font-family:&quot;Helvetica Neue&quot;,Helvetica,Arial,sans-serif;font-size:13px;\">\n<div>Boa tarde pessoal,<\/div>\n<div><\/div>\n<div>Um amigo est\u00e1 precisando de uma ajuda, seja a d\u00favida:<\/div>\n<div><\/div>\n<div><b><i>&quot;<span><\/span>Estou precisando fazer um select a partir de um usu\u00e1rio e obter a hierarquia de aprova\u00e7\u00e3o (com o limites para cada um) para cima e para baixo na arvore hier\u00e1rquica do Oracle AME (Approvals Managment).\u00a0<\/i><\/b><span><\/p>\n<div><b><i>Algu\u00e9m poderia ajudar informando quais as tabelas comp\u00f5em estas informa\u00e7\u00f5es?<\/i><\/b><\/div>\n<div><b><i><br \/><\/i><\/b><\/div>\n<div><b><i>Qualquer sugest\u00e3o \u00e9 bem vinda.\u00a0<\/i><\/b><\/div>\n<div><b><i><br \/><\/i><\/b><\/div>\n<div><b><i>Grato&quot;<\/i><\/b><\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div>ats,<\/div>\n<div><\/div>\n<div>Marcelo Macedo<\/div>\n<p><\/span><\/div>\n<\/div>\n<\/p><\/div>\n<div style=\"color:rgb(255,255,255);height:0px;\"><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/div>\n<\/blockquote>\n<\/div>\n<div id=\"DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2\"> <\/p>\n<table style=\"border-top:1px solid #d3d4de;\">\n<tr>\n<td style=\"width:55px;\"><a href=\"http:\/\/www.avg.com\/email-signature?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ipmcdn.avast..com\/images\/icons\/icon-envelope-tick-green-avg-v1.png\" alt width=\"46\" height=\"29\" style=\"width: 46px;height: 29px;\"><\/a><\/td>\n<td style=\"width:470px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;\">Livre de v\u00edrus. <a href=\"http:\/\/www.avg.com\/email-signature?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail\" target=\"_blank\" style=\"color:#4453ea;\" rel=\"noopener noreferrer\">www.avg.com<\/a>.         <\/td>\n<\/tr>\n<\/table>\n<p>  <a href=\"#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2\" width=\"1\" height=\"1\"><\/a><\/div>\n<\/p><\/div>\n<p>               <\/HTML><\/HTML><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Ol\u00e1 Ser\u00e1 que posso tentar ajudar? Tamb\u00e9m j\u00e1 participei de um projeto com o modulo Ame. Foi necess\u00e1rio criar uma fun\u00e7\u00e3o com retorno de&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-18206","post","type-post","status-publish","format-standard","hentry","category-base-de-conhecimentos"],"_links":{"self":[{"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/posts\/18206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18206"}],"version-history":[{"count":0,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=\/wp\/v2\/posts\/18206\/revisions"}],"wp:attachment":[{"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/orabr.virttus.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}