Maximo Open Forum

 View Only

 BMXAA1918E - Item is not condition enabled. Allow only one inventory cost.

  • Integrations
Hardik PAtel's profile image
Hardik PAtel posted 09-27-2021 16:11
Anyone know how to resolve below error?  I am getting below error when i try to insert/update data into inventory, invcost and invbalances table. Item is already exists in ITEM table with conditionenabled flag = 0.  I am trying to post inventory data using POSTMAN tool. 


[9/27/21 16:06:10:773 EDT] 0000011e LocalExceptio E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "maxSecureProcessExternalDataSync" on bean "BeanId(MAXIMO#mboejb.jar#enterpriseservice, null)". Exception data: javax.ejb.EJBException: nested exception is: psdi.util.MXApplicationException: BMXAA1918E - Item is not condition enabled. Allow only one inventory cost.
at psdi.iface.gateway.MEAGatewayBean.maxSecureProcessExternalDataSync(MEAGatewayBean.java:130)
at psdi.iface.gateway.EJSLocalStatelessenterpriseservice_9dde8a69.maxSecureProcessExternalDataSync(Unknown Source)
at psdi.iface.util.WebUtil.invokeEnterpriseEJB(WebUtil.java:291)
at psdi.iface.servlet.MEAServlet.invokeEJB(MEAServlet.java:428)
at psdi.iface.servlet.MEAServlet.doPost(MEAServlet.java:305)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
at com.ibm.tivoli.maximo.filter.MTIntegrationFilter.doFilter(MTIntegrationFilter.java:68)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:969)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1109)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4198)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.handleRequest(WebAppImpl.java:2208)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1030)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:289)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
Caused by: psdi.util.MXApplicationException: BMXAA1918E - Item is not condition enabled. Allow only one inventory cost.
at psdi.app.inventory.InvCostSet.canAdd(InvCostSet.java:83)
at psdi.mbo.MboSet.checkMethodAccess(MboSet.java:6977)
at psdi.mbo.MboSet.addAtIndex(MboSet.java:4751)
at psdi.app.inventory.InvCostSet.addAtIndex(InvCostSet.java:318)
at psdi.mbo.MboSet.add(MboSet.java:4684)
at psdi.mbo.MboSet.add(MboSet.java:4566)
at psdi.iface.mos.MosProcessImpl.addMbo(MosProcessImpl.java:2588)
at psdi.iface.mos.MosProcessImpl.setAdditionalTableData(MosProcessImpl.java:1540)
at psdi.iface.mos.MosProcessImpl.createChildrens(MosProcessImpl.java:986)
at psdi.iface.mos.MosProcessImpl.fillMaximoTables(MosProcessImpl.java:823)
at psdi.iface.mos.MosProcessImpl.processExternalData(MosProcessImpl.java:356)
at psdi.iface.mic.MicSetIn.processExternalData(MicSetIn.java:149)
at psdi.iface.mic.EntMicService.processDataIn(EntMicService.java:1439)
at psdi.iface.mic.EntMicService.processExternalData(EntMicService.java:1335)
at psdi.iface.mic.EntMicService.processExternalData(EntMicService.java:1163)
at psdi.iface.gateway.MEAGatewayBean.secureProcessExternalDataSyncInternal(MEAGatewayBean.java:201)
at psdi.iface.gateway.MEAGatewayBean.maxSecureProcessExternalDataSync(MEAGatewayBean.java:126)
... 37 more

[9/27/21 16:06:10:789 EDT] 0000011e LocalTranCoor E WLTC0017E: Resources rolled back due to setRollbackOnly() being called.
[9/27/21 16:06:10:789 EDT] 0000011e SystemOut O 27 Sep 2021 16:06:10:789 [ERROR] [MXServer] [] Error while processing the incoming transaction
javax.ejb.EJBException: nested exception is: psdi.util.MXApplicationException: BMXAA1918E - Item is not condition enabled. Allow only one inventory cost.
at psdi.iface.gateway.MEAGatewayBean.maxSecureProcessExternalDataSync(MEAGatewayBean.java:130)
at psdi.iface.gateway.EJSLocalStatelessenterpriseservice_9dde8a69.maxSecureProcessExternalDataSync(Unknown Source)
at psdi.iface.util.WebUtil.invokeEnterpriseEJB(WebUtil.java:291)
at psdi.iface.servlet.MEAServlet.invokeEJB(MEAServlet.java:428)
at psdi.iface.servlet.MEAServlet.doPost(MEAServlet.java:305)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
at com.ibm.tivoli.maximo.filter.MTIntegrationFilter.doFilter(MTIntegrationFilter.java:68)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:969)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1109)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4198)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.handleRequest(WebAppImpl.java:2208)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1030)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:289)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
Caused by:
psdi.util.MXApplicationException: BMXAA1918E - Item is not condition enabled. Allow only one inventory cost.
at psdi.app.inventory.InvCostSet.canAdd(InvCostSet.java:83)
at psdi.mbo.MboSet.checkMethodAccess(MboSet.java:6977)
at psdi.mbo.MboSet.addAtIndex(MboSet.java:4751)
at psdi.app.inventory.InvCostSet.addAtIndex(InvCostSet.java:318)
at psdi.mbo.MboSet.add(MboSet.java:4684)
at psdi.mbo.MboSet.add(MboSet.java:4566)
at psdi.iface.mos.MosProcessImpl.addMbo(MosProcessImpl.java:2588)
at psdi.iface.mos.MosProcessImpl.setAdditionalTableData(MosProcessImpl.java:1540)
at psdi.iface.mos.MosProcessImpl.createChildrens(MosProcessImpl.java:986)
at psdi.iface.mos.MosProcessImpl.fillMaximoTables(MosProcessImpl.java:823)
at psdi.iface.mos.MosProcessImpl.processExternalData(MosProcessImpl.java:356)
at psdi.iface.mic.MicSetIn.processExternalData(MicSetIn.java:149)
at psdi.iface.mic.EntMicService.processDataIn(EntMicService.java:1439)
at psdi.iface.mic.EntMicService.processExternalData(EntMicService.java:1335)
at psdi.iface.mic.EntMicService.processExternalData(EntMicService.java:1163)
at psdi.iface.gateway.MEAGatewayBean.secureProcessExternalDataSyncInternal(MEAGatewayBean.java:201)
at psdi.iface.gateway.MEAGatewayBean.maxSecureProcessExternalDataSync(MEAGatewayBean.java:126)
... 37 more
[9/27/21 16:06:10:789 EDT] 0000011e webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[IntegrationMaximoServlet]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: BMXAA1918E - Item is not condition enabled. Allow only one inventory cost.
at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:637)
at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java:667)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1344)
at psdi.iface.servlet.MEAServlet.doPost(MEAServlet.java:335)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
at com.ibm.tivoli.maximo.filter.MTIntegrationFilter.doFilter(MTIntegrationFilter.java:68)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:969)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1109)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4198)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.handleRequest(WebAppImpl.java:2208)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1030)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:289)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
Pat Morrow's profile image
Pat Morrow
Try setting the flag to 'Y' (1 in the data base field) as it seems to be looking for the ability to post numerous prices based on condition.