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
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Posttop
Matt HandSubject: Tradacoms Invoice 9 Batch Query ILD / ODD Segments
Author: Matt Hand
Date: 20 Dec 2010 09:22 AM
I am experiencing problems using XSLT map to output a Tradacoms Invoice 9 document, the issue is......

We will be receiving a multi invoice xml document that needs to be mapped into the tradacoms invoice 9 batch but the line numbers are automatically returning to 1 even though the ODD segment should start at one and be incremented after each loop this is also happening on the ILD segments, we are expecting the folowing:

ODD=1
ILD=1+1
ILD=1+2
ILD=1+3
ODD=2
ILD=2+1
ILD=2+2
and so on

Actual output below

IRF=FFSI-00000324+101215+101215'
ODD=1+4850349362:::+SALESSHIP00110:'
ILD=1+1+5000000000001:A8301:+++6+21::+127500+2677500+Z+0000+++'
ILD=1+2+5000000000002:A8551:+++6+17::+232500+3952500+Z+0000+++'
ILD=1+3+5000000000003:A8305:+++6+36::+147000+5292000+Z+0000+++'
ILD=1+4+5000000000004:A8306:+++6+16::+147000+2352000+Z+0000+++' ILD=1+5+5000000000005:A8552:+++6+11::+138000+1518000+Z+0000+++' ILD=1+6+5000000000009:A9999:+++2+3::+999900+2999700+S+17500+++' STL=1+Z+0000+5+157920+++++157920++157920+000+157920+157920'
STL=2+S+17500+1+29997+++++29997++29997+5249+35246+35246'
TLR=2+187917+++++187917++187917+5249+193166+193166'
MTR=14'
MHD=3+INVOIC:9'
CLO=Record
IRF=FFSI-00000325+101215+101215'
ODD=1+0250395186:::+SALESSHIP00098:'
ILD=1+1+5000000000001:A8301:+++6+33::+127500+4207500+Z+0000+++' ILD=1+2+5000000000002:A8551:+++6+14::+232500+3255000+Z+0000+++' ILD=1+3+5000000000003:A8305:+++6+54::+147000+7938000+Z+0000+++' ILD=1+4+5000000000004:A8306:+++6+13::+147000+1911000+Z+0000+++' ILD=1+5+5000000000005:A8552:+++6+10::+138000+1380000+Z+0000+++' STL=1+Z+0000+5+186915+++++186915++186915+000+186915+186915'
TLR=1+186915+++++186915++186915+000+186915+186915'
MTR=12'
MHD=4+INVOIC:9'

Regards


UnknownNoname(55).

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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.