When should we select the project code in Purchase constract?

Suggestion:
We enter the project code if the Purchase Order is raised for a particular project. In case the indent number is entered and the project code is defined therein, then the project code is retrieved therefrom. You can select the relevant project code from the pophelp.It must be defined in the project master.