Hello forum,
- I'm using the request below to get customers + addresses from BC and have the result integrated into Users (using key "AccessUserAddressUID" in the integration job), but even the customer have 2 delivery addresses for the 3 contact persons, it's only the first (random?) contact person, which will have the 2 delivery addresses beside standard company + contact address. The 2 other contacts will only have standard company + contact address.
Request:
<GetEcomData><tables><Customers type="all" importSalesPeople="false" /></tables></GetEcomData>
Return:
<tables version="1.2.0.20_NAV19.0.36528.39541">
Looking closer to the data it returns, it seems that "AccessUserAddressUID" under certain conditions doesn't return a unique id (UID), because it repeats the "AccessUserAddressCustomerNumber" eg. 8248_8248-1 instead it should have returned: 945_8248-1 or 8248_945-1
<item table="AccessUserAddress">
<column columnName="AccessUserAddressUserID"><![CDATA[945]]></column>
<column columnName="AccessUserAddressCustomerNumber"><![CDATA[8248]]></column>
<column columnName="AccessUserAddressUID"><![CDATA[945_ContactAddress]]></column>
<column columnName="AccessUserAddressCallName"><![CDATA[Contact Address]]></column>
...
</item>
<item table="AccessUserAddress">
<column columnName="AccessUserAddressUserID"><![CDATA[945]]></column>
<column columnName="AccessUserAddressCustomerNumber"><![CDATA[8248]]></column>
<column columnName="AccessUserAddressUID"><![CDATA[8248_8248-1]]></column>
<column columnName="AccessUserAddressCallName"><![CDATA[BFT LOGISTIK - VEST]]></column>
...
</item>
<item table="AccessUserAddress">
<column columnName="AccessUserAddressUserID"><![CDATA[945]]></column>
<column columnName="AccessUserAddressCustomerNumber"><![CDATA[8248]]></column>
<column columnName="AccessUserAddressUID"><![CDATA[8248_8248-2]]></column>
<column columnName="AccessUserAddressCallName"><![CDATA[BFT LOGISTIK - ØST]]></column>
...
</item>
<item table="AccessUserAddress">
<column columnName="AccessUserAddressUserID"><![CDATA[1040]]></column>
<column columnName="AccessUserAddressCustomerNumber"><![CDATA[8248]]></column>
<column columnName="AccessUserAddressUID"><![CDATA[1040_ContactAddress]]></column>
<column columnName="AccessUserAddressCallName"><![CDATA[Contact Address]]></column>
...
</item>
<item table="AccessUserAddress">
<column columnName="AccessUserAddressUserID"><![CDATA[1040]]></column>
<column columnName="AccessUserAddressCustomerNumber"><![CDATA[8248]]></column>
<column columnName="AccessUserAddressUID"><![CDATA[8248_8248-1]]></column>
<column columnName="AccessUserAddressCallName"><![CDATA[BFT LOGISTIK - VEST]]></column>
...
</item>
<item table="AccessUserAddress">
<column columnName="AccessUserAddressUserID"><![CDATA[1040]]></column>
<column columnName="AccessUserAddressCustomerNumber"><![CDATA[8248]]></column>
<column columnName="AccessUserAddressUID"><![CDATA[8248_8248-2]]></column>
<column columnName="AccessUserAddressCallName"><![CDATA[BFT LOGISTIK - ØST]]></column>
...
</item>
Is there an error in the "AccessUserAddressUID" field?
Br. Michael Knudsen