# Import Shipping Data (SHIP.P4)
Read Time: 1 minute(s)
Form Details
  Form Details 
Purpose
The SHIP.P4 procedure is used to import shipment data from the FEDEX or UPS. The data is retireved from a file which is selected by the user and defined in  SHIP.CONTROL  . In  SHIP.CONTROL  , you, also, have an option to import the data from the shipping entry procedures like  SHIP.E2  when the record is open or saved. However, SHIP.P4 should be run daily or included in a daily batch/background process.
SHIP.P4 should be processed before SHIP.P1 (shipment posting procedure). One of the fields that SHIP.P4 updates is the freight amount field on the header tab. The charges entered into this field are billed to the customer. Once SHIP.P1 runs, that field cannot be updated.
Frequency of Use
As required.
Prerequisites
The UPS or FEDEX system must be set up to map data from M3.