Customer Portal

Comments 1

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hi, I'm not sure if I have understood your question well, but I thing that you should use another field for joining. In our example record from file:
    10248|VINET|5|4.7.1996 0:00:00|1.8.1996 0:00:00|16.7.1996 0:00:00|3|32.38|Vins et alcools Chevalier|59 rue de l'Abbaye|Reims||51100|France
    is joined with record from db:
    5;Maya Gutierrez;Maya;Gutierrez;2;VP Country Manager;0;1;Thu May 10 00:00:00 CET 1951;Thu Jan 01 00:00:00 CET 1998;;35000.0;1;Bachelors Degree;M;F;Senior Management
    with join key: on db - employee_id, on text file - EmployeeID (marked red).
    About your second question: thats true, that you can't do such transformation only by drag and drop, because the second metadata are lacking. You have to write it manually in "Source" tab. Transformation should look like that:
    ${out.0.OrderID} = ${in.0.OrderID};
    ${out.0.CustomerID} = ${in.0.CustomerID};
    ${out.0.EmployeeID} = ${in.0.EmployeeID};
    ${out.0.EmployeeID2} = ${in.1.employee_id};
    ${out.0.LastName} = ${in.1.full_name};
    where in.1 means records from db.

Please sign in to leave a comment.