Batch job in ax 2009

and yes main issue here is how can I connect ax ‘Vend Table’ to sql’s ‘SapToAx’ table.

Please Help.