InterCompany Setup for Purchase order posting and sales Order posting

Is any one knows about Intercompany setup. First of all i want to setup intercompany in Dynamics ax and i also have a issue that When ever Purchase order is posted in One company , SalesOrder will be automatically posted in the another company.


Varun Garg