Hi all,
I've got a flow that picks up a .CSV file from a folder and reads the contents. I was able to use split() to parse the contents by the tab delimiter. So now it looks a little something like this:
[
"Order",
"Sales Order",
"Sales Order Item",
"Order Quantity",
"Root position",
"Material",
"Material Description",
"Basic Start Date",
"Basic Finish Date",
"Scheduled Finish date\n100623",
"60128010",
"2000",
"1",
"2000",
"682400550",
"S-Series",
"03/25/2020",
"03/26/2020",
"03/25/2020\n100624",
"60128010",
"3000",
"1",
"3000",
"682400550",
"S-Series",
"03/25/2020",
"03/26/2020",
"03/25/2020\n100625",
"60128010",
"2025",
"1",
"2000",
"682400551",
"S-Series Armset",
"03/25/2020",
"03/26/2020",
"03/25/2020\n100626",
"60128010",
"3025",
"1",
"3000",
"682400551",
"S-Series Armset",
"03/25/2020",
"03/26/2020",
"03/25/2020\n100744",
"60129132",
"2025",
"2",
"2000",
"682400551",
"S-Series Armset",
"03/16/2020",
"03/17/2020",
"03/16/2020\n100745",
"60129132",
"6025",
"2",
"6000",
"682400551",
"S-Series Armset",
"03/16/2020",
"03/17/2020",
"03/16/2020\n100746",
"60129132",
"10025",
"2",
"10000",
"682400551",
"S-Series Armset",
"03/16/2020",
"03/17/2020",
"03/16/2020\n100747",
"60129132",
"13025",
"2",
"13000",
"682400551",
"S-Series Armset",
"03/16/2020",
"03/17/2020",
"03/16/2020\n100748",
"60127439",
"19000",
"3",
"19000",
"682400550",
"S-Series",
"03/23/2020",
"03/26/2020",
"03/25/2020\n100749",
"60127439",
"19025",
"3",
"19000",
"682400551",
"S-Series Armset",
"03/25/2020",
"03/26/2020",
"03/25/2020\n101154",
"60127937",
"9000",
"2",
"9000",
"P39192",
"ASM, CEILING MOUNTED JUNCTION BOX",
"03/16/2020",
"03/17/2020",
"03/16/2020\n101499",
"60128523",
"76000",
"1",
"76000",
"P35773",
"KIT, VALVE BRIDGE EXTENDER ASSEMBLY",
"03/24/2020",
"03/25/2020",
"03/24/2020\n101500",
"60128523",
"77000",
"1",
"77000",
"P35773",
"KIT, VALVE BRIDGE EXTENDER ASSEMBLY",
"03/24/2020",
"03/25/2020",
"03/24/2020\n101501",
"60128523",
"78000",
"2",
"78000",
"P35773",
"KIT, VALVE BRIDGE EXTENDER ASSEMBLY",
"03/24/2020",
"03/25/2020",
"03/24/2020\n101502",
"60128523",
"83000",
"2",
"83000",
"P35773",
"KIT, VALVE BRIDGE EXTENDER ASSEMBLY",
"03/24/2020",
"03/25/2020",
"03/24/2020\n101503",
"60128646",
"1000",
"2",
"1000",
"682400550",
"S-Series",
"03/31/2020",
"04/01/2020",
"03/31/2020\n101504",
"60128646",
"2000",
"2",
"2000",
"682400550",
"S-Series",
"03/31/2020",
"04/01/2020",
"03/31/2020\n101505",
"60128646",
"1025",
"2",
"1000",
"682400551",
"S-Series Armset",
"03/31/2020",
"04/01/2020",
"03/31/2020\n101506",
"60128646",
"2025",
"2",
"2000",
"682400551",
"S-Series Armset",
"03/31/2020",
"04/01/2020",
"03/31/2020\n101517",
"60127439",
"22000",
"3",
"22000",
"682400550",
"S-Series",
"03/21/2020",
"03/26/2020",
"03/25/2020\n101518",
"60127439",
"22025",
"3",
"22000",
"682400551",
"S-Series Armset",
"03/24/2020",
"03/26/2020",
"03/25/2020\n101534",
"65012345",
"2000",
"1",
"2000",
"P38549",
"OUTLET, ASSY, BEACON MEDAES CHEMTRON VAC",
"03/21/2020",
"03/26/2020",
"03/24/2020\n101537",
"65012412",
"1000",
"1",
"1000",
"5000871",
"Platform Control Kit, Brakes, Up/Dn",
"03/23/2020",
"03/27/2020",
"03/25/2020\n101666",
"60128272",
"1000",
"3",
"1000",
"CH00000001",
"CHROMOPHARE",
"03/16/2020",
"03/17/2020",
"03/16/2020\n101667",
"60128272",
"3000",
"3",
"3000",
"CH00000001",
"CHROMOPHARE",
"03/16/2020",
"03/17/2020",
"03/16/2020\n101668",
"60128272",
"1050",
"3",
"1000",
"CH11000000",
"Ceiling Mount",
"03/16/2020",
"03/17/2020",
"03/16/2020\n101671",
"60128272",
"1100",
"3",
"1000",
"CH13000000",
"Horizontal Arm Group",
"03/16/2020",
"03/17/2020",
"03/16/2020\n101672",
"60128272",
"3075",
"3",
"3000",
"CH13000000",
"Horizontal Arm Group",
"03/16/2020",
"03/17/2020",
"03/16/2020\n101675",
"60128272",
"1175",
"3",
"1000",
"CH20020000",
"Lighthead",
"03/17/2020",
"03/17/2020",
"03/17/2020\n101676",
"60128272",
"3150",
"3",
"3000",
"CH20020000",
"Lighthead",
"03/17/2020",
"03/17/2020",
"03/17/2020\n101677",
"60128272",
"1225",
"3",
"1000",
"CH61000000",
"Wallcontrol Box",
"03/16/2020",
"03/17/2020",
"03/16/2020\n101678",
"60128272",
"3200",
"3",
"3000",
"CH61000000",
"Wallcontrol Box",
"03/16/2020",
"03/17/2020",
"03/16/2020\n101679"....and so on.
As you can see, it's split up every element into an individual row. The new line delimiter exists here ("\n") and I haven't done anything with that yet. Am I able to use these contents to create a JSON table? I'd like to able to use this data to insert into a SQL server.
Thanks,
Farhan