This transfer will transfer new and updated MS Dynamics Business Central Customers into D365 Sales Accounts. All mappings are either 1:1 or additional lookups have been created. However, there are specific mappings where you have more than 1 option to map the indicated fields:
Business Central Field | D365 Sales Field |
##BLANKVALUE(LSLOOKUP('COUNTRIES',"Country_Region_Code"),SKIPFIELD()) | address1_country |
Country_Region_Code | address1_country |
Note: In Business Central, the field Country_Region_Code is a predefined picklist that will provide you with all country codes and country names. In D365 Sales, the field address1_country is a free text field and there are no restrictions around it.
Business Central Field | D365 Sales Field |
##BLANKVALUE(LSLOOKUP('TRANSACTIONCURRENCY',"Currency_Code"),SKIPFIELD()) | transactioncurrencyid |
##IF(EQUALS("Currency_Code",''),DBLOOKUP('DESTDS','transactioncurrency','isocurrencycode','%%CURR%','transactioncurrencyid'),DBLOOKUP('DESTDS','transactioncurrency','isocurrencycode',"Currency_Code",'transactioncurrencyid'))) | transactioncurrencyid |
Note: In Business Central, the field Currency_Code is a predefined picklist that will provide you with all currency codes. In D365 Sales, the field transactioncurrencyid is a GUID field and can only be used in this manner. A 1:1 mapping is not possible due to the above.
Business Central Field | D365 Sales Field |
##'/systemusers('+BLANKVALUE(LSLOOKUP('%%LSUSER%'+'#REVERSE',"Salesperson_Code"),'%%DEF_OWNER%')+')' | ownerid |
##CASE(DBLOOKUP('DESTDS','systemuser','new_salespersoncode',"Salesperson_Code",'systemuserid'),'',SKIPFIELD(),'/systemusers('+DBLOOKUP('DESTDS','systemuser','new_salespersoncode',"Salesperson_Code",'systemuserid')+')') | ownerid |
Note: In Business Central, the field Salesperon_Code is a free-text field which is usually populated with the salesperson’s initials. In D365 Sales, there is no standard field that can hold this information in the same manner. Instead the owner ID is the equivalent of the Salesperson Code but it is stored as a GUID field.