For a Dedekind domain $A$ such that $\operatorname{frac}(A)=K$, we define invertible ideals to be $I\hookrightarrow K$ and rank one projective modules over $A$. (I think this definition is motivated from the definition of Picard group).
I want to prove that if there exists $J \hookrightarrow K$ such that $IJ=A$ then $I$ is invertible.
I can localize and prove this locally and that would suffice because I know the fact:
Projectiveness is local property for finitely presented modules.
So I have $I_\mathfrak p J_\mathfrak p =A_\mathfrak p$. As $J_\mathfrak p$ is a module over PID, and $J_\mathfrak p \hookrightarrow K$ it is free of rank one. So principal. This also implies $I_\mathfrak p$ is is principal since if $J_\mathfrak p= (b)$ then $I_\mathfrak p =(1/b)$. So $I_p$ is projective of rank one and from the above result, we have that $I = \cap _\mathfrak p I_p \hookrightarrow K$ is invertible.
But the proof of the above result, that projectiveness is local, does not seem to be trivial and I wish to avoid it (or prove it in my special case).