Tables used

AH1 - Contract

Ah2 - Contract details