To keep a log of customer orders in SAP Customer Data Cloud, the recommended approach is tomodify the account's data schemaby adding anordersattribute. This attribute should be structured as an array of objects, where each object represents an order and contains relevant details (e.g., order ID, date, items).
Option A: Incorrect. Adding a custom type to the data store and providing a UID for each document is unnecessary complexity for this use case. The goal is to associate orders directly with user accounts.
Option B: Correct. Modifying the account's data schema to include anordersattribute as an array of objects is the most efficient and scalable way to store order logs within the user profile.
Option C: Incorrect. Adding a JSON document to the custom data is less structured and harder to manage compared to modifying the schema with a dedicatedordersattribute.
Option D: Incorrect. Updating the profile schema according to the order data structure is vague and does not specify how the data will be stored or managed.
References:
SAP Customer Data Cloud - Data Schema Customization
Customizing Account Data
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit