Finding out the date of last entry excluding post dated transactions
Date of Last Entry can be identified using Company Method EndingAt. So $EndingAt:Company:##SVCurrentCompany would return the Date of Last Entry excluding the Post Dated Vouchers. Also Default System Formula EndingDate can be used for the same.