Sanmina: Version: D97A
Sanmina: Version: D97A
VERSION: D97A
Segments:
Pos Tag Segment Name EDIFACT Repetition Notes Sanmina
Required Required
UNB INTERCHANGE HEADER M 1 Must use
Heading:
Pos Tag Segment Name EDIFACT Repetition Notes Sanmina
Required Required
0010 UNH MESSAGE HEADER M 1 Must use
0020 BGM BEGINNING OF MESSAGE M 1 Must use
0030 DTM DATE/TIME/PERIOD M 10 Must use
0050 Segment Group 1 M 10 Must use
0060 RFF REFERENCE M 1 Must use
0080 Segment Group 2 C 10 Must use
0090 DOC DOCUMENT/MESSAGE DETAILS M 1 Must use
0130 Segment Group 4 M 10 Must use
0140 NAD NAME AND ADDRESS M 1 Must use
Detail:
Pos Tag Segment Name EDIFACT Repetition Notes Sanmina
Required Required
0470 Segment Group 16 C 9999 Must use
Summary:
Pos Tag Segment Name EDIFACT Repetition Notes Sanmina
Required Required
1000 UNT MESSAGE TRAILER M 1 Must use
Segments:
Pos Tag Segment Name EDIFACT Repetition Notes Sanmina
Required Required
UNZ INTERCHANGE TRAILER M 1 Must use
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
UNB010 S001 SYNTAX IDENTIFIER M Comp
0001 Syntax identifier M A 4/4
Code Name
UNOA UN/ECE level A
0002 Syntax version number M N 1/1
Code Name
1 Version 1
UNB020 S002 INTERCHANGE SENDER M Comp
0004 Sender identification AN 1/35
Sanmina’s mailbox details are:
Production:- SANMINACORP
Test:- SANMINACORT
0007 Partner identification code qualifier C AN 1/4
Sanmina’s qualifier details are:
Production:- 01
Test:- ZZ
UNB030 S003 INTERCHANGE RECIPIENT M Comp
0010 Recipient identification M AN 1/35
Supplier’s UNB receiver ID
0007 Partner identification code qualifier C AN 1/4
Supplier’s UNB receiver ID qualifier
0014 Routing Address C AN 1/14
Routing address of supplier – if applicable
UNB040 S004 DATE/TIME OF PREPARATION M Comp
0017 Date of preparation M N 6/6
Date when the EDI translator generated the RECADV message.
Date format = yymmdd
Date is always in Pacific Time
0019 Time of preparation M N 4/4
Time when the EDI translator generated the RECADV message.
Time format = hhmm
Time is always in Greenwich Mean Time (GM)
UNB050 0020 INTERCHANGE CONTROL REFERENCE M AN 1/14
Sanmina sequentially generated UNB control number.
UNB070 0026 APPLICATION REFERENCE C AN 1/14
UNB110 0035 TEST INDICATOR C N 1
Indication that the interchange is a test.
Set to 1 if the interchange is a test. Otherwise not used.
Segment Example:
UNB+UNOA:1+SANMINACORP:01+SupplierID:SupplierQualifier:SupplierRouting Address+020716:0935+1+
+RECADV'
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
UNH010 0062 MESSAGE REFERENCE NUMBER M AN 1/14
Sanmina sequentially generated message control number.
Must match the UNT020 control number.
Code Name
D Draft
Code
EDDF04
Segment Example:
UNH+1+RECADV:D:97A:UN:EDD04'
To indicate the type and function of a message and to transmit the identifying number.
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
BGM010 C002 DOCUMENT/MESSAGE NAME C Comp
Segment Example:
Isiii
BGM+632+201602161461768944347+9'
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
DTM010 C507 DATE/TIME/PERIOD M Comp
Segment Example:
DTM+137:20160217:102'
Segment Summary:
Pos Tag Segment Name Sanmina Required Repetition Notes
0060 RFF REFERENCE M 1
To specify a reference.
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
RFF010 C506 REFERENCE M Comp
Segment Example:
RFF+PK:1234567890'
RFF+AWB:123456'(Optional)
Segment Summary:
Pos Tag Segment Name Sanmina Required Repetition Notes
0090 DOC DOCUMENT/MESSAGE DETAILS C 1
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
DOC01 C002 DOCUMENT/MESSAGE NAME M Comp
Segment Example:
DOC+632'
Segment Summary:
Pos Tag Segment Name Sanmina Required Repetition Notes
0140 NAD NAME AND ADDRESS M 1 yes
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
NAD010 3035 Party Qualifier M AN 1/3
Code Name
SU Supplier
ST Ship to
Notes:
The following URL is where you will find a complete list of ship-to/bill-to codes that may be used by
http://www.sanmina.com/partners-access/partner-programs/index.php
Scroll to the bottom of the screen and look for PDF document Ship to Address Codes.
Segment Example:
NAD+SU+XYZ001::92++XYZ Corporation'
NAD+ST+34510::92++ENG - Tatabanya Plant, HUN Plant 1'
Segment Summary:
Pos Tag Segment Name Sanmina Required Repetition Notes
0480 CPS CONSIGNMENT PACKING SEQUENCE M 1
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
CPS010 7164 HIERARCHICAL ID. NUMBER M AN 1/12
A unique number assigned by the sender to identify a level within a
hierarchical structure.
Segment Example:
CPS+1'
Segment Summary:
Pos Tag Segment Name Sanmina Required Repetition Notes
0640 LIN LINE ITEM M 1
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
LIN030 C212 ITEM NUMBER IDENTIFICATION M Comp
Segment Example:
LIN+++12345678:BP'
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
PIA010 4347 PRODUCT ID. FUNCTION QUALIFIER M AN 1/3
Code Name
1 Additional Identification
PIA020 C212 ITEM NUMBER IDENTIFICATION M Comp
Segment Example:
PIA+1+987ZYX00:VP'
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
QTY010 C186 QUANTITY DETAILS M Comp
Code Name
48 Received quantity
Segment Example:
QTY+48:9999:EA'
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
DTM010 C507 DATE/TIME/PERIOD M Comp
Segment Example:
DTM+310:20160224:102'
DTM+8:144044:402'
Element Summary:
Pos Tag Segment Name Sanmina Required Repetition Notes
0850 RFF REFERENCE M 1
A segment for referencing documents relating to the line item specified by the LIN or IMD segment.
Element Summary:
Segment Example:
RFF+ON:55000099:1:1'
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
UNT010 0074 NUMBER OF SEGMENTS IN A MESSAGE M N 1/6
Generated automatically, this is the count of the number of segments in
the message (including UNH through UNT segments)
Segment Example:
UNT+16+1'
Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
UNZ010 0036 INTERCHANGE CONTROL COUNT M N 1/6
This is the number of messages (i.e. UNH segments) in the current
envelope.
Segment Example:
UNZ+1+1'