HomeForum
Welcome, Guest

Loading customer's orders
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Loading customer's orders

Loading customer's orders 1 year, 2 months ago #1824

  • Ian
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
I have a file this

Customer Id Order Amount
1 1 10.2
null 2 50.66
null 3 12.66

and I want to transform it to something like this

Customer Id Order Amount
1 1 10.2
null 2 50.66
null 3 12.66

How can I do it?
Ian

Re: Loading customer's orders 1 year, 2 months ago #1825

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2181
  • Karma: 12
Ian

You may use KeepValue function for it

Peter

Re: Loading customer's orders 1 year, 2 months ago #1826

  • Ian
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Yes that works as expected.
Now I have another file to transform
The file is comma delimited.

Null,Date,01/01/2000
Order Date,Amount,Customer ID
01/01/2000,2,KK
01/01/2000,3,KK

How can I transform it?

Ian

Re: Loading customer's orders 1 year, 2 months ago #1827

  • Ian
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
You can do the following
USE Sequence to calculate record number
Connect Sequence and field to Calculation
and use this script
begin
if [F001]=1 then
Result := '[F002]'
else
Result := '';
end;
+ connect keep value to the calculation


moz-screenshot-15.png


moz-screenshot-16.png

Re: Loading customer's orders 1 year, 2 months ago #1828

  • Ian
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Thank you very much for your quick response.

Ian
  • Page:
  • 1
Time to create page: 0.22 seconds

Testimonials

"AETL is a perfect fit for our requirements as it offers process automation and integration in one single package. This initiative has helped us to improve our business process efficiency and timeliness."

Sue K,
Online Logistics

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top