Import-FileContentToDB: Multiple Replace cmds in PreparingFile, Fixed XLSX and CSV import issues
This commit is contained in:
parent
d100e0189a
commit
726b037bd2
Binary file not shown.
@ -1,7 +1,15 @@
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 2.2.0.0 - 14.10.2024
|
||||
NEW: - Multiple Replace cmds in PreparingFile
|
||||
FIX: - Fixed XLSX and CSV import issues
|
||||
CHG: -
|
||||
REM: -
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Version 2.1.0.0 - 11.10.2024
|
||||
NEW: - Parameter call (
|
||||
NEW: - Parameter call (-pProfileID)
|
||||
FIX: - Fixed CSV import issue, if inverted commas in data - other case
|
||||
CHG: - " will be removed bevor inserting data, Code improvement
|
||||
REM: -
|
||||
|
||||
@ -152,8 +152,9 @@ DBConnString = "Data Source=S-ZLSDMS-DB1\;Initial Catalog=DD_ECM\;User Id=DD_ECM
|
||||
# PreparingFile = <Command> #
|
||||
#--------------------------------------------------------------------------------------------------#
|
||||
# First Parameter: <Command> #
|
||||
# Set a replace command if necessary. #
|
||||
# Set a replace command if necessary. You can set multiple Commands, by seperation them with ~|~ #
|
||||
# Example: Replace(<OldString>~,~<NewString>) #
|
||||
# Example: Replace(<OldString1>~,~<NewString1>) ~|~ Replace(<OldString2>~,~<NewString2>) #
|
||||
####################################################################################################
|
||||
|
||||
####################################################################################################
|
||||
@ -233,11 +234,9 @@ FinalSQL =
|
||||
#FinalSQL =
|
||||
|
||||
#Profile = CSVImport ; %CellValue% ; \\s-zls32\XAP\XAP-Daten\ZLS\ZLS_WASS\XAP_ZLS_WASS_P\ARC\*.csv ; utf7 ; 3 ; 4 ; 999999999 ; \^\,\^|\^ ; \\s-zls32\XAP\XAP-Daten\ZLS\ZLS_WASS\XAP_ZLS_WASS_P\ARC\DMS-Eingelesen ; \\s-zls32\XAP\XAP-Daten\ZLS\ZLS_WASS\XAP_ZLS_WASS_P\ARC\DMS-Fehler
|
||||
#PreparingFile = Replace(@FOLDER,FT:^HKA-IMP^~,~HKA-IMP)
|
||||
#PreparingFile = Replace(WertA~,~WertB) ~|~ Replace(@FOLDER,FT:^HKA-IMP^~,~HKA-IMP)
|
||||
#CheckSQL =
|
||||
#InitialSQL =
|
||||
#PreparingSQL =
|
||||
#MainLoopSQL = INSERT INTO [DD_ECM].[dbo].[TBCUST_XAP_DOC_EXPORT]([XAP_Beleg_ID],[XAP_Kunden_ID],[XAP_Kundenname],[XAP_Objekt_ID],[XAP_Objektbezeichnung],[XAP_Belegdatum],[XAP_Formular_ID],[XAP_Exportpfad],[ADDED_WHO],[ADDED_WHEN]) SELECT '%column1%','%column2%','%column3%','%column4%','%column5%','%column6%','%column7%','%column8%','Import-FileContentToDB',getdate()
|
||||
#FinalSQL =
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user