1. Trang chủ
  2. » Công Nghệ Thông Tin

Amazon EDI specification sales and inventory report v2

26 84 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 26
Dung lượng 61,34 KB

Nội dung

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.

852 Product Activity Data Version: 2.0 Final Company: Modified: 4/3/2012 1/3/2012 Product Activity Data - 852 Product Activity Data Functional Group= PD 852 Purpose: 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 Product activity 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 its trading partners to enable replenishment calculations based on data provided by the distributor, warehouse or retailer Not Defined: Pos Id Segment Name 0100 0200 ISA GS Interchange Control Header Functional Group Header Req Max Use M M 1 Pos Id Segment Name Req Max Use 0100 0200 ST XQ Transaction Set Header Reporting Date/Action M M 1 Name Date/Time Reference M M >1 Repeat Notes Usage Must use Must use Heading: LOOP ID - N1 0700 1300 N1 DTM Name Id Segment Name M Req Max Use Usage N1/0600L N1/0700 200 N1 Notes Must use Must use 200 LOOP ID - N1 1700 Repeat Must use Must use N1/1600L N1/1700 Must use Notes Usage Detail: Pos LOOP ID - LIN 0200 0500 0600 LIN N9 AMT Item Identification Reference Identification Monetary Amount M M M 1 LOOP ID - ZA 1000 1300 Repeat 999999 Must use Must use Must use ZA SDQ Product Activity Reporting Destination Quantity Pos Id Segment Name 0100 0200 CTT SE Transaction Totals Transaction Set Trailer M M 1 Req Max Use M M 1 Req Max Use M M 1 N2/0900L N2/1000 Must use Not used Summary: Repeat Notes Usage N3/0100 Must use Must use Notes Usage Not Defined: Pos Id Segment Name 0100 0200 GE IEA Functional Group Trailer Interchange Control Trailer AMZ_Procurement_X12_852_v2.ecs Repeat Must use Must use 1/3/2012 Product Activity Data - 852 ISA Interchange Control Header Pos: 0100 Max: Not Defined - Mandatory Loop: N/A Elements: 16 User Option (Usage): Must use Element Summary: Ref Id Element Name ISA01 I01 Authorization Information Qualifier Req Type Min/Max M ID 2/2 M AN 10/10 M ID 2/2 M AN 10/10 M ID 2/2 M AN 15/15 M ID 2/2 M AN 15/15 Description: Code identifying the type of information in the Authorization Information CodeList Summary (Total Codes: 7, Included: 1) Code Name 00 ISA02 I02 No Authorization Information Present (No Meaningful Information in I02) Authorization Information 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 Information CodeList Summary (Total Codes: 2, Included: 1) Code Name 00 ISA04 I04 No Security Information Present (No Meaningful Information in I04) Security Information Description: This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information 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 ISA06 I06 Mutually Defined 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 sender always 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 ISA08 I07 Mutually Defined Interchange Receiver ID Description: Identification code published by the receiver of the data; AMZ_Procurement_X12_852_v2.ecs 1/3/2012 Product Activity Data - 852 Ref Id Element Name When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them External Information: This field will be the recipient's EDI ID ISA09 I08 Interchange Date Req Type Min/Max M DT 6/6 M TM 4/4 Description: Date of the interchange External Information: This field will be the date the EDI message was created Formatting Notes: YYMMDD ISA10 I09 Interchange Time Description: Time of the interchange Formatting Notes: HHMM ISA11 I65 Repetition Separator M 1/1 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 a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator ISA12 I11 Interchange Control Version Number M ID 5/5 M N0 9/9 M ID 1/1 M ID 1/1 Description: Code specifying the version number of the interchange control segments CodeList Summary (Total Codes: 15, Included: 1) Code Name 00400 Standard Issued as ANSI X12.5-1997 ISA13 I12 Interchange Control Number Description: A control number assigned by the interchange sender 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 CodeList Summary (Total Codes: 2, Included: 1) Code Name ISA15 I14 No Acknowledgment Requested 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 ISA16 I15 Production Data Component Element Separator M 1/1 Description: Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator Formatting Notes: '>' AMZ_Procurement_X12_852_v2.ecs 1/3/2012 Product Activity Data - 852 Looping Notes: Only one ISA/IEA loop per data file is sent Example: ISA*00* *00* *ZZ*AMAZON AMZ_Procurement_X12_852_v2.ecs *ZZ*VENDOR *070731*0832*U*00400*000000009*0*P*> 1/3/2012 Product Activity Data - 852 GS Functional Group Header Pos: 0200 Max: Not Defined - Mandatory Loop: N/A Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name GS01 479 Functional Identifier Code Req Type Min/Max M ID 2/2 M AN 2/15 M AN 2/15 M DT 8/8 M TM 4/8 M N0 1/9 M ID 1/2 M AN 1/12 Description: Code identifying a group of application related transaction sets CodeList Summary (Total Codes: 256, Included: 1) Code Name PD GS02 142 Product Activity Data (852) Application Sender's Code 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 GS04 373 Date Description: Date expressed as CCYYMMDD Formatting Notes: CCYYMMDD GS05 337 Time Description: Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99) 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 GS07 455 Responsible Agency Code Description: Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480 CodeList Summary (Total Codes: 2, Included: 1) Code Name X GS08 480 Accredited Standards Committee X12 Version / Release / Industry Identifier Code 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 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed CodeList Summary (Total Codes: 39, Included: 1) AMZ_Procurement_X12_852_v2.ecs 1/3/2012 Product Activity Data - 852 Code Name 004010 Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997 Semantics: GS04 is the group date GS05 is the group time The data interchange control number GS06 in this header must be identical to the same data element in the associated functional group trailer, GE02 Comments: A functional group of related transaction sets, within the scope of X12 standards, consists of a collection of similar transaction sets enclosed by a functional group header and a functional group trailer Looping Notes: Only one GS/GE loop per data file is sent Example: GS*PD*AMAZON*VENDOR*20070801*15375697*110001*X*004010 AMZ_Procurement_X12_852_v2.ecs 1/3/2012 Product Activity Data - 852 ST Transaction Set Header Pos: 0100 Max: Heading - Mandatory Loop: N/A Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name ST01 143 Transaction Set Identifier Code Req Type Min/Max M ID 3/3 M AN 4/9 Description: Code uniquely identifying a Transaction Set CodeList Summary (Total Codes: 298, Included: 1) Code Name 852 ST02 329 Product Activity Data Transaction Set Control Number Description: Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set Formatting Notes: This field will be a control number that represents the ST - SE transaction Semantics: The transaction set identifier (ST01) used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set) Example: ST*852*0001 AMZ_Procurement_X12_852_v2.ecs 1/3/2012 Product Activity Data - 852 XQ Reporting Date/Action Pos: 0200 Max: Heading - Mandatory Loop: N/A Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name XQ01 305 Transaction Handling Code Req Type Min/Max M ID 1/2 M DT 8/8 M DT 8/8 Description: Code designating the action to be taken by all parties CodeList Summary (Total Codes: 23, Included: 1) Code Name H XQ02 373 Notification Only Date Description: Date expressed as CCYYMMDD External Information: This field will be the beginning date of data file date range Formatting Notes: CCYYMMDD XQ03 373 Date Description: Date expressed as CCYYMMDD External Information: This field will be the ending date of data file date range Formatting Notes: CCYYMMDD Semantics: XQ02 is the reporting date If reporting a date range, then XQ02 is the start date and XQ03 is the end date Example: XQ*H*20071007*20071013 AMZ_Procurement_X12_852_v2.ecs 1/3/2012 Product Activity Data - 852 Pos: 0600 Loop Name Repeat: 200 Mandatory Loop: N1 Elements: N/A User Option (Usage): Must use Loop Summary: Pos Id Segment Name 0700 1300 N1 DTM Name Date/Time Reference Req Max Use M M >1 Repeat Usage Must use Must use Example: Amazon.com N1*DU*AMAZON.COM*15*1526642 DTM*999*20071028 Amazon.ca N1*DU*AMAZON.CA*15*7605943 DTM*999*20071028 Amazon.jp N1*DU*AMAZON.JP*15*7605935 DTM*999*20071028 AMZ_Procurement_X12_852_v2.ecs 1/3/2012 Product Activity Data - 852 DTM Date/Time Reference Pos: 1300 Max: >1 Heading - Mandatory Loop: N1 Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name DTM01 374 Date/Time Qualifier Req Type Min/Max M ID 3/3 X DT 8/8 Description: Code specifying type of date or time, or both date and time CodeList Summary (Total Codes: 1112, Included: 1) Code Name 999 DTM02 373 Document Date Date Description: Date expressed as CCYYMMDD Example: DTM*999*20071028 AMZ_Procurement_X12_852_v2.ecs 11 1/3/2012 Product Activity Data - 852 Pos: 1600 Loop Name Repeat: 200 Mandatory Loop: N1 Elements: N/A User Option (Usage): Used Loop Summary: Pos Id Segment Name 1700 N1 Name Req Max Use M Repeat Usage Must use Example: N1*VN*VENDORCODE*92*VENDORCODE AMZ_Procurement_X12_852_v2.ecs 12 1/3/2012 Product Activity Data - 852 Pos: 1700 N1 Name Max: Heading - Mandatory Loop: N1 Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name N101 98 Entity Identifier Code Req Type Min/Max M ID 2/3 X AN 1/60 X ID 1/2 X AN 2/80 Description: Code identifying an organizational entity, a physical location, property or an individual CodeList Summary (Total Codes: 1312, Included: 1) Code Name VN N102 93 Vendor Name Description: Free-form name External Information: This field will be the vendor code N103 66 Identification Code Qualifier Description: Code designating the system/method of code structure used for Identification Code (67) CodeList Summary (Total Codes: 215, Included: 1) Code Name 92 N104 67 Assigned by Buyer or Buyer's Agent Identification Code Description: Code identifying a party or other code External Information: This field will be a code representing the vendor Example: N1*VN*VENDORCODE*92*VENDORCODE AMZ_Procurement_X12_852_v2.ecs 13 1/3/2012 Product Activity Data - 852 Pos: 0100 Loop Item Identification Repeat: 999999 Mandatory Loop: LIN Elements: N/A User Option (Usage): Must use Loop Summary: Pos Id Segment Name 0200 0500 0600 0900 LIN N9 AMT Item Identification Reference Identification Monetary Amount Loop ZA Req Max Use M M M M 1 Repeat Usage Must use Must use Must use Must use Example: LIN*1*UP*885909089772*BP*B0007LW23A N9*EH*USD AMT*4T*1200 AMZ_Procurement_X12_852_v2.ecs 14 1/3/2012 Product Activity Data - 852 LIN Item Identification Pos: 0200 Max: Detail - Mandatory Loop: LIN Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name LIN01 350 Assigned Identification Req Type Min/Max M AN 1/20 M ID 2/2 X AN 1/48 X ID 2/2 X AN 1/48 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) External Information: This field will reflect the primary article identfier number you require CodeList Summary (Total Codes: 477, Included: 4) Code Name BP EN UP VN LIN03 234 Buyer's Part Number European Article Number (EAN) (2-5-5-1) U.P.C Consumer Package Code (1-5-5-1) Vendor's (Seller's) Item Number Product/Service ID Description: Identifying number for a product or service 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 item, if available CodeList Summary (Total Codes: 477, Included: 4) Code Name BP EN UP VN LIN05 234 Buyer's Part Number European Article Number (EAN) (2-5-5-1) U.P.C Consumer Package Code (1-5-5-1) Vendor's (Seller's) Item Number Product/Service ID Description: Identifying number for a product or service Semantics: LIN01 is the line item identification Example: LIN*1*UP*885909089772*BP*B0007LW23A AMZ_Procurement_X12_852_v2.ecs 15 1/3/2012 Product Activity Data - 852 N9 Reference Identification Pos: 0500 Max: Detail - Mandatory Loop: LIN Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name N901 128 Reference Identification Qualifier Req Type Min/Max M ID 2/3 M AN 1/30 Description: Code qualifying the Reference Identification CodeList Summary (Total Codes: 1503, Included: 1) Code Name EH N902 127 Financial Classification Code 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 item reported Example: N9*EH*USD AMZ_Procurement_X12_852_v2.ecs 16 1/3/2012 Product Activity Data - 852 AMT Monetary Amount Pos: 0600 Max: Detail - Mandatory Loop: LIN Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name AMT01 522 Amount Qualifier Code Req Type Min/Max M ID 1/3 M R 1/18 Description: Code to qualify amount CodeList Summary (Total Codes: 1473, Included: 1) Code Name 4T AMT02 782 Cost of Goods Sold Monetary Amount Description: Monetary amount Example: AMT*4T*1200 AMZ_Procurement_X12_852_v2.ecs 17 1/3/2012 Product Activity Data - 852 Pos: 0900 Loop Product Activity Reporting QA Repeat: Mandatory Loop: ZA Elements: N/A User Option (Usage): Must use Loop Summary: Pos Id Segment Name 1000 1300 ZA SDQ Product Activity Reporting Destination Quantity Req Max Use M M 1 Repeat Usage Must use Not used Looping Notes: Although the ZA segment is only listed once, it will be iterated through in this loop to include all of the Codes listed in the ZA segment specifications Example: ZA*QS SDQ*EA*15*1526642*32 ZA*QA SDQ*EA*15*1526642*48 ZA*QP SDQ*EA*15*1526642*6 and so on AMZ_Procurement_X12_852_v2.ecs 18 1/3/2012 Product Activity Data - 852 ZA Product Activity Reporting Pos: 1000 Max: Detail - Mandatory Loop: ZA Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name Req Type Min/Max ZA01 859 Activity Code M ID 2/2 Description: Code identifying activity details for the product being reported CodeList Summary (Total Codes: 46, Included: 16) Code Name DG Quantity Damaged Description: Total product listed as damaged goods DS Days 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 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: AMZ_Procurement_X12_852_v2.ecs 19 1/3/2012 Product Activity Data - 852 ZA*QA AMZ_Procurement_X12_852_v2.ecs 20 1/3/2012 Product Activity Data - 852 SDQ Destination Quantity Pos: 1300 Max: Detail - Mandatory Loop: ZA Elements: User Option (Usage): Not used Element Summary: Ref Id Element Name SDQ01 355 Unit or Basis for Measurement Code Req Type Min/Max M ID 2/2 M ID 1/2 M AN 2/80 M R 1/15 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 EA SDQ02 66 Each Identification Code Qualifier Description: Code designating the system/method of code structure used for Identification Code (67) CodeList Summary (Total Codes: 215, Included: 1) Code Name 15 SDQ03 67 Standard Address Number (SAN) Identification Code Description: Code identifying a party or other code External Information: This will be the code representing the seller location SDQ04 380 Quantity Description: Numeric value of quantity Example: SDQ*EA*15*1526642*48 AMZ_Procurement_X12_852_v2.ecs 21 1/3/2012 Product Activity Data - 852 CTT Transaction Totals Pos: 0100 Max: Summary - Mandatory Loop: N/A Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name CTT01 354 Number of Line Items Req Type Min/Max M N0 1/6 Description: Total number of line items in the transaction set External Information: This field will be the total number of items Comments: This segment is intended to provide hash totals to validate transaction completeness and correctness Example: CTT*806 AMZ_Procurement_X12_852_v2.ecs 22 1/3/2012 Product Activity Data - 852 SE Transaction Set Trailer Pos: 0200 Max: Summary - Mandatory Loop: N/A Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name SE01 96 Number of Included Segments Req Type Min/Max M N0 1/10 M AN 4/9 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 a transaction set Comments: SE is the last segment of each transaction set Example: SE*25*0001 AMZ_Procurement_X12_852_v2.ecs 23 1/3/2012 Product Activity Data - 852 GE Functional Group Trailer Pos: 0100 Max: Not Defined - Mandatory Loop: N/A Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name GE01 97 Number of Transaction Sets Included Req Type Min/Max M N0 1/6 M N0 1/9 Description: Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element GE02 28 Group Control Number Description: Assigned number originated and maintained by the sender Semantics: The data interchange control number GE02 in this trailer must be identical to the same data element in the associated functional group header, GS06 Comments: The use of identical data interchange control numbers in the associated functional group header and trailer is designed to maximize functional group integrity The control number is the same as that used in the corresponding header Looping Notes: Only one GS/GE loop per data file is sent Example: GE*1*9 AMZ_Procurement_X12_852_v2.ecs 24 1/3/2012 Product Activity Data - 852 IEA Interchange Control Trailer Pos: 0200 Max: Not Defined - Mandatory Loop: N/A Elements: User Option (Usage): Must use Element Summary: Ref Id Element Name IEA01 I16 Number of Included Functional Groups Req Type Min/Max M N0 1/5 M N0 9/9 Description: A count of the number of functional groups included in an interchange IEA02 I12 Interchange Control Number Description: A control number assigned by the interchange sender Looping Notes: Only one ISA/IEA loop per data file is sent Example: IEA*1*000000009 AMZ_Procurement_X12_852_v2.ecs 25

Ngày đăng: 21/12/2018, 16:16

TỪ KHÓA LIÊN QUAN