...
Why migrate from unstructured to structured address format?
In order to facilitate address integration across our partner systems we can now support the use of six address fields for street line 1, street line 2, Suburb, City, State, and Country. This will ensure that the corresponding address components are passed appropriately at other integration points.
The intention is to formalise the address structure in Companies, and new fields have been added to introduce this address structure on Job Site Address, Purchase Order Delivery Address, and Service Log Site Address. When this Address structure is enabled by the new control parameter 'BETA FEATURE - Structured Addresses', a manual sync of companies from the financial system will be required if you want each address field in the financials system to map to the exact address field in Workbench.
Then going forward, any action will use structured address fields, but if sourced from pre-existing data it may require manual intervention to align if desired.
...
Steps to migrate addresses to the new structure:
???? Make sure the companies import from your financial system to Workbench supports (has been updated) to import the import of company addresses in the new format. (What about SUN or any other flat file based exports?)Note that SUN company import is a custom procedure for each client and it will need to be updated as each client finds the need to migrate to this new address format.
Financial Systems supported:
Xero API
MYOB AccountRight API
MYOB Advanced API
SAP B1 API
Business Central
Change control parameter 'BETA FEATURE - Structured Addresses' to Yes.
If you want to have an idea of the before and after and how thenew the new address structure looks like, you can test one company: make a any change on the company on your financial system (and revert it); then import into Workbench.
???? All companies need to be bulk updated in the financial system so they come through to Workbench and update the new address fields.
On your financial integration screen in Workbench, back date backdate the last updated date, save and import companiesleave only Companies ticked and save. Then perform the import so all Company addresses are updated with the new format.
Below is an example of the Xero integration screen, and how only Companies are selected to be imported and Last Update was backdated to way back in the past to ensure all companies come accross.
Once the import is finished, you can tick all documents again, and save.After switching to the new address structure:
the Jobs that have addreses addresses from these companies will have the Job Site address fields empty. This can be fixed with a utility (see step 6).
Purchase Orders:
Approved POs before the address change will still have the Delivery address name selected
.
The new address fields will be displayed, but they will be empty.
!!!! Old POs will lose the delivery address data.
If the PO is unaproved, the user will have to re-select the Address Title in order to populate the address fields.
Service Logs will still have the Address name selected but the new address fields will be empty.
!!!!old Service logs will lose original site addresses.
The new address fields will be displayed, but they will be empty on Closed Logs. If the Log is Re-opened & Unfinalised, as soon as the Log is on edit mode the Address Title will need to be re-selected in order to populate the address fields.
Run the utility wbUtilityInitialiseStructuredJobAddresses to populate the new address fields on Job’s Site address.
Re-initialise Addresses = Yes: If the structured address fields are set already on a job then when set to yes this will overwrite them.
Re-initialise Addresses = No: If the structured address fields are set already on a job then when set to no theese these fields will not be overwritten with the data from the selected Address Name.
...