AIF needs to fill an additional table when creating sales orders?

We are using the AIF to create SalesOrders with XML files. Where is the best place to put code to fill another table that matches the header?