BizTalk Server Applications Integration - Validation of Incoming Invoice from Supplier.

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Applications Integration > May 2006 > Validation of Incoming Invoice from Supplier.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Validation of Incoming Invoice from Supplier.
amit chaudhary

2006-05-23, 1:15 pm

Hi All,


i am new to biztalk server 2004. i have to integrate the
suppliers by help of biztalk server. our client gets more then 100
invoice a day from verious supplier.
invoices come in form of xml file. by help of ftp supplier
system will upload the xml file invocie on a perticular directory in
our system.
if format of incoming invoice is not as per the schema, i have to

give an error message to
supplier system and move the invoice file in another folder for future
reference. if invoice is sucessfully proecessed in our system then i
have to give ACK to supplier system.


as per me i have to validate incoming invoice in custom
receiving pipe. if message is not
validate then i have to create a error message and send to supplier
system by help of ftp.


pls help me to develop a solution.

Jeff Lynch

2006-05-29, 5:21 pm

I would recommend using BizTalk Server 2006 since it now include a means to
route failed messages to another process. There's a great example of this in
the BTS2006 SDK included with the product.

--
Jeff Lynch
Ramblings from a [Microsoft] Connected Universe!
http://codebetter.com/blogs/jeff.lynch


"amit chaudhary" <amit1414@gmail.com> wrote in message
news:1148393580.070626.7040@u72g2000cwu.googlegroups.com...
> Hi All,
>
>
> i am new to biztalk server 2004. i have to integrate the
> suppliers by help of biztalk server. our client gets more then 100
> invoice a day from verious supplier.
> invoices come in form of xml file. by help of ftp supplier
> system will upload the xml file invocie on a perticular directory in
> our system.
> if format of incoming invoice is not as per the schema, i have to
>
> give an error message to
> supplier system and move the invoice file in another folder for future
> reference. if invoice is sucessfully proecessed in our system then i
> have to give ACK to supplier system.
>
>
> as per me i have to validate incoming invoice in custom
> receiving pipe. if message is not
> validate then i have to create a error message and send to supplier
> system by help of ftp.
>
>
> pls help me to develop a solution.
>



amit chaudhary

2006-05-29, 5:21 pm

thanks for your reply.
i can not use BTS2006 because my client is already using BTS2004 so
they will not allow us for BTS2006.
but thanks for suggestion.

amit chaudhary

2006-05-29, 5:21 pm

pls help me to find solution.

Greg Forsythe

2006-05-29, 5:21 pm

There was an Enhanced Validator pipeline component published on the
Microsoft web site under Biztalk 2004 Code Samples but I cannot find it any
more.
This provided a similar function to the Biztalk 2006 "route failed messages"
i.e caught the validation error and forwarded an error message into the
messagebox.

You can also use Xslt to provide validation inside an orchestration. You use
a custom Xslt based on the Schematron model to validate your invoice.

I have used both models, I prefer the Schematron based Xslt . This lets you
catch more than one validation error and allows context sensitive
validation.
i.e. if invoice type = "Credit Note" then OriginalInvoice must exist and
contain a value.

Greg

"amit chaudhary" <amit1414@gmail.com> wrote in message
news:1148631163.091005.16120@i40g2000cwc.googlegroups.com...
> pls help me to find solution.
>



amit chaudhary

2006-05-29, 5:21 pm

Hi Greg,

thanks for reply.

could you tell me, how can i use Xslt for validation in
orchestration. i only used Xstl for transformation.
for validation i used XSD.

there is validation shape in pipe designer but i could not understand
what is the benefit of that shape because we
can not define any procedure to execute in case of validation
fail.validation shape will validate the incoming message
but what will happened when validation fails.

again thankx for reply.

Greg Forsythe

2006-05-29, 5:21 pm

underprocessable
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com