【BOTP】业务脚本配置错误,执行方法错误,找不到指定的方法.对象类型: com.kingdee.eas.fi.cas.

栏目:eas cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

【BOTP】业务脚本配置错误,执行方法错误,找不到指定的方法.对象类型: com.kingdee.eas.fi.cas.

问题描述:

出纳付款单生成凭证时报错,提示业务脚本配置错误,第3行执行出错:

if((__src.entries.contractEntrySeq  == "-1"  ||  __src.entries.contractEntrySeq  == "-2") && __src.entries.contractEntrySeq != null && ( com.kingdee.bos.workflow.ext.app.Sql.getObject(__bosContext, "SELECT fnumber FROM T_BD_ACCOUNTVIEW where fid in (select floanaccountid from T_BC_ExpenseTypeSubjectMapping where fcompanyid='" + __src.company.id + "' and fexpensetypeid='" + __src.entries.expenseType.id + "')")).indexOf("2202")  <  0)  {formula_result = 0;   }

执行方法错误,找不到指定的方法.对象类型: com.kingdee.eas.fi.cas.PaymentBillInfo, 方法名称: indexOf,


解决方案:

SELECT fnumber FROM T_BD_ACCOUNTVIEW where fid in (select floanaccountid from T_BC_ExpenseTypeSubjectMapping where fcompanyid='" + __src.company.id + "' and fexpensetypeid='" + __src.entries.expenseType.id + "')这里查出来为空导致

【BOTP】业务脚本配置错误,执行方法错误,找不到指定的方法.对象类型: com.kingdee.eas.fi.cas.

问题描述:出纳付款单生成凭证时报错,提示业务脚本配置错误,第3行执行出错:if((__src.entries.contractEntrySeq == "-1" || __src...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息