Waqar Ahmed
2010-01-25 17:52:01 UTC
Hi there,
I created a customer in AX using Biztalk AX and a sample sent by MS. But I m
getting following error when i try to create address in Dynamics AX using
BizTalk AX adapter and AIF Addres service.
"No Reference Record ID, Reference Record could not be found."
I m using following address xml as input.
<Address
xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Address">
<DocPurpose>Original</DocPurpose>
<Address class="entity">
<Address>123 My Address</Address>
<AddrTableId>35</AddrTableId>
<City>MyCity</City>
<CountryRegionId>US</CountryRegionId>
<County>Broward</County>
<Email>***@mydomain.com</Email>
<Latitude>14</Latitude>
<LineNum>0</LineNum>
<Longitude>55</Longitude>
<Name>TJ01</Name>
<Phone>44444444</Phone>
<PhoneLocal>9999999</PhoneLocal>
<State>FL</State>
<Street>Street9</Street>
<ZipCode>33025</ZipCode>
</Address>
</Address>
The Customer was created successully using following XML...
<Customer
xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Customer"><DocPurpose>Original</DocPurpose><CustTable
class="entity"> <AccountNum>TX01</AccountNum>
<Address>123 White Road, TX 78001 US</Address>
<City>Artesia Wells</City>
<CountryRegionId>US</CountryRegionId>
<County>LA SALLE</County>
<CustGroup>20</CustGroup>
<PartyType>Organization</PartyType>
<State>TX</State>
<Street>123 White Road</Street>
<ZipCode>78001</ZipCode> </CustTable></Customer>
Best Regards.
I created a customer in AX using Biztalk AX and a sample sent by MS. But I m
getting following error when i try to create address in Dynamics AX using
BizTalk AX adapter and AIF Addres service.
"No Reference Record ID, Reference Record could not be found."
I m using following address xml as input.
<Address
xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Address">
<DocPurpose>Original</DocPurpose>
<Address class="entity">
<Address>123 My Address</Address>
<AddrTableId>35</AddrTableId>
<City>MyCity</City>
<CountryRegionId>US</CountryRegionId>
<County>Broward</County>
<Email>***@mydomain.com</Email>
<Latitude>14</Latitude>
<LineNum>0</LineNum>
<Longitude>55</Longitude>
<Name>TJ01</Name>
<Phone>44444444</Phone>
<PhoneLocal>9999999</PhoneLocal>
<State>FL</State>
<Street>Street9</Street>
<ZipCode>33025</ZipCode>
</Address>
</Address>
The Customer was created successully using following XML...
<Customer
xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Customer"><DocPurpose>Original</DocPurpose><CustTable
class="entity"> <AccountNum>TX01</AccountNum>
<Address>123 White Road, TX 78001 US</Address>
<City>Artesia Wells</City>
<CountryRegionId>US</CountryRegionId>
<County>LA SALLE</County>
<CustGroup>20</CustGroup>
<PartyType>Organization</PartyType>
<State>TX</State>
<Street>123 White Road</Street>
<ZipCode>78001</ZipCode> </CustTable></Customer>
Best Regards.