The process is changing as Sales order -> Delivery Order -> Sales Invoice -> PGI
My requirement is invoice should not be released to accounting until the delivery has been PGI done .