Completing WO using API is not working
I need to use the Oracle API (EAM_PROCESS_WO_PUB.PROCESS_WO) to complete work orders so we can perform the action programmaticly. I found Doc ID 1967914.1 on Oracle Support and it provides a script. But no matter what work order I provide the script I get the same error returned. Any ideas what I could be doing wrong? I have tried work orders that are released and complete and both give same error. Is there a special "status" or "state" the WO must be in? I have tried reviewing the Oracle API and can't find what is causing the error exactly.