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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
- XQuery Help and Discussion (2017)
-> + Issue with Processing Instruct... (2)
-> + problem converting json to XML... (2)
-> + Problem base64 decoding string... (3)
-> + Problems posting multipart for... (5)
-> + trouble with download of price... (2)
-> + Problem with http-post not bei... (3)
-> + path problem, xps_file:writeAl... (9)
-> + Xquery update support? (2)
-> + problem with Stylus studio try... (5)
-> + adding dtd reference to xml ou... (4)
-> + xquery escaping ambarsand when... (3)
-> + Whitespace problem when return... (5)
-> + Problem with namespace prefix ... (5)
-> - Sending via SFTP returns unexp... (1)
-> + Query and Sftp clent (4)
-> + xquery and try - catch (3)
-> + Query + ddtek:http-post optio... (5)
-> + Example files referenced in do... (3)
-> + Automatic Error Detection and ... (3)
-> + Working with result of ddtek:h... (2)
-- [1-20] [21-40] [41-60] Next
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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?

   
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.