Now that we got some AS2 action going on I needed to figure out how to handle some incoming purchase orders. With a little bit of poking around I was able to get it to go.
The first thing I needed to configure was the ‘parties’
I wanted to emulate an invoice coming in so I took the external partner and set their identifiers to match a real partner but it was really pointing my other AS2 box. Then for the server owner I set it to one of our real id’s. These Identities are not AS2 identities but are ISA (EDI x12) identities. So for example the EDI might be like
ISA*00* *00* *ZZ*666791NF *08*999485US00
you would set the server owner to ZZ 666…. and the external to 08 999…
on this screen
So now you have parties setup, but now we need to instruct BizLink what to do with the files when it gets them!
The simplest thing to do is under transports, set a file copy (upload) on your server owner, set the file path and the format of how you want the file named and you will be good to go.
That will work, but what if you want say all 810’s from a certain partner to go to a certain directory? In this case create another File Copy (Upload) rename it to say Export Walmart 810 and then set its export folder to a 810 walmart specific one. That’s all nice and dandy but what actually tells it to use that particular export? The processing rules of course!
Go ahead and click add, to add a new processing rule. We want a Recipient rule (for when our server is the recipient)
First give it a name.
Then you get to set the conditions they can either be AND or they can be OR conditions. We want an AND so both conditions evaluate as true.
We set the Sender Qualifier + Id to match our sender ID (in the ISA) and the we set the Transaction_IdCode to = 810.
Ok, now we need to tell it an action to do when the conditions are met.
Set that underneath in the actions dialogue
The first action will send back a 997 if requested and the second is for the routing. If we looking into the routing rule it is simple enough, give it a name, and then select a transport.
There you have it, when the doc matches it will get exported to the correct folder. Next we will mess with some scripts, until next time.