The Process Code in a partner profile specifies exactly which process or function module should be triggered when an inbound IDoc is received. It links the incoming IDoc type and message type to the appropriate processing logic. Process codes for outbound IDocs are defined separately in the outbound parameters.