Skip to main content
Solved

Address formatting

  • February 17, 2025
  • 1 reply
  • 69 views

Forum|alt.badge.img+10

Hi,

Is there a way to print an address without the blank lines.  I am producing an email which includes the delivery address but looks un tidy because of the blank rows in the address.  I am using an event  with plsql code.

 

Thanks

Best answer by Tracy Norwillo

@JannetteC   You can try the address presentation api which will use the settings you define in IFS in the Address Presentation page for a given country.  

For example:

select company
,     company_api.get_name(company) name
,     address_presentation_api.format_address(country_db, address1, address2, address3, address4, address5, address6, city, county, state, zip_code, country ) address
from company_address 

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+14
  • Hero (Partner)
  • 211 replies
  • Answer
  • February 17, 2025

@JannetteC   You can try the address presentation api which will use the settings you define in IFS in the Address Presentation page for a given country.  

For example:

select company
,     company_api.get_name(company) name
,     address_presentation_api.format_address(country_db, address1, address2, address3, address4, address5, address6, city, county, state, zip_code, country ) address
from company_address 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings