Configuration Experiment #D1
Goal
The goal of this experiment is to help you understand how configuration changes impact transactions. For this challenge, you will use a production workspace and enter some configuration. When asked to write down something, please copy the value to a document (along with the step #), as you will be using those values later on.
Difficulty
Easy.
Preparation
Create a CSV file with the following:
- Date,Unique ID,Owner,Revenue,Customer
- 2021-01-01,ID-1,Daniel Martinez,100,A
- 2021-01-01,ID-2,Daniel Martinez,100,B
- 2021-02-01,ID-3,Daniel Martinez,1000,C
- 2021-02-01,ID-4,Daniel Martinez,1000,D
As you can see, each record has a different Unique ID.
Steps
- Go to Account > My Workspaces
- Create a production workspace
- Go to Transactions > Add Transactions
- Import your CSV file
- Wait 10 seconds for the import to finish
- Go to Transactions > All Transactions
- Write down how many transactions are present
- Why are there 4 transactions?
- Go to Transactions > Add Transactions
- Import your CSV file again
- Wait 10 seconds for the import to finish
- Go to Transactions > All Transactions
- Write down how many transactions are present
- Why are there still only 4 transactions (no duplicates) after re-importing the same CSV file?
- Go to Transactions > Add Transactions
- Edit your CSV file
- Replace customer "A" by "A1" for "ID-1"
- Import your CSV file again
- Wait 10 seconds for the import to finish
- Go to Transactions > All Transactions
- Write down how many transactions are present
- Why are there still 4 transactions?
- What is the customer for "ID-1"?
- Go to Transactions > Add Transactions
- Edit your CSV file
- Duplicate row "ID-2"
- Keep all field values the same
- Import your CSV file again
- Wait 10 seconds for the import to finish
- Go to Transactions > All Transactions
- Write down how many transactions are present
- Why are there still 4 transactions (not 5 since the CSV now has 5 rows)?
- Go to Transactions > Add Transactions
- Edit your CSV file
- Duplicate row "ID-2" again
- Change its Unique ID to "ID-5"
- Import your CSV file again
- Wait 10 seconds for the import to finish
- Go to Transactions > All Transactions
- Write down how many transactions are present
- Why are there 5 transactions now?
- Go to Transactions > Add Transactions
- Edit your CSV file
- Delete all rows except "ID-1"
- Import your CSV file again
- Wait 10 seconds for the import to finish
- Go to Transactions > All Transactions
- Write down how many transactions are present
- Why are there still 5 transactions?
- Click on transaction "ID-1" to edit it
- Change the "Customer" from "A1" to "XXX"
- Save and select "Prevent Overwrites"
- Go to Transactions > Add Transactions
- Edit your CSV file
- Replace customer "A1" by "YYY" for "ID-1"
- Import your CSV file again
- Wait 10 seconds for the import to finish
- Go to Transactions > All Transactions
- Write down how many transactions are present
- What is customer for "ID-1"?
- Is it "XXX" or "YYY"?
Key Learnings
- Having a field mapped to the Unique ID category ensures that
- We don't create duplicates on re-import
- We can update the right record after making changes on re-import
- We do not propagate deletes on re-import
- Deleting entries from CSV and re-importing does not delete transactions
- This allows for incremental (partial) transaction uploads
- It's possible to make changes within Sales Cookie and "lock" a transaction
- Subsequent uploads cannot alter the transaction
- The entire transaction is locked (all fields)
Related Articles
Configuration Experiment #V6
Goal The goal of this experiment is to help you understand how to use custom variables in your configuration. For this challenge, you will use a production workspace and enter some configuration. When asked to write down something, please copy the ...
Configuration Experiment #D2
Goal The goal of this experiment is to help you understand how configuration changes impact transactions. For this challenge, you will use a production workspace and enter some configuration. When asked to write down something, please copy the value ...
Configuration Experiment #D3
Goal The goal of this experiment is to help you understand how configuration changes impact transactions. For this challenge, you will use a production workspace and enter some configuration. When asked to write down something, please copy the value ...
Configuration Experiment #V5
Goal The goal of this experiment is to help you understand how to use custom variables in your configuration. For this challenge, you will use a demo workspace and enter some configuration. When asked to write down something, please copy the value to ...
Configuration Experiment #V3
Goal The goal of this experiment is to help you understand how to use custom variables in your configuration. For this challenge, you will use a demo workspace and enter some configuration. When asked to write down something, please copy the value to ...