Changes for page Exercise - Create transformations
Last modified by Eva Torken on 2024/03/01 13:30
From version 28.1
edited by eMagiz
on 2022/11/24 10:41
on 2022/11/24 10:41
Change comment:
There is no comment for this version
To version 29.1
edited by Erik Bakker
on 2023/01/19 11:57
on 2023/01/19 11:57
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.e Magiz1 +XWiki.ebakker - Content
-
... ... @@ -11,8 +11,17 @@ 11 11 12 12 == 2. Exercise == 13 13 14 -In this exercise, please 14 +In this exercise, please make the following changes to the system message of the TMS system: 15 +* Change dataType of the attribute called "OrderDate" to **date** 16 +* Add an attribute called "OrderReference" on the Order entity 15 15 18 +And the following changes to the transformation from CDM to TMS: 19 +* Make sure that the "OrderReference" attribute is filled with the constant value of **Fixed-54321** 20 +* Make sure that the "OrderID" is filled with the input value from the CDM but also make sure that when there is no input value a constant with the value **except-12345** is filled in 21 +* Make sure that the incoming "Date" value is properly transformed from a dateTime value to a date value to prevent validation errors on the "OrderDate" attribute 22 +* Add the following custom Xpath for the "Country" attribute under "Order_PickupAddress/Address" 23 + ** if (Country = 'NL') then Country = 'NLD' else Country = 'FRA' 24 + 16 16 == 3. Solution == 17 17 18 18 In this short movie, you will find the workout of this exercise. Take a moment to review this one and compare it to your solution.