AX2012 - AIF and CustTable Party field


Why, when I look at the CustTable the Party field is a RecId referencing the DirParty table but when I ouput the CustTable using an AIF service, the Party field is a 1-4 digit number like on this page:

I’m trying to set-up a relationship in an AIF Service Query to use the DirPartyPostalAddressView based upon the Party field, I can see this View and Fields in my Schema once I have updated the query but when I process a document in the AIF Queue, the View and Fields are not there, I have also enabled them in the document data policies.