German doctorate (Phd) in industry; Working in a company or University? I have just read about "German Phd in industry" in the site, "Research-in-Germany". It says that even if I get a phd position in industry, I need a university professor to supervise my research and award the doctor degree. 

*So, I wonder if a company accept me, I should work in the company or University (Physically, I often need to go to the company (or not), and no need to go to University).
I'm from Austria but the system is the same.

Only universities can award PhDs, so no matter where or how you do your PhD you need a supervisor at a university and you need to hand the thesis in at your university, get reviews like every other student has to and defend your thesis at that university. This is always the same.

In principle you can do your thesis wherever you want or got a position, as long as it's research based and your supervisor (and the dean of studies) approves the topic. The actual details on how everything works depend on the industry partner and the university, but there are two main cases.

1) You are doing your research directly at the company, in that case you don't need to be at the university except maybe for some courses you have to take and of course meetings with your supervisor. Usually you enter some kind of "PhD contract" that says you should meet your supervisor every X months or something like that. In this case you are usually paid by the company to do research and the university might not be involved.

2) The university is working together with a company on a research project, in that case you will work wherever you are needed. This is often the case if (smaller) companies need help in projects they cannot or don't want to do in house. In that case you might be paid by either the university or the company.

Be aware that in both cases you have to write a thesis which will be publicly available, which can be a problem when working with companies. There's usually the possibility to "lock" the thesis for a certain amount of time (some years) to get patents for example, but all of this is something you need to clarify beforehand! This is extremly important!