oracle ebs格式的特殊值设置错误

时间:2019-08-15 08:02:16

标签: oracle plsql oracleforms oracle-ebs

当我在验证集上定义特殊值集并在特殊验证例程中定义pl / sql时。然后,尝试单击val列表以选择记录,但结果失败。然后,错误消息“ fdxpls中的APP-FND-01564 ORACLE错误6550”。

oracle ebs表格R12.2.5

FND PLSQL "DECLARE 
  v_sec_inv VARCHAR2(15);
   BEGIN 

     SELECT msi.SECONDARY_INVENTORY_NAME
     INTO v_sec_inv
   FROM MTL_SECONDARY_INVENTORIES msi, 
       ( SELECT rcvt.TRANSACTION_ID,
                rcvt.LAST_UPDATE_DATE,
                rcvt.RECEIPT_NUM, 
                rcvt.attribute1, 
                rcvt.attribute2 
           FROM rcv_transactions rcv, apps.RCV_VRC_TXS_VENDINT_V rcvt
            WHERE rcv.TRANSACTION_ID = rcvt.TRANSACTION_ID
             AND rcv.ATTRIBUTE_CATEGORY = 'EXP'
             AND rcv.PROJECT_ID IS NOT NULL
         ) a
      WHERE  msi.SECONDARY_INVENTORY_NAME = a.attribute1
         AND NVL(msi.subinventory_type, 1)  = 1
         AND NVL(msi.disable_date, SYSDATE + 1) > TRUNC(SYSDATE)
         AND msi.SECONDARY_INVENTORY_NAME = v_sec_inv    
     ;

   EXCEPTION
   WHEN OTHERS 
    THEN

     fnd_message.set_name('ABC_EXP_SUBINV_NEW','FLEX_VALIDATE_ERROR');
      fnd_message.set_token('VAL','Please enter the vaild subinventory');
        fnd_message.raise_error;        
     END;"

结果失败,并显示以下错误消息:

APP-FND-01564:fdxpls中出现Oracle错误6550

案例:由于ORA-06550:第1行,第1183列,fdxpls失败:   PLS-00103:预期以下其中一项时遇到符号“文件结尾”:

;'

0 个答案:

没有答案