Skip to main content

Error executing stored procedure BatchDefID not found Kdolib Error 4007 when publishing Batch Class


QAID # 21520 Published

Question / Problem:

When attempting to publish a Batch Class, the following error message is generated:

[4007] kdolib: Execute command error: Error executing stored procedure. BatchDefID not found: 1 (50000) (procSetBatchDefIDPublished (1, true)).

How can I resolve this issue?

Answer / Solution:

Exporting the Batch Class and then re-importing the Batch Class with the import transfer mode of "Replace duplicates with items imported" has been observed to resolve this issue.

Applies to: 

Product Version Category
CAPTURE 10.0 Administration
CAPTURE 10.1 Administration
CAPTURE 10.2 Administration
  • Was this article helpful?