days([Date_Out])=days(ftgdate)
and
[FtrCode]=ftrcode
and
not (deleted)

