[EDI-L Mailing List Archive Home] [Message List] [Reply To This Message]

very starange problem with gentran extended rule

From: Dnyan Bhar <dnyan_edi@...>
Date: Sat Jan 17, 2004  3:25 am
Subject: very starange problem with gentran extended rule
Hi
I have DTM segment in 850 map which is repating 10 times.
I have to map it to two different segment in IDOC based on some qualifier.
E2EDK03 had Date element and Z2EDK03 has Date element .
So I creare two temporary segment on Input side.
TempE2EDK03 with Temp Q1,TempE2EDK03Date (of datatype string has IDOC had
datatype string)
and TempZ2EDK03 with aTempZ2EDK03Date(of datatype string has IDOC had datatype
string)
I wrote simple extend rule like.
If Qualifier = "001" Then
Begin
TempQ1 = "090";
strdate(#Date,"%Y%m%d",$TempE2EDK03.#TempE2EDK03Date);
end
else if qualifier ="002"
begin
TempQ2 = "091";
strdate(Date,"%Y%m%d", $TempZ2EDK03.#TempZ2EDK03Date);
end

I wrote above rule ON End of DTM .
It rwturns only one record (for qualifier 090).
If I map directly it return three records each.
I am not able to where is mistake.
I am using Gentran Integration Suite 3.0.
Please let me know if any body aware abt soln of this problem.


Thanks,
Danny





---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

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




 
EDI to XML Mapping for EDIFACT/X12 Convert EDIFACT/X12 Schemas to XML Schema Legacy Data Conversion Tools Access Relational Data as XML Visual XSLT and XQuery Mapping Tools Simplify EDI Data Integration with Stylus Studio XML Enterprise Suite - Free Download!
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.