Hello Everyone,
I need a little bit advice how I can get around the following scenario I have.
I have a file which has PO and Line information like the following. I have to read that file and write to another file with the PO but line number should be increments 10 within the same PO number. In other words the target file should have lines increments of 10, 20, 30.... even if the source files lines have odd numbers within each PO. See target file example below. How do I do this? Appreciate help.
Thanks in advance
Surkum
I need a little bit advice how I can get around the following scenario I have.
I have a file which has PO and Line information like the following. I have to read that file and write to another file with the PO but line number should be increments 10 within the same PO number. In other words the target file should have lines increments of 10, 20, 30.... even if the source files lines have odd numbers within each PO. See target file example below. How do I do this? Appreciate help.
Thanks in advance
Surkum
Code:
Source File Target File PO Line PO Line 1234 1 1234 10 1234 2 1234 20 1234 3 1234 30 23456 5 23456 10 23456 6 23456 20 23456 7 23456 30






Comment