{"id":9694,"date":"2024-10-30T08:34:53","date_gmt":"2024-10-30T08:34:53","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/salesforce\/?p=9694"},"modified":"2024-10-29T05:34:11","modified_gmt":"2024-10-29T05:34:11","slug":"how-to-separate-shipping-and-billing-street-into-multiple-address-lines-while-importing-data-from-sage-into-salesforce","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/salesforce\/2024\/10\/30\/how-to-separate-shipping-and-billing-street-into-multiple-address-lines-while-importing-data-from-sage-into-salesforce\/","title":{"rendered":"How to separate Shipping and Billing Street into multiple address lines while importing data from Sage into Salesforce"},"content":{"rendered":"\n<p>In this post, we&#8217;ll discuss how to split or separate Shipping and Billing Street into multiple address lines in Salesforce. These fields are often used to store address information and are typically set up as long text fields, allowing for multiple lines of data like street numbers, names, apartment or suite numbers, and other details. However, there are situations where splitting this information into separate fields can improve usability, reporting, or integration.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Why is splitting these fields beneficial? <\/mark><\/strong><\/h3>\n\n\n\n<p>Breaking down address components such as street numbers and names can make the data clearer and more organized. Many third-party systems require address data to be divided into separate fields for proper syncing and processing. Additionally, custom reports may need specific address parts for better data analysis. This method also helps in validating individual address elements, ensuring accuracy across platforms.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">Solution to separate Shipping and Billing Street into multiple address lines <\/mark><\/strong><\/h3>\n\n\n\n<p>Salesforce does not natively offer the capability to store or separate Shipping and Billing Street into multiple address lines. To achieve this, we will need to leverage custom labels and formula fields in Salesforce and separate Shipping and Billing Street into multiple address lines. This approach allows us to split and display address components in a more structured format, ensuring the data are organized according to specific needs.<\/p>\n\n\n\n<p>Following are the steps to inculcate or separate Shipping and Billing Street into multiple address lines or street:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Creating a Custom Label<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Navigate to <strong>Setup<\/strong> in your Salesforce org.<\/li>\n\n\n\n<li>In the <strong>Quick Find<\/strong> box, type <strong>&#8216;Custom&#8217;<\/strong> and select <strong>Custom Labels<\/strong> from the dropdown.<\/li>\n\n\n\n<li>Click on the <strong>New Custom Label<\/strong> to create a new label.<\/li>\n\n\n\n<li>In the Label Name field, enter a descriptive name for the label.<\/li>\n\n\n\n<li>In the <strong>Value<\/strong> field, enter the value as shown in the below attached screenshot to separate Shipping and Billing Street into multiple address lines:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2024\/10\/1.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2024\/10\/1.png\" alt=\"Custom Label\"><\/a><\/center><font size=\"2\"><center><i> Custom Label <\/i><\/center><\/font>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After creating a custom label, navigate to the <strong>Account<\/strong> Object to create a formula field with a return type as <strong>Text<\/strong> which allows us to split the information present and separate Shipping and Billing Street into multiple address lines. <\/li>\n\n\n\n<li>The formula mentioned below allows the information to be displayed in the inline format.<\/li>\n<\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2024\/10\/2.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2024\/10\/2.png\" alt=\"Formula field for \"ShippingAddress\"\"><\/a><\/center><font size=\"2\"><center><i> Formula field for &#8220;ShippingAddress&#8221; <\/i><\/center><\/font>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In order to extract the <strong>first line<\/strong> from the <strong>Shipping Street<\/strong> field and display it as <strong>Address Line 1<\/strong>, you will need to create a new formula field on the <strong>Account<\/strong> object with a return type as <strong>Text.<\/strong><\/li>\n<\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2024\/10\/6-1.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2024\/10\/6-1.png\" alt=\"Formula field for \"Address Line1\"\"><\/a><\/center><font size=\"2\"><center><i> Formula field for &#8220;Address Line1&#8221; <\/i><\/center><\/font>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To extract the middle line (the part of the address after the first line break) from the Shipping Street field, create a formula field on the <strong>Account<\/strong> object. Set the return type to <strong>Text <\/strong>and label it &#8220;Address Line 2.&#8221;<\/li>\n<\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2024\/10\/4.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2024\/10\/4.png\" alt=\"Formula field for \"Address Line2\"\"><\/a><\/center><font size=\"2\"><center><i> Formula field for &#8220;Address Line2&#8221; <\/i><\/center><\/font>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Following the same approach as before, to extract the last line (the portion after the second line break) from the Shipping Street field, create another formula field on the <strong>Account <\/strong>object with a return type of <strong>Text<\/strong>, and label it &#8220;Address Line 3.&#8221; thus separate Shipping and Billing Street into multiple address lines.<\/li>\n<\/ul>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2024\/10\/5.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2024\/10\/5.png\" alt=\"Formula field for \"Address Line3\"\"><\/a><\/center><font size=\"2\"><center><i> Formula field for &#8220;Address Line3&#8221; <\/i><\/center><\/font>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once you\u2019ve created the custom label and the required formula fields, you\u2019ll be able to successfully split and display the data from the Sage (Shipping Street) field into multiple lines in Salesforce and separate Shipping and Billing Street into multiple address lines<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em><strong><span style=\"text-decoration: underline;\">Please Note<\/span><\/strong><\/em><\/p>\n<cite>You can also use custom labels and formula fields alongside a Flow to automate the splitting of the Shipping or Billing Street into multiple lines, minimizing the number of fields needed on the layout.<\/cite><\/blockquote>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2024\/10\/6.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2024\/10\/6.png\" alt=\"separate Shipping and Billing Street into multiple address lines\"><\/a><\/center><font size=\"2\"><center><i> Billing and Shipping Address in Salesforce layout <\/i><\/center><\/font>\n\n\n\n<p>By following the above blog instructions, you will be able to learn <strong>\u201c<em>How to separate Shipping and Billing Street into multiple address lines<\/em> <em>while importing data from Sage to Salesforce<\/em>\u201c<\/strong>. If you still have queries or any related problems, don\u2019t hesitate to contact us at <a href=\"mailto:salesforce@greytrix.com\" target=\"_blank\" rel=\"noreferrer noopener\">salesforce@greytrix.com<\/a>. <\/p>\n\n\n\n<p>More details about our integration product are available on <a href=\"https:\/\/www.greytrix.com\/salesforce\/erp-integration\/\" target=\"_blank\" rel=\"noreferrer noopener\">our website<\/a> and <a href=\"https:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noreferrer noopener\">Salesforce AppExchange<\/a>.<\/p>\n\n\n\n<p>We hope you may find this blog resourceful and helpful. However, if you still have concerns and need more help, please contact us at <a href=\"mailto:salesforce@greytrix.com\" target=\"_blank\" rel=\"noreferrer noopener\">salesforce@greytrix.com<\/a><\/p>\n\n\n\n<p style=\"text-align: justify\"><b>About Us<\/b><\/br>\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a> \u2013 a globally recognized and one of the oldest Sage Development Partner and a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners and Sage PSG across the globe. We offer Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that require apex code incorporation into the Salesforce platform.<br><br> Greytrix has some unique solutions for Cloud CRM such as <a href=\"\">Salesforce Sage integration<\/a> for <a href=\"https:\/\/www.greytrix.com\/sage-x3-erp\/integration\/\">Sage X3<\/a>, <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/sage-100-integration\/\">Sage 100<\/a> and <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/sage-300-integration\/\">Sage 300 (Sage Accpac)<\/a>. We also offer best-in-class Cloud CRM <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/crm-development\/\">Salesforce customization and development services<\/a> along with services such as Salesforce <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/data-migration-support\/\">Data Migration<\/a>, <a href=\"https:\/\/www.greytrix.com\/salesforce-cloud-services\/crm-development\/\">Integrated App development<\/a>, Custom App development and Technical Support business partners and end users. Salesforce Cloud CRM integration offered by Greytrix works with Lightning web components and supports standard opportunity workflow. Greytrix GUMU&#x2122; integration for Sage ERP \u2013 Salesforce is a 5-star rated app listed on <a href=\"https:\/\/appexchange.salesforce.com\/appxListingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<br> The GUMU&#x2122; Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.<br><br> For more information on our Salesforce products and services, contact us at <a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n\n\n\n<p><strong>Related Posts<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2024\/08\/28\/gumu-feature-enhanced-entity-mapping-import-based-on-sync-type\/\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2024\/08\/28\/gumu-feature-enhanced-entity-mapping-import-based-on-sync-type\/\" target=\"_blank\" rel=\"noreferrer noopener\">GUMU&#x2122; Feature: Enhanced Entity Mapping\/Import based on Sync Type<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2022\/01\/18\/how-to-resolve-error-the-sales-tax-reporting-while-promoting-order-from-salesforce-to-sage-100-erp\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2022\/01\/18\/how-to-resolve-error-the-sales-tax-reporting-while-promoting-order-from-salesforce-to-sage-100-erp\/\" rel=\"noreferrer noopener\">How to resolve ERROR [The Sales Tax Reporting check box has not been selected in the Accounts Receivable Options window. (Bad Request)] encountered while promoting order from Salesforce to Sage 100 ERP<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/11\/30\/how-to-resolve-error-at-least-one-delivery-address-must-be-active-while-importing-customer-address-in-salesforce-from-sage-x3-erp\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2021\/11\/30\/how-to-resolve-error-at-least-one-delivery-address-must-be-active-while-importing-customer-address-in-salesforce-from-sage-x3-erp\/\" rel=\"noreferrer noopener\">How to resolve error [At least one delivery address must be Active] while importing Customer Address in Salesforce from Sage X3 ERP<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2023\/12\/31\/how-to-solve-the-error-required-fields-are-missing-pricebook2id-in-gumu-for-sage-300c\/\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2023\/12\/31\/how-to-solve-the-error-required-fields-are-missing-pricebook2id-in-gumu-for-sage-300c\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to solve the error \u201cRequired Fields are missing Pricebook2Id\u201d in GUMU&#x2122; for Sage 300C<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2024\/09\/28\/how-to-import-data-from-sage-300-erp-to-salesforce-using-the-last-sync-field-and-last-sync-value\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to import data from Sage 300 ERP to Salesforce using the Last Sync field and Last Sync value<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this post, we&#8217;ll discuss how to split or separate Shipping and Billing Street into multiple address lines in Salesforce. These fields are often used to store address information and are typically set up as long text fields, allowing for multiple lines of data like street numbers, names, apartment or suite numbers, and other details.\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2024\/10\/30\/how-to-separate-shipping-and-billing-street-into-multiple-address-lines-while-importing-data-from-sage-into-salesforce\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,957],"tags":[1771,1813,1816,1812,1799,159,162,163,1732,165,169,801,678,1827,697,184,185,187,188,189,1774,1826,1800,1824,1825,745,1734,736,739,359,360,361,730,732,731,364,367,370,374,1775,1772,377,378,1709,744,740,738,746,743,389,400,401,402,737,679,671,683,681,733,687,680,686,684,716,424,425,734,430,735,1815,454,1733,461,463,1817,1770,1804],"class_list":["post-9694","post","type-post","status-publish","format-standard","hentry","category-gumu-salesforce","category-gumu-tricks-tips","tag-address-management-in-salesforce","tag-address-synchronization-from-sage","tag-billing-address-multiple-lines","tag-customer-sync","tag-formula-fields","tag-gumu-sf-integration","tag-gumusfsage100","tag-gumusfsage100erp","tag-gumusfsage300c","tag-gumusfsage300erp","tag-gumusfsageerpx3","tag-gumusfsagex3","tag-gumulightninginterface","tag-import-address","tag-import-data-from-sage-100-to-salesforce","tag-integrate-salesforce-with-sage-100","tag-integrate-salesforce-with-sage-300","tag-integrate-salesforce-with-sage-x3","tag-integrate-sfdc-and-sage-100","tag-integrate-sfdc-and-sage-300","tag-multi-line-address-in-salesforce","tag-multiple-lines-in-salesforce","tag-new-custom-label","tag-quick-find-custom-labels","tag-return-type-text","tag-sage-100-connector-with-salesforce","tag-sage-300c-connector-with-salesforce","tag-sage-300c-erp","tag-sage-erp-connector-with-salesforce","tag-sage100","tag-sage100-salesforce","tag-sage100-sf","tag-sage300c","tag-sage300c-salesforce","tag-sage300c-sf","tag-sagex3","tag-salesforce","tag-salesforce-sage-300","tag-salesforce-sage-x3","tag-salesforce-address-fields","tag-salesforce-admin-tips","tag-salesforce-and-sage-100-integration","tag-salesforce-and-sage-300-integration","tag-salesforce-automation","tag-salesforce-connector-for-sage-100","tag-salesforce-connector-for-sage-300","tag-salesforce-connector-for-sage-erp","tag-salesforce-connector-for-sage-x3","tag-salesforce-connector-with-sage-erp","tag-salesforce-crm-integration-for-sage-erp","tag-salesforce-integration-with-sage","tag-salesforce-integration-with-sage-100","tag-salesforce-integration-with-sage-300","tag-salesforce-lightning-sage300c-integration","tag-salesforce-lightning-and-sage-100-integration","tag-salesforce-lightning-and-sage-300-integration","tag-salesforce-lightning-and-sagex3-integration","tag-salesforce-lightning-integration-with-sage-100","tag-salesforce-lightning-integration-with-sage-300c","tag-salesforce-lightning-integration-with-sagex3","tag-salesforce-lightning-sage100-integration","tag-salesforce-lightning-sage300-integration-2","tag-salesforce-lightning-sagex3-integration","tag-salesforce-sage-integration","tag-salesforce-with-sage-100-integration","tag-salesforce-with-sage-300-integration","tag-salesforce-with-sage-300c-integration","tag-salesforce-sage100","tag-salesforce-sage300c","tag-separate-shipping-street-or-billing-street-into-multiple-lines","tag-sfdc-sage-300","tag-sfdc-integration-with-sage-300c","tag-sfdc-with-sage-300-integration","tag-sfdc-with-sage-x3-integration","tag-shipping-address-multiple-lines","tag-shipping-and-billing-address","tag-shipping-or-billing-street-information-across-multiple-lines"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/9694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/comments?post=9694"}],"version-history":[{"count":14,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/9694\/revisions"}],"predecessor-version":[{"id":9774,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/9694\/revisions\/9774"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/media?parent=9694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/categories?post=9694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/tags?post=9694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}