NYCCHKBK-4544 - Updated sql for sub vendor contract id to get from the prime