Don't listen to him HL*1**S~ should be HL*1*0*S *1~

Just kidding Earl's example is great.

-Steve


                                                                                
                                                        
                                    "Earl Wertheimer"                 To:  
EDI-L                                                        
                                    <[EMAIL PROTECTED]>               cc:       
                                                        
                                                           Subject:   Re: 
[EDI-L] ASN logic                                             
                                    02/14/2005 02:49 PM                         
                                                        
                                                                                
                                                        
                                                                                
                                                        
                                                                                
                                                        
                                                                                
                                                        





Bob

> I'm having a problem with the layout of a text file to send to my
> trading partner. I will send one ship-from, one ship-to, one shipment
> release, one carrier, etc., but many lines. Evidently you can't loop
> the lines, you have to change the HL loop index. What I'm looking for
> is an example of an input file that I can use to feed my map, but the
> HL loop indices are not clear to me. Does anyone have an example they
> could share for such a file? I believe the first HL loop should look
> like this:      HL*1**S

It's like this:

Normally, the ASN has the following structure:  SOPI
S - Shipment, O - Order, P - Pack, I - Items.

There are variations, additions and even some very minimalistic usages out
there.

Each level points to the next lower level.
The HL_01 always increments, usually by one.  The HL_02 is the pointer.
The
HL_03 is the level.

BSN

HL*1**S
<shipment stuff here>
<like N1'SF' for ShipFrom and TD1,3,5 for Carrier stuff>
HL*2*1*O           points to the corresponding S level
<PRF DTM order stuff here>
HL*3*2*P           points to the parent O level (at HL 2)
MAN*GM*<container number>
HL*4*3*I
<1st item stuff here>
HL*5*3*I           points to the parent P level
<2nd item (if there are multiple items in the box) >
HL*6*2*P           points to the parent O
<carton stuff>
HL*7*6*I

I can send you some samples, but once you get the idea of the hierarchy of
levels (SOPI,  SOIP, whatever) you should not have any problems.

Earl Wertheimer
[EMAIL PROTECTED]
http://www.spe-edi.com



.
Please use the following Message Identifiers as your subject prefix:
<SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>
Access the list online at:  http://groups.yahoo.com/group/EDI-L

Yahoo! Groups Links














.  
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>
Access the list online at:  http://groups.yahoo.com/group/EDI-L
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to