VendPurchOrderTrans

Hi to all,

I have this query in AX 2009

while select VendPurchOrderTrans join MarkupTrans

where VendPurchOrderTrans .purchId ==

&& VendPurchOrderTrans .TableId == MarkupTrans.TransTableId

My problem is when i try to do the same in AX 2012 Im getting error because VendPurchOrderTrans is not existing in AX 2012 tables because of some changes in data model from AX 2009 to AX 2012.

Please help me