DynDeveloper.com

DynDeveloper.com

Sign Up Now!Log In
Thruway2 8/14/2017 3:19:32 PM

Dynamics GP Web Services - Notes Not Preserving Line Breaks

I am working on a .NET MVC web application that utilizes Dynamics GP Web Services to connect to the GP back-end. I am currently having an issue when editing Vendor Notes via GP Web Services. Specifically, any variation of the newline character ('\r\n', '\r' or '\n') will output a line feed character ('\n'). For whatever reason, GP 2010 doesn't seem to like the line feed character as it won't produce a link break when viewing the note in GP.

If I set a Vendor's Note property to "test\rtest", it will show up in GP as "testtest" - without a link break. This means that when Users edit and save a Note, the formatting is completely lost. We use Notes quite heavily and this is becoming problematic. In SalesPad (a third party tool which has the ability to edit Vendor Notes), the notes save their formatting correctly - so it must be possible.

The article here seems to illustrate my problem. I have tried all the suggestions mentioned in the article. The comments seem to suggest that this is a bug in GP 2010 Web Services.

Does anyone know if there is actually a way to properly format Vendor Notes via GP Web Services so they show up with line breaks in GP?

Thanks
Version: GP 2010
Section: .NET Development, eConnect, Web Services