Flatfile Schema

amang
Member Posts: 14
Hello,
again a problem with the Biztalk 2004 (but should be the same for 2002)
I must map the xml-files from Navision to a flatfile with a format like this:
100;220;4304457010138;4304457000009;
120;220;Companyaddress;4304457000009;
120;220;Customeraddress;4304457000009;
200;220;10000;Item 1;
200;220;20000;Item 2;
200;220;30000;Item 3;
The first number in the lines identifies the "line type" For example, lines with 200 are Sales Lines, 120 are address lines, 100 is the header. The problem: Some Lines are optional. For example the file could also look like this:
100;220;4304457010138;4304457000009;
200;220;10000;Item 1;
200;220;20000;Item 2;
200;220;30000;Item 3;
(no lines with identifier 120)
Is it possible to create a schema for this at all?
thanks
again a problem with the Biztalk 2004 (but should be the same for 2002)
I must map the xml-files from Navision to a flatfile with a format like this:
100;220;4304457010138;4304457000009;
120;220;Companyaddress;4304457000009;
120;220;Customeraddress;4304457000009;
200;220;10000;Item 1;
200;220;20000;Item 2;
200;220;30000;Item 3;
The first number in the lines identifies the "line type" For example, lines with 200 are Sales Lines, 120 are address lines, 100 is the header. The problem: Some Lines are optional. For example the file could also look like this:
100;220;4304457010138;4304457000009;
200;220;10000;Item 1;
200;220;20000;Item 2;
200;220;30000;Item 3;
(no lines with identifier 120)
Is it possible to create a schema for this at all?
thanks
0
Comments
-
try this:
http://www.winterdom.com/dev/bts/BTSFFSchemaTut1.html
It describes pulling in a flat file rather than describing creating one - but I think it'll help.0 -
thank you, the mapping from a xml- to a flatfile works now.
The remaining problem is, that the incoming flatfiles aren´t always send with the same linetypes to biztalk (like described in the first post). Some lines are optional.
But i will try some more options, i am testing at the moment.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions