Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

Using AIF To Import Vendors error document does not support the AxDirPartyTable class

$
0
0

We are using AIF with a file adapter to import vendors. When importing we get this error "This document does not support the AxDirPartyTable class."

This uses the VendVendTableService.create. All fields enabled.

This is the xml file:

<?xml version="1.0" encoding="utf-8"?>
<Envelope xmlns="schemas.microsoft.com/.../Message">
<Header>
<MessageId>{799E5A7A-5E66-5169-EC08-931579E7BFAE}</MessageId>
<Action>schemas.microsoft.com/.../create&lt;/Action>
</Header>
<Body>
<MessageParts>
<VendTable xmlns="schemas.microsoft.com/.../VendTable">
  <VendTable class="entity">
    <AccountNum>A179</AccountNum>
    <CreditMax>10000</CreditMax>
    <Currency>GBP</Currency>
    <DlvTerm>XXX</DlvTerm>
    <GAOldAccountNum>A179</GAOldAccountNum>
    <Name>AL LIMITED</Name>
    <PaymTermId>NETMONTHLY</PaymTermId>
    <TaxGroup>DOM</TaxGroup>
    <VendGroup>10</VendGroup>
    <YourAccountNum>A179</YourAccountNum>
    <DirPartyTable class="entity">
      <InstanceRelationType>6886</InstanceRelationType>
      <KnownAs>ALMIT LIMITED</KnownAs>
      <LanguageId>en-gb</LanguageId>
      <Name>ALMIT LIMITED</Name>
      <NameAlias>ALMIT LIMITED</NameAlias>        
    </DirPartyTable> 
  </VendTable>
</VendTable>
</MessageParts>
</Body>
</Envelope>


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>