1/ Summary
This objective of this page is to describe step by step the process of update the Salesforce Exchange rate based on the SAP BW data.
This process is trigger by the business to create Service One ticket to request the update
1/ This process is triggered by a business user that request the update of the Salesforce exchange rate. Click Here to review the process to create that request
2/ User that will perform this process must have the following access :
Access to BW query : BW_QRY_DAFICE01_0001
Access to Salesforce as an Admin Line in order to be able to select following salesforce object :
CurrencyType
DatedConversionRate
Access the BW Query : BW_QRY_DAFICE01_0001 (WBP NB-Netback authorization) and extract its content to a GSheet.
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-7-24.png](/download/attachments/804457169/image2023-2-16_9-7-24.png?version=1&modificationDate=1676538444116&api=v2)
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-11-3.png](/download/attachments/804457169/image2023-2-16_9-11-3.png?version=1&modificationDate=1676538662882&api=v2)
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-12-23.png](/download/attachments/804457169/image2023-2-16_9-12-23.png?version=1&modificationDate=1676538742408&api=v2)
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-13-56.png](/download/attachments/804457169/image2023-2-16_9-13-56.png?version=1&modificationDate=1676538835895&api=v2)
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-16-4.png](/download/attachments/804457169/image2023-2-16_9-16-4.png?version=1&modificationDate=1676538963917&api=v2)
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-16-45.png](/download/attachments/804457169/image2023-2-16_9-16-45.png?version=1&modificationDate=1676539004754&api=v2)
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-20-23.png](/download/attachments/804457169/image2023-2-16_9-20-23.png?version=1&modificationDate=1676539222620&api=v2)
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-22-56.png](/download/attachments/804457169/image2023-2-16_9-22-56.png?version=1&modificationDate=1676539375612&api=v2)
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image (38).png](/download/attachments/804457169/image%20%2838%29.png?version=1&modificationDate=1694598055718&api=v2)
From the Service One request, identify if the Yearly or the Monthly rate has to be updated. (select the correct step 2)
Weare going to prepare the file to be loaded in UAT & PROD.
UAT & PROD must be setup in the same time.
2.1 / From that GSheet connect it with Salesforce PROD/UAT CORE
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-26-38.png](/download/attachments/804457169/image2023-2-16_9-26-38.png?version=1&modificationDate=1676539597277&api=v2)
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-27-3.png](/download/attachments/804457169/image2023-2-16_9-27-3.png?version=1&modificationDate=1676539622860&api=v2)
Now it's time to import existing record.
select id,IsoCode,ConversionRate from CurrencyType
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-35-44.png](/download/attachments/804457169/image2023-2-16_9-35-44.png?version=1&modificationDate=1676540143354&api=v2)
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-37-55.png](/download/attachments/804457169/image2023-2-16_9-37-55.png?version=1&modificationDate=1676540274637&api=v2)
2.2 / Map the new ConversionRate field from the BW Extract based on UAT Sheet & in PRD Sheet :
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-41-31.png](/download/attachments/804457169/image2023-2-16_9-41-31.png?version=1&modificationDate=1676540490510&api=v2)
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-45-56.png](/download/attachments/804457169/image2023-2-16_9-45-56.png?version=1&modificationDate=1676540756041&api=v2)
Weare going to prepare the file to be loaded in UAT & PROD.
UAT & PROD must be setup in the same time.
In case of Yearly Rate, the start date is set by default to January 1st.
2.1 / From that GSheet extract the following in order to create a new Sheet :
select id, IsoCode, ConversionRate from DatedConversionRate
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image-2024-3-7_17-4-19.png](/download/attachments/804457169/image-2024-3-7_17-4-19.png?version=1&modificationDate=1709805860398&api=v2)
On the Core Maintenance Jira : CCCME board - Agile Board - Jira (atlassian.net), create a TASK
Example of TASK : [CCCME-6883] CORE - Update UAT & PROD April - Currency Rate - Jira (atlassian.net)
Name of the task :
Description :
Please update the FX rate first in UAT then in PRD based on the following data :
Paste here the google sheet link
Once it it done, please add the result in the GSheet or tracking history.
Let's run the update
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-2-16_9-46-55.png](/download/attachments/804457169/image2023-2-16_9-46-55.png?version=1&modificationDate=1676540814604&api=v2)
2.3 / Run the update via the Salesforce inspector in UAT then in PRD.
Gsheet where the data loads are saved.
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-1-11_10-5-37.png](/download/attachments/804457169/image2023-1-11_10-5-37.png?version=1&modificationDate=1673431536611&api=v2)
2.4 / Close the Service One Request.
2.2 / Copy the new sheet in Salesforce Inspector Import in order to INSERT new Records.
Do it first in UAT, then PRD
![Pricing Front End - 11240 > FD - [CORE] Salesforce Exchange rate update > image2023-1-11_10-12-35.png](/download/attachments/804457169/image2023-1-11_10-12-35.png?version=1&modificationDate=1673431954265&api=v2)
2.3 / Close the Service One Request.