Troubleshooting
Problem
Symptom
System is throwing the error when order (created without receiving node) is
added to a shipment and receiving node is defined at the shipment level for
that order and then click on save.
<Errors>
<Error
ErrorCode="YDM00082"<br> ErrorDescription="Shipment line being added
does not match attributes of Shipment" ErrorRelatedMoreInfo="">
<Attribute Name="ErrorCode" Value="YDM00082"/>
<Attribute
Name="ErrorDescription" Value="Shipment line being added does not match
attributes of Shipment"/>
<Attribute Name="ErrorRelatedMoreInfo"
Value=""/>
<Attribute Name="OrderNo" Value="Y100000001"/>
<Attribute Name="UnitOfMeasure" Value="EACH"/>
<Attribute
Name="AttributeName" Value="ShipNode"/>
<Attribute
Name="PrimeLineNo" Value="1"/>
<Attribute Name="ShipmentNo"
Value="dfd"/>
<Attribute Name="SubLineNo" Value="1"/>
<Attribute Name="ShipmentSubLineNo" Value="0"/>
<Attribute
Name="Shipment ShipNode" Value="SNODE"/>
<Attribute Name="ItemID"
Value="Watch"/>
<Attribute Name="OrderLineKey"
Value="2007092620203621175"/>
<Attribute Name="Order ShipNode"
Value="KNODE"/>
<Attribute Name="ShipmentLineNo"
Value="1"/>
<Attribute Name="OrderReleaseKey"
Value="2007092620211021188"/>
<Attribute Name="OrderHeaderKey"
Value="2007092620202521174"/>
<Attribute Name="ShipmentLineKey"
Value="2007092620261921238"/>
<Attribute Name="ShipmentKey"
Value="2007092620260021235"/>
<Attribute Name="ApiName"
Value="changeShipment"/>
<Attribute Name="ElementCount"
Value="1"/>
<Attribute Name="UserId" Value="admin"/>
<Attribute Name="ProgId" Value="Console"/>
<Stack>com.yantra.yfc.util.YFCException
at
com.yantra.ydm.business.YDMChangeShipmentImpl.throwErrorForShipmentLine(YDMChang
eShipmentImpl.java:6692)
at
com.yantra.ydm.business.YDMChangeShipmentImpl.canAddLineToShipment(YDMChangeShip
mentImpl.java:5278)
at
com.yantra.ydm.business.YDMChangeShipmentImpl.validateCreateShipmentLine(YDMChan
geShipmentImpl.java:5084)
at
com.yantra.ydm.business.YDMChangeShipmentImpl.createShipmentLine(YDMChangeShipme
ntImpl.java:5013)
at
com.yantra.ydm.business.YDMChangeShipmentImpl.updateShipmentLines(YDMChangeShipm
entImpl.java:4016)
at
com.yantra.ydm.business.YDMChangeShipmentImpl.updateShipment(YDMChangeShipmentIm
pl.java:2693)
at
com.yantra.ydm.business.YDMChangeShipmentImpl.handleChanges(YDMChangeShipmentImp
l.java:1728)
at
com.yantra.ydm.business.YDMChangeShipmentImpl.changeShipment(YDMChangeShipmentIm
pl.java:289)
at
com.yantra.ydm.business.YDMChangeShipmentImpl.changeShipment(YDMChangeShipmentIm
pl.java:241)
at
com.yantra.ydm.business.YDMChangeShipmentImpl.changeShipment(YDMChangeShipmentIm
pl.java:236)
at
com.yantra.ydm.api.YDMApiImpl.changeShipment(YDMApiImpl.java:850)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
d;
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
com.yantra.interop.services.api.ApiHelper.invoke(ApiHelper.java:469)
at
com.yantra.integration.adapter.DefaultIntegrationFlow.invoke(DefaultIntegrationF
low.java:129)
at
com.yantra.interop.services.api.ApiRequestDispatcher.invoke(Unknown
Source)
at
com.yantra.ycp.api.YCPMultiApiImpl.multiApi(YCPMultiApiImpl.java:111)
at com.yantra.ycp.api.YCPApiImpl.multiApi(YCPApiImpl.java:1892)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
d;
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
com.yantra.interop.services.api.ApiHelper.invoke(ApiHelper.java:469)
at
com.yantra.integration.adapter.DefaultIntegrationFlow.invoke(DefaultIntegrationF
low.java:129)
at
com.yantra.interop.services.api.ApiRequestDispatcher.invoke(Unknown
Source)
at
com.yantra.ycp.ui.backend.YCPUIAPIManager.invokeAPI(YCPUIAPIManager.java:315)
d;
at
com.yantra.yfc.ui.backend.servlets.BaseServlet.invokeAPI(BaseServlet.java:114)
xd;
at
com.yantra.yfc.ui.backend.servlets.ActionServlet.processSave(ActionServlet.java:
259)
at
com.yantra.yfc.ui.backend.servlets.ActionServlet.processRequest(ActionServlet.ja
va:67)
at
com.yantra.yfc.ui.backend.servlets.BaseServlet.doPost(BaseServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecuri
tyHelper.java:225)
at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.ja
va:127)
at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAp
pServletContext.java:3214)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.ja
va:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
<b
r> at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletConte
xt.java:1983)
at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java
:1890)
at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
xd;
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at
weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
</Stack>
</Error>
</Errors>
: YCPUIAPIManager
PART: Warehouse
Management System 7.11
Cause
Resolving The Problem
1. This error is due to the following reason:
*While creating a shipment,
system internally validates whether the receiving node specified at the order
line and the shipment Entry level are same or not. If they are not same then
system throws exception.
2. Steps to resolve the problem:
a) Create an order without giving the receiving node and shipnode in the order
line and
release it
b) Create shipment without
passing any receiving node at shipment level using the following
xml (shipping preferences for PO is set to order available on
the system):
<Shipment BillToAddressKey=""
BuyerOrganizationCode="DEFAULT" BuyerReceivingNodeId="" CarrierServiceCode=""
CustomerPoNo="" DocumentType="0005" EnterpriseCode="DEFAULT"
OrderAvailableOnSystem="Y" OrderNo="TEST1" ReceivingNode="" ReleaseNo="1"
SellerOrganizationCode="SS" ShipNode="" ShipmentNo="KS1"
ToAddressKey="">
<ScacAndService CarrierServiceKey=""
ScacAndService="USPSPriority" ScacAndServiceKey="" ScacKey="" />
<ToAddress AddressLine1="SF" />
<BillToAddress
AddressLine1="SDF"/>
<OrderReleases>
<OrderRelease OrderHeaderKey="20070627194601101491"
OrderReleaseKey="20070627194631101505" ReleaseNo="1"
ShipAdviceNo="">
<Order DocumentType="0005"
EnterpriseCode="DEFAULT" OrderNo="TEST1" />
</OrderRelease>
</OrderReleases>
</Shipment>
c) Call changeShipment API with following input xml to
change the shipment. The shipment will have receiving node when API is executed
successfully.
<Shipment Action="Modify"
ReceivingNode="karam_DCISF" ShipmentKey="20070627195021101652"/>
This will update the receiving node to _karam_DCISF_ for the shipment with the
corresponding ShipmentKey.
So once shipment is created we can
call this API and update the receiving node information in the shipment
Historical Number
PRI49793
Product Synonym
[<p><b>]Fact[</b><p>];
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21543409