846 Inventory Inquiry

Follow the guidelines in this article to use the Inventory Inquiry and Advice Transaction set (846) with an EDI interface.

Note: You can also view this article in Word format: Walmart.com Drop Ship Vendor_846_4010_EDI.docx

Functional Group IB

This Draft Standard for Trial Use contains the format and establishes the Inventory Inquiry/Advice Transaction Set (846) data for use within an Electronic Data Interchange (EDI) environment. The transaction set can be used in the following ways: (1) for a seller of goods and services to provide inventory information to a prospective purchaser, with no obligation to the purchaser to acquire these goods or services; (2) for a representative of a seller of goods and services to supply inventory information to that seller; (3) for one location to supply another location with inventory information; and (4) for an inquiry as to the availability of inventory with no obligation on the seller of goods and services to reserve that inventory.

Heading

PosIdSegment NameReqMax UseRepeatNotesUsage
010STTransaction Set HeaderM1
020BIABeginning Segment for Inventory Inquiry/AdviceM1
060REFReference IdentificationM1

Detail

PosIdSegment NameReqMax UseRepeatNotesUsage
010LINItem IdentificationM1LOOP ID – LIN
140REFReference IdentificationM1LOOP ID – LIN
320QTYQuantityO1LOOP ID – QTY
340MEAMeasurementsO1LOOP ID – QTY
355DTMDate/Time ReferenceO1LOOP ID – QTY
356DTMDate/Time ReferenceO1LOOP ID – QTY

Summary

PosIdSegment NameReqMax UseRepeatNotesUsage
010CTTTransaction TotalsM1
020SETransaction Set TrailerM1

Sample Inventory File


ISA*00* *00* *12*123456789012 *01*12571829 *200717*0601*U*00401*002382154*0*P*>
GS*IB*123456789012*12571829*20200717*06011177*1719732*X*004010
ST*846*00001
BIA*00*SI*055846*20200717*06011177
REF*VR*11223344*SAM WALTZ, LLC
LIN*1*UP*0088904833374*VN*VTH211A-9*BP*55672488
REF*ZZ*AC
QTY*17*120
MEA****DA*0*1
LIN*2*UP*0088904824734*VN*VTH211A-28*BP*55672567
REF*ZZ*AC
QTY*17*58
MEA****DA*0*1
LIN*3*UP*0088904803692*VN*ADR113B-5*BP*48553530
REF*ZZ*AC
QTY*17*26
MEA****DA*0*1
LIN*4*UP*0088904823903*VN*PLS726A-2020*BP*140038872
REF*ZZ*AC
QTY*17*567
MEA****DA*0*1
LIN*5*UP*0068372650923*VN*CY5146A-5*BP*15802629
REF*ZZ*AC
QTY*17*15
MEA****DA*0*1
LIN*6*UP*0088904857080*VN*SGU210A-3*BP*643599154
REF*ZZ*AC
QTY*17*0
MEA****DA*0*1
LIN*7*UP*0088904811292*VN*EVK226D-3*BP*48825966
REF*ZZ*AC
QTY*17*8
MEA****DA*0*1
LIN*8*UP*0088904818285*VN*EVK256A-3*BP*48825658
REF*ZZ*AC
QTY*17*0
MEA****DA*0*1
LIN*9*UP*0088904807829*VN*CLV121A-6*BP*48618577
REF*ZZ*AC
QTY*17*13
MEA****DA*0*1
LIN*10*UP*0088904817522*VN*EVK256S-3*BP*48826809
REF*ZZ*AC
QTY*17*30
MEA****DA*0*1
CTT*10
SE*45*00001
GE*1*1719732
IEA*1*002382154

ST Transaction Set Header

To indicate the start of a transaction set and to assign a control number

  • Pos: 010
  • Max: 1
  • Heading – Mandatory
  • Loop: N/A
  • Elements: 2

Element Summary

RefIdElement NameReqTypeMin/MaxCodeName
ST01143Transaction Set Identifier CodeMID3/3
ST02329Transaction Set Control NumberMAN4/9

BIA Beginning Segment for Inventory Inquiry/Advice

To indicate the beginning of an Inventory Inquiry/Advice Transaction Set.

  • Pos: 020
  • Max: 1
  • Heading – Mandatory
  • Loop: N/A
  • Elements: 5

Element Summary

RefIdElement NameReqTypeMin/MaxCodeName
BIA01353Transaction Set Purpose CodeMID2/200Original
BIA02755Report Type CodeMID2/2SISeller Inventory Report
BIA03127Transaction Sequence NumberMAN1/30
BIA04373DateMDT8/8
BIA05337TimeMTM4/8

REF Reference Identification

To specify identifying information.

  • Pos: 060
  • Max: 1
  • Heading – Mandatory
  • Loop: N/A
  • Elements: 3

Element Summary

RefIdElement NameReqTypeMin/MaxCodeName
REF01128Reference Identification QualifierMID2/3VRVendor ID Number
REF02127Sender IDMAN1/30
REF03352Sender NameMAN1/80

LIN Item Identification

To specify basic item identification data.

  • Pos: 010
  • Max: 1
  • Detail – Mandatory
  • Loop: LIN
  • Elements: 7

Element Summary

RefIdElement NameReqTypeMin/MaxCodeName
LIN01350Assigned IdentificationMAN1/20Sequence Number
LIN02235Product/Service ID QualifierMID2/2UPU.P.C. Consumer Package Code (1-5-5-1)
LIN03234UPCMAN1/48Walmart UPC
LIN04235Product/Service ID QualifierMID2/2VNVendor's (Seller's) Item Number
LIN05234Vendor SKUMAN1/20Supplier SKU or model number
LIN06235Product/Service ID QualifierXID2/2BPBuyer's Part Number
LIN07234Item NumberOAN1/13Walmart.com item number

REF Reference Identification

To specify identifying information.

  • Pos: 140
  • Max: 1
  • Detail – Mandatory
  • Loop: LIN (Mandatory)
  • Elements: 2

Element Summary

RefIdElement NameReqTypeMin/MaxCodeName
REF01128Reference Identification QualifierMID2/3ZZMutually Defined
REF02127Availability CodeMAN1/2see Notessee Notes

Usage Notes

Many availability code values exist. They are listed and described in the following.

Note: Two availability code values will automatically remove an item from the Walmart.com site catalog. The “NA” code is used if it’s possible that the item UPC may return at some time in the future and “DT” is used if the item UPC won’t return (e.g. UPC is discontinued). In either case, please send at least two consecutive updates messages before the UPC is removed from the inventory feed.

Availability Codes:

  • AC: Active – Item can be ordered only if the number of items on hand is sufficient to fulfill the amount ordered. An On Hand Quantity is required and Minimum and Maximum Days to Ship are optional. If Days are not specified, 0 to 1 business day is assumed.
  • PO: Pre-Order – Supplier is accepting pre-orders for the item. An Availability Start Date is required to indicate when orders are expected to ship. In addition, an On Hand Quantity is required to determine how many items can be pre-ordered. After the start date, it acts like an active item (On Hand Quantity is required and Minimum and Maximum Days to Ship are optional).
  • JT: Just in Time – Item is stocked on demand. Minimum and Maximum Days to Ship are required to indicate how long it will take to fulfill an order.
  • BO: Build to Order – Item is pre-configured and manufactured on demand. Minimum and Maximum Days to Ship are required to indicate how long it will take to fulfill an order. Since the supplier configures these items before the order is placed, it’s assumed that the item will always ship and backorders aren't allowed.
  • SE: Seasonal – Item is available, but it's seasonal and orders are only accepted during a specified date range. Both Availability Start and End Dates are required to indicate the date range. Within the date range, it behaves like an active item (On Hand Quantity is required and Minimum and Maximum Days to Ship are optional).
  • RO: Run Out – Item is discontinued and will not be restocked. The Availability End Date is required to indicate the last date orders will be accepted. Before the end date, it behaves like an active item (On Hand Quantity is required and Minimum and Maximum Days to Ship are optional).
  • NA: Not Active – Item isn't available for purchase at this time.
  • DT: Deleted – Item isn't available for purchase and can be deleted from the catalog.

QTY Quantity

To specify quantity information.

  • Pos: 320
  • Max: 1
  • Detail – Optional
  • Loop: QTY (Mandatory)
  • Elements: 2

Element Summary

RefIdElement NameReqTypeMin/MaxCodeName
QTY01673Quantity QualifierMID2/217Quantity on Hand
QTY02380QuantityXR1/15On Hand Stock Quantity

MEA Measurements

To specify physical measurements or counts, including dimensions, tolerances, variances, and weights.

  • Pos: 340
  • Max: 1
  • Detail – Optional
  • Loop: QTY (Mandatory)
  • Elements: 4

Element Summary

RefIdElement NameReqTypeMin/MaxCodeName
MEA04C001Composite Unit of MeasureX
C00101355Unit or Basis for Measurement CodeMID2/2DADays
MEA05740Minimum DaysXR1/20
MEA06741Maximum DaysXR1/20

DTM Date/Time Reference

To specify pertinent dates and times.

  • Pos: 355
  • Max: 1
  • Detail – Optional
  • Loop: QTY (Mandatory)
  • Elements: 2

Element Summary

RefIdElement NameReqTypeMin/MaxCodeName
DTM01374Date/Time QualifierMID3/3196Start
DTM02373Availability Start DateXDT8/8Date the item will be available to sell (as CCYYMMDD)

DTM Date/Time Reference

To specify pertinent dates and times.

  • Pos: 356
  • Max: 1
  • Detail – Optional
  • Loop: QTY (Mandatory)
  • Elements: 2

Element Summary

RefIdElement NameReqTypeMin/MaxCodeName
DTM01374Date/Time QualifierMID3/3197End
DTM02373Availability End DateXDT8/8Last date the item will be available to sell (as CCYYMMDD)

CTT Transaction Totals

To transmit a hash total for a specific element in the transaction set.

  • Pos: 010
  • Max: 1
  • Summary – Mandatory
  • Loop: N/A
  • Elements: 1

Element Summary

RefIdElement NameReqTypeMin/MaxCodeName
CTT01354Number of Line ItemsMN01/6number of LIN segments in the transaction

SE Transaction Set Trailer

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning ST and ending SE segments).

  • Pos: 020
  • Max: 1
  • Summary – Mandatory
  • Loop: N/A
  • Elements: 1

Element Summary

RefIdElement NameReqTypeMin/MaxCodeName
SE0196Number of Included SegmentsMN01/10Number of segments in a transaction (including ST and SE)
SE02329Transaction Set Control NumberMAN4/9