OMW Check-in error for a new custom BSSV (J55911Z1)

markhowerter

Member
I'm hoping someone can steer me in the right direction.

I went through the tutorial at
http://www.oracle.com/technetwork/topics/jde-bssv-database-business-service-131800.pdf

I managed to get all the way through to:
Section 15. Running the Test Class,
Step 10. The Business Service has been successfully tested and ready for check-in to OMW

When I try to check in either object created in the tutorial, I get the following error:

OMW Object Type BSFN, Object ID J55911Z1 checkin failed.

I turned on debugging and used Craig Welton's fantastic tool JDE Trace to see a little more detail on the error:

ERROR INFO JDEERR - ID= 0, Error= 138F - \SJDE1P\E900\DV900\package\FDV060413\source\B98220A.c, Line= 1293

Looking at the source code, I can see that is indeed where the error is returned.

static void I98220A_SetError(LPBHVRCOM lpBhvrCom,
LPVOID lpVoid,
OMW_RETURN nReturn,
PJSTR szMethod,
LPVOID hObject,
LPVOID hParm)
{
JCHAR szMethodDesc[31] = {0};
DSD98210 zD98210 = {0};

/* Most errors require the method description */
I98220A_GetMethodDesc(lpBhvrCom, lpVoid, szMethod, szMethodDesc, DIM(szMethodDesc));
jdeTraceSz1 (NULL,_J("Call to OMWCallMethod for method, %ls, ")
_J("returned in failure."), szMethodDesc);

jdeStrncpyTerminate(zD98210.sz1, szMethodDesc, DIM(zD98210.sz1));

switch (nReturn)
{
case eOMWVersionBeforeTemplate:
case eOMWError:
jdeErrorSet(lpBhvrCom, lpVoid, 0, _J("138F"), (LPVOID) &zD98210);
break;

What I can't figure out is what set the return to eOMWError and why?

Any ideas?
 
Back
Top