Table of Contents

Search

  1. Preface
  2. Working with Transformations
  3. Aggregator Transformation
  4. Custom Transformation
  5. Custom Transformation Functions
  6. Data Masking Transformation
  7. Data Masking Examples
  8. Expression Transformation
  9. External Procedure Transformation
  10. Filter Transformation
  11. HTTP Transformation
  12. Identity Resolution Transformation
  13. Java Transformation
  14. Java Transformation API Reference
  15. Java Expressions
  16. Java Transformation Example
  17. Joiner Transformation
  18. Lookup Transformation
  19. Lookup Caches
  20. Dynamic Lookup Cache
  21. Normalizer Transformation
  22. Rank Transformation
  23. Router Transformation
  24. Sequence Generator Transformation
  25. Sorter Transformation
  26. Source Qualifier Transformation
  27. SQL Transformation
  28. Using the SQL Transformation in a Mapping
  29. Stored Procedure Transformation
  30. Transaction Control Transformation
  31. Union Transformation
  32. Unstructured Data Transformation
  33. Update Strategy Transformation
  34. XML Transformations

Transformation Guide

Transformation Guide

Defining the Source File

Defining the Source File

The transaction file is a flat file source that contains the prices to update in the database. Each row has a code that defines whether the prices are wholesale, retail, or manufacturer prices. The source file name is PPrices.dat.
You can create a PPrices.dat file in Srcfiles that contains the following rows:
100,M,100,110 100,W,120,200 100,R,130,300 200,M,210,400 200,W,220,500 200,R,230,600 300,M,310,666 300,W,320,680 300,R,330,700
You can import the PPrices.dat file to create the PPrices source definition in the repository.
The PPrices file contains the following columns:
Column
Datatype
Precision
Description
ProductID
String
10
A unique number that identifies the product to update.
PriceCode
String
2
M, W, or R. Defines whether the prices are Manufactured, Wholesale, or Retail prices.
UnitPrice
Number
10
The price for each unit of the product.
PkgPrice
Number
10
The price for a package of the product.

0 COMMENTS

We’d like to hear from you!