Hello guys,
I am importing a purchase Order into AEP. Any suggestion to build the unique ID (_id), do we have some best practices to be followed? Every experience event must have Point Of Sale ID.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Luca_Lattarini,
Before you construct, do consider the below points:
The best way would be to prefix this sourceId, storeId, and the purchaseId of the order from that store. This will make it unique.
Thanks,
Chetanya
Hi @Luca_Lattarini,
Before you construct, do consider the below points:
The best way would be to prefix this sourceId, storeId, and the purchaseId of the order from that store. This will make it unique.
Thanks,
Chetanya
@Luca_Lattarini Another thing to consider is if a Purchase Order would ever change (e.g. status)? If so, remember:
Great point @Danny-Miller
Couple more things i could think of
Thanks guys for the very helpful suggestion that I will use.
I have another question, assuming that i have an event with _id:"1000" email:"xxx", purchased:"shoes model 1" with no timestamp. What happend if later I ingest another another event with same _id but for example _id:"1000" email:"xxx", purchased:"shoes model 2" .
Is it possible that the last event overrides the previous event and i will only see the last event ?
Thanks
Views
Replies
Total Likes
Views
Replies
Total Likes
If a duplicate _id for an Event is loaded into the same dataset , the event will be ignored from the profile store but it will be available in the data lake. So both the events that have shoes model 1 and shoes model 2 will show up in the data lake when you query the dataset using query services . However, only the shoes model 1 event will be associated to the profile when you do a profile lookup.
Good point... sometimes I focus too much on the Profile, thanks for reminding everyone.
Views
Replies
Total Likes