My Oracle Support Banner

ASNIn Created From Webservice Is Failing In SIM With Error "Transfer Not Found For Delivery" (Doc ID 2401736.1)

Last updated on SEPTEMBER 02, 2024

Applies to:

Oracle Retail Store Inventory Management - Version 16.0.1 and later
Information in this document applies to any platform.

Symptoms

ASNIn created from Integration Gateway Services(IGS) Webservice ASNOutPublishingService is failing in Store Inventory Management (SIM) with error "Transfer not found for delivery"

When Warehouse to Store transfer/shipment is created using IGS web service ASNOutPublishingService, Transformation Address Filter/Router (TAFR) is generating ASNOut and ASNIn message for Retail Merchandise System (RMS) and SIM respectively.
Transfer and shipment is getting created successfully in RMS from ASNOut message. However, ASNIn is getting failed in SIM MPS_STAGED_TABLE with error - "Transfer not found for delivery" and in sim.log the following details appears:


" oracle.retail.sim.common.core.SimServerException: Error processing message! [Inbound: true, MessageType: ASNInCre, BusinessId: SIM:TEST]"
at oracle.retail.sim.service.mps.BaseSimMessageServiceHandler.buildException(Unknown Source)
at oracle.retail.sim.service.mps.SimMessageProcessHandler.handleOperation(Unknown Source)
at oracle.retail.sim.service.mps.SimMessageProcessHandler.handleOperation(Unknown Source)
at oracle.retail.sim.service.core.BaseServiceHandler.execute(Unknown Source)
at oracle.retail.sim.service.mps.MpsServiceImpl.processStagedMessage(Unknown Source)
at oracle.retail.sim.service.mps.MpsServiceImpl$Proxy$_$$_WeldClientProxy.processStagedMessage(Unknown Source)
at oracle.retail.sim.service.mps.MpsServerServiceImpl.processStagedMessage(Unknown Source)
at oracle.retail.sim.service.mps.MpsServerServiceImpl$Proxy$_$$_WeldClientProxy.processStagedMessage(Unknown Source)
at oracle.retail.sim.service.ejb.MpsWorkerTimerBean.processStagedMessages(Unknown Source)
at oracle.retail.sim.service.ejb.MpsWorkerTimerBean.handleTimeout(Unknown Source)
at sun.reflect.GeneratedMethodAccessor774.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.oracle.pitchfork.inject.Jsr250Metadata.invokeTimeoutMethodInternal(Jsr250Metadata.java:372)
at com.oracle.pitchfork.intercept.LifecycleEventCallbackInvocationContext.proceed(LifecycleEventCallbackInvocationContext.java:126)
at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
at sun.reflect.GeneratedMethodAccessor521.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.oracle.pitchfork.inject.Jsr250Metadata.invva:71)
at weblogic.ejb.container.injection.InjectionBasedEjbComponentCreator.invokeTimer(InjectionBasedEjbComponentCreator.java:156)
at weblogic.ejb.container.manager.BaseEJBManager.invokeTimeoutMethod(BaseEJBManager.java:186)
at weblogic.ejb.container.timer.TimerImpl.timerExpired(TimerImpl.java:338)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:290)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:643)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
Caused by: oracle.retail.sim.common.business.BusinessException: Transfer not found for delivery.
at oracle.retail.sim.server.integration.consumer.asn.ASNInTransferDeliveryCreateConsumer.assignTransferDocumentInfo(Unknown Source)
at oracle.retail.sim.server.integration.consumer.asn.ASNInTransferDeliveryCreateConsumer.buildItem(Unknown Source)
at oracle.retail.sim.server.integration.consumer.asn.ASNInTransferDeliveryCreateConsumer.processRegularCarton(Unknown Source)
at oracle.retail.sim.server.integration.consumer.asn.ASNInTransferDeliveryCreateConsumer.handleMessage(Unknown Source)
at oracle.retail.sim.server.integration.consumer.asn.ASNInCreateConsumer.handleMessage(Unknown Source)
at oracle.retail.sim.server.integration.consumer.asn.ASNInCreateConsumer.handleMessage(Unknown Source)
at oracle.retail.sim.server.integration.consumer.SimMessageConsumerProviderImpl.consume(Unknown Source)
... 36 more





The issue can be reproduced at will with the following steps:

1. Use IGS service http://hostname:port/ASNOutPublishingBean/ASNOutPublishingService;
2. Check response;
3. Check mps_staged_message and sim.log - notice above error.



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.