--- title: "When two Companies both buy and sell to each other" slug: "when-two-companies-both-buy-and-sell-to-each-other" updated: 2026-04-14T12:55:22Z published: 2026-04-14T12:55:22Z canonical: "docs.abakion.com/when-two-companies-both-buy-and-sell-to-each-other" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.abakion.com/llms.txt > Use this file to discover all available pages before exploring further. # When two Companies both buy and sell to each other ## Awareness when Two Companies both buys and sell to each other. If you have two companies that are both Sales and Supply company respectively, there is a possible deadlock if you are running with default Buy-from number. In the Intercompany App Setup in both companies, the vendor from the IC partner card is added as Default Buy-From Vendor No.: ![Image](https://cdn.document360.io/b53c92b4-6b2d-4730-b8fc-fa2e7b107470/Images/Documentation/8951565486236.png) On the IC partner cards in both companies are added an IC customer and an IC vendor: ![Image](https://cdn.document360.io/b53c92b4-6b2d-4730-b8fc-fa2e7b107470/Images/Documentation/8951519037084.png) This causes the intended supply company in a specific flow to treat all sales orders (even IC sales orders) as orders that need to be bought from the other company, and hence creates a drop ship purchase order in the “supply company” (when the order is reopened and released again, and we end in a loop): Sales order in intended “sales company”: ![Image](https://cdn.document360.io/b53c92b4-6b2d-4730-b8fc-fa2e7b107470/Images/Documentation/8951519269148.png) Sales order in intended “Supply company”: ![Image](https://cdn.document360.io/b53c92b4-6b2d-4730-b8fc-fa2e7b107470/Images/Documentation/8951528027292.png) Furthermore, it will not be possible to add item tracking in either of the companies with this setup, as it will always point to the other partner to control item tracking. ![Image](https://cdn.document360.io/b53c92b4-6b2d-4730-b8fc-fa2e7b107470/Images/Documentation/8951544621212.png) **If the Default Buy-From Vendor No. is blanked in the “supply company” the flow works.**