• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

roxannez
#1 Posted : Tuesday, January 12, 2010 4:27:07 PM(UTC)
roxannez

Rank: Member

Joined: 8/28/2009(UTC)
Posts: 29

We recently upgraded from BV2004 to BV5.6. We want to generate mailing labels for all unshipped, paid orders.

The "ShippingAddress" field in bvc_Order contains a bunch of tags for the entire address: firstname, lastname, city, etc.

Wondering if there's a stored procedure that pulls each item out of that field so I can insert the items into a spreadsheet for a mail merge?

Thanks.
Andy Miller
#2 Posted : Tuesday, January 12, 2010 6:30:40 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
There was a post here in the forum with a query that would extract the address. I can't find it now, but you may have better luck.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Narrowpath
#3 Posted : Tuesday, January 12, 2010 7:14:00 PM(UTC)
Narrowpath

Rank: Member

Joined: 9/20/2006(UTC)
Posts: 92

roxannez
#4 Posted : Wednesday, January 13, 2010 4:32:55 PM(UTC)
roxannez

Rank: Member

Joined: 8/28/2009(UTC)
Posts: 29

Thank you, thank you, thank you. I searched for "shipping address", "ship address", and "xml" and couldn't find anything in the forums.
roxannez
#5 Posted : Wednesday, January 13, 2010 5:42:05 PM(UTC)
roxannez

Rank: Member

Joined: 8/28/2009(UTC)
Posts: 29

I spoke too soon, I followed the directions, even fixed the names of the fields. I receive this error:

The XML parse error 0xc00ce556 occurred on line number 1, near the XML text "f3af14e36845</Bvin><NickName /><FirstName>t</FirstName><MiddleInitial /><LastName>t</LastName><Company>test</Company><Line1>t</Line1><Line2 /><Line3 /><City>t</City><RegionName>DC</RegionName><RegionBvin>16f5837c-7516-4c91-b592-09518f75f843</RegionBvin><PostalCode>t</PostalCode><CountryName>United States</CountryName><CountryBvin>bf7389a2-9b21-4d33-b276-23c9c18ea0c0</CountryBvin><Phone>222-222-2222</Phone><Fax /><WebSiteUrl /><CountyName /><CountyBvin /><UserBvin /><Residential>false</Residential><LastUpdated>0001-01-01T00:00:00</LastUpdated></Address>".
Msg 6602, Level 16, State 2, Procedure sp_xml_preparedocument, Line 1
The error description is 'Invalid at the top level of the document.'.
Msg 8179, Level 16, State 5, Procedure bvc_AddressXml_s, Line 17
Could not find prepared statement with handle 0.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012