Table of Contents

Search

  1. Preface
  2. Transformations
  3. Source transformation
  4. Target transformation
  5. Access Policy transformation
  6. Aggregator transformation
  7. Cleanse transformation
  8. Data Masking transformation
  9. Data Services transformation
  10. Deduplicate transformation
  11. Expression transformation
  12. Filter transformation
  13. Hierarchy Builder transformation
  14. Hierarchy Parser transformation
  15. Hierarchy Processor transformation
  16. Input transformation
  17. Java transformation
  18. Java transformation API reference
  19. Joiner transformation
  20. Labeler transformation
  21. Lookup transformation
  22. Machine Learning transformation
  23. Mapplet transformation
  24. Normalizer transformation
  25. Output transformation
  26. Parse transformation
  27. Python transformation
  28. Rank transformation
  29. Router transformation
  30. Rule Specification transformation
  31. Sequence Generator transformation
  32. Sorter transformation
  33. SQL transformation
  34. Structure Parser transformation
  35. Transaction Control transformation
  36. Union transformation
  37. Velocity transformation
  38. Verifier transformation
  39. Web Services transformation

Transformations

Transformations

Step 2. Build the output group and create a struct

Step 2. Build the output group and create a struct

Once you configure the basic mapping, create the output group next.
Perform the following steps to create the output group with the basic purchase order data and add the ship-to address:
  1. Add all the incoming fields from POHeader to the PurchaseOrder output group.
  2. Add a new output field with the following properties:
    Property
    Value
    Child Of
    PurchaseOrder
    Name
    shipToAddress
    Type
    struct
    Struct Name
    address_struct
  3. Add all the incoming fields from Address to the shipToAddress struct in the output group:
    The list of incoming fields on the left includes the Address table. The output group on the right contains the empty shipToAddress struct.
  4. Delete the following fields that you do not need in the output group:
    • PurchaseOrder.shipToAddress.OrderNumber
    • PurchaseOrder.shipToAddress.AddressType
  5. Add a filter condition for the PurchaseOrder.shipToAddress struct:
    :fld.{Address.OrderNumber}=:fld.{PurchaseOrder.OrderNumber} AND :fld.{Address.AddressType}='ShipTo'.

0 COMMENTS

We’d like to hear from you!