Setting up AIF to send documents

Hello,

I am relatively new to AIF. I created a FileSystem Adapter that has an outbound and inbound channel associated to two related directories. I have a test service whose purpose is to allow the creation of a customer to be pushed out to another system so that customer information is in sync.

I guess what I need to know is how can I have AX send customers that were newly created in AX and create a file in the outbound folder? What specific setup do I need to do?

Any information would certainly help!

Thank you in advance

You need to either put a “Send Electronically” button on your Customer Table form (custTable), there are lots of examples of this in the system. Do a find on “sendElectronically” or “sendXML.” If they don’t want to choose which customers to send, you could put code in the insert() method on the customer table (custTable) to call the sendElectronically automatically every time a customer is added. The sendElectronically would call your service.