I am installing a new secondary entrance door and deciding whether to use a plastic sill pan from HD or Lowes. Neither store, nor any lumber yards around me, carry these in stock. That leads me to question whether these are required by code (or by the building inspection department, who sometimes have "favorite" items they look for, whether code requirement or not). Some places we called said that we should just use flashing tape, which we were gonna use anyway, even with the sill pan. The door will have minimal to no overhang for protection from the elements.