# AX2012 - AIF and CustTable Party field

**URL:** https://www.dynamicsuser.net/t/ax2012-aif-and-custtable-party-field/45272
**Category:** Developer Forum
**Created:** [April 12, 2013, 12:48pm UTC](https://www.dynamicsuser.net/t/ax2012-aif-and-custtable-party-field/45272 "2013-04-12T12:48:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![BiffBaffBoff](https://avatars.discourse-cdn.com/v4/letter/b/96bed5/32.png) [@BiffBaffBoff](https://www.dynamicsuser.net/u/BiffBaffBoff)
#### Post date: [April 12, 2013, 12:48pm UTC](https://www.dynamicsuser.net/t/ax2012-aif-and-custtable-party-field/45272/1 "2013-04-12T12:48:08Z")

</div>

Hi,

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: [http://msdn.microsoft.com/en-gb/library/aa856184.aspx](http://msdn.microsoft.com/en-gb/library/aa856184.aspx)

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.
