Amazon EDI dành cho các bạn quan tâm đến việc kết nối bằng EDI. Tài liệu mô tả các giao thức kết nối, các đặc tả dữ liệu. Để hiểu rõ hơn chi tiết vui lòng xem tại Amazon.com. Tài liệ dành cho các lập trình viên hệ thống.
Trang 1852 Product Activity Data
Version: 2.0 Final
Company:
Modified: 4/3/2012
Trang 21/3/2012 Product Activity Data - 852
Functional Group= PDPurpose: This Draft Standard for Trial Use contains the format and establishes the data contents of the Product Activity Data
Transaction Set (852) for use within the context of an Electronic Data Interchange (EDI) environment The transaction set can be used
by a distributor, warehouse, or retailer to advise a trading partner of inventory, sales, and other product activity information Productactivity data enables a trading partner to plan and ship, or propose inventory replenishment quantities, for distribution centers,
warehouses or retail outlets.The receiver of the transaction set will maintain some type of inventory/product movement records for itstrading partners to enable replenishment calculations based on data provided by the distributor, warehouse or retailer
Not Defined:
Heading:
Summary:
Not Defined:
Trang 31/3/2012 Product Activity Data - 852
ISA Interchange Control Header Pos: 0100 Not Defined - Mandatory Max: 1
Loop: N/A Elements: 16 User Option (Usage): Must use
Element Summary:
ISA01 I01 Authorization Information Qualifier
Description: Code identifying the type of information in the
Description: Information used for additional identification or
authorization of the interchange sender or the data in the interchange;
the type of information is set by the Authorization Information Qualifier(I01)
ISA03 I03 Security Information Qualifier
Description: Code identifying the type of information in the Security
Description: This is used for identifying the security information about
the interchange sender or the data in the interchange; the type ofinformation is set by the Security Information Qualifier (I03)
ISA05 I05 Interchange ID Qualifier
Description: Code indicating the system/method of code structure
used to designate the sender or receiver ID element being qualified
CodeList Summary (Total Codes: 38, Included: 1) Code Name
ZZ Mutually DefinedISA06 I06 Interchange Sender ID
Description: Identification code published by the sender for other
parties to use as the receiver ID to route data to them; the senderalways codes this value in the sender ID element
External Information: This field will be Amazon's EDI ID Formatting Notes: AMAZON
ISA07 I05 Interchange ID Qualifier
Description: Code indicating the system/method of code structure
used to designate the sender or receiver ID element being qualified
CodeList Summary (Total Codes: 38, Included: 1) Code Name
ZZ Mutually DefinedISA08 I07 Interchange Receiver ID
Description: Identification code published by the receiver of the data;
Trang 41/3/2012 Product Activity Data - 852
When sending, it is used by the sender as their sending ID, thus otherparties sending to them will use this as a receiving ID to route data tothem
External Information: This field will be the recipient's EDI ID
ISA09 I08 Interchange Date
Description: Date of the interchange
External Information: This field will be the date the EDI message was
ISA10 I09 Interchange Time
Description: Time of the interchange
Formatting Notes: HHMM
ISA11 I65 Repetition Separator
Description: Type is not applicable; the repetition separator is a
delimiter and not a data element; this field provides the delimiter used
to separate repeated occurrences of a simple data element or acomposite data structure; this value must be different than the dataelement separator, component element separator, and the segmentterminator
ISA12 I11 Interchange Control Version Number
Description: Code specifying the version number of the interchange
ISA14 I13 Acknowledgment Requested
Description: Code indicating sender's request for an interchange
acknowledgment
External Information: This field will be a control number that
represents the ISA - IEA transaction
External Information: This field will be a control number that
represents the ISA - IEA transaction
CodeList Summary (Total Codes: 2, Included: 1) Code Name
0 No Acknowledgment RequestedISA15 I14 Usage Indicator
Description: Code indicating whether data enclosed by this
interchange envelope is test, production or information
CodeList Summary (Total Codes: 3, Included: 1) Code Name
P Production DataISA16 I15 Component Element Separator
Description: Type is not applicable; the component element separator
is a delimiter and not a data element; this field provides the delimiterused to separate component data elements within a composite datastructure; this value must be different than the data element separatorand the segment terminator
Formatting Notes: '>'
Trang 51/3/2012 Product Activity Data - 852
Trang 61/3/2012 Product Activity Data - 852
GS Functional Group Header Pos: 0200 Not Defined - Mandatory Max: 1
Loop: N/A Elements: 8 User Option (Usage): Must use
Element Summary:
GS01 479 Functional Identifier Code
Description: Code identifying a group of application related
Description: Code identifying party sending transmission; codes
agreed to by trading partners
Formatting Notes: AMAZON
GS03 124 Application Receiver's Code
Description: Code identifying party receiving transmission; codes
agreed to by trading partners
Description: Date expressed as CCYYMMDD
Formatting Notes: CCYYMMDD
Formatting Notes: HHMM
GS06 28 Group Control Number
Description: Assigned number originated and maintained by the
sender
External Information: This field will be a control number that
represents the GS - GE transaction
External Information: This field will be a control number that
represents the GS - GE transaction
GS07 455 Responsible Agency Code
Description: Code identifying the issuer of the standard; this code is
used in conjunction with Data Element 480
Description: Code indicating the version, release, subrelease, and
industry identifier of the EDI standard being used, including the GS and
GE segments; if code in DE455 in GS segment is X, then in DE 480positions 1-3 are the version number; positions 4-6 are the release andsubrelease, level of the version; and positions 7-12 are the industry ortrade association identifiers (optionally assigned by user); if code inDE455 in GS segment is T, then other formats are allowed
CodeList Summary (Total Codes: 39, Included: 1)
Trang 71/3/2012 Product Activity Data - 852
1 GS04 is the group date
2 GS05 is the group time
3 The data interchange control number GS06 in this header must be identical to the same data element in the associatedfunctional group trailer, GE02
Trang 81/3/2012 Product Activity Data - 852
ST Transaction Set Header Pos: 0100 Heading - Mandatory Max: 1
Loop: N/A Elements: 2 User Option (Usage): Must use
Element Summary:
ST01 143 Transaction Set Identifier Code
Description: Code uniquely identifying a Transaction Set
Description: Identifying control number that must be unique within the
transaction set functional group assigned by the originator for atransaction set
Formatting Notes: This field will be a control number that represents
Trang 91/3/2012 Product Activity Data - 852
XQ Reporting Date/Action Pos: 0200 Heading - Mandatory Max: 1
Loop: N/A Elements: 3 User Option (Usage): Must use
Element Summary:
XQ01 305 Transaction Handling Code
Description: Code designating the action to be taken by all parties
Description: Date expressed as CCYYMMDD
External Information: This field will be the beginning date of data file
Description: Date expressed as CCYYMMDD
External Information: This field will be the ending date of data file
Trang 101/3/2012 Product Activity Data - 852
Loop: N1 Elements: N/A User Option (Usage): Must use
Loop Summary:
Trang 111/3/2012 Product Activity Data - 852
Loop: N1 Elements: 4 User Option (Usage): Must use
Element Summary:
N101 98 Entity Identifier Code
Description: Code identifying an organizational entity, a physical
location, property or an individual
Description: Free-form name
External Information: This field will be the location that the items were
sold from
External Information: This field will be the location that the items were
sold from
N103 66 Identification Code Qualifier
Description: Code designating the system/method of code structure
used for Identification Code (67)
Description: Code identifying a party or other code
External Information: This field will be a code representing who sold
Trang 121/3/2012 Product Activity Data - 852
DTM Date/Time Reference Pos: 1300 Heading - Mandatory Max: >1
Loop: N1 Elements: 2 User Option (Usage): Must use
Trang 131/3/2012 Product Activity Data - 852
Loop: N1 Elements: N/A User Option (Usage): Used
Loop Summary:
Example:
N1*VN*VENDORCODE*92*VENDORCODE
Trang 141/3/2012 Product Activity Data - 852
Loop: N1 Elements: 4 User Option (Usage): Must use
Element Summary:
N101 98 Entity Identifier Code
Description: Code identifying an organizational entity, a physical
location, property or an individual
N103 66 Identification Code Qualifier
Description: Code designating the system/method of code structure
used for Identification Code (67)
Description: Code identifying a party or other code
External Information: This field will be a code representing the
Trang 151/3/2012 Product Activity Data - 852
Loop: LIN Elements: N/A User Option (Usage): Must use
Loop Summary:
Trang 161/3/2012 Product Activity Data - 852
Loop: LIN Elements: 5 User Option (Usage): Must use
Element Summary:
LIN01 350 Assigned Identification
Description: Alphanumeric characters assigned for differentiation
within a transaction set
LIN02 235 Product/Service ID Qualifier
Description: Code identifying the type/source of the descriptive
number used in Product/Service ID (234)
BP Buyer's Part Number
EN European Article Number (EAN) (2-5-5-1)
UP U.P.C Consumer Package Code (1-5-5-1)
VN Vendor's (Seller's) Item NumberLIN03 234 Product/Service ID
Description: Identifying number for a product or service External Information:
This field will reflect the secondary article identfier number you require.
External Information:
This field will reflect the secondary article identfier number you require.
LIN04 235 Product/Service ID Qualifier
Description: Code identifying the type/source of the descriptive
number used in Product/Service ID (234)
External Information: This field will be the UPC representation of this
BP Buyer's Part Number
EN European Article Number (EAN) (2-5-5-1)
UP U.P.C Consumer Package Code (1-5-5-1)
VN Vendor's (Seller's) Item NumberLIN05 234 Product/Service ID
Description: Identifying number for a product or service
Trang 171/3/2012 Product Activity Data - 852
N9 Reference Identification Pos: 0500 Detail - Mandatory Max: 1
Loop: LIN Elements: 2 User Option (Usage): Must use
Element Summary:
N901 128 Reference Identification Qualifier
Description: Code qualifying the Reference Identification
Description: Reference information as defined for a particular
Transaction Set or as specified by the Reference Identification Qualifier
External Information: This field will identify the Currency of this line
Trang 181/3/2012 Product Activity Data - 852
Loop: LIN Elements: 2 User Option (Usage): Must use
Element Summary:
AMT01 522 Amount Qualifier Code
Description: Code to qualify amount
CodeList Summary (Total Codes: 1473, Included: 1) Code Name
4T Cost of Goods Sold
Description: Monetary amount
Example:
AMT*4T*1200
Trang 191/3/2012 Product Activity Data - 852
Loop Product Activity Reporting QA Pos: 0900 Mandatory Repeat: 1
Loop: ZA Elements: N/A User Option (Usage): Must use
Loop Summary:
Trang 201/3/2012 Product Activity Data - 852
ZA Product Activity Reporting Pos: 1000 Detail - Mandatory Max: 1
Loop: ZA Elements: 1 User Option (Usage): Must use
Element Summary:
ZA01 859 Activity Code
Description: Code identifying activity details for the product being
Description: This is a predictive indicator that calculates the Average Units Sold within a couple
weeks and then using that figure, calculates the inventory dayss supply on-hand
FV Forecast Variance
Description: The variance between actual sales and the forecasted sales
HL Quantity on Hold
Description: The quantity of this catalog number on reserve (The reserve is usually a
commitment by the customer to hold a specified amount of stock.)
Q1 Quantity Sold (Net)
Description: Qty on Hand NET Customer Encumbered Inventory
QA Current Inventory Quantity Available for Shipment or Sale
Description: Indicates the quantity currently available to be sold or shipped
QE Ending Balance Quantity
Description: Closing inventory quantity for the current inventory reporting period
QI Quantity in Transit
Description: Quantity of stock replenishment shipped but not received
QO Quantity Out of Stock
Description: The quantity of this item currently back ordered to the end customer.
QP Quantity On Order, Not Yet Received
Description: Total quantity expected to be received from supplier for current reporting period, but
not yet received
QR Quantity Received
Description: The quantity received into the buying party's system since the last 852 product
activity data update.
QS Quantity Sold
Description: The quantity sold from the buying party's system since the last 852 product activity
data update.
QU Quantity Returned By Consumer
Description: Qty returned by consumer
ST Sell Thru Percentage
Description: Sell-thru is a composite measure that shows sales and inventory in one metric.
Sell-thru is very useful as a filter for top selling items.
TS Total Sales Quantity
Description: Total sales of product
WS Weeks Supply
Description: This is a predictive indicator that calculates the Average Units Sold within a couple
weeks and then using that figure, calculates the inventory weeks supply on-hand
Example:
Trang 211/3/2012 Product Activity Data - 852
ZA*QA
Trang 221/3/2012 Product Activity Data - 852
SDQ Destination Quantity Pos: 1300 Detail - Mandatory Max: 1
Loop: ZA Elements: 4 User Option (Usage): Not used
Element Summary:
SDQ01 355 Unit or Basis for Measurement Code
Description: Code specifying the units in which a value is being
expressed, or manner in which a measurement has been taken
CodeList Summary (Total Codes: 794, Included: 1) Code Name
SDQ02 66 Identification Code Qualifier
Description: Code designating the system/method of code structure
used for Identification Code (67)
Description: Code identifying a party or other code
External Information: This will be the code representing the seller
Trang 231/3/2012 Product Activity Data - 852
Loop: N/A Elements: 1 User Option (Usage): Must use
Element Summary:
CTT01 354 Number of Line Items
Description: Total number of line items in the transaction set
External Information: This field will be the total number of items.
Trang 241/3/2012 Product Activity Data - 852
SE Transaction Set Trailer Pos: 0200 Summary - Mandatory Max: 1
Loop: N/A Elements: 2 User Option (Usage): Must use
Element Summary:
SE01 96 Number of Included Segments
Description: Total number of segments included in a transaction set
including ST and SE segments
SE02 329 Transaction Set Control Number
Description: Identifying control number that must be unique within the
transaction set functional group assigned by the originator for atransaction set