New line break in purchase order

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
francisl
3 Posts
User

3Posts

0Kudos

0Solutions

New line break in purchase order

Using endpoint /Purchase/Order/Item and I'm unhappy with the ShipToAddress

 

It all runs on one line, is it possible to get it multiline?

 

i.e. instead of this

 

Clearwater Pty. Ltd. 25 Spring Street Blackburn VIC 3130

 

have it looking like this 

 

Clearwater Pty. Ltd.
25 Spring Street
Blackburn VIC 3130

 

https://developers.myob.com/api/accountright/v2/purchase/order/order_item/

2 REPLIES 2
John_Dinning
Trusted User
71 Posts
Trusted User
Australia
Trusted User

71Posts

16Kudos

6Solutions

Re: New line break in purchase order

You should find that the ShipToAddress string has line breaks  (\r\n) in it.

This is from the Clearwater sample file and supplier Mountain Spring:

 

"Mountain Spring\r\n28 Clearvalley Way\r\nLeura NSW 2780\r\nAustralia"

 

If you write it to a memo or similar, it should format as required.

 

francisl
3 Posts
User

3Posts

0Kudos

0Solutions

Re: New line break in purchase order

Thanks @John_Dinning but that doesn't work Smiley Sad

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post