web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX2012 - AIF and CustTable Party field

(0) ShareShare
ReportReport
Posted on by 830

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

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.

*This post is locked for comments

I have the same question (0)
  • Dick Wenning Profile Picture
    8,705 Moderator on at

    I have just finished an implementation with this service, insert and update works fine.

    look at custCUstomerService.

  • BiffBaffBoff Profile Picture
    830 on at

    I'm using the SalesSalesInvoiceService.

    I have modified it to include Customer Address information so I am doing a join, firstly on the CustTable based on the OrderAccount == AccountNum fields, and then a further join to the DirPartyPostalAddressView based on the Party fields in both sources.

    I can get the data from the CustTable and I can see the fields from the View in the generated Schema but when I process an Invoice through the AIF, nothing show's up from the View, only the CustTable fields contain data.

  • Dick Wenning Profile Picture
    8,705 Moderator on at

    in case you have 2 datasoureces on the same level. and one of them has an innerjoin, the other datasource will often be skipped, change it to outerjoin

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans