
johndanter
Legendary Poster
Hi folks,
I'm having a brain fart today sorry. I have been asked to help upload some 160000 records every so often into E1 using a CSV.
In the past I've coded Table Converters or pointed people to R47002C. But this time I need to be a bit smarter as I need to clear matching records off F41061 and do some validation before insert.
Also automated detection of the new CSV file would be welcome.
Is there something in E1 that allows screens to detect a drag and dropped file? I've seen Steltix Dropzone does this, but how? AIS? But what tech knows a file has been dropped
So with that in mind
1) What BSFNs read CSVs files? B4700240 jdeFopen is the API right? EDIT I've prototyped this Fetch Next Line from Flat File with .txt and csv file.
2) How can I get an APPL screen to detect someone has drag and dropped a file for upload? (as failing that it's the old fashioned route of get a UBE to point to a mapped folder)
3) can FetchNextLineFromFlatFile(B76B0220.FetchNextLineFromFlatFile) handle CSVs? EDIT ignore yes it can
4) Are there any BSFN s that can check a file is present in a folder if it doesn't know it's exact name? CheckforFile needs an exact name right?
Thanks
John
I'm having a brain fart today sorry. I have been asked to help upload some 160000 records every so often into E1 using a CSV.
In the past I've coded Table Converters or pointed people to R47002C. But this time I need to be a bit smarter as I need to clear matching records off F41061 and do some validation before insert.
Also automated detection of the new CSV file would be welcome.
Is there something in E1 that allows screens to detect a drag and dropped file? I've seen Steltix Dropzone does this, but how? AIS? But what tech knows a file has been dropped
So with that in mind
1) What BSFNs read CSVs files? B4700240 jdeFopen is the API right? EDIT I've prototyped this Fetch Next Line from Flat File with .txt and csv file.
2) How can I get an APPL screen to detect someone has drag and dropped a file for upload? (as failing that it's the old fashioned route of get a UBE to point to a mapped folder)
3) can FetchNextLineFromFlatFile(B76B0220.FetchNextLineFromFlatFile) handle CSVs? EDIT ignore yes it can
4) Are there any BSFN s that can check a file is present in a folder if it doesn't know it's exact name? CheckforFile needs an exact name right?
Thanks
John
Last edited: