diff --git a/backend/src/main/java/com/workbenchclassic/TranSql.java b/backend/src/main/java/com/workbenchclassic/TranSql.java index 70c3bba..8c4f40a 100644 --- a/backend/src/main/java/com/workbenchclassic/TranSql.java +++ b/backend/src/main/java/com/workbenchclassic/TranSql.java @@ -40,7 +40,7 @@ final class TranSql { "tran.seq_tranidocstatus"); String schema = schema(isOracle); String sql = "INSERT INTO " + schema - + ".tran_idoc_status (IDOC_ID, INTERFACE_NO, SOURCE, STATUS, CREATED, STAMP) " + + ".tran_idocstatus (IDOC_ID, INTERFACE_NO, SOURCE, STATUS, CREATED, STAMP) " + "VALUES (?, ?, 0, 0, " + timestamp(isMSSQL) + ", " + timestamp(isMSSQL) + ")"; try (PreparedStatement ps = conn.prepareStatement(sql)) { diff --git a/backend/src/main/webapp/BOMImport.html b/backend/src/main/webapp/BOMImport.html index 99cf49b..62c6999 100644 --- a/backend/src/main/webapp/BOMImport.html +++ b/backend/src/main/webapp/BOMImport.html @@ -77,11 +77,16 @@ hot = new Handsontable(container, { data: importedData, colHeaders:["MATERIAL_NO", "BOM_VERSION_ERP", "COMPONENT_NO","COMP_NAME","POS_TYPE","ALTERNATIVE","WS_ERP", "LAYER","QTY","UNIT","SETUP_FLAG","PRODUKT", "PROCESS_GROUP"], - rowHeaders: true, - width: '100%', - height: 300, - licenseKey: 'non-commercial-and-evaluation' - }); + rowHeaders: true, + width: '100%', + height: 300, + stretchH: 'all', + autoColumnSize: false, + manualColumnResize: true, + colWidths: 110, + wordWrap: false, + licenseKey: 'non-commercial-and-evaluation' + }); } }; reader.readAsBinaryString(fileInput.files[0]); diff --git a/backend/src/main/webapp/Config.html b/backend/src/main/webapp/Config.html index 7cf62d8..ddcb725 100644 --- a/backend/src/main/webapp/Config.html +++ b/backend/src/main/webapp/Config.html @@ -379,9 +379,14 @@ document.addEventListener('DOMContentLoaded', function() { data: "used", renderer: booleanOrTextRenderer } - ], - licenseKey: "non-commercial-and-evaluation" - }); + ], + stretchH: "all", + autoColumnSize: false, + manualColumnResize: true, + colWidths: [82, 300, 120, 120, 170, 120], + wordWrap: false, + licenseKey: "non-commercial-and-evaluation" + }); }); diff --git a/backend/src/main/webapp/Contacts.html b/backend/src/main/webapp/Contacts.html index 1b5f578..45fb226 100644 --- a/backend/src/main/webapp/Contacts.html +++ b/backend/src/main/webapp/Contacts.html @@ -98,11 +98,16 @@ hot = new Handsontable(container, { data: importedData, colHeaders: headers, - rowHeaders: true, - width: '100%', - height: 300, - licenseKey: 'non-commercial-and-evaluation' - }); + rowHeaders: true, + width: '100%', + height: 300, + stretchH: 'all', + autoColumnSize: false, + manualColumnResize: true, + colWidths: 120, + wordWrap: false, + licenseKey: 'non-commercial-and-evaluation' + }); } }; reader.readAsBinaryString(fileInput.files[0]); diff --git a/backend/src/main/webapp/ErpAdd.html b/backend/src/main/webapp/ErpAdd.html index 8c68c68..08c0e19 100644 --- a/backend/src/main/webapp/ErpAdd.html +++ b/backend/src/main/webapp/ErpAdd.html @@ -102,11 +102,16 @@ hot = new Handsontable(container, { data: importedData, colHeaders: headers, - rowHeaders: true, - width: '100%', - height: 300, - licenseKey: 'non-commercial-and-evaluation' - }); + rowHeaders: true, + width: '100%', + height: 300, + stretchH: 'all', + autoColumnSize: false, + manualColumnResize: true, + colWidths: 120, + wordWrap: false, + licenseKey: 'non-commercial-and-evaluation' + }); } }; reader.readAsBinaryString(fileInput.files[0]); diff --git a/backend/src/main/webapp/PARTImport.html b/backend/src/main/webapp/PARTImport.html index 3388eb7..8bf74db 100644 --- a/backend/src/main/webapp/PARTImport.html +++ b/backend/src/main/webapp/PARTImport.html @@ -77,11 +77,16 @@ hot = new Handsontable(container, { data: importedData, colHeaders:["MATERIAL_NO", "MATERIAL_DESC", "MATERIAL_GRP_NO", "MATERIAL_GRP_TYPE", "UNIT", "PRODUCT"], - rowHeaders: true, - width: '100%', - height: 300, - licenseKey: 'non-commercial-and-evaluation' - }); + rowHeaders: true, + width: '100%', + height: 300, + stretchH: 'all', + autoColumnSize: false, + manualColumnResize: true, + colWidths: 120, + wordWrap: false, + licenseKey: 'non-commercial-and-evaluation' + }); } }; reader.readAsBinaryString(fileInput.files[0]); diff --git a/backend/src/main/webapp/Station.html b/backend/src/main/webapp/Station.html index 8ffd321..1f62fc3 100644 --- a/backend/src/main/webapp/Station.html +++ b/backend/src/main/webapp/Station.html @@ -171,18 +171,10 @@ - - - -