Customer Portal

REFORMAT - from file to database

Comments 3

  • Avatar
    jurban
    0
    Comment actions Permalink
    Hi,
    can you please post the graph, or at least the simple transformation mapping? how many records are read as input of the reformat?

    Jaro
  • Avatar
    francoise.gerard
    0
    Comment actions Permalink
    I tried the "clover" transform as this :

    function transform() {
    $0.objectId := str2num($0.ID_KF);
    $0.illustrationName := $0.Nom;
    $0.switchCcy := $0.DeviseS;
    $0.productName := $0.NomProduit;
    $0.referenceCcy := $0.DeviseP;
    }

    and now it works!

    Maybe the "easy transform mapping" is only to map same data type (no string to num conversion) ?
  • Avatar
    jurban
    0
    Comment actions Permalink
    Hi,
    easy transformation language can do some type conversions, but not all (string to num probably does not work automatically). the easy transformation language (or as we call it Clover Transformation Language Lite) is basically just a simple macro language for Java, so everything except ${field) and @{field} is normal Java source...

    Jaro

Please sign in to leave a comment.