Skip to content

Commit

Permalink
Updated DWH mapping.
Browse files Browse the repository at this point in the history
  • Loading branch information
harmen-xb committed Jun 21, 2024
1 parent ff41b6d commit f8b6fd2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion examples/mapping-example/ExampleDWH/mappings/DWH.mapping.cm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ mapping:
- id: Customer
entity: ExampleCRM.Customer
join: from
conditions:
- Customer.Id > 0
- id: Address
entity: ExampleCRM.Address
join: left-join
Expand All @@ -21,9 +23,17 @@ mapping:
- id: AddressSourceObject
entity: ExampleCRM.Address
join: inner-join
dependencies:
- Customer
conditions:
- AddressSourceObject.CustomerID = Customer.Id
- id: CalcAgeSourceObject
entity: CalcAge
join: inner-join
join: apply
dependencies:
- Customer
conditions:
- CalcAgeSourceObject.BirthDate = Customer.BirthDate
target:
entity: CompleteCustomer
mappings:
Expand All @@ -42,3 +52,4 @@ mapping:
expression: "1337"
- attribute: FixedString
expression: "Fixed String"
- attribute: Today

0 comments on commit f8b6fd2

Please sign in to comment.