Troubleshooting
Problem
DCM 4.5 adjustInventory API issue --> How to reduce INTRANSIT inventory record receipt.
Symptom
PART: API 4.5 Platform
COMPONENT: activateFunction
OS: <None> -
<None>
DATABASE: Internet Explorer - WebLogic
WEB SERVER: 6.1 SP2 -
WEB BROWSER: Internet Explorer - 5.5 sp2
Cause
Resolving The Problem
If you are doing the receipt at a buyer's node against some expected Intransit
inventory you should be passing the following input XML. This will result in
the INTRANSIT qty being decremented and the ONHAND qty being incremented. All
the attributes of the INTRANSIT record such as ShipbyDate, LotNumber, ETA
should ALL be passed.
<Items>
<Item AccountNo="" AdjustmentType="RECEIPT" Availability="TRACK"
Currency="" ETA="" FromETA="20020617" FromLotNumber="L001"
FromShipByDate="25000101" FromSupplyReference="SR1"
FromSupplyReferenceType="SRT1" FromSupplyType="INTRANSIT" ItemID="AOL_ITEM1_LC"
LotAttribute1="" LotAttribute2="" LotAttribute3="" LotKeyReference=""
LotNumber="NL001" ManufacturingDate="" ProductClass="" Quantity="5"
ReasonCode="" ReasonText="" Reference_1="r1" Reference_2="" Reference_3=""
Reference_4="" Reference_5="" ShipByDate="" ShipNode="B1N1_AOL"
SupplyType="ONHAND" UnitCost="" UnitOfMeasure="" />
</Items>
If you
wish to reduce the Intransit qty without doing a receipt against it. Then pass
the Adjustement_type as "ADJUSTMENT" (instead of receipt) and the SupplyType =
"INTRANSIT" with the other parameters such as ETA, ShipbyDate, Lot Number
etc.
<Items>
<Item AccountNo="" AdjustmentType="ADJUSTMENT"
Availability="TRACK" Currency="" ETA="20020617" FromETA="20020617"
FromLotNumber="NL001" FromShipByDate="25000101" FromSupplyReference=""
FromSupplyReferenceType="" FromSupplyType="INTRANSIT" ItemID="AOL_ITEM1_LC"
LotAttribute1="LA001" LotAttribute2="" LotAttribute3="" LotKeyReference=""
LotNumber="NL001" ManufacturingDate=""<br> ProductClass="" Quantity="-1"
ReasonCode="" ReasonText="" Reference_1="" Reference_2=""
Reference_3="" Reference_4="" Reference_5="" ShipByDate=""
ShipNode="B1N1_AOL"<br> SupplyType="INTRANSIT" UnitCost=""
UnitOfMeasure="">
<Lot/>
</Item>
</Items>
Historical Number
PRI49011
Product Synonym
[<p><b>]Fact[</b><p>];
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21535270