Samantha,

 

Thank you for your detailed explanation of the solution to my question.   

 

Your answer solved my problem and allowed me to understand the pre-session 
process better. 

 

Thanks again.

 

Bob S.





 

---------[ Received Mail Content ]----------
Subject : Re: [EDI-L] Extended rules - Gentran Server Windows v5.1
Date : Sat, 15 Nov 2008 09:01:51 -0500
>From : Samantha Scott <[EMAIL PROTECTED]>
To : "Bob S" <[EMAIL PROTECTED]>
Cc : <[email protected]>, <[EMAIL PROTECTED]>

If the data you want to save is on the header of the left side 
(inbound) of the map the perhaps the easier thing to do is save it to 
a variable. Logically, the date on the header applies to every line 
underneath. Start at the top of the map and go to edit, session 
rules. Pre-session, define your variable "datetime mydate;" or string 
if that's how you want it. Then in your DTM group when you have found 
the date you want to save use an extended rule to save that field 
contents to your date variable. mydate = #field; From there on out 
in the map you may use the variable mydate wherever you want and not 
have to worry about indexes and groups and what not. That, of course, 
is only because your particular example is easy and your date is right 
on the header. 

On Nov 14, 2008, at 4:07 PM, Bob S wrote: 

> 
> 
> 
> Hello all, 
> 
> I have an inbound DELJIT, D97A with 3 DTM segments in the header. I 
> need to copy the second DTM (DTM:8) date value(element 2380) to the 
> DTM:6 segment which is in the QTY group which is in the LIN group in 
> the SEQ group. 
> 
> I reviewed the reference help files, and the use of indexes to 
> access groups across hierarchies. 
> 
> Frankly, I don't get it. 
> 
> How do I copy the value to where I want it? 
> 
> Thanks in advance. 
> 
> Bob 
> 
> [Non-text portions of this message have been removed] 
> 
> 
> 



[Non-text portions of this message have been removed] 



[Non-text portions of this message have been removed]


------------------------------------

...
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>

Job postings are welcome, but for job postings or requests for work: <JOBS> IS 
REQUIRED in the subject line as a prefix.Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EDI-L/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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