Debugging 包体中出现错误PLS-00323,程序名称正确

Debugging 包体中出现错误PLS-00323,程序名称正确,debugging,plsql,procedure,Debugging,Plsql,Procedure,以下代码在两处出现错误PLS-00323。第一位是程序spt_save_casedetail,它说“子程序或游标‘spt_save_casedetail’在包规范中声明,必须在包体中定义”。以下是代码(警告其过长): 以下是软件包规范: create or replace package ct_cu_act_um1_pg is procedure spt_save_casedetail ( p_primarymemberplanid_in in casedetail.primar

以下代码在两处出现错误PLS-00323。第一位是程序spt_save_casedetail,它说“子程序或游标‘spt_save_casedetail’在包规范中声明,必须在包体中定义”。以下是代码(警告其过长):

以下是软件包规范:

create or replace
package ct_cu_act_um1_pg
is

  procedure spt_save_casedetail (
p_primarymemberplanid_in      in casedetail.primarymemberplanid%type,
p_servicetypecd_in            in casedetail.servicetypecd%type,
p_notifydt_in                 in casedetail.notifydt%type,
p_assignedentityid_in         in casedetail.assignedentityid%type,
p_startdt_in                  in casedetail.startdt%type,
p_enddt_in                    in casedetail.enddt%type,
p_caretypemnemonic_in         in casedetail.caretypemnemonic%type,
p_casestatusmnemonic_in       in casedetail.casestatusmnemonic%type,
p_odsorderingproviderid_in    in casedetail.odsorderingproviderid%type,
p_sourcemnemonic_in           in casedetail.sourcemnemonic%type,
p_caseresolutionmnemonic_in   in casedetail.caseresolutionmnemonic%type,
p_odsservicingproviderid_in   in casedetail.odsservicingproviderid%type,
p_serviceitemmnemonic_in      in casedetail.serviceitemmnemonic%type,
p_providerinnetworkind_in     in casedetail.providerinnetworkind%type,
p_detailtxt_in                in casedetail.detailtxt%type,
p_odsfacilityvendorid_in      in casedetail.odsfacilityvendorid%type,
p_servicelocationcd_in        in casedetail.servicelocationcd%type,
p_facilityinnetworkind_in     in casedetail.facilityinnetworkind%type,
p_return_cur_out              out sys_refcursor,
p_err_code_out                out number,
p_err_mesg_out                out varchar2
  );

第二个我得到相同错误的地方是我定义v_casedetailid的地方。我检查了一下,以确保所有的东西都拼写正确,但也许我遗漏了一些东西,因为我已经看了一段时间了。非常感谢您的帮助。

您的程序规范和正文声明不匹配

body:
p_facilityinnetworkind_in     in casedetail.facilityinnetworkind%type,
**p_audit_user_in               in casedetail.updatedby%type,**
p_return_cur_out              out sys_refcursor,
p_err_code_out                out number,
p_err_mesg_out                out varchar2)

spec:
**p_facilityinnetworkind_in     in casedetail.facilityinnetworkind%type,**
p_return_cur_out              out sys_refcursor,
p_err_code_out                out number,
p_err_mesg_out                out varchar2
  );

这不是一个包,或者你没有显示所有的代码。我还有3个其他的过程,我不想添加不必要的代码来挤满屏幕。这是包的开始:创建或替换包体ct_cu_act_um1_pg也是包规范的说明。呃,我看了这么久,可能一直跳过这个。非常感谢,这让我发疯了。周末愉快。@LeorA,OP已经接受了之前的答案,并且知道这个过程是如何工作的。或者要求投票。谢谢你的澄清。
body:
p_facilityinnetworkind_in     in casedetail.facilityinnetworkind%type,
**p_audit_user_in               in casedetail.updatedby%type,**
p_return_cur_out              out sys_refcursor,
p_err_code_out                out number,
p_err_mesg_out                out varchar2)

spec:
**p_facilityinnetworkind_in     in casedetail.facilityinnetworkind%type,**
p_return_cur_out              out sys_refcursor,
p_err_code_out                out number,
p_err_mesg_out                out varchar2
  );