You asked a question that has no answer because it is a non-question. You might as well have asked how many angels can dance on the head of a pin. Until you understand why it is important to have a well-defined system with clearly-set boundaries before you apply the work-energy theorem, you will not be able to get out of the rabbit hole that you fell in. I am not blaming you for this, I blame the people who may have taught it to you and sites like
this Wikipedia article in which one reads
In physics, potential energy is the energy held by an object because of its position relative to other objects, stresses within itself, its electric charge, or other factors.
Note the wording "held by an object" that leads one to believe that potential energy joules is something that an object "has" just like kinetic energy joules. Also note that this potential energy depends on the position of the object's position
relative to other objects. The statement quoted above is misleading when you read it and start wondering about joules being transferred. You must be clear about the energy transfer being between what and what, in other words what your system is and where the energy comes from.
You are asking the question about the transfer of joules to the object. By asking this question you have implicitly defined the object as the "system". Joules can be transferred to it through two forces doing work, on the object.
Gravity transfers work
"We" transfer work
The net transfer of joules is zero. This comes from the work-energy theorem Here is the sum of the works exerting forces outside the system. In this case Note that potential energy does not enter the equation expressing the work-energy theorem and you cannot just add it in because you think that the object has it.
So how does potential energy enter the picture? First note that I can rewrite equation (1) as I now define the Earth and the object as the system. Assuming that the kinetic energy of the Earth hardly changes as the book is raised, Also the net work done on the system by the external forces is Finally, the definition of gravitational potential energy change is the negative of the work done by gravity If you put all these pieces in equation (2), you get
Study and compare equations (1) and (3) carefully. On the right hand side of each you have the net external done on (or imported if you prefer) the system.
- When the system is only the object, equation (1), the imported work is the sum of the two works which is zero. The mechanical energy (kinetic + potential) of the system does not change.
- When the system is the object and the Earth, equation (3), the imported work is the work done by "We", . The mechanical energy (kinetic + potential) of the system increases by which, in this case, goes entirely into raising the potential part and not the kinetic.