Vous êtes sur la page 1sur 23

03/11/04

Functional Acknowledgment - 997

997

Functional Acknowledgment Functional Group=FA

This Draft Standard for Trial Use contains the format and establishes the data contents of the Functional Acknowledgment Transaction Set (997) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to define the control structures for a set of acknowledgments to indicate the results of the syntactical analysis of the electronically encoded documents. The encoded documents are the transaction sets, which are grouped in functional groups, used in defining transactions for business data interchange. This standard does not cover the semantic meaning of the information encoded in the transaction sets.

Not Defined:
Pos Id ISA GS Segment Name Interchange Control Header Functional Group Header Req M M Max Use 1 1 Repeat Notes Usage Must use Must use

Heading:
Pos 010 020 Id ST AK1 Segment Name Transaction Set Header Functional Group Response Header Transaction Set Response Header Data Segment Note Data Element Note Transaction Set Response Trailer Functional Group Response Trailer Transaction Set Trailer Req M M Max Use 1 1 Repeat Notes N1/010 N1/020 N1/030L N1/030 C1/040L C1/040 Usage Must use Must use

LOOP ID - AK2 030 AK2 LOOP ID - AK3 040 AK3 050 AK4 060 AK5 070 080 AK9 SE

999999 O 1 999999 O O M M M 1 99 1 1 1

Used

Used Used Must use Must use Must use

Not Defined:
Pos Id GE IEA Segment Name Functional Group Trailer Interchange Control Trailer Req M M Max Use 1 1 Repeat Notes Usage Must use Must use

Notes:
1/010 These acknowledgments shall not be acknowledged, thereby preventing an endless cycle of acknowledgments of acknowledgments. Nor shall a Functional Acknowledgment be sent to report errors in a previous Functional Acknowledgment. The Functional Group Header Segment (GS) is used to start the envelope for the Functional Acknowledgment Transaction Sets. In preparing the functional group of acknowledgments, the application sender's code and the application receiver's code, taken from the functional group being acknowledged, are exchanged; therefore, one acknowledgment functional group responds to only those functional groups from one application receiver's code to one application sender's code. There is only one Functional Acknowledgment Transaction Set per acknowledged functional group. 1/020 AK1 is used to respond to the functional group header and to start the acknowledgement for a functional group. There shall be one AK1 segment for the functional group that is being acknowledged. 1/030L AK2 is used to start the acknowledgement of a transaction set within the received functional group. The AK2 segments shall appear in the same order as the transaction sets in the functional group that has been received and is being acknowledged. 1/030 AK2 is used to start the acknowledgement of a transaction set within the received functional group. The

For internal use only

03/11/04

Functional Acknowledgment - 997

AK2 segments shall appear in the same order as the transaction sets in the functional group that has been received and is being acknowledged.

Comments:
1/040L The data segments of this standard are used to report the results of the syntactical analysis of the functional groups of transaction sets; they report the extent to which the syntax complies with the standards for transaction sets and functional groups. They do not report on the semantic meaning of the transaction sets (for example, on the ability of the receiver to comply with the request of the sender). 1/040 The data segments of this standard are used to report the results of the syntactical analysis of the functional groups of transaction sets; they report the extent to which the syntax complies with the standards for transaction sets and functional groups. They do not report on the semantic meaning of the transaction sets (for example, on the ability of the receiver to comply with the request of the sender).

For internal use only

03/11/04

Functional Acknowledgment - 997

ISA

Interchange Control Header

Pos: Max: 1 Not Defined - Mandatory Elements: Loop: N/A 16

User Option (Usage): Must use To start and identify an interchange of zero or more functional groups and interchange-related control segments

Element Summary:
Ref ISA01 Id I01 Element Name Authorization Information Qualifier Description: Code to identify the type of information in the Authorization Information All valid standard codes are used. 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) Security Information Qualifier Description: Code to identify the type of information in the Security Information All valid standard codes are used. 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) Interchange ID Qualifier Description: Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified All valid standard codes are used. 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 Interchange ID Qualifier Description: Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified All valid standard codes are used. Interchange Receiver ID Description: Identification code published by the receiver of the data; 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 Interchange Date
3

Req M

Type ID

Min/Max 2/2

Usage Must use

ISA02

I02

AN

10/10

Must use

ISA03

I03

ID

2/2

Must use

ISA04

I04

AN

10/10

Must use

ISA05

I05

ID

2/2

Must use

ISA06

I06

AN

15/15

Must use

ISA07

I05

ID

2/2

Must use

ISA08

I07

AN

15/15

Must use

ISA09

I08

DT

6/6

Must use
For internal use only

03/11/04

Functional Acknowledgment - 997

ISA10 ISA11

I09 I10

ISA12

I11

ISA13

I12

ISA14

I13

ISA15

I14

ISA16

I15

Description: Date of the interchange Interchange Time Description: Time of the interchange Interchange Control Standards Identifier Description: Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer All valid standard codes are used. Interchange Control Version Number Description: Code specifying the version number of the interchange control segments All valid standard codes are used. Interchange Control Number Description: A control number assigned by the interchange sender Acknowledgment Requested Description: Code sent by the sender to request an interchange acknowledgment (TA1) All valid standard codes are used. Usage Indicator Description: Code to indicate whether data enclosed by this interchange envelope is test, production or information All valid standard codes are used. Component Element Separator 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

M M

TM ID

4/4 1/1

Must use Must use

ID

5/5

Must use

N0

9/9

Must use

ID

1/1

Must use

ID

1/1

Must use

1/1

Must use

For internal use only

03/11/04

Functional Acknowledgment - 997

GS

Functional Group Header

Pos: Max: 1 Not Defined - Mandatory Loop: N/A Elements: 8

User Option (Usage): Must use To indicate the beginning of a functional group and to provide control information

Element Summary:
Ref GS01 Id 479 Element Name Req Type Min/Max Usage Functional Identifier Code M ID 2/2 Must use Description: Code identifying a group of application related transaction sets Code Name AA Account Analysis (822) AB Logistics Service Request (219) AC Associated Data (102) AD Individual Life, Annuity and Disability Application (267) AE Premium Audit Request and Return (187) AF Application for Admission to Educational Institutions (189) AG Application Advice (824) AH Logistics Service Response (220) AI Automotive Inspection Detail (928) AK Student Educational Record (Transcript) Acknowledgment (131) AL Set Cancellation (998) and Application Acceptance/Rejection Advice (499) AN Return Merchandise Authorization and Notification (180) AO Income or Asset Offset (521) AP Abandoned Property Filings (103) AR Warehouse Stock Transfer Shipment Advice (943) AS Transportation Appointment Schedule Information (163) AT Animal Toxicological Data (249) AW Warehouse Inventory Adjustment Advice (947) BC Business Credit Report (155) BE Benefit Enrollment and Maintenance (834) BF Business Entity Filings (105) BL Motor Carrier Bill of Lading (211) BS Shipment and Billing Notice (857) CA Purchase Order Change Acknowledgment/Request - Seller Initiated (865) CB Unemployment Insurance Tax Claim or Charge Information (153) CC Clauses and Provisions (504) CD Credit/Debit Adjustment (812) CE Cartage Work Assignment (222) CF Corporate Financial Adjustment Information (844 and 849) CG Administrative Message (994) CH Car Handling Information (420) CI Consolidated Service Invoice/Statement (811) CJ Manufacturer Coupon Family Code Structure (877) CK Manufacturer Coupon Redemption Detail (881) CM Component Parts Content (871) CN Coupon Notification (887)

For internal use only

03/11/04

Functional Acknowledgment - 997

CO CP CR CS CT CV D3 D4 D5 DA DD DF DI DM DS DX EC ED EI ER ES EV EX FA FB FC FG FH FR FT GB GC GE GF GL GP GR GT HB HC HI HN HP HR HS IA IB IC ID IE IF IG

Cooperative Advertising Agreements (290) Electronic Proposal Information (251, 805) Rail Carhire Settlements (414) Cryptographic Service Message (815) Application Control Totals (831) Commercial Vehicle Safety and Credentials Information Exchange (285) Contract Completion Status (567) Contract Abstract (561) Contract Payment Management Report (568) Debit Authorization (828) Shipment Delivery Discrepancy Information (854) Market Development Fund Allocation (883) Dealer Information (128) Shipper's Car Order (422) Data Status Tracking (242) Direct Exchange Delivery and Return Information (894, 895) Educational Course Inventory (188) Student Educational Record (Transcript) (130) Railroad Equipment Inquiry or Advice (456) Revenue Receipts Statement (170) Notice of Employment Status (540) Railroad Event Report (451) Excavation Communication (620) Functional Acknowledgment (997) Freight Invoice (859) Court and Law Enforcement Information (175, 176) Motor Carrier Loading and Route Guide (217) Motor Carrier Tariff Information (218) Financial Reporting (821, 827) File Transfer (996) Average Agreement Demurrage (423) Damage Claim Transaction Sets (920, 924, 925, 926) General Request, Response or Confirmation (814) Response to a Load Tender (990) Intermodal Group Loading Plan (715) Grocery Products Invoice (880) Statistical Government Information (152) Grant or Assistance Application (194) Eligibility, Coverage or Benefit Information (271) Health Care Claim (837) Health Care Services Review Information (278) Health Care Claim Status Notification (277) Health Care Claim Payment/Advice (835) Health Care Claim Status Request (276) Eligibility, Coverage or Benefit Inquiry (270) Air Freight Details and Invoice (110, 980) Inventory Inquiry/Advice (846) Rail Advance Interchange Consist (418) Insurance/Annuity Application Status (273) Insurance Producer Administration (252) Individual Insurance Policy and Client Information (111) Direct Store Delivery Summary Information (882)

For internal use only

03/11/04

Functional Acknowledgment - 997

II IJ IM IN IO IP IR IS KM LA LB LI LN LR LS LT MA MC MD ME MF MG MH MI MJ MK MM MN MO MP MQ MR MS MT MV MW MX MY MZ NC NL NP NT OC OG OR OW PA PB PC PD PE

Rail Freight Details and Invoice Summary (411) Report of Injury, Illness or Incident (148) Motor Carrier Freight Details and Invoice (210, 980) Invoice Information (810,819) Ocean Shipment Billing Details (310, 312, 980) Intermodal Ramp Activity (622) Rail Carrier Freight Details and Invoice (410, 980) Estimated Time of Arrival and Car Scheduling (421) Commercial Vehicle Credentials (286) Federal Communications Commission (FCC) License Application (195) Lockbox (823) Locomotive Information (436) Property and Casualty Loss Notification (272) Logistics Reassignment (536) Asset Schedule (851) Student Loan Transfer and Status Verification (144) Motor Carrier Summary Freight Bill Manifest (224) Request for Motor Carrier Rate Proposal (107) Department of Defense Inventory Management (527) Mortgage Origination (198, 200, 201, 261, 262, 263, 833, 872) Market Development Fund Settlement (884) Mortgage Servicing Transaction Sets (203, 206, 260, 264, 266) Motor Carrier Rate Proposal (106) Motor Carrier Shipment Status Inquiry (213) Secondary Mortgage Market Loan Delivery (202) Response to a Motor Carrier Rate Proposal (108) Medical Event Reporting (500) Mortgage Note (205) Maintenance Service Order (650) Motion Picture Booking Confirmation (159) Consolidators Freight Bill and Invoice (223) Multilevel Railcar Load Details (125) Material Safety Data Sheet (848) Electronic Form Structure (868) Material Obligation Validation (517) Rail Waybill Response (427) Material Claim (847) Response to a Cartage Work Assignment (225) Motor Carrier Package Status (240) Nonconformance Report (842) Name and Address Lists (101) Notice of Power of Attorney (157) Notice of Tax Adjustment or Assessment (149) Cargo Insurance Advice of Shipment (362) Order Group - Grocery (875, 876) Organizational Relationships (816) Warehouse Shipping Order (940) Price Authorization Acknowledgment/Status (845) Railroad Parameter Trace Registration (455) Purchase Order Change Request - Buyer Initiated (860) Product Activity Data (852) Periodic Compensation (256)

For internal use only

03/11/04

Functional Acknowledgment - 997

PF PG PH PI PJ PK PL PN PO PQ PR PS PT PU PV PW PY QG QM QO RA RB RC RD RE RH RI RJ RK RL RM RN RO RP RQ RR RS RT RU RV RW RX RY RZ SA SB SC SD SE SG SH SI

Annuity Activity (268) Insurance Plan Description (100) Pricing History (503) Patient Information (275) Project Schedule Reporting (806) Project Cost Reporting (839) and Contractor Cost Data Reporting (196) Railroad Problem Log Inquiry or Advice (452) Product Source Information (244) Purchase Order (850) Property Damage Report (112) Purchase Order Acknowledgement (855) Planning Schedule with Release Capability (830) Product Transfer and Resale Report (867) Motor Carrier Shipment Pick-up Notification (216) Purchase Order Shipment Management Document (250) Healthcare Provider Information (274) Payment Cancellation Request (829) Product Information (878, 879, 888, 889, 893, 896) Transportation Carrier Shipment Status Message (214) Ocean Shipment Status Information (313, 315) Payment Order/Remittance Advice (820) Railroad Clearance (470) Receiving Advice/Acceptance Certificate (861) Royalty Regulatory Report (185) Warehouse Stock Receipt Advice (944) Railroad Reciprocal Switch File (433) Routing and Carrier Instruction (853) Railroad Mark Register Update Activity (434) Standard Transportation Commodity Code Master (435) Rail Industrial Switch List (423) Railroad Station Master File (431) Requisition Transaction (511) Ocean Booking Information (300, 301,303) Commission Sales Report (818) Request for Quotation (840) and Procurement Notices (836) Response to Request For Quotation (843) Order Status Information (869, 870) Report of Test Results (863) Railroad Retirement Activity (429) Railroad Junctions and Interchanges Activity (437) Rail Revenue Waybill (426) Rail Deprescription (432) Request for Student Educational Record (Transcript) (146) Response to Request for Student Educational Record (Transcript) (147) Air Shipment Information (104) Switch Rails (424) Price/Sales Catalog (832) Student Loan Pre-Claims and Claims (191) Shipper's Export Declaration (601) SG Receiving Advice - Grocery (885) Ship Notice/Manifest (856) Shipment Information (858)

For internal use only

03/11/04

Functional Acknowledgment - 997

GS02

142

Transportation Automatic Equipment Identification (160) Student Loan Application and Guarantee (135, 139) Motor Carrier Load Tender (204) Rail Route File Maintenance (475) Ocean Shipment Information (304, 306, 309, 311, 317, 319, 321, 322, 323, 324, 325, 350, 352, 353, 354, 355, 356, 357, 358, 361) SP Specifications/Technical Information (841) SQ Production Sequence (866) SR Rail Carrier Shipment Information (404, 419) SS Shipping Schedule (862) ST Railroad Service Commitment Advice (453) SU Account Assignment/Inquiry and Service/Status (248) SV Student Enrollment Verification (190) SW Warehouse Shipping Advice (945) TA Electronic Filing of Tax Return Data Acknowledgment (151) TC Court Submission (176) TD Trading Partner Profile (838) TF Electronic Filing of Tax Return Data (813) TI Tax Information Exchange (826) TM Motor Carrier Delivery Trailer Manifest (212) TN Tax Rate Notification (150) TO Real Estate Title Services (197, 199, 265) TP Rail Rate Transactions (460, 463, 466, 468, 485, 486, 490, 492, 494) TR Train Sheet (161) TS Transportation Services Tender (602) TT Education Testing Results Request and Report (138) TX Text Message (864) UA Retail Account Characteristics (885) UB Customer Call Reporting (886) UC Uniform Commercial Code Filing (154) UD Deduction Research Report (891) UI Underwriting Information Services (255) UP Motor Carrier Pick-up Manifest (215) UW Insurance Underwriting Requirements Reporting (186) VA Vehicle Application Advice (126) VB Vehicle Baying Order (127) VC Vehicle Shipping Order (120) VD Vehicle Damage (124) VE Vessel Content Details (109) VH Vehicle Carrier Rate Update (129) VI Voter Registration Information (280) VS Vehicle Service (121) WA Product Service Transaction Sets (140, 141, 142, 143) WB Rail Carrier Waybill Interchange (417) WG Vendor Performance Review (501) WI Wage Determination (288) WL Well Information (625) WR Shipment Weights (440) WT Rail Waybill Request (425) Application Sender's Code M AN 2/15 Must use Description: Code identifying party sending transmission; codes agreed to by trading partners
9 For internal use only

SJ SL SM SN SO

03/11/04

Functional Acknowledgment - 997

GS03

124

GS04

373

GS05

337

GS06

28

GS07

455

GS08

480

Application Receiver's Code Description: Code identifying party receiving transmission; codes agreed to by trading partners Date Description: Date expressed as CCYYMMDD 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) Group Control Number Description: Assigned number originated and maintained by the sender Responsible Agency Code Description: Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480 All valid standard codes are used. 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 13 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 All valid standard codes are used.

AN

2/15

Must use

DT

8/8

Must use

TM

4/8

Must use

N0

1/9

Must use

ID

1/2

Must use

AN

1/12

Must use

Semantics:
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 associated functional group trailer, GE02.

Comments:
1. 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.

10

For internal use only

03/11/04

Functional Acknowledgment - 997

ST

Transaction Set Header

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

User Option (Usage): Must use To indicate the start of a transaction set and to assign a control number

Element Summary:
Ref ST01 Id 143 Element Name Transaction Set Identifier Code Description: Code uniquely identifying a Transaction Set All valid standard codes are used. 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 Req M Type ID Min/Max 3/3 Usage Must use

ST02

329

AN

4/9

Must use

Semantics:
1. 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).

11

For internal use only

03/11/04

Functional Acknowledgment - 997

AK1 Functional Group Response


Header
User Option (Usage): Must use To start acknowledgment of a functional group

Pos: 020 Max: 1 Heading - Mandatory Loop: N/A Elements: 2

Element Summary:
Ref AK101 Id 479 Element Name Functional Identifier Code Description: Code identifying a group of application related transaction sets All valid standard codes are used. Group Control Number Description: Assigned number originated and maintained by the sender Req M Type ID Min/Max 2/2 Usage Must use

AK102

28

N0

1/9

Must use

Semantics:
1. AK101 is the functional ID found in the GS segment (GS01) in the functional group being acknowledged. 2. AK102 is the functional group control number found in the GS segment in the functional group being acknowledged.

12

For internal use only

03/11/04

Functional Acknowledgment - 997

Loop AK2

Pos: 030

Repeat: 999999

Optional Elements: Loop: AK2 N/A To start acknowledgment of a single transaction set

Loop Summary:
Pos 030 040 060 Id AK2 AK5 Segment Name Transaction Set Response Header Loop AK3 Transaction Set Response Trailer Req O O M Max Use 1 1 Repeat 999999 Usage Used Used Must use

13

For internal use only

03/11/04

Functional Acknowledgment - 997

AK2 Transaction Set Response


Header
User Option (Usage): Used To start acknowledgment of a single transaction set

Pos: 030 Max: 1 Heading - Optional Loop: AK2 Elements: 2

Element Summary:
Ref AK201 Id 143 Element Name Transaction Set Identifier Code Description: Code uniquely identifying a Transaction Set All valid standard codes are used. 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 Req M Type ID Min/Max 3/3 Usage Must use

AK202

329

AN

4/9

Must use

Semantics:
1. AK201 is the transaction set ID found in the ST segment (ST01) in the transaction set being acknowledged. 2. AK202 is the transaction set control number found in the ST segment in the transaction set being acknowledged.

14

For internal use only

03/11/04

Functional Acknowledgment - 997

Loop AK3

Pos: 040

Repeat: 999999

Optional Elements: Loop: AK3 N/A To report errors in a data segment and identify the location of the data segment

Loop Summary:
Pos 040 050 Id AK3 AK4 Segment Name Data Segment Note Data Element Note Req O O Max Use 1 99 Repeat Usage Used Used

15

For internal use only

03/11/04

Functional Acknowledgment - 997

AK3 Data Segment Note


User Option (Usage): Used To report errors in a data segment and identify the location of the data segment

Pos: 040 Max: 1 Heading - Optional Loop: AK3 Elements: 4

Element Summary:
Ref AK301 Id 721 Element Name Segment ID Code Description: Code defining the segment ID of the data segment in error (See Appendix A - Number 77) Segment Position in Transaction Set Description: The numerical count position of this data segment from the start of the transaction set: the transaction set header is count position 1 Loop Identifier Code Description: The loop ID number given on the transaction set diagram is the value for this data element in segments LS and LE Segment Syntax Error Code Description: Code indicating error found based on the syntax editing of a segment All valid standard codes are used. Req M Type ID Min/Max 2/3 Usage Must use

AK302

719

N0

1/6

Must use

AK303

447

AN

1/6

Used

AK304

720

ID

1/3

Used

16

For internal use only

03/11/04

Functional Acknowledgment - 997

AK4 Data Element Note


User Option (Usage): Used

Pos: 050 Max: 99 Heading - Optional Loop: AK3 Elements: 4

To report errors in a data element or composite data structure and identify the location of the data element

Element Summary:
Ref AK401 Id C030 Element Name Position in Segment Description: Code indicating the relative position of a simple data element, or the relative position of a composite data structure combined with the relative position of the component data element within the composite data structure, in error; the count starts with 1 for the simple data element or composite data structure immediately following the segment ID Element Position in Segment Description: This is used to indicate the relative position of a simple data element, or the relative position of a composite data structure with the relative position of the component within the composite data structure, in error; in the data segment the count starts with 1 for the simple data element or composite data structure immediately following the segment ID Component Data Element Position in Composite Description: To identify the component data element position within the composite that is in error Data Element Reference Number Description: Reference number used to locate the data element in the Data Element Dictionary Data Element Syntax Error Code Description: Code indicating the error found after syntax edits of a data element All valid standard codes are used. Copy of Bad Data Element Description: This is a copy of the data element in error Req M Type Comp Min/Max Usage Must use

722

N0

1/2

Must use

1528

N0

1/2

Used

AK402

725

N0

1/4

Used

AK403

723

ID

1/3

Must use

AK404

724

AN

1/99

Used

Semantics:
1. In no case shall a value be used for AK404 that would generate a syntax error, e.g., an invalid character.

17

For internal use only

03/11/04

Functional Acknowledgment - 997

AK5 Transaction Set Response


Trailer
User Option (Usage): Must use To acknowledge acceptance or rejection and report errors in a transaction set

Pos: 060 Max: 1 Heading - Mandatory Loop: AK2 Elements: 6

Element Summary:
Ref AK501 Id 717 Element Name Transaction Set Acknowledgment Code Description: Code indicating accept or reject condition based on the syntax editing of the transaction set All valid standard codes are used. Transaction Set Syntax Error Code Description: Code indicating error found based on the syntax editing of a transaction set All valid standard codes are used. Transaction Set Syntax Error Code Description: Code indicating error found based on the syntax editing of a transaction set All valid standard codes are used. Transaction Set Syntax Error Code Description: Code indicating error found based on the syntax editing of a transaction set All valid standard codes are used. Transaction Set Syntax Error Code Description: Code indicating error found based on the syntax editing of a transaction set All valid standard codes are used. Transaction Set Syntax Error Code Description: Code indicating error found based on the syntax editing of a transaction set All valid standard codes are used. Req M Type ID Min/Max 1/1 Usage Must use

AK502

718

ID

1/3

Used

AK503

718

ID

1/3

Used

AK504

718

ID

1/3

Used

AK505

718

ID

1/3

Used

AK506

718

ID

1/3

Used

18

For internal use only

03/11/04

Functional Acknowledgment - 997

AK9 Functional Group Response


Trailer
User Option (Usage): Must use

Pos: 070 Max: 1 Heading - Mandatory Loop: N/A Elements: 9

To acknowledge acceptance or rejection of a functional group and report the number of included transaction sets from the original trailer, the accepted sets, and the received sets in this functional group

Element Summary:
Ref AK901 Id 715 Element Name Functional Group Acknowledge Code Description: Code indicating accept or reject condition based on the syntax editing of the functional group All valid standard codes are used. Number of Transaction Sets Included Description: Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element Number of Received Transaction Sets Description: Number of Transaction Sets received Number of Accepted Transaction Sets Description: Number of accepted Transaction Sets in a Functional Group Functional Group Syntax Error Code Description: Code indicating error found based on the syntax editing of the functional group header and/or trailer All valid standard codes are used. Functional Group Syntax Error Code Description: Code indicating error found based on the syntax editing of the functional group header and/or trailer All valid standard codes are used. Functional Group Syntax Error Code Description: Code indicating error found based on the syntax editing of the functional group header and/or trailer All valid standard codes are used. Functional Group Syntax Error Code Description: Code indicating error found based on the syntax editing of the functional group header and/or trailer All valid standard codes are used. Functional Group Syntax Error Code Description: Code indicating error found based on the syntax editing of the functional group header and/or trailer All valid standard codes are used. Req M Type ID Min/Max 1/1 Usage Must use

AK902

97

N0

1/6

Must use

AK903

123

N0

1/6

Must use

AK904

N0

1/6

Must use

AK905

716

ID

1/3

Used

AK906

716

ID

1/3

Used

AK907

716

ID

1/3

Used

AK908

716

ID

1/3

Used

AK909

716

ID

1/3

Used

19

For internal use only

03/11/04

Functional Acknowledgment - 997

Comments:
1. If AK901 contains the value "A" or "E", then the transmitted functional group is accepted.

20

For internal use only

03/11/04

Functional Acknowledgment - 997

SE

Transaction Set Trailer

Pos: 080 Max: 1 Heading - Mandatory Loop: N/A Elements: 2

User Option (Usage): Must use To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Element Summary:
Ref SE01 Id 96 Element Name Number of Included Segments Description: Total number of segments included in a transaction set including ST and SE segments 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 Req M Type N0 Min/Max 1/10 Usage Must use

SE02

329

AN

4/9

Must use

Comments:
1. SE is the last segment of each transaction set.

21

For internal use only

03/11/04

Functional Acknowledgment - 997

GE

Functional Group Trailer

Pos: Max: 1 Not Defined - Mandatory Loop: N/A Elements: 2

User Option (Usage): Must use To indicate the end of a functional group and to provide control information

Element Summary:
Ref GE01 Id 97 Element Name Number of Transaction Sets Included Description: Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element Group Control Number Description: Assigned number originated and maintained by the sender Req M Type N0 Min/Max 1/6 Usage Must use

GE02

28

N0

1/9

Must use

Semantics:
1. 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:
1. 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.

22

For internal use only

03/11/04

Functional Acknowledgment - 997

IEA

Interchange Control Trailer

Pos: Max: 1 Not Defined - Mandatory Loop: N/A Elements: 2

User Option (Usage): Must use To define the end of an interchange of zero or more functional groups and interchange-related control segments

Element Summary:
Ref IEA01 Id I16 Element Name Number of Included Functional Groups Description: A count of the number of functional groups included in an interchange Interchange Control Number Description: A control number assigned by the interchange sender Req M Type N0 Min/Max 1/5 Usage Must use

IEA02

I12

N0

9/9

Must use

23

For internal use only

Vous aimerez peut-être aussi