02-08-04 01:43 PM
On Fri, 16 Jan 2004 06:41:44 -0800, "Arno"
<anonymous@discussions.microsoft.com> wrote:
You can use a preprocessor to look at the document before it is
returned to BizTalk. If there is a blank line, then return some sort
of errordocument that BizTalk will route to the sender. If the
dopcument does not contain blank lines, then just return the document
to BizTalk and let the mapper do its work.
>I have set-up BTS 2002 to receive orders (attachments
>from e-mails) and to transform the incoming file into a
>another one (csv)adapted to our SOE system, using a map.
>Everything works fine, the map is alright.
>In my map, it looks up in a DB to convert incoming codes
>into our codes and this works fine. If it cannot find a
>code, it will still output the csv file with a blank.
>Question:
>Is-there a way that during the mapping process, if a code
>cannot be found, it stops the mapping process and do not
>output any csv file? Basically, if an order has got 100
>lines and only one line ahs got a blank code, I want to
>be able to reject the all order instead of processing the
>99 others...
>
>Thank you for your help.
--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server
[ Post a follow-up to this message ]
|