0% found this document useful (0 votes)
51 views24 pages

Sanmina: Version: D97A

This document provides guidelines for sending a receiving advice message (RECADV) using EDI. It outlines the required segments and elements for the interchange header (UNB), message header (UNH), and details necessary to report the physical receipt of goods, including the consignment packing sequence (CPS), line item (LIN), and quantity (QTY) segments. Conformance with the specified syntax, segments, and data is mandatory to successfully exchange receiving advice information between a trading partner and Sanmina.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views24 pages

Sanmina: Version: D97A

This document provides guidelines for sending a receiving advice message (RECADV) using EDI. It outlines the required segments and elements for the interchange header (UNB), message header (UNH), and details necessary to report the physical receipt of goods, including the consignment packing sequence (CPS), line item (LIN), and quantity (QTY) segments. Conformance with the specified syntax, segments, and data is mandatory to successfully exchange receiving advice information between a trading partner and Sanmina.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

SANMINA

EDI OUTBOUND RECADV MESSAGE

VERSION: D97A

Author: SANMINA EDI Group


Trading Partner: All EDI Suppliers
Created: August 12, 2016
Version: 2

Receiving advice message - RECADV 1 Sanmina EDI Guidelines/Confidential


RECADV Receiving advice message

This message is used to report the physical receipt of goods.

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

0480 CPS CONSIGNMENT PACKING SEQUENCE M 1 Must use


0630 Segment Group 22 M 9999 Must use
0640 LIN LINE ITEM M 1 Must use
0650 PIA ADDITIONAL PRODUCT ID C 10 Must use
0670 QTY QUANTITY C 10 Must use
0670 DTM DATE/TIME/PERIOD C 5 Must use
0840 Segment Group 28 C 10 Must use
0850 RFF REFERENCE M 1 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

Receiving advice message - RECADV 2 Sanmina EDI Guidelines/Confidential


Pos: Max: 1
UNB INTERCHANGE HEADER - Mandatory
Group: N/A Elements: 7

To start, identify and specify an interchange.

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'

Receiving advice message - RECADV 3 Sanmina EDI Guidelines/Confidential


Pos: 0010 Max: 1
UNH MESSAGE HEADER Heading - Mandatory
Group: N/A Elements: 2

To head, identify and specify a message.

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.

UNH020 S009 MESSAGE IDENTIFIER M Comp

0065 Message type identifier M AN 1/6


Code Name
RECADV Receiving advice message

0052 Message type version number M AN 1/3

Code Name
D Draft

0054 Message type release number M AN 1/3


Code Name
97A Release 97A

0051 Controlling agency M AN 1/2


Code Name
UN UN/ECE/TRADE/WP.4,

0054 Association assigned code O AN 1//6

Code
EDDF04

Segment Example:
UNH+1+RECADV:D:97A:UN:EDD04'

Receiving advice message - RECADV 4 Sanmina EDI Guidelines/Confidential


Pos: 0020 Max: 1
BGM BEGINNING OF MESSAGE Heading - Mandatory
Group: N/A Elements: 3

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

1001 Document/message name, coded C AN 1/3


Code Name
632 Goods Receipt
BGM020 C106 DOCUMENT/MESSAGE IDENTIFICATION C Comp

1004 Document/message number M AN 1/35


Unique ID assigned by Sender

BGM030 1225 MESSAGE FUNCTION, CODED M AN 1/3


Code Name
9 Original Receipt Advice

Segment Example:
Isiii
BGM+632+201602161461768944347+9'

Receiving advice message - RECADV 5 Sanmina EDI Guidelines/Confidential


Pos: 0030 Max: 10
DTM DATE/TIME/PERIOD Heading - Mandatory
Group: N/A Elements: 1

To specify date, and/or time, or period.

Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
DTM010 C507 DATE/TIME/PERIOD M Comp

2005 Date/time/period qualifier M AN 1/3


Code Name
137 Document/message date

2380 Date/time/period M AN 1/35


Date/time when a document/message is issued. This may include
authentication.

2379 Date/time/period format qualifier M AN 1/3


Format of the DTM010:2380 date
Code Name
102 CCYYMMDD

Segment Example:
DTM+137:20160217:102'

Receiving advice message - RECADV 6 Sanmina EDI Guidelines/Confidential


Pos: 0050 Max: 10
Segment Group 1 Heading - Mandatory
Group: Group 1 Elements: NA

Segment Summary:
Pos Tag Segment Name Sanmina Required Repetition Notes
0060 RFF REFERENCE M 1

Receiving advice message - RECADV 7 Sanmina EDI Guidelines/Confidential


Pos: 0060 Max: 1
RFF REFERENCE Heading - Mandatory
Group: Group 1 Elements: 1

To specify a reference.

Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
RFF010 C506 REFERENCE M Comp

1153 Reference qualifier M AN 1/3


Code Name
PK Packing list number
AWB Air waybill number (Optional)
1154 Reference number M AN 1/35
Packing slip number
Air waybill number (Optional) C AN 1/35

Segment Example:
RFF+PK:1234567890'
RFF+AWB:123456'(Optional)

Receiving advice message - RECADV 8 Sanmina EDI Guidelines/Confidential


Pos: 0080 Max: 10
Segment Group 2 Heading - Conditional
Group: Group 2 Elements: NA

Segment Summary:
Pos Tag Segment Name Sanmina Required Repetition Notes
0090 DOC DOCUMENT/MESSAGE DETAILS C 1

Receiving advice message - RECADV 9 Sanmina EDI Guidelines/Confidential


Pos: 0090 Max: 1
DOC DOCUMENT/MESSAGE Heading - Mandatory
Group: Group 2 Elements: 1
DETAILS
A segment identifying documents where a discrepancy occurs

Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
DOC01 C002 DOCUMENT/MESSAGE NAME M Comp

1001 Document/message name, coded M AN 1/3


Code Name
632 Goods receipt

Segment Example:
DOC+632'

Receiving advice message - RECADV 10 Sanmina EDI Guidelines/Confidential


Pos: 0130 Max: 10
Segment Group 4 Heading - Mandatory
Group: Group 4 Elements: NA

Segment Summary:
Pos Tag Segment Name Sanmina Required Repetition Notes
0140 NAD NAME AND ADDRESS M 1 yes

Receiving advice message - RECADV 11 Sanmina EDI Guidelines/Confidential


Pos: 0140 Max: 1
NAD NAME AND ADDRESS Heading - Mandatory
Group: Group 4 Elements: 2

To specify the name/address and their related function.

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

NAD020 C082 PARTY IDENTIFICATION DETAILS M Comp

3039 Party id. identification M AN 1/35


Please see note below regarding a list of bill-to and ship-to codes.

3055 Code list responsible agency, coded M AN 1/3


Code Name
92 Assigned by Buyer or Buyer's agent

NAD040 C080 Party name M Comp


3036 Party name M AN 1/35
Name of a party involved in a transaction.

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'

Receiving advice message - RECADV 12 Sanmina EDI Guidelines/Confidential


Pos: 0470 Max: 9999
Segment Group 16 Detail - Conditional
Group: Group 16 Elements: NA

Segment Summary:
Pos Tag Segment Name Sanmina Required Repetition Notes
0480 CPS CONSIGNMENT PACKING SEQUENCE M 1

0630 Segment Group 22 M 9999

Receiving advice message - RECADV 13 Sanmina EDI Guidelines/Confidential


Pos: 0480 Max: 1
CPS CONSIGNMENT PACKING Detail - Mandatory
Group: Group 16 Elements: 1
SEQUENCE
To identify the sequence in which physical packing is presented in the consignment, and optionally to identify the
hierarchical relationship between packing layers.

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'

Receiving advice message - RECADV 14 Sanmina EDI Guidelines/Confidential


Pos: 0630 Max: 9999
Segment Group 22 Detail - Conditional
Group: Group 22 Elements: NA

Segment Summary:
Pos Tag Segment Name Sanmina Required Repetition Notes
0640 LIN LINE ITEM M 1

0650 PIA ADDITIONAL PRODUCT ID M 10

0670 QTY QUANTITY M 10

0690 DTM DATE/TIME/PERIOD M 5

Receiving advice message - RECADV 15 Sanmina EDI Guidelines/Confidential


Pos: 0640 Max: 1
LIN LINE ITEM Detail - Mandatory
Group: Group 22 Elements: 1

To identify a line item and configuration.

Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
LIN030 C212 ITEM NUMBER IDENTIFICATION M Comp

7140 Item number M AN 1/35


Sanmina’s orderable part number

7143 Item number type, coded M AN 1/3


Code Name
BP Buyer's part number

Segment Example:
LIN+++12345678:BP'

Receiving advice message - RECADV 16 Sanmina EDI Guidelines/Confidential


Pos: 0650 Max: 10
PIA ADDITIONAL PRODUCT ID Detail - Conditional
Group: Group 22 Elements: 2

To specify additional or substitutional item identification codes.

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

7140 Item number M AN 1/35


Supplier’s part number

7143 Item number type, coded M AN 1/3


Code Name
VP Vendor's (MFG) part number

Segment Example:
PIA+1+987ZYX00:VP'

Receiving advice message - RECADV 17 Sanmina EDI Guidelines/Confidential


Pos: 0670 Max: 10
QTY QUANTITY Detail - Conditional
Group: Group 22 Elements: 1

To specify a pertinent quantity.

Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
QTY010 C186 QUANTITY DETAILS M Comp

6063 Quantity qualifier M AN 1/3

Code Name
48 Received quantity

6060 Quantity M N 1/15


Total line item quantity

6411 Measure unit qualifier M AN 1/3


Unit of measure for the quantity in QTY010:6060

Segment Example:
QTY+48:9999:EA'

Receiving advice message - RECADV 18 Sanmina EDI Guidelines/Confidential


PPos: 0670 Max: 5
DTM DATE/TIME/PERIOD Detail - Conditional
Group: Group 22 Elements: 1

To specify date, and/or time, or period.

Element Summary:
Ref Tag Element Name Sanmina Type Min/Max
Required
DTM010 C507 DATE/TIME/PERIOD M Comp

2005 Date/time/period qualifier M AN 1/3


Code Name
310 Received Date
8 Received Time

2380 Date/time/period M AN 1/35


Date/time Received Date and Time

2379 Date/time/period format qualifier M AN 1/3


Format of the DTM010:2380 date
Code Name
102 CCYYMMDD
402 HHMMSS

Segment Example:
DTM+310:20160224:102'
DTM+8:144044:402'

Receiving advice message - RECADV 19 Sanmina EDI Guidelines/Confidential


Pos: 0840 Max: 10
Segment Group 28 Detail - Conditional
Group: Group 28 Elements: NA

Element Summary:
Pos Tag Segment Name Sanmina Required Repetition Notes
0850 RFF REFERENCE M 1

Receiving advice message - RECADV 20 Sanmina EDI Guidelines/Confidential


Pos: 0850 Max: 1
RFF REFERENCE Detail - Mandatory
Group: Group 28 Elements: 1

A segment for referencing documents relating to the line item specified by the LIN or IMD segment.
Element Summary:

Ref Tag Element Name Sanmina Type Min/Max


Required
RFF010 C506 REFERENCE M Comp

1153 Reference qualifier M AN 1/3


Code Name
ON Order number (purchase)

1154 Reference number M AN 1/35


Sanmina's Purchase Order Number

1156 Line Number C AN 1/6


PO Line Number
4000 Reference version number C AN 1/35
To uniquely identify a reference by its revision number

Segment Example:
RFF+ON:55000099:1:1'

Receiving advice message - RECADV 21 Sanmina EDI Guidelines/Confidential


Pos: 1000 Max: 1
UNT MESSAGE TRAILER Detail - Mandatory
Group: N/A Elements: 2

To end and check the completeness of a message.

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)

UNT020 0062 MESSAGE REFERENCE NUMBER M AN 1/14


Must match the UNH control number.

Segment Example:
UNT+16+1'

Receiving advice message - RECADV 22 Sanmina EDI Guidelines/Confidential


Pos: Max: 1
UNZ INTERCHANGE TRAILER Group: N/A
- Mandatory
Elements: 2

To end and check the completeness of an interchange.

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.

UNZ020 0020 INTERCHANGE CONTROL REFERENCE M AN 1/14


Must match the ICN from the UNB segment at the start of the envelope.

Segment Example:

UNZ+1+1'

Receiving advice message - RECADV 23 Sanmina EDI Guidelines/Confidential


Example RECADV Data File:
UNB+UNOA:1+SANMINACORP:01+SupplierID:SupplierQualifier:SupplierRouting Address+020716:0935+1+
+RECADV'
UNH+1+RECADV:D:97A:UN':EDDF04
BGM+632+201604271461768944347+9'
DTM+137:20160217:102'
RFF+PK:1234567890'
RFF+AWB:123456'
DOC+632'
NAD+SU+XYZ001::92++XYZ Corporation'
NAD+ST+34510::92++ENG - Tatabanya Plant, HUN Plant 1'
CPS+1'
LIN+++12345678:BP'
PIA+1+987ZYX00:VP'
QTY+48:9999:EA'
DTM+310:20160224:102'
DTM+8:144044:402'
RFF+ON:55000099:1'
UNT+16+1'
UNZ+1+1'

Receiving advice message - RECADV 24 Sanmina EDI Guidelines/Confidential

You might also like