XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Nina JacksonSubject: Catalyst EDI Mapping
Author: Nina Jackson
Date: 04 May 2007 04:24 PM
I've created an outbound 856 map using Inovis' Catalyst mapper. My problem is that in the source doucment I have carton records that have lot nbrs, for one line item there are multiple carton's some with the same lot nbrs. I want to write a REF segment only for unique lot nbrs, example below has the part # 7T4E 6C524 DA with 32 cartons, I want an REF segment for each unique lot number, in this example I should have 3 REF segment (for lots 7425, 26 and 28). Currently it creates a segment for each carton, I've tried the find formula, the if, I even did a cardinality link to the pallet record, in doing so it only creates one segment per pallet. I thought about using Java Script to read the source file and extract only the cartons with unique lot nbrs, but my java scripting skills are next to none.
Could someone please help me.

L001|702295|1330|BF6PA|7T4E 6C524 DA|2100|0|111111|||VCT ASSY|9039023|

P001|702295|1330|BF6PA|32|32||AMMO4|9038938||7T4E 6C524 DA||2100|

C001|702295|1330|BF6PA|1447766|7425|3|

C001|702295|1330|BF6PA|1447767|7425|3|

C001|702295|1330|BF6PA|1447768|7425|3|

C001|702295|1330|BF6PA|1447769|7425|3|

C001|702295|1330|BF6PA|1447770|7425|3|

C001|702295|1330|BF6PA|1447771|7425|3|

C001|702295|1330|BF6PA|1447772|7426|3|

C001|702295|1330|BF6PA|1447773|7426|3|

C001|702295|1330|BF6PA|1447774|7428|3|

C001|702295|1330|BF6PA|1447775|7425|3|


Document1330.20070503-134304.asn
FLAT FILE FOR ASN

Posttop
Tony LavinioSubject: Catalyst EDI Mapping
Author: Tony Lavinio
Date: 07 May 2007 12:18 PM
How does this relate to Stylus Studio or DataDirect XML Converters?

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.