Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

& character in vendor code 1

Status
Not open for further replies.

vbdbcoder

Programmer
Nov 23, 2006
246
US
Hi guys,

I try to create PO receipt from API using .NET. But the vendor code has a & character, e.g. B&EE

The API reports an error [Receipt Attempt to change read-only field 'Vendor'.]

What is proper way to fix this without changing the vendor code.

Thanks.
 
Change the vendor code.
Key fields cannot contain special characters like &.
I don't know how that got there, but it does not belong there. The API is dropping the & from the vendor code so B&EE becomes BEE and so it thinks the field has changed.

Sage 300 Certified Consultant
 
My bad, AP does accept & in the vendor code.
Check your code that you are enclosing the text in quotes.
Show the line where you populate the vendor code.

Sage 300 Certified Consultant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top