The transfer point at CGK is before the immigration control and there is no immigration control to re-enter the transfer area at CGK. Thus, you should not need a visa (and need not to apply for the "visa on arrival" which is located before the transfer point).
Be sure to follow the transfer area sign and take the escalator back up to the departure area on the 2nd floor.