Customer Portal

Show for parents and indent children

Comments 1

  • Avatar
    imriskal
    0
    Comment actions Permalink
    Hi, mwgjordan,

    I would use just Reformat with CTL code like the following:
    string country = "";
    string type = "";
    string make = "";

    function integer transform() {
    if (!isnull($in.0.COUNTRY)) {
    country = $in.0.COUNTRY;
    }
    if (!isnull($in.0.TYPE)) {
    type = $in.0.TYPE;
    }
    if (!isnull($in.0.MAKE)) {
    make = $in.0.MAKE;
    }

    $out.0.COUNTRY = country;
    $out.0.TYPE = type;
    $out.0.MAKE = make;

    return ALL;
    }
    Best regards,

Please sign in to leave a comment.