Skip to Content
0
May 12, 2010 at 06:48 PM

2007B ship-to address' ship field will contain block field

32 Views

I just upgraded to 2007B (8.60.040) SP0 PL19.

Using DI API, if I create/update a BP addresses (via XML data) where the ship-to address contains block field, somehow that field will be appended to the street field. This only happens on ship-to address; bill-to address is correct -> block field will stay in block, and street will store whatever passed only in street field.

Eg.

<BPAddresses>

<row>

<AddressName>billname</AddressName>

<Street>billstreet</Street>

<Block>billblock</Block>

<ZipCode>billzip</ZipCode>

<City>billcity</City>

<State>billstate</State>

<AddressType>bo_BillTo</AddressType>

</row>

<row>

<AddressName>shipname</AddressName>

<Street>shipstreet</Street>

<Block>shipblock</Block>

<ZipCode>shipzip</ZipCode>

<City>shipcity</City>

<State>shipstate</State>

<AddressType>bo_ShipTo</AddressType>

</row>

</BPAddresses>

After submitting this:

- ship-to street field will contain 'shipstreet shipblock' (WRONG)

- ship-to block field will contain 'shipblock' (RIGHT)

- bill-to street field will contain 'billstreet' only (RIGHT)

Any fix to this problem?