You just need to add the Fields with same ID in Sales Header/Sales Line and Shipement/Invoice tables..
If your field ID is 50000 in Sales Header/Sales Line then add same field with ID 50000 in Shipment/Invoice tables..
It will automatically flow the data from Sales header/Sales Line to Shipment/invoice..