();
+ jDesktopPane1.add(jComboBoxSortBy);
+ jComboBoxSortBy.setModel(jComboBoxSortByModel);
+ jComboBoxSortBy.setBounds(230, 78, 350, 21);
+ jComboBoxSortBy.setMaximumRowCount(Common.materialSortBy.length);
+ }
+
+ {
+ jToggleButtonSequence = new JToggleButton();
+ jDesktopPane1.add(jToggleButtonSequence);
+ jToggleButtonSequence.setBounds(581, 78, 21, 21);
+ jToggleButtonSequence.addActionListener(new ActionListener()
+ {
+ public void actionPerformed(ActionEvent evt)
+ {
+ setSequence(jToggleButtonSequence.isSelected());
+ }
+ });
+ }
+
+ {
+ jStatusText = new JLabel4j_std();
+ jStatusText.setForeground(new Color(255, 0, 0));
+ jStatusText.setBackground(Color.GRAY);
+ jStatusText.setBounds(0, 563, 970, 20);
+ jStatusText.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
+ jDesktopPane1.add(jStatusText);
+ }
+
+ {
+ jButtonExcel = new JButton4j(Common.icon_XLS_16x16);
+ jButtonExcel.addActionListener(new ActionListener()
+ {
+ public void actionPerformed(final ActionEvent e)
+ {
+ export();
+ }
+ });
+
+ jButtonExcel.setText(lang.get("btn_Excel"));
+ jButtonExcel.setMnemonic(lang.getMnemonicChar());
+ jButtonExcel.setBounds(488, 112, 109, 32);
+ jDesktopPane1.add(jButtonExcel);
+ }
+
+ {
+ jButtonClear = new JButton4j(Common.icon_clear_16x16);
+ jButtonClear.addActionListener(new ActionListener()
+ {
+ public void actionPerformed(final ActionEvent e)
+ {
+ clearFilter();
+ }
+ });
+ jButtonClear.setText(lang.get("btn_Clear_Filter"));
+ jButtonClear.setMnemonic(lang.getMnemonicChar());
+ jButtonClear.setBounds(270, 112, 109, 32);
+ jDesktopPane1.add(jButtonClear);
+ }
+
+ JLabel4j_std label4j_std = new JLabel4j_std();
+ label4j_std.setText(lang.get("lbl_Limit"));
+ label4j_std.setHorizontalAlignment(SwingConstants.TRAILING);
+ label4j_std.setBounds(574, 78, 84, 21);
+ jDesktopPane1.add(label4j_std);
+
+ jCheckBoxLimit.setSelected(true);
+ jCheckBoxLimit.setBackground(Color.WHITE);
+ jCheckBoxLimit.setBounds(662, 78, 21, 21);
+ jDesktopPane1.add(jCheckBoxLimit);
+
+ JSpinner.NumberEditor ne = new JSpinner.NumberEditor(jSpinnerLimit);
+ ne.getTextField().setFont(Common.font_std);
+ jSpinnerLimit.setEditor(ne);
+ jSpinnerLimit.setValue(1000);
+ jSpinnerLimit.setBounds(691, 78, 68, 21);
+ jDesktopPane1.add(jSpinnerLimit);
+
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * WindowBuilder generated method.
+ * Please don't remove this method or its invocations.
+ * It used by WindowBuilder to associate the {@link javax.swing.JPopupMenu}
+ * with parent.
+ */
+ private static void addPopup(Component component, final JPopupMenu popup)
+ {
+ component.addMouseListener(new MouseAdapter()
+ {
+ public void mousePressed(MouseEvent e)
+ {
+ if (e.isPopupTrigger())
+ showMenu(e);
+ }
+
+ public void mouseReleased(MouseEvent e)
+ {
+ if (e.isPopupTrigger())
+ showMenu(e);
+ }
+
+ private void showMenu(MouseEvent e)
+ {
+ popup.show(e.getComponent(), e.getX(), e.getY());
+ }
+ });
+ }
+}
diff --git a/b6/src/com/commander4j/bom/JTreePrintPreview.java b/b6/src/com/commander4j/bom/JTreePrintPreview.java
new file mode 100644
index 000000000..b28002f3e
--- /dev/null
+++ b/b6/src/com/commander4j/bom/JTreePrintPreview.java
@@ -0,0 +1,99 @@
+package com.commander4j.bom;
+
+import java.awt.BorderLayout;
+import java.awt.Dimension;
+import java.awt.Frame;
+import java.awt.Graphics;
+import java.awt.Graphics2D;
+import java.awt.print.PageFormat;
+import java.awt.print.Printable;
+import java.awt.print.PrinterException;
+import java.awt.print.PrinterJob;
+
+import javax.swing.JButton;
+import javax.swing.JDialog;
+import javax.swing.JOptionPane;
+import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+import javax.swing.JTree;
+
+public class JTreePrintPreview
+{
+
+ public static void showPrintPreview(JTree tree)
+ {
+ JDialog previewDialog = new JDialog((Frame) null, "Print Preview", true);
+
+ JPanel previewPanel = new JPanel()
+ {
+ private static final long serialVersionUID = 1L;
+
+ @Override
+ protected void paintComponent(Graphics g)
+ {
+ super.paintComponent(g);
+ Graphics2D g2d = (Graphics2D) g;
+
+ PageFormat pf = PrinterJob.getPrinterJob().defaultPage();
+ double scale = Math.min(getWidth() / pf.getImageableWidth(), getHeight() / pf.getImageableHeight());
+ g2d.translate(50, 50); // Offset for the preview panel's margin
+ g2d.scale(scale, scale);
+
+ tree.printAll(g2d);
+ }
+ };
+
+ previewPanel.setPreferredSize(new Dimension(600, 800));
+ JScrollPane scrollPane = new JScrollPane(previewPanel);
+
+ JPanel buttonPanel = new JPanel();
+ JButton printButton = new JButton("Print");
+ printButton.addActionListener(e -> {
+ previewDialog.dispose();
+ printTree(tree);
+ });
+
+ JButton closeButton = new JButton("Close");
+ closeButton.addActionListener(e -> previewDialog.dispose());
+
+ buttonPanel.add(printButton);
+ buttonPanel.add(closeButton);
+
+ previewDialog.setLayout(new BorderLayout());
+ previewDialog.add(scrollPane, BorderLayout.CENTER);
+ previewDialog.add(buttonPanel, BorderLayout.SOUTH);
+ previewDialog.pack();
+ previewDialog.setLocationRelativeTo(null);
+ previewDialog.setVisible(true);
+ }
+
+ public static void printTree(JTree tree)
+ {
+ PrinterJob job = PrinterJob.getPrinterJob();
+ job.setPrintable((g, pf, pageIndex) -> {
+ if (pageIndex > 0)
+ return Printable.NO_SUCH_PAGE;
+
+ Graphics2D g2d = (Graphics2D) g;
+ g2d.translate(pf.getImageableX(), pf.getImageableY());
+ double scale = Math.min(pf.getImageableWidth() / tree.getWidth(), pf.getImageableHeight() / tree.getHeight());
+ g2d.scale(scale, scale);
+ tree.printAll(g2d);
+
+ return Printable.PAGE_EXISTS;
+ });
+
+ if (job.printDialog())
+ {
+ try
+ {
+ job.print();
+ }
+ catch (PrinterException e)
+ {
+ e.printStackTrace();
+ JOptionPane.showMessageDialog(tree, "Printing failed: " + e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);
+ }
+ }
+ }
+}
diff --git a/b6/src/com/commander4j/calendar/JCalendarDialog2.java b/b6/src/com/commander4j/calendar/JCalendarDialog2.java
new file mode 100755
index 000000000..d53b413a2
--- /dev/null
+++ b/b6/src/com/commander4j/calendar/JCalendarDialog2.java
@@ -0,0 +1,141 @@
+package com.commander4j.calendar;
+
+/**
+ * @author David Garratt
+ *
+ * Project Name : Commander4j
+ *
+ * Filename : JCalendarDialog.java
+ *
+ * Package Name : com.commander4j.calendar
+ *
+ * License : GNU General Public License
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * http://www.commander4j.com/website/license.html.
+ *
+ */
+
+import java.awt.Color;
+import java.awt.Component;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.WindowEvent;
+import java.awt.event.WindowFocusListener;
+import java.util.Calendar;
+
+import javax.swing.ImageIcon;
+import javax.swing.JButton;
+import javax.swing.JDesktopPane;
+import javax.swing.JDialog;
+import javax.swing.UIManager;
+import javax.swing.border.EtchedBorder;
+
+import com.commander4j.sys.Common;
+/**
+ * The JCalendarDialog is used to provide a popup window showing a calendar control.
+ *
+ *
+ *
+ * @see com.commander4j.calendar.JCalendarPanel2 JCalendarPanel
+ * @see com.commander4j.calendar.JCalendarButton JCalendarButton
+ */
+public class JCalendarDialog2 extends JDialog
+{
+
+ private static final long serialVersionUID = 1L;
+ private Calendar selectedDate = Calendar.getInstance();
+ private Calendar backupDate;
+ protected Color background;
+ protected Color foreground;
+ protected Color selectedBackground;
+ protected Color selectedForeground;
+ private Component calling;
+ private JCalendarPanel2 calendarPanel;
+
+ public Calendar getCalendarDate()
+ {
+ return calendarPanel.getCalendarDate();
+ }
+
+ public Calendar getDate()
+ {
+ return calendarPanel.getDate();
+ }
+
+ public JCalendarDialog2(Component parent,Calendar cal)
+ {
+ addWindowFocusListener(new WindowFocusListener() {
+ public void windowGainedFocus(WindowEvent e) {
+ }
+ public void windowLostFocus(WindowEvent e) {
+ dispose();
+ }
+ });
+
+
+ selectedDate = cal;
+
+ this.calling = parent;
+
+ init(selectedDate);
+ }
+
+ public void init(Calendar caldate) {
+
+ setSize(268, 258);
+ setUndecorated(true);
+ setResizable(false);
+ setLocationRelativeTo(calling);
+ setModal(true);
+
+ getContentPane().setLayout(null);
+
+ JDesktopPane desktopPane = new JDesktopPane();
+ desktopPane.setBackground(UIManager.getColor("PopupMenu.background"));
+ desktopPane.setBorder(new EtchedBorder(EtchedBorder.LOWERED, null, null));
+ desktopPane.setBounds(0, 0, 286, 268);
+ getContentPane().add(desktopPane);
+ desktopPane.setLayout(null);
+
+ calendarPanel = new JCalendarPanel2(caldate);
+ calendarPanel.setBackground(UIManager.getColor("PopupMenu.background"));
+ calendarPanel.setBounds(5, 5, 264, 218);
+ desktopPane.add(calendarPanel);
+
+ JButton buttonOK = new JButton(new ImageIcon("images\\OK.gif"));
+ buttonOK.setBounds(36, 224, 90, 26);
+ desktopPane.add(buttonOK);
+ buttonOK.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+
+ dispose();
+ }
+ });
+ buttonOK.setText("OK");
+ buttonOK.setFont(Common.font_std);
+
+ JButton buttonCancel = new JButton(new ImageIcon("images\\Cancel.gif"));
+ buttonCancel.setBounds(132, 224, 90, 26);
+ desktopPane.add(buttonCancel);
+ buttonCancel.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ selectedDate = backupDate;
+ dispose();
+ }
+ });
+ buttonCancel.setText("Cancel");
+ buttonCancel.setFont(Common.font_std);
+ }
+}
diff --git a/b6/src/com/commander4j/calendar/JCalendarPanel2.java b/b6/src/com/commander4j/calendar/JCalendarPanel2.java
new file mode 100755
index 000000000..73e992561
--- /dev/null
+++ b/b6/src/com/commander4j/calendar/JCalendarPanel2.java
@@ -0,0 +1,498 @@
+package com.commander4j.calendar;
+
+/**
+ * @author David Garratt
+ *
+ * Project Name : Commander4j
+ *
+ * Filename : JCalendarPanel.java
+ *
+ * Package Name : com.commander4j.calendar
+ *
+ * License : GNU General Public License
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * http://www.commander4j.com/website/license.html.
+ *
+ */
+
+import java.awt.Color;
+import java.awt.Dimension;
+import java.awt.Font;
+import java.awt.SystemColor;
+import java.awt.Toolkit;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.MouseAdapter;
+import java.awt.event.MouseEvent;
+import java.text.DateFormatSymbols;
+import java.util.Calendar;
+import java.util.LinkedList;
+
+import javax.swing.BorderFactory;
+import javax.swing.DefaultComboBoxModel;
+import javax.swing.JButton;
+import javax.swing.JComboBox;
+import javax.swing.JLabel;
+import javax.swing.JPanel;
+import javax.swing.JSpinner;
+import javax.swing.JTextField;
+import javax.swing.SwingConstants;
+import javax.swing.UIManager;
+import javax.swing.border.Border;
+import javax.swing.border.EmptyBorder;
+import javax.swing.border.EtchedBorder;
+import javax.swing.border.LineBorder;
+import javax.swing.event.ChangeEvent;
+import javax.swing.event.ChangeListener;
+
+import com.commander4j.sys.Common;
+import com.commander4j.util.JDateControl;
+
+/**
+ * The JCalendarPanel is used to provide a popup window showing a calendar
+ * control.
+ *
+ *
+ *
+ * @see com.commander4j.calendar.JCalendarButton JCalendarButton
+ * @see com.commander4j.calendar.JCalendarDialog2 JCalendarDialog
+ */
+public class JCalendarPanel2 extends JPanel
+{
+
+ private static final long serialVersionUID = 1L;
+ private JLabel year;
+ private Calendar selectedDate;
+
+ private JComboBox comboBoxMonth = new JComboBox();
+ private LinkedList buttonsList = new LinkedList();
+ private Font standard_font = new Font("Arial", Font.PLAIN, 10);
+ private Font font_bold = new Font("Arial", Font.BOLD, 10);
+ private Border empty = BorderFactory.createEmptyBorder();
+ private Border line = BorderFactory.createLineBorder(Color.BLACK);
+
+ private JSpinner spinnerHH;
+ private JSpinner spinnerMM;
+ private JSpinner spinnerSS;
+
+ protected Color background;
+ protected Color foreground;
+ protected Color selectedBackground;
+ protected Color selectedForeground;
+ private JLabel lblHr;
+ private JLabel lblMm;
+ private JLabel lblSs;
+ private JComboBox comboBox = new JComboBox();
+
+ public Calendar getCalendarDate()
+ {
+ return selectedDate;
+ }
+
+ public Calendar getDate()
+ {
+ return selectedDate;
+ }
+
+ public JCalendarPanel2(Calendar cal)
+ {
+
+ init(cal);
+ }
+
+ public JCalendarPanel2(JDateControl datetimecontrol)
+ {
+
+ Calendar temp = Calendar.getInstance();
+ temp.setTime(datetimecontrol.getDate());
+ init(temp);
+ }
+
+ public void init(Calendar caldate)
+ {
+
+ setSize(270, 233);
+ setLocation(0, 0);
+
+ background = UIManager.getColor("ComboBox.background");
+ foreground = UIManager.getColor("ComboBox.foreground");
+ selectedBackground = UIManager.getColor("ComboBox.selectionBackground");
+ selectedForeground = UIManager.getColor("ComboBox.selectionForeground");
+
+ Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
+ setLocation((screenSize.width - getSize().width) / 2 - 100, (screenSize.height - getSize().height) / 2 - 1);
+ initGUI();
+ selectedDate = caldate;
+ updateCalendar(selectedDate);
+ }
+
+ private String getMonthFromInt(int iMonth)
+ {
+ String month = "invalid";
+ DateFormatSymbols dfs = new DateFormatSymbols();
+ String[] months = dfs.getMonths();
+ if (iMonth >= 0 && iMonth <= 11)
+ month = months[iMonth];
+ return month;
+ }
+
+ private void updateCalendar(Calendar caldate)
+ {
+ year.setText(String.valueOf(caldate.get(Calendar.YEAR)));
+
+ int days_in_month = caldate.getActualMaximum(Calendar.DATE);
+ int month_in_year = caldate.get(Calendar.MONTH);
+ int current_day_of_month = caldate.get(Calendar.DAY_OF_MONTH);
+ int hour_of_day = caldate.get(Calendar.HOUR_OF_DAY);
+ int minute_of_day = caldate.get(Calendar.MINUTE);
+ int second_of_day = caldate.get(Calendar.SECOND);
+
+ spinnerHH.setValue(hour_of_day);
+
+ spinnerMM.setValue(minute_of_day);
+
+ spinnerSS.setValue(second_of_day);
+
+ comboBoxMonth.setForeground(Color.BLUE);
+ comboBoxMonth.setFont(standard_font);
+ comboBoxMonth.setSelectedIndex(month_in_year);
+
+ int day = 0;
+
+ Calendar temp = (Calendar) caldate.clone();
+ temp.set(Calendar.DAY_OF_MONTH, 1);
+ int first_day_of_week = temp.get(Calendar.DAY_OF_WEEK);
+ int first_week_of_month = 0;
+ temp.set(Calendar.DAY_OF_MONTH, days_in_month);
+
+ int firstIndex = ((first_week_of_month * 7) + first_day_of_week) - 1;
+ int lastIndex = firstIndex + days_in_month;
+
+ day = 1;
+ for (int d = 0; d < 42; d++)
+ {
+ if ((d >= firstIndex) & (d < lastIndex))
+ {
+ ((JLabel) buttonsList.get(d)).setVisible(true);
+ ((JLabel) buttonsList.get(d)).setText(String.valueOf(day));
+ if (day == current_day_of_month)
+ {
+ ((JLabel) buttonsList.get(d)).setForeground(Color.BLACK);
+ ((JLabel) buttonsList.get(d)).setBackground(Color.ORANGE);
+ ((JLabel) buttonsList.get(d)).setFont(font_bold);
+
+ }
+ else
+ {
+ ((JLabel) buttonsList.get(d)).setForeground(Color.BLACK);
+ ((JLabel) buttonsList.get(d)).setBackground(Color.LIGHT_GRAY);
+ ((JLabel) buttonsList.get(d)).setFont(standard_font);
+ }
+ day++;
+ }
+ else
+ {
+ ((JLabel) buttonsList.get(d)).setBackground(Color.BLACK);
+ ((JLabel) buttonsList.get(d)).setVisible(false);
+ ((JLabel) buttonsList.get(d)).setText("");
+ }
+ }
+ }
+
+ private void displayDayNames()
+ {
+ int offsetX = 5;
+ int offsetY = 35;
+ int width = 36;
+ int height = 22;
+ int gap = 0;
+ int currentX = offsetX;
+ String name = "";
+
+ DateFormatSymbols symbols = new DateFormatSymbols();
+ String[] dayNames = symbols.getShortWeekdays();
+
+ for (int dn = 1; dn <= 7; dn++)
+ {
+ JTextField dayLabel = new JTextField();
+ dayLabel.setEditable(false);
+ dayLabel.setFont(standard_font);
+ dayLabel.setForeground(new Color(51, 51, 51));
+ dayLabel.setHorizontalAlignment(SwingConstants.CENTER);
+ dayLabel.setBackground(SystemColor.activeCaption);
+ name = (String) dayNames[dn];
+ if (name.length() > 3)
+ {
+ name = ((String) name.subSequence(0, 3));
+ }
+
+ dayLabel.setText(name);
+ dayLabel.setBounds(currentX, offsetY, width, height);
+ currentX = currentX + (width + gap);
+ add(dayLabel);
+ }
+ }
+
+ private void displayButtons()
+ {
+ int offsetX = 5;
+ int offsetY = 58;
+ int width = 35;
+ int height = 20;
+ int gap = 1;
+ int currentX = 0;
+ int currentY = 0;
+ int week = 1;
+ int day = 1;
+
+ for (int l = 0; l < 42; l++)
+ {
+
+ if (day == 8)
+ {
+ day = 1;
+ week++;
+ }
+
+ currentX = ((day - 1) * (width + gap) + offsetX);
+ currentY = ((week - 1) * (height + gap) + offsetY);
+
+ final JLabel label = new JLabel();
+ final Border selectedBorder = new EtchedBorder();
+ final Border unselectedBorder = new EmptyBorder(selectedBorder.getBorderInsets(new JLabel()));
+ label.setBorder(unselectedBorder);
+ label.setFont(standard_font);
+ label.setForeground(foreground);
+ label.setOpaque(true);
+ label.setHorizontalAlignment(SwingConstants.CENTER);
+ label.setBounds(currentX, currentY, width, height);
+ label.addMouseListener(new MouseAdapter()
+ {
+ public void mouseReleased(MouseEvent e)
+ {
+ selectedDate.set(Calendar.DAY_OF_MONTH, Integer.valueOf(((JLabel) e.getSource()).getText()));
+ updateCalendar(selectedDate);
+ }
+
+ public void mouseEntered(MouseEvent e)
+ {
+ label.setBorder(line);
+ }
+
+ public void mouseExited(MouseEvent e)
+ {
+ label.setBorder(empty);
+ }
+ });
+ add(label);
+ buttonsList.addLast(label);
+ day++;
+ }
+ }
+
+ private void displayMonths()
+ {
+ comboBoxMonth.setBackground(UIManager.getColor("CheckBox.background"));
+ comboBoxMonth.setFont(font_bold);
+ comboBoxMonth.setFocusable(false);
+ comboBoxMonth.setMaximumRowCount(12);
+ comboBoxMonth.setModel(new DefaultComboBoxModel(new String[]
+ { getMonthFromInt(0), getMonthFromInt(1), getMonthFromInt(2), getMonthFromInt(3), getMonthFromInt(4), getMonthFromInt(5), getMonthFromInt(6), getMonthFromInt(7), getMonthFromInt(8), getMonthFromInt(9), getMonthFromInt(10), getMonthFromInt(11) }));
+ comboBoxMonth.setBounds(5, 5, 109, 25);
+ comboBoxMonth.addActionListener(new ActionListener()
+ {
+ public void actionPerformed(ActionEvent e)
+ {
+ int month_in_year = comboBoxMonth.getSelectedIndex();
+ selectedDate = setMonth(selectedDate, month_in_year);
+ updateCalendar(selectedDate);
+ }
+ });
+ add(comboBoxMonth);
+ }
+
+ private Calendar setMonth(Calendar temp, int month_in_year)
+ {
+ int current_day_of_month = temp.get(Calendar.DAY_OF_MONTH);
+ temp.set(Calendar.DATE, 1);
+
+ temp.set(Calendar.MONTH, month_in_year);
+ int days_in_month = temp.getActualMaximum(Calendar.DATE);
+ if (current_day_of_month > days_in_month)
+ {
+ current_day_of_month = days_in_month;
+ }
+ temp.set(Calendar.DATE, current_day_of_month);
+ return temp;
+
+ }
+
+ private void displayYears()
+ {
+ year = new JLabel();
+ year.setForeground(Color.BLACK);
+ year.setFont(standard_font);
+ year.setText("2010");
+ year.setHorizontalAlignment(SwingConstants.CENTER);
+ year.setBorder(empty);
+ year.setBackground(UIManager.getColor("Panel.background"));
+ year.setBounds(199, 5, 34, 23);
+ add(year);
+
+ JButton button = new JButton(Common.icon_arrow_right_16x16);
+ button.setBorder(empty);
+ button.addActionListener(new ActionListener()
+ {
+ public void actionPerformed(ActionEvent e)
+ {
+ selectedDate.add(Calendar.YEAR, 1);
+ updateCalendar(selectedDate);
+ }
+ });
+ button.setBounds(232, 7, 18, 18);
+ add(button);
+
+ JButton button_1 = new JButton(Common.icon_arrow_left_16x16);
+ button_1.setBorder(empty);
+ button_1.addActionListener(new ActionListener()
+ {
+ public void actionPerformed(ActionEvent e)
+ {
+ selectedDate.add(Calendar.YEAR, -1);
+ updateCalendar(selectedDate);
+ }
+ });
+ button_1.setBounds(181, 7, 18, 18);
+ add(button_1);
+
+ spinnerHH = new JSpinner();
+
+ JSpinner.NumberEditor neHH = new JSpinner.NumberEditor(spinnerHH);
+ neHH.getTextField().setFont(Common.font_std);
+ spinnerHH.setEditor(neHH);
+
+ spinnerHH.setForeground(Color.BLUE);
+ spinnerHH.getEditor().setBackground(UIManager.getColor("Panel.background"));
+ spinnerHH.setBorder(new LineBorder(UIManager.getColor("Button.darkShadow")));
+ //spinnerHH.setModel(new SpinnerNumberModel(23, 0, 23, 1));
+ spinnerHH.setFont(standard_font);
+ spinnerHH.setBounds(5, 190, 50, 18);
+ JTextField tf1 = ((JSpinner.DefaultEditor) spinnerHH.getEditor()).getTextField();
+ tf1.setBackground(Color.WHITE);
+ tf1.setForeground(Color.BLACK);
+ spinnerHH.addChangeListener(new ChangeListener()
+ {
+ public void stateChanged(ChangeEvent e)
+ {
+ selectedDate.set(Calendar.HOUR_OF_DAY, Integer.valueOf(spinnerHH.getValue().toString()));
+ updateCalendar(selectedDate);
+ }
+ });
+ add(spinnerHH);
+
+ spinnerMM = new JSpinner();
+
+ JSpinner.NumberEditor neMM = new JSpinner.NumberEditor(spinnerMM);
+ neMM.getTextField().setFont(Common.font_std);
+ spinnerMM.setEditor(neMM);
+
+ spinnerMM.setForeground(Color.BLUE);
+ spinnerMM.getEditor().setBackground(UIManager.getColor("Panel.background"));
+ spinnerMM.setBorder(new LineBorder(UIManager.getColor("Button.darkShadow")));
+ //spinnerMM.setModel(new SpinnerNumberModel(59, 0, 59, 1));
+ spinnerMM.setFont(standard_font);
+ spinnerMM.setBounds(55, 190, 49, 18);
+ JTextField tf2 = ((JSpinner.DefaultEditor) spinnerMM.getEditor()).getTextField();
+ tf2.setBackground(Color.WHITE);
+ tf2.setForeground(Color.BLACK);
+ spinnerMM.addChangeListener(new ChangeListener()
+ {
+ public void stateChanged(ChangeEvent e)
+ {
+ selectedDate.set(Calendar.MINUTE, Integer.valueOf(spinnerMM.getValue().toString()));
+ updateCalendar(selectedDate);
+ }
+ });
+ add(spinnerMM);
+
+ spinnerSS = new JSpinner();
+
+ JSpinner.NumberEditor neSS = new JSpinner.NumberEditor(spinnerSS);
+ neSS.getTextField().setFont(Common.font_std);
+ spinnerSS.setEditor(neSS);
+
+ spinnerSS.getEditor().setBackground(UIManager.getColor("Panel.background"));
+ spinnerSS.setBorder(new LineBorder(UIManager.getColor("Button.darkShadow")));
+ //spinnerSS.setModel(new SpinnerNumberModel(59, 0, 59, 1));
+ spinnerSS.setFont(standard_font);
+ spinnerSS.setBounds(102, 190, 49, 18);
+ JTextField tf3 = ((JSpinner.DefaultEditor) spinnerSS.getEditor()).getTextField();
+ tf3.setBackground(Color.WHITE);
+ tf3.setForeground(Color.BLACK);
+ spinnerSS.addChangeListener(new ChangeListener()
+ {
+ public void stateChanged(ChangeEvent e)
+ {
+ selectedDate.set(Calendar.SECOND, Integer.valueOf(spinnerSS.getValue().toString()));
+ updateCalendar(selectedDate);
+ }
+ });
+ add(spinnerSS);
+
+ lblHr = new JLabel("Hr");
+ lblHr.setHorizontalAlignment(SwingConstants.TRAILING);
+ lblHr.setBounds(6, 172, 23, 16);
+ lblHr.setFont(standard_font);
+ add(lblHr);
+
+ lblMm = new JLabel("Min");
+ lblMm.setHorizontalAlignment(SwingConstants.TRAILING);
+ lblMm.setBounds(58, 172, 18, 16);
+ lblMm.setFont(standard_font);
+ add(lblMm);
+
+ lblSs = new JLabel("Sec");
+ lblSs.setHorizontalAlignment(SwingConstants.TRAILING);
+ lblSs.setBounds(109, 172, 23, 16);
+ lblSs.setFont(standard_font);
+ add(lblSs);
+
+ comboBox.addActionListener(new ActionListener()
+ {
+ public void actionPerformed(ActionEvent e)
+ {
+ spinnerHH.setValue(Integer.valueOf(comboBox.getSelectedItem().toString().substring(0, 2)));
+ spinnerMM.setValue(Integer.valueOf(comboBox.getSelectedItem().toString().substring(3, 5)));
+ spinnerSS.setValue(Integer.valueOf(comboBox.getSelectedItem().toString().substring(6, 8)));
+ }
+ });
+ comboBox.setModel(new DefaultComboBoxModel(new String[]
+ { "00:00:00", "05:59:59", "06:00:00", "11:59:59", "12:00:00", "17:59:59", "18:00:00", "23:59:59" }));
+ comboBox.setFont(standard_font);
+ comboBox.setBounds(158, 187, 103, 25);
+ add(comboBox);
+ }
+
+ private void initGUI()
+ {
+ setLayout(null);
+
+ displayDayNames();
+ displayButtons();
+ displayMonths();
+ displayYears();
+
+ }
+}
diff --git a/b6/src/com/commander4j/db/JDBLocation.java b/b6/src/com/commander4j/db/JDBLocation.java
index b2424f7f4..3791f1abc 100755
--- a/b6/src/com/commander4j/db/JDBLocation.java
+++ b/b6/src/com/commander4j/db/JDBLocation.java
@@ -61,6 +61,9 @@ public class JDBLocation
private String db_msg_despatch_equip_track = "";
private String db_msg_prod_confirm = "";
private String db_msg_prod_unconfirm = "";
+ private String db_msg_pallet_issue = "";
+ private String db_msg_pallet_return = "";
+ private String db_barcode_id = "";
private String dbStorageSection;
private String dbStorageType;
private String dbWarehouse;
@@ -78,6 +81,7 @@ public class JDBLocation
public static int field_storage_section = 10;
public static int field_storage_bin = 10;
public static int field_equipment_tracking_id = 15;
+ public static int field_barcode_id = 25;
private String hostID;
private String sessionID;
private String dbEnabled;
@@ -159,6 +163,9 @@ public void clear()
setMsgPalletSplit("N");
setPermittedPalletStatus("");
setPermittedBatchStatus("");
+ setMsgPalletIssue("N");
+ setMsgPalletReturn("N");
+ setBarcodeId("");
setEnabled(false);
}
@@ -609,6 +616,21 @@ public String getMsgProdUnConfirm()
{
return JUtility.replaceNullStringwithBlank(db_msg_prod_unconfirm);
}
+
+ public String getMsgPalletIssue()
+ {
+ return JUtility.replaceNullStringwithBlank(db_msg_pallet_issue);
+ }
+
+ public String getMsgPalletReturn()
+ {
+ return JUtility.replaceNullStringwithBlank(db_msg_pallet_return);
+ }
+
+ public String getBarcodeId()
+ {
+ return JUtility.replaceNullStringwithBlank(db_barcode_id);
+ }
public String getPlant()
{
@@ -642,6 +664,9 @@ public void getPropertiesfromResultSet(ResultSet rs)
setMsgProdUnConfirm(rs.getString("msg_prod_unconfirm"));
setPermittedPalletStatus(rs.getString("permitted_pallet_status"));
setPermittedBatchStatus(rs.getString("permitted_batch_status"));
+ setMsgPalletIssue(rs.getString("msg_pallet_issue"));
+ setMsgPalletReturn(rs.getString("msg_pallet_return"));
+ setBarcodeId(rs.getString("barcode_id"));
setEnabled(rs.getString("enabled"));
} catch (SQLException e)
@@ -709,6 +734,26 @@ public Boolean isPalletDeleteMessageRequired()
}
return result;
}
+
+ public Boolean isPalletIssueMessageRequired()
+ {
+ Boolean result = false;
+ if (getMsgPalletIssue().equals("Y"))
+ {
+ result = true;
+ }
+ return result;
+ }
+
+ public Boolean isPalletReturnMessageRequired()
+ {
+ Boolean result = false;
+ if (getMsgPalletReturn().equals("Y"))
+ {
+ result = true;
+ }
+ return result;
+ }
public Boolean isJourneyRefRequired()
{
@@ -977,6 +1022,28 @@ public void setMsgPalletSplit(Boolean dbMsgPalletSplit)
db_msg_pallet_split = "N";
}
}
+
+ public void setMsgPalletIssue(Boolean dbMsgPalletIssue)
+ {
+ if (dbMsgPalletIssue)
+ {
+ db_msg_pallet_issue = "Y";
+ } else
+ {
+ db_msg_pallet_issue = "N";
+ }
+ }
+
+ public void setMsgPalletReturn(Boolean dbMsgPalletReturn)
+ {
+ if (dbMsgPalletReturn)
+ {
+ db_msg_pallet_return = "Y";
+ } else
+ {
+ db_msg_pallet_return = "N";
+ }
+ }
public void setMsgDespatchEquipTrack(String dbMsgDespatchEquipTrack)
{
@@ -1021,6 +1088,21 @@ public void setMsgProdUnConfirm(String dbMsgProdUnConfirm)
{
db_msg_prod_unconfirm = dbMsgProdUnConfirm;
}
+
+ public void setMsgPalletIssue(String dbMsgPalletIssue)
+ {
+ db_msg_pallet_issue = dbMsgPalletIssue;
+ }
+
+ public void setMsgPalletReturn(String dbMsgPalletReturn)
+ {
+ db_msg_pallet_return = dbMsgPalletReturn;
+ }
+
+ public void setBarcodeId(String dbBarcodeId)
+ {
+ db_barcode_id = dbBarcodeId;
+ }
public void setMsgProdConfirm(Boolean dbMsgProdConfirm)
{
@@ -1045,6 +1127,39 @@ public void setMsgProdUnConfirm(Boolean dbMsgProdUnConfirm)
}
}
+
+ public String getLocationIDfromBarcodeID(String barcode)
+ {
+ String result = "";
+
+ PreparedStatement stmt;
+ ResultSet rs;
+
+ try
+ {
+ stmt = Common.hostList.getHost(getHostID()).getConnection(getSessionID()).prepareStatement(Common.hostList.getHost(getHostID()).getSqlstatements().getSQL("JDBLocation.getLocationIDfromBarcodeID"));
+ stmt.setString(1, barcode);
+ stmt.setString(2, barcode);
+ stmt.setFetchSize(1);
+ rs = stmt.executeQuery();
+
+ if (rs.next())
+ {
+ result = JUtility.replaceNullStringwithBlank(rs.getString("location_id"));
+ } else
+ {
+ setErrorMessage("Invalid Barcode [" + barcode + "]");
+ result = "";
+ }
+ rs.close();
+ stmt.close();
+ } catch (SQLException e)
+ {
+ setErrorMessage(e.getMessage());
+ }
+
+ return result;
+ }
public void setPlant(String plant)
{
@@ -1126,7 +1241,10 @@ public boolean update()
stmtupdate.setString(20, getMsgJourneyRef());
stmtupdate.setString(21, getEmailDespatch());
stmtupdate.setString(22, getMsgProdUnConfirm());
- stmtupdate.setString(23, getLocationID());
+ stmtupdate.setString(23, getMsgPalletIssue());
+ stmtupdate.setString(24, getMsgPalletReturn());
+ stmtupdate.setString(25, getBarcodeId());
+ stmtupdate.setString(26, getLocationID());
stmtupdate.execute();
diff --git a/b6/src/com/commander4j/db/JDBPallet.java b/b6/src/com/commander4j/db/JDBPallet.java
index 927309497..34720ac32 100755
--- a/b6/src/com/commander4j/db/JDBPallet.java
+++ b/b6/src/com/commander4j/db/JDBPallet.java
@@ -1870,4 +1870,5 @@ public long writePalletHistory(long txnRef, String transactionType, String trans
return txn;
}
+
}
diff --git a/b6/src/com/commander4j/messages/GenericMessageHeader.java b/b6/src/com/commander4j/messages/GenericMessageHeader.java
index cfb9b639c..dcc9ef570 100755
--- a/b6/src/com/commander4j/messages/GenericMessageHeader.java
+++ b/b6/src/com/commander4j/messages/GenericMessageHeader.java
@@ -52,6 +52,7 @@ public class GenericMessageHeader
private String interfaceDirection = "";
private Boolean validHostRef = false;
private Boolean dbconnected = true;
+ private String xmlfilename = "";
private JXMLDocument xmlMessage;
public static String msgStatusSuccess = "Success";
public static String msgStatusWarning = "Warning";
@@ -161,6 +162,16 @@ public Boolean isValidHostRef() {
return validHostRef;
}
+ public void setFilename(String filename)
+ {
+ xmlfilename = filename;
+ }
+
+ public String getFilename()
+ {
+ return xmlfilename;
+ }
+
public Boolean readAddressInfo(String filename, String sessionID) {
Boolean result;
try
@@ -170,6 +181,7 @@ public Boolean readAddressInfo(String filename, String sessionID) {
if (result)
{
decodeHeader(xmlMessage);
+ setFilename(filename);
}
}
catch (Exception ex)
diff --git a/b6/src/com/commander4j/messages/IncommingBillOfMaterials.java b/b6/src/com/commander4j/messages/IncommingBillOfMaterials.java
new file mode 100644
index 000000000..0a9328016
--- /dev/null
+++ b/b6/src/com/commander4j/messages/IncommingBillOfMaterials.java
@@ -0,0 +1,81 @@
+package com.commander4j.messages;
+
+import com.commander4j.bom.BomImport;
+import com.commander4j.bom.JDBBomRecord;
+
+/**
+ * IncommingBillOfMaterials class allows an external system to create a Bill of Materials (Recipe).
+ *
+ */
+
+public class IncommingBillOfMaterials
+{
+
+ private String hostID;
+ private String sessionID;
+ private String errorMessage;
+
+ public String getErrorMessage()
+ {
+ return errorMessage;
+ }
+
+ private void setErrorMessage(String errorMessage)
+ {
+ this.errorMessage = errorMessage;
+ }
+
+ public String getHostID()
+ {
+ return hostID;
+ }
+
+ public void setHostID(String hostID)
+ {
+ this.hostID = hostID;
+ }
+
+ public String getSessionID()
+ {
+ return sessionID;
+ }
+
+ public void setSessionID(String sessionID)
+ {
+ this.sessionID = sessionID;
+ }
+
+ public IncommingBillOfMaterials(String host, String session)
+ {
+ setSessionID(session);
+ setHostID(host);
+ }
+
+ public Boolean processMessage(GenericMessageHeader gmh)
+ {
+ Boolean result = false;
+
+ int errors = 0;
+
+ setErrorMessage("");
+
+ BomImport bomImport = new BomImport(getHostID(),getSessionID());
+
+ JDBBomRecord importresult = bomImport.importBom(gmh.getFilename());
+
+ String bom_id = importresult.getBOMId();
+ String bom_version = importresult.getBOMVersion();
+
+ if (errors == 0)
+ {
+ result = true;
+ }
+
+ setErrorMessage("Bill of Materials - Recipe : ["+bom_id+"] Version : ["+bom_version+"] imported.");
+
+ bomImport = null;
+
+ return result;
+
+ }
+}
diff --git a/b6/src/com/commander4j/messages/OutgoingPalletIssue.java b/b6/src/com/commander4j/messages/OutgoingPalletIssue.java
new file mode 100644
index 000000000..7670e055c
--- /dev/null
+++ b/b6/src/com/commander4j/messages/OutgoingPalletIssue.java
@@ -0,0 +1,377 @@
+package com.commander4j.messages;
+
+/**
+ * @author David Garratt
+ *
+ * Project Name : Commander4j
+ *
+ * Filename : OutgoingProductionDeclarationConfirmation.java
+ *
+ * Package Name : com.commander4j.messages
+ *
+ * License : GNU General Public License
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * http://www.commander4j.com/website/license.html.
+ *
+ */
+
+import java.sql.ResultSet;
+import java.sql.SQLException;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.apache.logging.log4j.Logger;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Text;
+
+import com.commander4j.db.JDBControl;
+import com.commander4j.db.JDBCustomer;
+import com.commander4j.db.JDBInterface;
+import com.commander4j.db.JDBInterfaceLog;
+import com.commander4j.db.JDBInterfaceRequest;
+import com.commander4j.db.JDBMaterial;
+import com.commander4j.db.JDBPalletHistory;
+import com.commander4j.db.JDBProcessOrder;
+import com.commander4j.db.JDBUom;
+import com.commander4j.email.OutGoingMessage;
+import com.commander4j.sys.Common;
+import com.commander4j.util.JFileIO;
+import com.commander4j.util.JUtility;
+import com.commander4j.xml.JXMLDocument;
+
+/**
+ * The OutgoingPalletIssue message is designed to output a
+ * message to an external system (typically an ERP system) to inform it that a
+ * pallet (SSCC) has been issued. All the core data from
+ * the APP_PALLET table is exported along with linked information from
+ * APP_LOCATION, APP_MATERIAL and APP_PROCESS_ORDER
+ *
+ * @see com.commander4j.db.JDBPallet JDBPallet
+ * @see com.commander4j.db.JDBProcessOrder JDBProcessOrder
+ * @see com.commander4j.db.JDBMaterial JDBMaterial
+ * @see com.commander4j.db.JDBLocation JDBLocation
+ */
+public class OutgoingPalletIssue
+{
+ private String hostID;
+ private String sessionID;
+ final Logger logger = org.apache.logging.log4j.LogManager.getLogger(OutgoingPalletIssue.class);
+ private OutGoingMessage ogm;
+
+ private String errorMessage;
+ private JFileIO fio = new JFileIO();
+
+ public OutgoingPalletIssue(String host, String session)
+ {
+ setHostID(host);
+ setSessionID(session);
+ }
+
+ public Element addElement(Document doc, String name, String value)
+ {
+ Element temp = (Element) doc.createElement(name);
+ Text temp_value = doc.createTextNode(value);
+ temp.appendChild(temp_value);
+ return temp;
+ }
+
+ public String getErrorMessage()
+ {
+ return errorMessage;
+ }
+
+ public String getHostID()
+ {
+ return hostID;
+ }
+
+ public String getSessionID()
+ {
+ return sessionID;
+ }
+
+ public Boolean processMessage(Long transactionRef)
+
+ {
+ Boolean result = false;
+ String path = "";
+ JDBInterfaceLog il = new JDBInterfaceLog(getHostID(), getSessionID());
+ GenericMessageHeader gmh = new GenericMessageHeader();
+ JDBInterface inter = new JDBInterface(getHostID(), getSessionID());
+ JDBUom uom = new JDBUom(getHostID(), getSessionID());
+ JDBMaterial mat = new JDBMaterial(getHostID(), getSessionID());
+ JDBProcessOrder order = new JDBProcessOrder(getHostID(), getSessionID());
+ JDBControl ctrl = new JDBControl(getHostID(), getSessionID());
+ JDBCustomer cust = new JDBCustomer(getHostID(), getSessionID());
+
+ String expiryMode;
+ expiryMode = ctrl.getKeyValue("EXPIRY DATE MODE");
+
+ String defaultBatchFormat;
+ defaultBatchFormat = ctrl.getKeyValue("BATCH FORMAT");
+
+ inter.getInterfaceProperties("Pallet Issue", "Output");
+ String device = inter.getDevice();
+
+ JDBPalletHistory palhist = new JDBPalletHistory(getHostID(), getSessionID());
+ ResultSet rs = palhist.getInterfacingData(transactionRef, "ISSUE", "TO", Long.valueOf(1), "SSCC", "asc");
+ try
+ {
+ if (rs.next())
+ {
+ palhist.getPropertiesfromResultSet(rs);
+
+ try
+ {
+ DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+ DocumentBuilder builder = factory.newDocumentBuilder();
+
+ Document document = builder.newDocument();
+
+ Element message = (Element) document.createElement("message");
+
+ Element hostUniqueID = addElement(document, "hostRef", Common.hostList.getHost(getHostID()).getUniqueID());
+ message.appendChild(hostUniqueID);
+
+ Element messageRef = addElement(document, "messageRef", String.valueOf(transactionRef));
+ message.appendChild(messageRef);
+
+ Element messageType = addElement(document, "interfaceType", "Pallet Issue");
+ message.appendChild(messageType);
+
+ Element messageInformation = addElement(document, "messageInformation", "SSCC=" + palhist.getPallet().getSSCC());
+ message.appendChild(messageInformation);
+
+ Element messageDirection = addElement(document, "interfaceDirection", "Output");
+ message.appendChild(messageDirection);
+
+ Element messageDate = addElement(document, "messageDate", JUtility.getISOTimeStampStringFormat(JUtility.getSQLDateTime()));
+ message.appendChild(messageDate);
+
+ Element productionDeclaration = (Element) document.createElement("palletIssue");
+
+ Element sscc = addElement(document, "SSCC", palhist.getPallet().getSSCC());
+ productionDeclaration.appendChild(sscc);
+
+ Element processOrder = addElement(document, "processOrder", palhist.getPallet().getProcessOrder());
+ productionDeclaration.appendChild(processOrder);
+
+ Element recipe = addElement(document, "recipe", palhist.getPallet().getProcessOrderObj(false).getRecipe());
+ productionDeclaration.appendChild(recipe);
+
+ Element recipeVersion = addElement(document, "recipeVersion", palhist.getPallet().getProcessOrderObj(false).getRecipeVersion());
+ productionDeclaration.appendChild(recipeVersion);
+
+ Element required_resource = addElement(document, "requiredResource", palhist.getPallet().getProcessOrderObj(false).getRequiredResource());
+ productionDeclaration.appendChild(required_resource);
+
+ Element material = addElement(document, "material", palhist.getPallet().getMaterial());
+ productionDeclaration.appendChild(material);
+
+ if (mat.getMaterialProperties(palhist.getPallet().getMaterial()) == true)
+ {
+ Element description = addElement(document, "description", mat.getDescription());
+ productionDeclaration.appendChild(description);
+ Element old_code = addElement(document, "old_code", mat.getOldMaterial());
+ productionDeclaration.appendChild(old_code);
+ } else
+ {
+ Element description = addElement(document, "description", "");
+ productionDeclaration.appendChild(description);
+ Element old_code = addElement(document, "old_code", "");
+ productionDeclaration.appendChild(old_code);
+ }
+
+ if (order.getProcessOrderProperties(palhist.getPallet().getProcessOrder()) == true)
+ {
+ Element customer = addElement(document, "customerID", order.getCustomerID());
+ productionDeclaration.appendChild(customer);
+
+ if (cust.getCustomerProperties(order.getCustomerID())==true)
+ {
+ Element customerName = addElement(document, "customerName",cust.getName());
+ productionDeclaration.appendChild(customerName);
+ }
+ }
+ else
+ {
+ Element customer = addElement(document, "customerID", "");
+ productionDeclaration.appendChild(customer);
+ }
+
+ Element ean = addElement(document, "ean", palhist.getPallet().getEAN());
+ productionDeclaration.appendChild(ean);
+
+ Element variant = addElement(document, "variant", palhist.getPallet().getVariant());
+ productionDeclaration.appendChild(variant);
+
+ Element status = addElement(document, "status", palhist.getPallet().getStatus());
+ productionDeclaration.appendChild(status);
+
+ Element batchDefault = addElement(document, "batchDefaultFormat", defaultBatchFormat);
+ productionDeclaration.appendChild(batchDefault);
+
+ Element batch = addElement(document, "batch", palhist.getPallet().getBatchNumber());
+ productionDeclaration.appendChild(batch);
+
+ Element batchStatus = addElement(document, "batchStatus", palhist.getPallet().getMaterialBatchStatus());
+ productionDeclaration.appendChild(batchStatus);
+
+ Element expiryDateMode = addElement(document, "expiry_Mode", expiryMode);
+ productionDeclaration.appendChild(expiryDateMode);
+
+ if (expiryMode.equals("BATCH") == true)
+ {
+ Element expiryDate = addElement(document, "expiryDate", JUtility.getISOTimeStampStringFormat(palhist.getPallet().getMaterialBatchExpiryDate()));
+ productionDeclaration.appendChild(expiryDate);
+ } else
+ {
+ Element expiryDate = addElement(document, "expiryDate", JUtility.getISOTimeStampStringFormat(palhist.getPallet().getBatchExpiry()));
+ productionDeclaration.appendChild(expiryDate);
+ }
+
+ Element location = addElement(document, "location", palhist.getPallet().getLocationID());
+ productionDeclaration.appendChild(location);
+
+ Element name = addElement(document, "name", palhist.getPallet().getLocationObj().getDescription());
+ productionDeclaration.appendChild(name);
+
+ Element gln = addElement(document, "gln", palhist.getPallet().getLocationObj().getGLN());
+ productionDeclaration.appendChild(gln);
+
+ Element plant = addElement(document, "plant", palhist.getPallet().getLocationObj().getPlant());
+ productionDeclaration.appendChild(plant);
+
+ Element warehouse = addElement(document, "warehouse", palhist.getPallet().getLocationObj().getWarehouse());
+ productionDeclaration.appendChild(warehouse);
+
+ Element storageLocation = addElement(document, "storageLocation", palhist.getPallet().getLocationObj().getStorageLocation());
+ productionDeclaration.appendChild(storageLocation);
+
+ Element storageSection = addElement(document, "storageSection", palhist.getPallet().getLocationObj().getStorageSection());
+ productionDeclaration.appendChild(storageSection);
+
+ Element storageBin = addElement(document, "storageBin", palhist.getPallet().getLocationObj().getStorageBin());
+ productionDeclaration.appendChild(storageBin);
+
+ Element storageType = addElement(document, "storageType", palhist.getPallet().getLocationObj().getStorageType());
+ productionDeclaration.appendChild(storageType);
+
+ Element locationBarcodeId = addElement(document, "barcodeId", palhist.getPallet().getLocationObj().getBarcodeId());
+ productionDeclaration.appendChild(locationBarcodeId);
+
+ Element productionQuantity = addElement(document, "quantity", String.valueOf(palhist.getPallet().getQuantity()));
+ productionDeclaration.appendChild(productionQuantity);
+
+ String paluom = palhist.getPallet().getUom();
+ paluom = uom.convertUom(inter.getUOMConversion(), paluom);
+
+ Element productionUOM = addElement(document, "uom", paluom);
+ productionDeclaration.appendChild(productionUOM);
+
+ Element productionConfirmed = addElement(document, "confirmed", palhist.getPallet().getConfirmed());
+ productionDeclaration.appendChild(productionConfirmed);
+
+ Element productionDate = addElement(document, "productionDate", JUtility.getISOTimeStampStringFormat(palhist.getPallet().getDateOfManufacture()));
+ productionDeclaration.appendChild(productionDate);
+
+ Element messageData = (Element) document.createElement("messageData");
+ messageData.appendChild(productionDeclaration);
+
+ message.appendChild(messageData);
+
+ document.appendChild(message);
+
+ JXMLDocument xmld = new JXMLDocument();
+ xmld.setDocument(document);
+ gmh.decodeHeader(xmld);
+
+ if (device.equals("Disk") | device.equals("Email"))
+ {
+
+ path = inter.getRealPath();
+ if (fio.writeToDisk(path, document, transactionRef, "_" + palhist.getPallet().getLocationID().replace(" ", "_") + "_PalletIssue.xml") == true)
+ {
+ result = true;
+ il.write(gmh, GenericMessageHeader.msgStatusSuccess, "Processed OK", "File Write", fio.getFilename());
+ setErrorMessage("");
+
+ if (device.equals("Email"))
+ {
+ ogm = new OutGoingMessage(inter, transactionRef, fio);
+ ogm.sendEmail();
+ }
+ } else
+ {
+ result = false;
+ il.write(gmh, GenericMessageHeader.msgStatusError, fio.getErrorMessage(), "File Write", fio.getFilename());
+ setErrorMessage(fio.getErrorMessage());
+ }
+ }
+
+ }
+
+ catch (Exception ex)
+ {
+ logger.error("Error sending message. " + ex.getMessage());
+ ex.printStackTrace();
+
+ }
+ } else
+ {
+ logger.debug("Could not find Pallet History Interfacing Data for Transaction Ref " + String.valueOf(transactionRef));
+ }
+ rs.close();
+ } catch (SQLException e)
+ {
+ logger.debug("Error finding Pallet History Interfacing Data for Transaction Ref " + String.valueOf(transactionRef) + " " + e.getMessage());
+ }
+
+ return result;
+ }
+
+ private void setErrorMessage(String errorMessage)
+ {
+ this.errorMessage = errorMessage;
+ }
+
+ public void setHostID(String host)
+ {
+ hostID = host;
+ }
+
+ public void setSessionID(String session)
+ {
+ sessionID = session;
+ }
+
+ public void submit(long dbTransactionRef)
+ {
+ JDBInterface inter = new JDBInterface(getHostID(), getSessionID());
+ inter.getInterfaceProperties("Pallet Issue", "Output");
+ if (inter.isEnabled() == true)
+ {
+ JDBInterfaceRequest ir = new JDBInterfaceRequest(getHostID(), getSessionID());
+ ir.write(dbTransactionRef, "Pallet Issue");
+ } else
+ {
+ logger.debug("Interface Pallet Issue - Output is DISABLED");
+ }
+
+ }
+
+}
diff --git a/b6/src/com/commander4j/messages/OutgoingPalletReturn.java b/b6/src/com/commander4j/messages/OutgoingPalletReturn.java
new file mode 100644
index 000000000..6790178e1
--- /dev/null
+++ b/b6/src/com/commander4j/messages/OutgoingPalletReturn.java
@@ -0,0 +1,377 @@
+package com.commander4j.messages;
+
+/**
+ * @author David Garratt
+ *
+ * Project Name : Commander4j
+ *
+ * Filename : OutgoingProductionDeclarationConfirmation.java
+ *
+ * Package Name : com.commander4j.messages
+ *
+ * License : GNU General Public License
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program. If not, see
+ * http://www.commander4j.com/website/license.html.
+ *
+ */
+
+import java.sql.ResultSet;
+import java.sql.SQLException;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.apache.logging.log4j.Logger;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Text;
+
+import com.commander4j.db.JDBControl;
+import com.commander4j.db.JDBCustomer;
+import com.commander4j.db.JDBInterface;
+import com.commander4j.db.JDBInterfaceLog;
+import com.commander4j.db.JDBInterfaceRequest;
+import com.commander4j.db.JDBMaterial;
+import com.commander4j.db.JDBPalletHistory;
+import com.commander4j.db.JDBProcessOrder;
+import com.commander4j.db.JDBUom;
+import com.commander4j.email.OutGoingMessage;
+import com.commander4j.sys.Common;
+import com.commander4j.util.JFileIO;
+import com.commander4j.util.JUtility;
+import com.commander4j.xml.JXMLDocument;
+
+/**
+ * The OutgoingPalletIssue message is designed to output a
+ * message to an external system (typically an ERP system) to inform it that a
+ * pallet (SSCC) has been issued. All the core data from
+ * the APP_PALLET table is exported along with linked information from
+ * APP_LOCATION, APP_MATERIAL and APP_PROCESS_ORDER
+ *
+ * @see com.commander4j.db.JDBPallet JDBPallet
+ * @see com.commander4j.db.JDBProcessOrder JDBProcessOrder
+ * @see com.commander4j.db.JDBMaterial JDBMaterial
+ * @see com.commander4j.db.JDBLocation JDBLocation
+ */
+public class OutgoingPalletReturn
+{
+ private String hostID;
+ private String sessionID;
+ final Logger logger = org.apache.logging.log4j.LogManager.getLogger(OutgoingPalletReturn.class);
+ private OutGoingMessage ogm;
+
+ private String errorMessage;
+ private JFileIO fio = new JFileIO();
+
+ public OutgoingPalletReturn(String host, String session)
+ {
+ setHostID(host);
+ setSessionID(session);
+ }
+
+ public Element addElement(Document doc, String name, String value)
+ {
+ Element temp = (Element) doc.createElement(name);
+ Text temp_value = doc.createTextNode(value);
+ temp.appendChild(temp_value);
+ return temp;
+ }
+
+ public String getErrorMessage()
+ {
+ return errorMessage;
+ }
+
+ public String getHostID()
+ {
+ return hostID;
+ }
+
+ public String getSessionID()
+ {
+ return sessionID;
+ }
+
+ public Boolean processMessage(Long transactionRef)
+
+ {
+ Boolean result = false;
+ String path = "";
+ JDBInterfaceLog il = new JDBInterfaceLog(getHostID(), getSessionID());
+ GenericMessageHeader gmh = new GenericMessageHeader();
+ JDBInterface inter = new JDBInterface(getHostID(), getSessionID());
+ JDBUom uom = new JDBUom(getHostID(), getSessionID());
+ JDBMaterial mat = new JDBMaterial(getHostID(), getSessionID());
+ JDBProcessOrder order = new JDBProcessOrder(getHostID(), getSessionID());
+ JDBControl ctrl = new JDBControl(getHostID(), getSessionID());
+ JDBCustomer cust = new JDBCustomer(getHostID(), getSessionID());
+
+ String expiryMode;
+ expiryMode = ctrl.getKeyValue("EXPIRY DATE MODE");
+
+ String defaultBatchFormat;
+ defaultBatchFormat = ctrl.getKeyValue("BATCH FORMAT");
+
+ inter.getInterfaceProperties("Pallet Return", "Output");
+ String device = inter.getDevice();
+
+ JDBPalletHistory palhist = new JDBPalletHistory(getHostID(), getSessionID());
+ ResultSet rs = palhist.getInterfacingData(transactionRef, "RETURN", "FROM", Long.valueOf(1), "SSCC", "asc");
+ try
+ {
+ if (rs.next())
+ {
+ palhist.getPropertiesfromResultSet(rs);
+
+ try
+ {
+ DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+ DocumentBuilder builder = factory.newDocumentBuilder();
+
+ Document document = builder.newDocument();
+
+ Element message = (Element) document.createElement("message");
+
+ Element hostUniqueID = addElement(document, "hostRef", Common.hostList.getHost(getHostID()).getUniqueID());
+ message.appendChild(hostUniqueID);
+
+ Element messageRef = addElement(document, "messageRef", String.valueOf(transactionRef));
+ message.appendChild(messageRef);
+
+ Element messageType = addElement(document, "interfaceType", "Pallet Return");
+ message.appendChild(messageType);
+
+ Element messageInformation = addElement(document, "messageInformation", "SSCC=" + palhist.getPallet().getSSCC());
+ message.appendChild(messageInformation);
+
+ Element messageDirection = addElement(document, "interfaceDirection", "Output");
+ message.appendChild(messageDirection);
+
+ Element messageDate = addElement(document, "messageDate", JUtility.getISOTimeStampStringFormat(JUtility.getSQLDateTime()));
+ message.appendChild(messageDate);
+
+ Element productionDeclaration = (Element) document.createElement("palletReturn");
+
+ Element sscc = addElement(document, "SSCC", palhist.getPallet().getSSCC());
+ productionDeclaration.appendChild(sscc);
+
+ Element processOrder = addElement(document, "processOrder", palhist.getPallet().getProcessOrder());
+ productionDeclaration.appendChild(processOrder);
+
+ Element recipe = addElement(document, "recipe", palhist.getPallet().getProcessOrderObj(false).getRecipe());
+ productionDeclaration.appendChild(recipe);
+
+ Element recipeVersion = addElement(document, "recipeVersion", palhist.getPallet().getProcessOrderObj(false).getRecipeVersion());
+ productionDeclaration.appendChild(recipeVersion);
+
+ Element required_resource = addElement(document, "requiredResource", palhist.getPallet().getProcessOrderObj(false).getRequiredResource());
+ productionDeclaration.appendChild(required_resource);
+
+ Element material = addElement(document, "material", palhist.getPallet().getMaterial());
+ productionDeclaration.appendChild(material);
+
+ if (mat.getMaterialProperties(palhist.getPallet().getMaterial()) == true)
+ {
+ Element description = addElement(document, "description", mat.getDescription());
+ productionDeclaration.appendChild(description);
+ Element old_code = addElement(document, "old_code", mat.getOldMaterial());
+ productionDeclaration.appendChild(old_code);
+ } else
+ {
+ Element description = addElement(document, "description", "");
+ productionDeclaration.appendChild(description);
+ Element old_code = addElement(document, "old_code", "");
+ productionDeclaration.appendChild(old_code);
+ }
+
+ if (order.getProcessOrderProperties(palhist.getPallet().getProcessOrder()) == true)
+ {
+ Element customer = addElement(document, "customerID", order.getCustomerID());
+ productionDeclaration.appendChild(customer);
+
+ if (cust.getCustomerProperties(order.getCustomerID())==true)
+ {
+ Element customerName = addElement(document, "customerName",cust.getName());
+ productionDeclaration.appendChild(customerName);
+ }
+ }
+ else
+ {
+ Element customer = addElement(document, "customerID", "");
+ productionDeclaration.appendChild(customer);
+ }
+
+ Element ean = addElement(document, "ean", palhist.getPallet().getEAN());
+ productionDeclaration.appendChild(ean);
+
+ Element variant = addElement(document, "variant", palhist.getPallet().getVariant());
+ productionDeclaration.appendChild(variant);
+
+ Element status = addElement(document, "status", palhist.getPallet().getStatus());
+ productionDeclaration.appendChild(status);
+
+ Element batchDefault = addElement(document, "batchDefaultFormat", defaultBatchFormat);
+ productionDeclaration.appendChild(batchDefault);
+
+ Element batch = addElement(document, "batch", palhist.getPallet().getBatchNumber());
+ productionDeclaration.appendChild(batch);
+
+ Element batchStatus = addElement(document, "batchStatus", palhist.getPallet().getMaterialBatchStatus());
+ productionDeclaration.appendChild(batchStatus);
+
+ Element expiryDateMode = addElement(document, "expiry_Mode", expiryMode);
+ productionDeclaration.appendChild(expiryDateMode);
+
+ if (expiryMode.equals("BATCH") == true)
+ {
+ Element expiryDate = addElement(document, "expiryDate", JUtility.getISOTimeStampStringFormat(palhist.getPallet().getMaterialBatchExpiryDate()));
+ productionDeclaration.appendChild(expiryDate);
+ } else
+ {
+ Element expiryDate = addElement(document, "expiryDate", JUtility.getISOTimeStampStringFormat(palhist.getPallet().getBatchExpiry()));
+ productionDeclaration.appendChild(expiryDate);
+ }
+
+ Element location = addElement(document, "location", palhist.getPallet().getLocationID());
+ productionDeclaration.appendChild(location);
+
+ Element name = addElement(document, "name", palhist.getPallet().getLocationObj().getDescription());
+ productionDeclaration.appendChild(name);
+
+ Element gln = addElement(document, "gln", palhist.getPallet().getLocationObj().getGLN());
+ productionDeclaration.appendChild(gln);
+
+ Element plant = addElement(document, "plant", palhist.getPallet().getLocationObj().getPlant());
+ productionDeclaration.appendChild(plant);
+
+ Element warehouse = addElement(document, "warehouse", palhist.getPallet().getLocationObj().getWarehouse());
+ productionDeclaration.appendChild(warehouse);
+
+ Element storageLocation = addElement(document, "storageLocation", palhist.getPallet().getLocationObj().getStorageLocation());
+ productionDeclaration.appendChild(storageLocation);
+
+ Element storageSection = addElement(document, "storageSection", palhist.getPallet().getLocationObj().getStorageSection());
+ productionDeclaration.appendChild(storageSection);
+
+ Element storageBin = addElement(document, "storageBin", palhist.getPallet().getLocationObj().getStorageBin());
+ productionDeclaration.appendChild(storageBin);
+
+ Element storageType = addElement(document, "storageType", palhist.getPallet().getLocationObj().getStorageType());
+ productionDeclaration.appendChild(storageType);
+
+ Element locationBarcodeId = addElement(document, "barcodeId", palhist.getPallet().getLocationObj().getBarcodeId());
+ productionDeclaration.appendChild(locationBarcodeId);
+
+ Element productionQuantity = addElement(document, "quantity", String.valueOf(palhist.getPallet().getQuantity()));
+ productionDeclaration.appendChild(productionQuantity);
+
+ String paluom = palhist.getPallet().getUom();
+ paluom = uom.convertUom(inter.getUOMConversion(), paluom);
+
+ Element productionUOM = addElement(document, "uom", paluom);
+ productionDeclaration.appendChild(productionUOM);
+
+ Element productionConfirmed = addElement(document, "confirmed", palhist.getPallet().getConfirmed());
+ productionDeclaration.appendChild(productionConfirmed);
+
+ Element productionDate = addElement(document, "productionDate", JUtility.getISOTimeStampStringFormat(palhist.getPallet().getDateOfManufacture()));
+ productionDeclaration.appendChild(productionDate);
+
+ Element messageData = (Element) document.createElement("messageData");
+ messageData.appendChild(productionDeclaration);
+
+ message.appendChild(messageData);
+
+ document.appendChild(message);
+
+ JXMLDocument xmld = new JXMLDocument();
+ xmld.setDocument(document);
+ gmh.decodeHeader(xmld);
+
+ if (device.equals("Disk") | device.equals("Email"))
+ {
+
+ path = inter.getRealPath();
+ if (fio.writeToDisk(path, document, transactionRef, "_" + palhist.getPallet().getLocationID().replace(" ", "_") + "_PalletReturn.xml") == true)
+ {
+ result = true;
+ il.write(gmh, GenericMessageHeader.msgStatusSuccess, "Processed OK", "File Write", fio.getFilename());
+ setErrorMessage("");
+
+ if (device.equals("Email"))
+ {
+ ogm = new OutGoingMessage(inter, transactionRef, fio);
+ ogm.sendEmail();
+ }
+ } else
+ {
+ result = false;
+ il.write(gmh, GenericMessageHeader.msgStatusError, fio.getErrorMessage(), "File Write", fio.getFilename());
+ setErrorMessage(fio.getErrorMessage());
+ }
+ }
+
+ }
+
+ catch (Exception ex)
+ {
+ logger.error("Error sending message. " + ex.getMessage());
+ ex.printStackTrace();
+
+ }
+ } else
+ {
+ logger.debug("Could not find Pallet History Interfacing Data for Transaction Ref " + String.valueOf(transactionRef));
+ }
+ rs.close();
+ } catch (SQLException e)
+ {
+ logger.debug("Error finding Pallet History Interfacing Data for Transaction Ref " + String.valueOf(transactionRef) + " " + e.getMessage());
+ }
+
+ return result;
+ }
+
+ private void setErrorMessage(String errorMessage)
+ {
+ this.errorMessage = errorMessage;
+ }
+
+ public void setHostID(String host)
+ {
+ hostID = host;
+ }
+
+ public void setSessionID(String session)
+ {
+ sessionID = session;
+ }
+
+ public void submit(long dbTransactionRef)
+ {
+ JDBInterface inter = new JDBInterface(getHostID(), getSessionID());
+ inter.getInterfaceProperties("Pallet Return", "Output");
+ if (inter.isEnabled() == true)
+ {
+ JDBInterfaceRequest ir = new JDBInterfaceRequest(getHostID(), getSessionID());
+ ir.write(dbTransactionRef, "Pallet Return");
+ } else
+ {
+ logger.debug("Interface Pallet Return - Output is DISABLED");
+ }
+
+ }
+
+}
diff --git a/b6/src/com/commander4j/sys/Common.java b/b6/src/com/commander4j/sys/Common.java
index dc3e75f4c..5b742ea83 100644
--- a/b6/src/com/commander4j/sys/Common.java
+++ b/b6/src/com/commander4j/sys/Common.java
@@ -62,6 +62,7 @@
*/
public class Common
{
+ public static int sessionCount = 0;
public static SendEmail sendmail = new SendEmail();
//LOGON STATUS
@@ -80,8 +81,6 @@ public class Common
public static String appAuthor="David Garratt";
public static String appSupportEmail="support@commander4j.com";
-
-
public static int LFAdjustWidth=0;
public static int LFAdjustHeight=0;
public static int LFTreeMenuAdjustWidth=0;
@@ -147,16 +146,17 @@ public class Common
public static String[] locationStatusIncBlank = new String[] { "", "Valid", "Invalid" };
public static String[] processOrderStatus = new String[] { "Discarded", "Finished", "Held", "Ready", "Running" };
public static String[] processOrderStatusincBlank = new String[] { "", "Discarded", "Finished", "Held", "Ready", "Running" };
- public static String[] messageTypesexclBlank = new String[] {"Batch Status Change", "Despatch Confirmation", "Despatch Email", "Despatch Pre Advice", "Equipment Tracking", "Journey Definition", "Location", "Material Auto Move", "Material Definition", "Pallet Delete", "Pallet Move", "Pallet Split", "Pallet Status Change", "Process Order", "Process Order Status Change", "Production Declaration", "Production Unconfirm", "Sort Notification", "QM Inspection Request", "QM Inspection Result" };
- public static String[] messageTypesincBlank = new String[] { "", "Batch Status Change", "Despatch Confirmation", "Despatch Email", "Despatch Pre Advice", "Equipment Tracking", "Journey Definition", "Location", "Material Auto Move", "Material Definition", "Pallet Delete", "Pallet Move", "Pallet Split", "Pallet Status Change", "Process Order", "Process Order Status Change", "Production Declaration", "Production Unconfirm", "Sort Notification", "QM Inspection Request", "QM Inspection Result" };
+ public static String[] messageTypesexclBlank = new String[] {"Bill of Materials", "Batch Status Change", "Despatch Confirmation", "Despatch Email", "Despatch Pre Advice", "Equipment Tracking", "Journey Definition", "Location", "Material Auto Move", "Material Definition", "Pallet Delete", "Pallet Move", "Pallet Split", "Pallet Issue","Pallet Return", "Pallet Status Change", "Process Order", "Process Order Status Change", "Production Declaration", "Production Unconfirm", "Sort Notification", "QM Inspection Request", "QM Inspection Result" };
+ public static String[] messageTypesincBlank = new String[] { "", "Bill of Materials", "Batch Status Change", "Despatch Confirmation", "Despatch Email", "Despatch Pre Advice", "Equipment Tracking", "Journey Definition", "Location", "Material Auto Move", "Material Definition", "Pallet Delete", "Pallet Move", "Pallet Split", "Pallet Issue","Pallet Return", "Pallet Status Change", "Process Order", "Process Order Status Change", "Production Declaration", "Production Unconfirm", "Sort Notification", "QM Inspection Request", "QM Inspection Result" };
- public static String[] transactionTypes = new String[] { "","CLONE", "DESPATCH", "EDIT", "PRINT","PROD DEC", "STATUS CHANGE","MHN","SPLIT","MOVE","MANUAL","SORT"};
+ public static String[] transactionTypes = new String[] { "","CLONE", "DESPATCH", "EDIT", "ISSUE","RETURN","PRINT","PROD DEC", "STATUS CHANGE","MHN","SPLIT","MOVE","MANUAL","SORT"};
public static String[] transactionSubTypes = new String[] { "", "ADD","REMOVE","CREATE","PRINT", "CONFIRM", "FROM", "TO", "MANUAL", "LABEL","DECISION","BEFORE","AFTER","DELETE","UNCONFIRM","NOTIFY" };
public static String[] auditEventActions = new String[] { "", "ADD", "REMOVE", "CREATE", "DELETE", "RENAME", "ENABLE", "DISABLE" };
public static String[] auditEventTypes = new String[] { "", "USER", "GROUP", "USER_GROUP", "GROUP_MODULE" };
public static String[] locationSortBy = new String[] { "LOCATION_ID", "PLANT", "WAREHOUSE", "DESCRIPTION", "GLN", "STORAGE_LOCATION", "STORAGE_TYPE", "STORAGE_SECTION", "STORAGE_BIN"};
public static String[] materialSortBy =new String[] {"MATERIAL", "MATERIAL_TYPE", "DESCRIPTION", "BASE_UOM", "PRODUCTION_UOM", "ISSUE_UOM", "SHELF_LIFE", "SHELF_LIFE_RULE", "DEFAULT_PALLET_STATUS", "DEFAULT_BATCH_STATUS","EQUIPMENT_TYPE"};
public static String[] processSortBy = new String[] { "PROCESS_ORDER", "MATERIAL", "DESCRIPTION", "STATUS", "LOCATION_ID", "DUE_DATE", "RECIPE_ID" };
+ public static String[] viewBOMSortBy =new String[] {"BOM_ID,BOM_VERSION,STAGE,INPUT_OUTPUT,SEQUENCE", "MATERIAL", "TYPE", "LOCATION_ID", "UOM"};
public static final JImageIconLoader imageIconloader = new JImageIconLoader();
public static final WeightSampleDetailCellRenderer weight_sample_list = new WeightSampleDetailCellRenderer();
@@ -179,6 +179,7 @@ public class Common
public final static Font font_small = new Font("Arial", Font.PLAIN, 9);
public final static Font font_std = new Font("Arial", Font.PLAIN, 11);
public final static Font font_input = new Font("Arial", Font.PLAIN, 11);
+ public final static Font font_input_large = new Font("Arial", Font.PLAIN, 13);
public final static Font font_popup = new Font("Arial", Font.PLAIN, 11);
public final static Font font_bold = new Font("Arial", Font.BOLD, 11);
public final static Font font_italic = new Font("Arial", Font.ITALIC, 11);
@@ -192,6 +193,8 @@ public class Common
public final static Font font_table_header = new java.awt.Font("Arial", Font.PLAIN, 11);
public final static Font font_table = new java.awt.Font("Monospaced", 0, 11);
public final static Font font_textArea = new java.awt.Font("Monospaced", 0, 14);
+ public final static Font font_tree_tooltip = new Font( "Monospaced", Font.PLAIN, 14);
+ public final static Font font_bom = new Font("Arial", Font.PLAIN, 14);
public static final TableCellRenderer_Default renderer_table = new TableCellRenderer_Default();
public static final TableCellRenderer_PanelResults renderer_table_panel_results = new TableCellRenderer_PanelResults();
@@ -217,7 +220,6 @@ public class Common
public final static Color color_edit_properties = new Color(241, 241, 241);
public final static Color color_app_window = new Color(241, 241, 241);
-
public final static int menuTreeWidth = 250;
public static JWindowSplash splash;
public static JWindowProgress progress;
@@ -318,7 +320,13 @@ public class Common
public final static Icon icon_production_line_16x16 = Common.imageIconloader.getImageIcon16x16(Common.image_production_line);
public final static Icon icon_weight_capture_16x16 = Common.imageIconloader.getImageIcon16x16(Common.image_weight_capture);
public final static Icon icon_pallet_sampling_16x16 = Common.imageIconloader.getImageIcon16x16(Common.image_pallet_sample);
-
+ public final static Icon icon_process_16x16 = Common.imageIconloader.getImageIcon16x16(Common.image_process);
+ public final static Icon icon_import_16x16 = Common.imageIconloader.getImageIcon16x16(Common.image_import);
+ public final static Icon icon_bom_16x16 = Common.imageIconloader.getImageIcon16x16(Common.image_bom);
+
+ public final static String image_import = "file_open.gif";
+ public final static String image_bom = "recipe.gif";
+ public final static String image_process = "release.gif";
public final static String image_pallet_sample = "pallet_sampling.gif";
public final static String image_weight_capture = "weight-capture.gif";
public final static String image_production_line = "prod_lines.gif";
diff --git a/b6/src/com/commander4j/sys/JLaunchMenu.java b/b6/src/com/commander4j/sys/JLaunchMenu.java
index 67ed5867f..e1e4b63eb 100644
--- a/b6/src/com/commander4j/sys/JLaunchMenu.java
+++ b/b6/src/com/commander4j/sys/JLaunchMenu.java
@@ -34,6 +34,16 @@
import javax.swing.JInternalFrame;
import com.commander4j.app.*;
+import com.commander4j.bom.JDialogBomDefaultsProperties;
+import com.commander4j.bom.JInternalFrameBom;
+import com.commander4j.bom.JInternalFrameBomDefaults;
+import com.commander4j.bom.JInternalFrameBomElementProperties;
+import com.commander4j.bom.JInternalFrameBomElements;
+import com.commander4j.bom.JInternalFrameBomListAdmin;
+import com.commander4j.bom.JInternalFrameBomListProperties;
+import com.commander4j.bom.JInternalFrameBomStructureAdmin;
+import com.commander4j.bom.JInternalFrameBomStructureProperties;
+import com.commander4j.bom.JInternalFrameViewBomEnquiry;
import com.commander4j.db.JDBModule;
import com.commander4j.interfaces.JInternalFrameInterfaceAdmin;
import com.commander4j.interfaces.JInternalFrameInterfaceControl;
@@ -167,8 +177,8 @@ private static void displayDialog(JDialog u, String optionName)
int leftmargin = ((screensize.width - formsize.width) / 2);
int topmargin = ((screensize.height - formsize.height) / 2);
- u.setLocation(parentPos.x + leftmargin , parentPos.y+ topmargin);
-
+ u.setLocation(parentPos.x + leftmargin, parentPos.y + topmargin);
+
u.setModal(true);
u.setVisible(true);
}
@@ -411,7 +421,7 @@ public static void runDialog(String optionName, String strParam)
u.setTitle(mod.getDescription());
displayDialog(u, optionName);
}
-
+
}
public static void runDialog(String optionName, String strParam1, String strParam2, String strParam3)
@@ -419,6 +429,7 @@ public static void runDialog(String optionName, String strParam1, String strPara
mod.setModuleId(optionName);
mod.getModuleProperties();
+
if (optionName.equals("FRM_QM_TEST"))
{
final JDialogQMTestProperties u;
@@ -432,9 +443,18 @@ public static void runDialog(String optionName, String strParam1, String strPara
u = new JDialogMaterialCustomerDataProperties(Common.mainForm, strParam1, strParam2, strParam3);
displayDialog(u, optionName);
}
+
+ if (optionName.equals("FRM_BOM_DEFAULTS_EDIT"))
+ {
+ final JDialogBomDefaultsProperties u;
+ u = new JDialogBomDefaultsProperties(Common.mainForm, strParam1, strParam2, strParam3);
+ displayDialog(u, optionName);
+ }
+
}
+
public static void runDialog(String optionName, String strParam1, String strParam2)
{
@@ -494,6 +514,32 @@ public static void runForm(String optionName)
mod.setModuleId(optionName);
mod.getModuleProperties();
+
+ if (optionName.equals("FRM_BOM_ENQUIRY"))
+ {
+ final JInternalFrameViewBomEnquiry u;
+ if (isLoaded(JInternalFrameViewBomEnquiry.class))
+ setVisible(JInternalFrameViewBomEnquiry.class);
+ else
+ {
+ u = new JInternalFrameViewBomEnquiry();
+ u.setTitle(mod.getDescription());
+ displayForm(u, optionName);
+ }
+ }
+
+ if (optionName.equals("FRM_BOM_ADMIN"))
+ {
+ final JInternalFrameBom u;
+ if (isLoaded(JInternalFrameBom.class))
+ setVisible(JInternalFrameBom.class);
+ else
+ {
+ u = new JInternalFrameBom("", "");
+ u.setTitle(mod.getDescription());
+ displayForm(u, optionName);
+ }
+ }
if (optionName.equals("FRM_ADMIN_AUDIT_PERM"))
{
@@ -1339,7 +1385,7 @@ public static void runForm(String optionName)
displayForm(u, optionName);
}
}
-
+
if (optionName.equals("FRM_ADMIN_OPERATIVES"))
{
final JInternalFrameOperativeAdmin u;
@@ -1352,7 +1398,7 @@ public static void runForm(String optionName)
displayForm(u, optionName);
}
}
-
+
if (optionName.equals("FRM_ADMIN_PACKING_LINES"))
{
final JInternalFramePackingLineAdmin u;
@@ -1379,6 +1425,19 @@ public static void runForm(String optionName)
}
}
+ if (optionName.equals("FRM_BOM_STRUCTURE"))
+ {
+ final JInternalFrameBomStructureAdmin u;
+ if (isLoaded(JInternalFrameBomStructureAdmin.class))
+ setVisible(JInternalFrameBomStructureAdmin.class);
+ else
+ {
+ u = new JInternalFrameBomStructureAdmin();
+ u.setTitle(mod.getDescription());
+ displayForm(u, optionName);
+ }
+ }
+
if (optionName.equals("FRM_ADMIN_CUSTOMER"))
{
final JInternalFrameCustomerAdmin u;
@@ -1391,7 +1450,20 @@ public static void runForm(String optionName)
displayForm(u, optionName);
}
}
-
+
+ if (optionName.equals("FRM_BOM_LIST"))
+ {
+ final JInternalFrameBomListAdmin u;
+ if (isLoaded(JInternalFrameBomListAdmin.class))
+ setVisible(JInternalFrameBomListAdmin.class);
+ else
+ {
+ u = new JInternalFrameBomListAdmin();
+ u.setTitle(mod.getDescription());
+ displayForm(u, optionName);
+ }
+ }
+
if (optionName.equals("FRM_ADMIN_AUTO_LABELLER"))
{
final JInternalFrameAutoLabellerLines u;
@@ -1431,6 +1503,24 @@ public static void runForm(String optionName)
}
}
+ if (optionName.equals("FRM_BOM_DEFAULTS"))
+ {
+ final JInternalFrameBomDefaults u;
+ if (isLoaded(JInternalFrameBomDefaults.class))
+ setVisible(JInternalFrameBomDefaults.class);
+ else
+ {
+ u = new JInternalFrameBomDefaults();
+ u.setTitle(mod.getDescription());
+ displayForm(u, optionName);
+ }
+ }
+
+ if (optionName.equals("FRM_BOM_ELEMENTS"))
+ {
+ runForm("FRM_BOM_ELEMENTS","");
+ }
+
if (optionName.equals("FRM_ADMIN_ARCHIVE"))
{
final JInternalFrameArchiveAdmin u;
@@ -1528,6 +1618,8 @@ public static void runForm(String optionName, String StrParam1, String StrParam2
{
mod.setModuleId(optionName);
mod.getModuleProperties();
+
+
if (optionName.equals("FRM_ADMIN_MATERIAL_CUST_DATA_EDIT"))
{
@@ -1556,6 +1648,8 @@ public static void runForm(String optionName, String StrParam1, String StrParam2
displayForm(u, optionName);
}
}
+
+
if (optionName.equals("FRM_ADMIN_PALLETS"))
{
@@ -1592,12 +1686,96 @@ public static void runForm(String optionName, String StrParam1, Long StrParam2)
displayForm(u, optionName);
}
}
+
+ }
+
+ public static void runForm(String optionName, String StrParam1,String StrParam2, boolean boolParam1)
+ {
+ mod.setModuleId(optionName);
+ mod.getModuleProperties();
+
+ if (optionName.equals("FRM_BOM_LIST"))
+ {
+ final JInternalFrameBomListAdmin u;
+ if (isLoaded(JInternalFrameBomListAdmin.class))
+ {
+ setVisible(JInternalFrameBomListAdmin.class);
+ ((JInternalFrameBomListAdmin) isLoadedInstance(JInternalFrameBomListAdmin.class)).setDataID(StrParam1,StrParam2,boolParam1);
+ }
+ else
+ {
+ u = new JInternalFrameBomListAdmin();
+ u.setTitle(mod.getDescription());
+ displayForm(u, optionName);
+ }
+ }
}
public static void runForm(String optionName, String StrParam1, String StrParam2)
{
mod.setModuleId(optionName);
mod.getModuleProperties();
+
+ if (optionName.equals("FRM_BOM_STRUCTURE"))
+ {
+ final JInternalFrameBomStructureAdmin u;
+ if (isLoaded(JInternalFrameBomStructureAdmin.class))
+ {
+ setVisible(JInternalFrameBomStructureAdmin.class);
+ ((JInternalFrameBomStructureAdmin) isLoadedInstance(JInternalFrameBomStructureAdmin.class)).setDataID(StrParam1,StrParam2);
+ }
+ else
+ {
+ u = new JInternalFrameBomStructureAdmin();
+ u.setTitle(mod.getDescription());
+ displayForm(u, optionName);
+ }
+ }
+
+ if (optionName.equals("FRM_BOM_LIST_EDIT"))
+ {
+ final JInternalFrameBomListProperties u;
+ if (isLoaded(JInternalFrameBomListProperties.class))
+ {
+ ((JInternalFrameBomListProperties) isLoadedInstance(JInternalFrameBomListProperties.class)).setID(StrParam1, StrParam2);
+ setVisible(JInternalFrameBomListProperties.class);
+ }
+ else
+ {
+ u = new JInternalFrameBomListProperties(StrParam1, StrParam2);
+ displayForm(u, optionName);
+ }
+ }
+
+ if (optionName.equals("FRM_BOM_STRUCTURE_EDIT"))
+ {
+ final JInternalFrameBomStructureProperties u;
+
+ if (isLoaded(JInternalFrameBomStructureProperties.class))
+ {
+ ((JInternalFrameBomStructureProperties) isLoadedInstance(JInternalFrameBomStructureProperties.class)).updateSearch(StrParam1, StrParam2);
+ setVisible(JInternalFrameBomStructureProperties.class);
+ }
+ else
+ {
+ u = new JInternalFrameBomStructureProperties(StrParam1, StrParam2);
+ u.setTitle(mod.getDescription());
+ displayForm(u, optionName);
+ }
+ }
+
+ if (optionName.equals("FRM_BOM_ADMIN"))
+ {
+ final JInternalFrameBom u;
+ if (isLoaded(JInternalFrameBom.class))
+ ((JInternalFrameBom) isLoadedInstance(JInternalFrameBom.class)).refresh(StrParam1, StrParam2);
+ else
+ {
+ u = new JInternalFrameBom(StrParam1, StrParam2);
+ u.setTitle(mod.getDescription());
+ displayForm(u, optionName);
+ }
+ }
if (optionName.equals("FRM_WEIGHT_TNE_EDIT"))
{
@@ -1805,6 +1983,37 @@ public static void runForm(String optionName, String StrParam)
mod.setModuleId(optionName);
mod.getModuleProperties();
+ if (optionName.equals("FRM_BOM_ELEMENTS_EDIT"))
+ {
+ final JInternalFrameBomElementProperties u;
+ if (isLoaded(JInternalFrameBomElementProperties.class))
+ {
+ ((JInternalFrameBomElementProperties) isLoadedInstance(JInternalFrameBomElementProperties.class)).setDataID(StrParam);
+ setVisible(JInternalFrameBomElementProperties.class);
+ }
+ else
+ {
+ u = new JInternalFrameBomElementProperties(StrParam);
+ displayForm(u, optionName);
+ }
+ }
+
+ if (optionName.equals("FRM_BOM_ELEMENTS"))
+ {
+ final JInternalFrameBomElements u;
+ if (isLoaded(JInternalFrameBomElements.class))
+ {
+ setVisible(JInternalFrameBomElements.class);
+ ((JInternalFrameBomElements) isLoadedInstance(JInternalFrameBomElements.class)).setDataID(StrParam);
+ }
+ else
+ {
+ u = new JInternalFrameBomElements();
+ u.setTitle(mod.getDescription());
+ displayForm(u, optionName);
+ }
+ }
+
if (optionName.equals("FRM_WASTE_LOCATION_EDIT"))
{
final JInternalFrameWasteLocationProperties u;
@@ -2367,7 +2576,7 @@ public static void runForm(String optionName, String StrParam)
displayForm(u, optionName);
}
}
-
+
if (optionName.equals("FRM_ADMIN_OPERATIVES_EDIT"))
{
final JInternalFrameOperativeProperties u;
@@ -2380,7 +2589,7 @@ public static void runForm(String optionName, String StrParam)
displayForm(u, optionName);
}
}
-
+
if (optionName.equals("FRM_ADMIN_PACKING_LINES_EDIT"))
{
final JInternalFramePackingLineProperties u;
diff --git a/b6/src/com/commander4j/thread/InboundMessageThread.java b/b6/src/com/commander4j/thread/InboundMessageThread.java
index c93c33120..4b855f5b1 100755
--- a/b6/src/com/commander4j/thread/InboundMessageThread.java
+++ b/b6/src/com/commander4j/thread/InboundMessageThread.java
@@ -40,6 +40,7 @@
import com.commander4j.db.JDBUser;
import com.commander4j.messages.GenericMessageHeader;
import com.commander4j.messages.IncommingBatchStatusChange;
+import com.commander4j.messages.IncommingBillOfMaterials;
import com.commander4j.messages.IncommingDespatchConfirmation;
import com.commander4j.messages.IncommingInspectionResult;
import com.commander4j.messages.IncommingJourney;
@@ -130,6 +131,7 @@ public void run()
IncommingDespatchConfirmation idc = new IncommingDespatchConfirmation(getHostID(), getSessionID());
IncommingQMInspectionRequest iireq = new IncommingQMInspectionRequest(getHostID(), getSessionID());
IncommingMaterialAutoMove imam = new IncommingMaterialAutoMove(getHostID(), getSessionID());
+ IncommingBillOfMaterials ibm = new IncommingBillOfMaterials(getHostID(), getSessionID());
GenericMessageHeader gmh = new GenericMessageHeader();
File dir ;
String[] extensions = { "xml", "XML" };
@@ -284,6 +286,12 @@ public void run()
messageProcessedOK = imam.processMessage(gmh);
errorMessage = imam.getErrorMessage();
}
+
+ if (interfaceType.equals("Bill of Material") == true)
+ {
+ messageProcessedOK = ibm.processMessage(gmh);
+ errorMessage = ibm.getErrorMessage();
+ }
GenericMessageHeader.updateStats("Input", interfaceType, messageProcessedOK.toString());
diff --git a/b6/src/com/commander4j/thread/OutboundMessageThread.java b/b6/src/com/commander4j/thread/OutboundMessageThread.java
index 41afd8737..3d45e7c98 100755
--- a/b6/src/com/commander4j/thread/OutboundMessageThread.java
+++ b/b6/src/com/commander4j/thread/OutboundMessageThread.java
@@ -42,6 +42,8 @@
import com.commander4j.messages.OutgoingDespatchPreAdvice;
import com.commander4j.messages.OutgoingEquipmentTracking;
import com.commander4j.messages.OutgoingPalletDelete;
+import com.commander4j.messages.OutgoingPalletIssue;
+import com.commander4j.messages.OutgoingPalletReturn;
import com.commander4j.messages.OutgoingPalletSplit;
import com.commander4j.messages.OutgoingPalletStatusChange;
import com.commander4j.messages.OutgoingProductionDeclarationConfirmation;
@@ -126,6 +128,8 @@ public void run() {
OutgoingPalletStatusChange psc = new OutgoingPalletStatusChange(getHostID(), getSessionID());
OutgoingPalletSplit ops = new OutgoingPalletSplit(getHostID(), getSessionID());
OutgoingPalletDelete opd = new OutgoingPalletDelete(getHostID(), getSessionID());
+ OutgoingPalletIssue opi = new OutgoingPalletIssue(getHostID(), getSessionID());
+ OutgoingPalletReturn opr = new OutgoingPalletReturn(getHostID(), getSessionID());
LinkedList irqList = new LinkedList();
int noOfMessages = 0;
@@ -248,6 +252,20 @@ public void run() {
GenericMessageHeader.updateStats("Output","Equipment Tracking", messageProcessedOK.toString());
}
+ if (ir.getInterfaceType().equals("Pallet Issue"))
+ {
+ messageProcessedOK = opi.processMessage(ir.getTransactionRef());
+ errorMessage = opi.getErrorMessage();
+ GenericMessageHeader.updateStats("Output","Pallet Issue", messageProcessedOK.toString());
+ }
+
+ if (ir.getInterfaceType().equals("Pallet Return"))
+ {
+ messageProcessedOK = opr.processMessage(ir.getTransactionRef());
+ errorMessage = opr.getErrorMessage();
+ GenericMessageHeader.updateStats("Output","Pallet Return", messageProcessedOK.toString());
+ }
+
if (messageProcessedOK == true)
{
ir.delete();
diff --git a/b6/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml b/b6/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml
new file mode 100644
index 000000000..a786896a5
--- /dev/null
+++ b/b6/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml
@@ -0,0 +1,566 @@
+
+
+
+
+ CREATE TABLE [dbo].[APP_BOM] (
+ [BOM_ID] varchar(20) DEFAULT '' NOT NULL,
+ [BOM_VERSION] varchar(10) DEFAULT '' NOT NULL,
+ [BOM_SEQUENCE] int DEFAULT 0 NULL,
+ [DATA_ID] varchar(20) DEFAULT '' NOT NULL,
+ [DATA_TYPE] varchar(20) DEFAULT '' NULL,
+ [DATA_STRING] varchar(255) DEFAULT '' NULL,
+ [DATA_DECIMAL] decimal(22,3) DEFAULT NULL NULL,
+ [DATA_DATE] datetime DEFAULT NULL NULL,
+ [DATA_TIMESTAMP] datetime DEFAULT NULL,
+ [UUID] varchar(50) DEFAULT '' NOT NULL,
+ [PARENT_UUID] varchar(50) DEFAULT '' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM] ADD CONSTRAINT [PK_APP_BOM] PRIMARY KEY CLUSTERED ([BOM_ID], [BOM_VERSION], [DATA_ID], [UUID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_DEFAULTS] (
+ [SOURCE_FIELD] varchar(32) NOT NULL,
+ [SOURCE_VALUE] varchar(50) NOT NULL,
+ [DESTINATION_FIELD] varchar(32) NOT NULL,
+ [DESTINATION_VALUE] varchar(50) NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_DEFAULTS] ADD CONSTRAINT [PK_APP_BOM_DEFAULTS] PRIMARY KEY CLUSTERED ([SOURCE_FIELD], [SOURCE_VALUE], [DESTINATION_FIELD]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_ELEMENTS] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [DATA_TYPE] varchar(20) NULL,
+ [ENABLE_EDIT] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_CREATE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_DELETE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_DUPLICATE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_CLIPBOARD] varchar(1) DEFAULT 'Y' NULL,
+ [MAX_OCCUR_LEVEL] int DEFAULT 1 NULL,
+ [ENABLE_LOOKUP] varchar(1) DEFAULT 'Y' NULL,
+ [LOOKUP_SQL] varchar(255) DEFAULT '' NULL,
+ [LOOKUP_FIELD] varchar(32) DEFAULT '' NULL,
+ [ICON_FILENAME] varchar(80) DEFAULT '' NULL,
+ [DESCRIPTION] varchar(80) DEFAULT '' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_ELEMENTS] ADD CONSTRAINT [PK_APP_BOM_ELEMENTS] PRIMARY KEY CLUSTERED ([DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_LISTS] (
+ [LIST_ID] varchar(25) DEFAULT '' NOT NULL,
+ [ITEM] varchar(255) DEFAULT '' NOT NULL,
+ [SEQUENCE] int DEFAULT 0 NULL,
+ [ENABLED] varchar(1) DEFAULT 'Y' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_LISTS] ADD CONSTRAINT [PK_APP_BOM_LISTS] PRIMARY KEY CLUSTERED ([LIST_ID], [ITEM]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_STRUCTURE] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [PARENT_DATA_CATEGORY] varchar(20) NOT NULL,
+ [PARENT_DATA_ID] varchar(20) NOT NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_STRUCTURE] ADD CONSTRAINT [PK_APP_BOM_STRUCTURE] PRIMARY KEY CLUSTERED ([DATA_ID], [PARENT_DATA_CATEGORY], [PARENT_DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE VIEW view_bom as select BOM_MATERIAL.BOM_ID AS 'bom_id',
+ BOM_MATERIAL.BOM_VERSION AS 'bom_version',
+ BOM_MATERIAL.BOM_SEQUENCE AS 'display_order',
+ BOM_STAGE.DATA_STRING AS 'stage',
+ BOM_IN_OUT.DATA_ID AS 'input_output',
+ BOM_SEQUENCE.DATA_STRING AS 'sequence',
+ BOM_MATERIAL.DATA_STRING AS 'material',
+ BOM_MATERIAL.UUID AS 'material_uuid',
+ BOM_DESCRIPTION.DATA_STRING AS 'description',
+ BOM_QUANTITY.DATA_DECIMAL AS 'quantity',
+ BOM_TYPE.DATA_STRING AS 'type',
+ BOM_UOM.DATA_STRING AS 'uom',
+ BOM_GTIN.DATA_STRING AS 'gtin',
+ BOM_VARIANT.DATA_STRING AS 'variant',
+ BOM_LOCATION.DATA_STRING AS 'location_id',
+ BOM_LOCATION.UUID AS 'location_uuid'
+ from app_bom BOM_MATERIAL
+ left join app_bom BOM_DESCRIPTION on ((BOM_DESCRIPTION.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_DESCRIPTION.DATA_TYPE = 'string') and (BOM_DESCRIPTION.DATA_ID = 'description'))
+ left join app_bom BOM_QUANTITY on ((BOM_QUANTITY.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_QUANTITY.DATA_TYPE = 'decimal') and (BOM_QUANTITY.DATA_ID = 'quantity'))
+ left join app_bom BOM_SEQUENCE on ((BOM_SEQUENCE.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_SEQUENCE.DATA_TYPE = 'string') and (BOM_SEQUENCE.DATA_ID = 'sequence'))
+ left join app_bom BOM_TYPE on ((BOM_TYPE.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_TYPE.DATA_TYPE = 'string') and (BOM_TYPE.DATA_ID = 'type'))
+ left join app_bom BOM_UOM on ((BOM_UOM.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_UOM.DATA_TYPE = 'string') and (BOM_UOM.DATA_ID = 'uom'))
+ left join app_bom BOM_GTIN on ((BOM_GTIN.PARENT_UUID = BOM_UOM.UUID) and (BOM_GTIN.DATA_TYPE = 'string') and (BOM_GTIN.DATA_ID = 'gtin'))
+ left join app_bom BOM_VARIANT on ((BOM_VARIANT.PARENT_UUID = BOM_UOM.UUID) and (BOM_VARIANT.DATA_TYPE = 'string') and (BOM_VARIANT.DATA_ID = 'variant'))
+ left join app_bom BOM_IN_OUT on ((BOM_IN_OUT.UUID = BOM_MATERIAL.PARENT_UUID) and (BOM_IN_OUT.DATA_TYPE = 'string') and (BOM_IN_OUT.DATA_ID in ('input','output')))
+ left join app_bom BOM_STAGE on ((BOM_STAGE.UUID = BOM_IN_OUT.PARENT_UUID) and (BOM_STAGE.DATA_TYPE = 'string') and (BOM_STAGE.DATA_ID = 'stage'))
+ left join app_bom BOM_LOCATION on ((BOM_LOCATION.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_LOCATION.DATA_TYPE = 'string') and (BOM_LOCATION.DATA_ID = 'location'))
+ where (BOM_MATERIAL.DATA_ID = 'material')
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_CATEGORY AS PARENT_DATA_CATEGORY,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770321', 'location_id', 'LANEA')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770322', 'location_id', 'LANEB')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770323', 'location_id', 'LANEC')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = ''location_id'' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = ''material_type'' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = ''uom'' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant')
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('gtin', 'value', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('input', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('location_id', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('output', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('quantity', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('root', '', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('runtime', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('sequence', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('stage', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('type', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('uom', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('updated', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('variant', 'value', 'uom')
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [MSG_PALLET_ISSUE] varchar(1) DEFAULT 'Y'
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [MSG_PALLET_RETURN] varchar(1) DEFAULT 'Y'
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [BARCODE_ID] varchar(25) DEFAULT ''
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/b6/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml b/b6/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml
new file mode 100644
index 000000000..914f0859a
--- /dev/null
+++ b/b6/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml
@@ -0,0 +1,337 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ drop view view_bom_structure
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_CATEGORY AS PARENT_DATA_CATEGORY,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP TABLE [dbo].[APP_BOM_STRUCTURE]
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_STRUCTURE] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [PARENT_DATA_ID] varchar(20) NOT NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_STRUCTURE] ADD CONSTRAINT [PK_APP_BOM_STRUCTURE] PRIMARY KEY CLUSTERED ([DATA_ID], [PARENT_DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ DROP view view_bom_structure
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('gtin', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('input', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('location_id', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('output', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('quantity', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('root', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('runtime', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('sequence', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('stage', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('type', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('uom', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('updated', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('variant', 'uom')
+
+
diff --git a/b6/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml b/b6/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml
new file mode 100644
index 000000000..738f63bd8
--- /dev/null
+++ b/b6/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
index fbc365f9f..cd02dcb15 100644
--- a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
+++ b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
@@ -94,7 +94,7 @@
- CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS
+ CREATE VIEW `view_pallet_samples` AS
SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
@@ -156,7 +156,7 @@
- CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_sample_point_locations` AS select distinct `APP_WEIGHT_SAMPLE_POINT`.`LOCATION` AS `Location` from `APP_WEIGHT_SAMPLE_POINT`
+ CREATE VIEW `view_sample_point_locations` AS select distinct `APP_WEIGHT_SAMPLE_POINT`.`LOCATION` AS `Location` from `APP_WEIGHT_SAMPLE_POINT`
diff --git a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
index b60f4b2b3..7436bcc60 100644
--- a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
+++ b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
@@ -7,7 +7,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
@@ -68,7 +68,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_sorting_qty_diffs` AS SELECT
+ CREATE OR REPLACE VIEW `view_sorting_qty_diffs` AS SELECT
`APP_PALLET_EXTENSION`.`SSCC` AS `SSCC`,
`APP_PALLET_EXTENSION`.`PALLET_QUANTITY` AS `PALLET_QUANTITY`,
`APP_PALLET`.`QUANTITY` AS `QUANTITY`,
diff --git a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
index cb4b7365f..ecde3d370 100644
--- a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
+++ b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_results` AS SELECT
+ CREATE OR REPLACE VIEW `view_qm_results` AS SELECT
`APP_QM_SAMPLE`.`PROCESS_ORDER` AS `PROCESS_ORDER`,
`APP_QM_SAMPLE`.`MATERIAL` AS `MATERIAL`,
`APP_QM_SAMPLE`.`SAMPLE_ID` AS `SAMPLE_ID`,
diff --git a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
index 82761953b..479d49bdd 100644
--- a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
+++ b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_panel_results` AS
+ CREATE OR REPLACE VIEW `view_qm_panel_results` AS
SELECT
APP_QM_PANEL.PANEL_ID,
APP_QM_PANEL_TRAY.TRAY_ID,
diff --git a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
index 1679337fb..7cd97f14f 100644
--- a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
+++ b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
@@ -345,7 +345,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
diff --git a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
index 7d316e2c9..00887539f 100644
--- a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
+++ b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_results` AS
+ CREATE OR REPLACE VIEW `view_qm_results` AS
SELECT samp.PROCESS_ORDER as 'PROCESS_ORDER',
samp.MATERIAL as 'MATERIAL',
samp.SAMPLE_ID as 'SAMPLE_ID',
diff --git a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
index 46026ca58..0ae5fd149 100644
--- a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
+++ b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
@@ -44,7 +44,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
diff --git a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml
new file mode 100644
index 000000000..1acd4c6d1
--- /dev/null
+++ b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml
@@ -0,0 +1,672 @@
+
+
+
+
+
+ CREATE TABLE `APP_BOM` (
+ `BOM_ID` varchar(20) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT '',
+ `BOM_VERSION` varchar(10) NOT NULL DEFAULT '',
+ `BOM_SEQUENCE` int NOT NULL DEFAULT '0',
+ `DATA_ID` varchar(20) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT '',
+ `DATA_TYPE` varchar(20) DEFAULT '',
+ `DATA_STRING` varchar(255) DEFAULT '',
+ `DATA_DECIMAL` decimal(22,3) unsigned DEFAULT NULL,
+ `DATA_DATE` datetime DEFAULT NULL,
+ `DATA_TIMESTAMP` timestamp NULL DEFAULT NULL,
+ `UUID` varchar(50) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT (uuid()),
+ `PARENT_UUID` varchar(50) DEFAULT NULL,
+ PRIMARY KEY (`BOM_ID`,`BOM_VERSION`,`DATA_ID`,`UUID`) USING BTREE,
+ UNIQUE KEY `UUID_NDX` (`UUID`) USING BTREE,
+ KEY `UUID_PARENT_NDX` (`PARENT_UUID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_DEFAULTS` (
+ `SOURCE_FIELD` varchar(32) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `SOURCE_VALUE` varchar(50) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `DESTINATION_FIELD` varchar(32) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `DESTINATION_VALUE` varchar(50) CHARACTER SET {charset} COLLATE {collation} DEFAULT NULL,
+ PRIMARY KEY (`SOURCE_FIELD`,`SOURCE_VALUE`,`DESTINATION_FIELD`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_ELEMENTS` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `DATA_TYPE` varchar(20) DEFAULT NULL,
+ `ENABLE_EDIT` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_CREATE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_DELETE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_DUPLICATE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_CLIPBOARD` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `MAX_OCCUR_LEVEL` int DEFAULT '1',
+ `ENABLE_LOOKUP` varchar(1) DEFAULT 'Y',
+ `LOOKUP_SQL` varchar(255) DEFAULT '',
+ `LOOKUP_FIELD` varchar(32) DEFAULT '',
+ `ICON_FILENAME` varchar(80) DEFAULT '',
+ `DESCRIPTION` varchar(80) DEFAULT '',
+ PRIMARY KEY (`DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_LISTS` (
+ `LIST_ID` varchar(25) NOT NULL DEFAULT '',
+ `ITEM` varchar(50) NOT NULL DEFAULT '',
+ `SEQUENCE` int DEFAULT '0',
+ `ENABLED` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ PRIMARY KEY (`LIST_ID`,`ITEM`)
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+
+ CREATE TABLE `APP_BOM_STRUCTURE` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `PARENT_DATA_CATEGORY` varchar(20) NOT NULL,
+ `PARENT_DATA_ID` varchar(20) NOT NULL,
+ PRIMARY KEY (`DATA_ID`,`PARENT_DATA_CATEGORY`,`PARENT_DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+
+ CREATE VIEW `view_bom` AS
+ select `BOM_MATERIAL`.`BOM_ID` AS `bom_id`,
+ `BOM_MATERIAL`.`BOM_VERSION` AS `bom_version`,
+ `BOM_MATERIAL`.`BOM_SEQUENCE` AS `display_order`,
+ `BOM_STAGE`.`DATA_STRING` AS `stage`,
+ `BOM_IN_OUT`.`DATA_ID` AS `input_output`,
+ `BOM_SEQUENCE`.`DATA_STRING` AS `sequence`,
+ `BOM_MATERIAL`.`DATA_STRING` AS `material`,
+ `BOM_MATERIAL`.`UUID` AS `material_uuid`,
+ `BOM_DESCRIPTION`.`DATA_STRING` AS `description`,
+ `BOM_QUANTITY`.`DATA_DECIMAL` AS `quantity`,
+ `BOM_TYPE`.`DATA_STRING` AS `type`,
+ `BOM_UOM`.`DATA_STRING` AS `uom`,
+ `BOM_GTIN`.`DATA_STRING` AS `gtin`,
+ `BOM_VARIANT`.`DATA_STRING` AS `variant`,
+ `BOM_LOCATION`.`DATA_STRING` AS `location_id`,
+ `BOM_LOCATION`.`UUID` AS `location_uuid`
+ from `app_bom` `BOM_MATERIAL`
+ left join `app_bom` `BOM_DESCRIPTION` on (`BOM_DESCRIPTION`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_DESCRIPTION`.`DATA_TYPE` = 'string')
+ and (`BOM_DESCRIPTION`.`DATA_ID` = 'description')
+ left join `app_bom` `BOM_QUANTITY` on (`BOM_QUANTITY`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_QUANTITY`.`DATA_TYPE` = 'decimal')
+ and (`BOM_QUANTITY`.`DATA_ID` = 'quantity')
+ left join `app_bom` `BOM_SEQUENCE` on (`BOM_SEQUENCE`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_SEQUENCE`.`DATA_TYPE` = 'string')
+ and (`BOM_SEQUENCE`.`DATA_ID` = 'sequence')
+ left join `app_bom` `BOM_TYPE` on (`BOM_TYPE`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_TYPE`.`DATA_TYPE` = 'string')
+ and (`BOM_TYPE`.`DATA_ID` = 'type')
+ left join `app_bom` `BOM_UOM` on (`BOM_UOM`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_UOM`.`DATA_TYPE` = 'string')
+ and (`BOM_UOM`.`DATA_ID` = 'uom')
+ left join `app_bom` `BOM_GTIN` on (`BOM_GTIN`.`PARENT_UUID` = `BOM_UOM`.`UUID`)
+ and (`BOM_GTIN`.`DATA_TYPE` = 'string')
+ and (`BOM_GTIN`.`DATA_ID` = 'gtin')
+ left join `app_bom` `BOM_VARIANT` on (`BOM_VARIANT`.`PARENT_UUID` = `BOM_UOM`.`UUID`)
+ and (`BOM_VARIANT`.`DATA_TYPE` = 'string')
+ and (`BOM_VARIANT`.`DATA_ID` = 'variant')
+ left join `app_bom` `BOM_IN_OUT` on (`BOM_IN_OUT`.`UUID` = `BOM_MATERIAL`.`PARENT_UUID`)
+ and (`BOM_IN_OUT`.`DATA_TYPE` = 'string')
+ and (`BOM_IN_OUT`.`DATA_ID` in ('input','output'))
+ left join `app_bom` `BOM_STAGE` on (`BOM_STAGE`.`UUID` = `BOM_IN_OUT`.`PARENT_UUID`)
+ and (`BOM_STAGE`.`DATA_TYPE` = 'string')
+ and (`BOM_STAGE`.`DATA_ID` = 'stage')
+ left join `app_bom` `BOM_LOCATION` on (`BOM_LOCATION`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_LOCATION`.`DATA_TYPE` = 'string')
+ and (`BOM_LOCATION`.`DATA_ID` = 'location_id')
+ where (`BOM_MATERIAL`.`DATA_ID` = 'material')
+ order by `BOM_MATERIAL`.`BOM_ID`,`BOM_MATERIAL`.`BOM_VERSION`,`BOM_IN_OUT`.`DATA_ID`,`BOM_SEQUENCE`.`DATA_ID`,`BOM_MATERIAL`.`BOM_SEQUENCE`,`BOM_MATERIAL`.`UUID`;
+
+
+
+
+ CREATE VIEW `view_bom_structure` AS
+ select `app_bom_structure`.`DATA_ID` AS `DATA_ID`,
+ `app_bom_elements`.`DATA_TYPE` AS `DATA_TYPE`,
+ `app_bom_structure`.`PARENT_DATA_ID` AS `PARENT_DATA_ID`,
+ `app_bom_elements`.`ENABLE_EDIT` AS `ENABLE_EDIT`,
+ `app_bom_elements`.`ENABLE_CREATE` AS `ENABLE_CREATE`,
+ `app_bom_elements`.`ENABLE_DELETE` AS `ENABLE_DELETE`,
+ `app_bom_elements`.`ENABLE_DUPLICATE` AS `ENABLE_DUPLICATE`,
+ `app_bom_elements`.`ENABLE_CLIPBOARD` AS `ENABLE_CLIPBOARD`,
+ `app_bom_elements`.`ENABLE_LOOKUP` AS `ENABLE_LOOKUP`,
+ `app_bom_elements`.`LOOKUP_SQL` AS `LOOKUP_SQL`,
+ `app_bom_elements`.`LOOKUP_FIELD` AS `LOOKUP_FIELD`,
+ `app_bom_elements`.`ICON_FILENAME` AS `ICON_FILENAME`,
+ `app_bom_elements`.`MAX_OCCUR_LEVEL` AS `MAX_OCCUR_LEVEL`,
+ `app_bom_elements`.`DESCRIPTION` AS `DESCRIPTION`
+ from (`app_bom_structure`
+ join `app_bom_elements`
+ on((`app_bom_structure`.`DATA_ID` = `app_bom_elements`.`DATA_ID`)));
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770321', 'location_id', 'LANEA');
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770322', 'location_id', 'LANEB');
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770323', 'location_id', 'LANEC');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = \'location_id\' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = \'material_type\' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = \'uom\' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant');
+
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('description', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('description', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('gtin', 'value', 'uom');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('hrs', 'section', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('hrs', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('input', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('location_id', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('line', 'section', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('line', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('material', 'section', 'input');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('material', 'section', 'output');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('output', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('quantity', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('resource', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('resource', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('root', '', '');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('runtime', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('sequence', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('stage', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('type', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('uom', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('updated', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('variant', 'value', 'uom');
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE `APP_LOCATION`
+ ADD COLUMN `MSG_PALLET_ISSUE` varchar(1) NULL DEFAULT 'Y' AFTER `MSG_PROD_UNCONFIRM`,
+ ADD COLUMN `MSG_PALLET_RETURN` varchar(1) NULL DEFAULT 'Y' AFTER `MSG_PALLET_ISSUE`,
+ ADD COLUMN `BARCODE_ID` varchar(25) NULL DEFAULT '' AFTER `MSG_PALLET_RETURN`;
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml
new file mode 100644
index 000000000..38f7b3dec
--- /dev/null
+++ b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml
@@ -0,0 +1,358 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP TABLE `APP_BOM_STRUCTURE`;
+
+
+
+ CREATE TABLE `APP_BOM_STRUCTURE` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `PARENT_DATA_ID` varchar(20) NOT NULL,
+ PRIMARY KEY (`DATA_ID`,`PARENT_DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ DROP VIEW `view_bom_structure`
+
+
+
+ CREATE VIEW `view_bom_structure` AS
+ select `app_bom_structure`.`DATA_ID` AS `DATA_ID`,
+ `app_bom_elements`.`DATA_TYPE` AS `DATA_TYPE`,
+ `app_bom_structure`.`PARENT_DATA_ID` AS `PARENT_DATA_ID`,
+ `app_bom_elements`.`ENABLE_EDIT` AS `ENABLE_EDIT`,
+ `app_bom_elements`.`ENABLE_CREATE` AS `ENABLE_CREATE`,
+ `app_bom_elements`.`ENABLE_DELETE` AS `ENABLE_DELETE`,
+ `app_bom_elements`.`ENABLE_DUPLICATE` AS `ENABLE_DUPLICATE`,
+ `app_bom_elements`.`ENABLE_CLIPBOARD` AS `ENABLE_CLIPBOARD`,
+ `app_bom_elements`.`ENABLE_LOOKUP` AS `ENABLE_LOOKUP`,
+ `app_bom_elements`.`LOOKUP_SQL` AS `LOOKUP_SQL`,
+ `app_bom_elements`.`LOOKUP_FIELD` AS `LOOKUP_FIELD`,
+ `app_bom_elements`.`ICON_FILENAME` AS `ICON_FILENAME`,
+ `app_bom_elements`.`MAX_OCCUR_LEVEL` AS `MAX_OCCUR_LEVEL`,
+ `app_bom_elements`.`DESCRIPTION` AS `DESCRIPTION`
+ from (`app_bom_structure`
+ join `app_bom_elements`
+ on((`app_bom_structure`.`DATA_ID` = `app_bom_elements`.`DATA_ID`)));
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('description', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('description', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('gtin', 'uom');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('hrs', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('hrs', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('input', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('location_id', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('line', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('line', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('material', 'input');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('material', 'output');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('output', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('quantity', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('resource', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('resource', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('root', '');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('runtime', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('sequence', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('stage', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('type', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('uom', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('updated', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('variant', 'uom');
+
+
+
diff --git a/b6/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml
new file mode 100644
index 000000000..32738e209
--- /dev/null
+++ b/b6/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/b6/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml b/b6/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml
new file mode 100644
index 000000000..d78048a6a
--- /dev/null
+++ b/b6/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml
@@ -0,0 +1,556 @@
+
+
+
+
+ CREATE TABLE "APP_BOM" (
+ "BOM_ID" VARCHAR2(20) DEFAULT '' NOT NULL,
+ "BOM_VERSION" VARCHAR2(10) DEFAULT '' NOT NULL,
+ "BOM_SEQUENCE" INT DEFAULT 0 NOT NULL,
+ "DATA_ID" VARCHAR2(20) DEFAULT '' NOT NULL,
+ "DATA_TYPE" VARCHAR2(20) DEFAULT '',
+ "DATA_STRING" VARCHAR2(255) DEFAULT '',
+ "DATA_DECIMAL" NUMERIC(22,3) DEFAULT NULL,
+ "DATA_DATE" TIMESTAMP DEFAULT NULL,
+ "DATA_TIMESTAMP" TIMESTAMP DEFAULT NULL,
+ "UUID" VARCHAR2(50) DEFAULT '' NOT NULL,
+ "PARENT_UUID" VARCHAR2(50) DEFAULT '',
+ PRIMARY KEY ("BOM_ID", "BOM_VERSION", "DATA_ID", "UUID") )
+
+
+
+ CREATE TABLE "APP_BOM_DEFAULTS" (
+ "SOURCE_FIELD" VARCHAR2(32) NOT NULL,
+ "SOURCE_VALUE" VARCHAR2(50) NOT NULL,
+ "DESTINATION_FIELD" VARCHAR2(32) NOT NULL,
+ "DESTINATION_VALUE" VARCHAR2(50),
+ PRIMARY KEY ("SOURCE_FIELD", "SOURCE_VALUE", "DESTINATION_FIELD") )
+
+
+
+ CREATE TABLE "APP_BOM_ELEMENTS" (
+ "DATA_ID" VARCHAR2(20) NOT NULL,
+ "DATA_TYPE" VARCHAR2(20),
+ "ENABLE_EDIT" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_CREATE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_DELETE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_DUPLICATE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_CLIPBOARD" VARCHAR2(1) DEFAULT 'Y',
+ "MAX_OCCUR_LEVEL" INT,
+ "ENABLE_LOOKUP" VARCHAR2(1) DEFAULT 'Y',
+ "LOOKUP_SQL" VARCHAR2(255) DEFAULT '',
+ "LOOKUP_FIELD" VARCHAR2(32) DEFAULT '',
+ "ICON_FILENAME" VARCHAR2(80) DEFAULT '',
+ "DESCRIPTION" VARCHAR2(80) DEFAULT '',
+ PRIMARY KEY ("DATA_ID") )
+
+
+
+ CREATE TABLE "APP_BOM_LISTS" (
+ "LIST_ID" VARCHAR2(25 BYTE) VISIBLE DEFAULT '',
+ "ITEM" VARCHAR2(50 BYTE) VISIBLE DEFAULT '',
+ "SEQUENCE" NUMBER VISIBLE DEFAULT 0,
+ "ENABLED" VARCHAR2(1 BYTE) VISIBLE DEFAULT 'Y')
+
+
+
+ CREATE INDEX "IDX_APP_BOM_LISTS1"
+ ON "APP_BOM_LISTS" ("LIST_ID" ASC, "ITEM" ASC)
+
+
+
+ CREATE TABLE "APP_BOM_STRUCTURE" (
+ "DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '',
+ "PARENT_DATA_CATEGORY" VARCHAR2(20) VISIBLE DEFAULT '' ,
+ "PARENT_DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '' )
+
+
+
+ CREATE INDEX "IDX_APP_BOM_STRUCTURE1"
+ ON "APP_BOM_STRUCTURE" ("DATA_ID" ASC, "PARENT_DATA_CATEGORY" ASC, "PARENT_DATA_ID" ASC)
+
+
+
+ CREATE OR REPLACE VIEW view_bom as
+ SELECT BOM_MATERIAL.BOM_ID bom_id,
+ BOM_MATERIAL.BOM_VERSION bom_version,
+ BOM_MATERIAL.BOM_SEQUENCE display_order,
+ BOM_STAGE.DATA_STRING stage,
+ BOM_IN_OUT.DATA_ID input_output,
+ BOM_SEQUENCE.DATA_STRING sequence,
+ BOM_MATERIAL.DATA_STRING material,
+ BOM_MATERIAL.UUID material_uuid,
+ BOM_DESCRIPTION.DATA_STRING description,
+ BOM_QUANTITY.DATA_DECIMAL quantity,
+ BOM_TYPE.DATA_STRING TYPE,
+ BOM_UOM.DATA_STRING uom,
+ BOM_GTIN.DATA_STRING gtin,
+ BOM_VARIANT.DATA_STRING variant,
+ BOM_LOCATION.DATA_STRING location_id,
+ BOM_LOCATION.UUID location_uuid
+ FROM app_bom BOM_MATERIAL
+ LEFT JOIN app_bom BOM_DESCRIPTION ON ( ( BOM_DESCRIPTION.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_DESCRIPTION.DATA_TYPE = 'string' ) AND ( BOM_DESCRIPTION.DATA_ID = 'description' ) )
+ LEFT JOIN app_bom BOM_QUANTITY ON ( ( BOM_QUANTITY.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_QUANTITY.DATA_TYPE = 'decimal' ) AND ( BOM_QUANTITY.DATA_ID = 'quantity' ) )
+ LEFT JOIN app_bom BOM_SEQUENCE ON ( ( BOM_SEQUENCE.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_SEQUENCE.DATA_TYPE = 'string' ) AND ( BOM_SEQUENCE.DATA_ID = 'sequence' ) )
+ LEFT JOIN app_bom BOM_TYPE ON ( ( BOM_TYPE.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_TYPE.DATA_TYPE = 'string' ) AND ( BOM_TYPE.DATA_ID = 'type' ) )
+ LEFT JOIN app_bom BOM_UOM ON ( ( BOM_UOM.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_UOM.DATA_TYPE = 'string' ) AND ( BOM_UOM.DATA_ID = 'uom' ) )
+ LEFT JOIN app_bom BOM_GTIN ON ( ( BOM_GTIN.PARENT_UUID = BOM_UOM.UUID ) AND ( BOM_GTIN.DATA_TYPE = 'string' ) AND ( BOM_GTIN.DATA_ID = 'gtin' ) )
+ LEFT JOIN app_bom BOM_VARIANT ON ( ( BOM_VARIANT.PARENT_UUID = BOM_UOM.UUID ) AND ( BOM_VARIANT.DATA_TYPE = 'string' ) AND ( BOM_VARIANT.DATA_ID = 'variant' ) )
+ LEFT JOIN app_bom BOM_IN_OUT ON ( ( BOM_IN_OUT.UUID = BOM_MATERIAL.PARENT_UUID ) AND ( BOM_IN_OUT.DATA_TYPE = 'string' ) AND ( BOM_IN_OUT.DATA_ID IN ( 'input', 'output' ) ) )
+ LEFT JOIN app_bom BOM_STAGE ON ( ( BOM_STAGE.UUID = BOM_IN_OUT.PARENT_UUID ) AND ( BOM_STAGE.DATA_TYPE = 'string' ) AND ( BOM_STAGE.DATA_ID = 'stage' ) )
+ LEFT JOIN app_bom BOM_LOCATION ON ( ( BOM_LOCATION.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_LOCATION.DATA_TYPE = 'string' ) AND ( BOM_LOCATION.DATA_ID = 'location_id' ) )
+ WHERE ( BOM_MATERIAL.DATA_ID = 'material' )
+
+
+
+ CREATE OR REPLACE VIEW view_bom_structure AS
+ SELECT app_bom_structure.DATA_ID DATA_ID,
+ app_bom_elements.DATA_TYPE DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION DESCRIPTION
+ FROM (app_bom_structure JOIN app_bom_elements ON ((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770321', 'location_id', 'LANEA')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770322', 'location_id', 'LANEB')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770323', 'location_id', 'LANEC')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = ''location_id'' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = ''material_type'' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = ''uom'' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant')
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('gtin', 'value', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('input', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('location_id', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('output', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('quantity', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('root', '', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('runtime', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('sequence', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('stage', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('type', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('uom', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('updated', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('variant', 'value', 'uom')
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+mod_FRM_BOM_ADMIN
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE "APP_LOCATION"
+ ADD ("MSG_PALLET_ISSUE" VARCHAR2(1) DEFAULT 'Y')
+ ADD ("MSG_PALLET_RETURN" VARCHAR2(1) DEFAULT 'Y')
+ ADD ("BARCODE_ID" VARCHAR2(25) DEFAULT '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/b6/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml b/b6/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml
new file mode 100644
index 000000000..61c549a6e
--- /dev/null
+++ b/b6/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml
@@ -0,0 +1,314 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP INDEX "IDX_APP_BOM_STRUCTURE1"
+
+
+
+ DROP TABLE "APP_BOM_STRUCTURE"
+
+
+
+ CREATE TABLE "APP_BOM_STRUCTURE" (
+ "DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '',
+ "PARENT_DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '' )
+
+
+
+ CREATE INDEX "IDX_APP_BOM_STRUCTURE1"
+ ON "APP_BOM_STRUCTURE" ("DATA_ID" ASC, "PARENT_DATA_ID" ASC)
+
+
+
+ CREATE OR REPLACE VIEW view_bom_structure AS
+ SELECT app_bom_structure.DATA_ID DATA_ID,
+ app_bom_elements.DATA_TYPE DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION DESCRIPTION
+ FROM (app_bom_structure JOIN app_bom_elements ON ((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('gtin', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('input', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('location_id', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('output', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('quantity', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('root', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('runtime', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('sequence', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('stage', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('type', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('uom', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('updated', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('variant', 'uom')
+
+
+
diff --git a/b6/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml b/b6/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml
new file mode 100644
index 000000000..3166d412d
--- /dev/null
+++ b/b6/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/b6/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml b/b6/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
index 337bb1136..6445ca54c 100644
--- a/b6/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
+++ b/b6/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [view_pallet_history_expiry]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [view_pallet_history]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(IIF(transaction_type = 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value = ?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,7 +286,7 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(a.module_id) from [view_security] a where a.user_id = ? order by a.module_id
@@ -291,24 +297,24 @@
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
-
+
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}view_permissions order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,u.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,u.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT a.* FROM [view_menu_structure]a WHERE a.MENU_ID = ? AND a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT a.* FROM [view_rf_menu]a WHERE a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT a.* FROM [view_toolbar]a WHERE a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,[updated]=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -584,8 +587,8 @@
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,7 +617,7 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
@@ -643,7 +646,15 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER
-
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
+
JDBProcessOrder.ViewResource
select * from view_process_order_resource
@@ -651,7 +662,7 @@
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from view_process_order_resource where process_order=?
-
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,18 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -745,7 +772,7 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -800,39 +827,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- P.SSCC,
- P.STATUS AS 'PALLET_STATUS',
- P.LOCATION_ID,
- P.DESPATCH_NO,
- MB.MATERIAL,
- MB.BATCH_NUMBER,
- MB.STATUS AS 'BATCH_STATUS'
- FROM
- APP_PALLET P,
- APP_MATERIAL_BATCH MB
- WHERE
- MB.MATERIAL = P.MATERIAL
- AND MB.BATCH_NUMBER = P.BATCH_NUMBER
- AND P.DESPATCH_NO = %1
- AND (
- P.STATUS NOT IN ( %2 )
- OR MB.STATUS NOT IN ( %3 )
- )
-
+ SELECT P.SSCC, P.STATUS AS 'PALLET_STATUS', P.LOCATION_ID, P.DESPATCH_NO, MB.MATERIAL, MB.BATCH_NUMBER, MB.STATUS AS 'BATCH_STATUS' FROM APP_PALLET P, APP_MATERIAL_BATCH MB WHERE MB.MATERIAL = P.MATERIAL AND MB.BATCH_NUMBER = P.BATCH_NUMBER AND P.DESPATCH_NO = %1 AND ( P.STATUS NOT IN ( %2 ) OR MB.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +858,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +875,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +896,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (report_request_id,module_id,invocation_mode,parameter_count,parameter_delimiter,parameter_names,parameter_types,parameter_values,sql,print_queue_name,print_copies) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +913,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +938,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +967,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +996,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1025,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1050,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1071,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1092,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1117,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1142,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1167,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1192,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1221,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1250,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1287,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1323,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1348,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1381,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1406,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1427,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}view_label_data WHERE UNIQUE_ID = ?
@@ -1432,96 +1436,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}view_auto_labeller_printer where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}view_auto_labeller_printer
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1537,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1573,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1599,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1657,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1670,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1703,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1711,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}view_barcode_validate where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1738,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1763,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1792,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1804,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1821,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1850,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1879,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1912,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1923,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1960,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +2003,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2032,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2059,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2072,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2097,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2122,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2130,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2163,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2210,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2219,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2243,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2264,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2284,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2292,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2321,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2339,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2376,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2401,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2430,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2442,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2455,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?, sample_point = ?, id=?,lane_1=?,lane_2=?,lane_3=?,lane_4=?,lane_5=? where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2496,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2529,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2570,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2594,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2603,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2619,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2642,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2673,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select top (?) * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc
+ select top (?) * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2700,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2725,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2749,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2761,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,11 +2778,11 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
@@ -2909,6 +2795,184 @@
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
-
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM >'' AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/b6/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml b/b6/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
index c6e3009e7..f80059eaa 100644
--- a/b6/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
+++ b/b6/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [view_pallet_history_expiry]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [view_pallet_history]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(IF(transaction_type = 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value = ?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,7 +286,7 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(S.module_id) from [view_security] as S where S.user_id = ? order by module_id
@@ -291,24 +297,24 @@
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
-
+
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}view_permissions order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,u.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,u.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT * FROM [view_menu_structure] AS M WHERE M.MENU_ID = ? AND M.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT * FROM [view_rf_menu] AS T WHERE T.MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT * FROM [view_toolbar] AS T WHERE T.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,updated=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -584,8 +587,8 @@
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,7 +617,7 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
@@ -643,7 +646,15 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER
-
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
+
JDBProcessOrder.ViewResource
select * from view_process_order_resource
@@ -651,7 +662,7 @@
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from view_process_order_resource where process_order=?
-
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,14 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -745,7 +768,7 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -800,39 +823,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- P.SSCC,
- P.STATUS AS 'PALLET_STATUS',
- P.LOCATION_ID,
- P.DESPATCH_NO,
- MB.MATERIAL,
- MB.BATCH_NUMBER,
- MB.STATUS AS 'BATCH_STATUS'
- FROM
- APP_PALLET P,
- APP_MATERIAL_BATCH MB
- WHERE
- MB.MATERIAL = P.MATERIAL
- AND MB.BATCH_NUMBER = P.BATCH_NUMBER
- AND P.DESPATCH_NO = %1
- AND (
- P.STATUS NOT IN ( %2 )
- OR MB.STATUS NOT IN ( %3 )
- )
-
+ SELECT P.SSCC, P.STATUS AS 'PALLET_STATUS', P.LOCATION_ID, P.DESPATCH_NO, MB.MATERIAL, MB.BATCH_NUMBER, MB.STATUS AS 'BATCH_STATUS' FROM APP_PALLET P, APP_MATERIAL_BATCH MB WHERE MB.MATERIAL = P.MATERIAL AND MB.BATCH_NUMBER = P.BATCH_NUMBER AND P.DESPATCH_NO = %1 AND ( P.STATUS NOT IN ( %2 ) OR MB.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +854,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +871,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +892,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (`REPORT_REQUEST_ID`,`MODULE_ID`,`INVOCATION_MODE`,`PARAMETER_COUNT`,`PARAMETER_DELIMITER`,`PARAMETER_NAMES`,`PARAMETER_TYPES`,`PARAMETER_VALUES`,`SQL`,`PRINT_QUEUE_NAME`,`PRINT_COPIES`) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +909,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +934,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +963,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +992,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1021,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1046,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1067,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1088,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1113,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1138,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1163,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1188,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1217,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1246,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1283,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1319,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1344,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1377,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1402,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1423,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}view_label_data WHERE UNIQUE_ID = ?
@@ -1432,96 +1432,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}view_auto_labeller_printer where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}view_auto_labeller_printer
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1533,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1569,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1595,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1653,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1666,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1699,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1707,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}view_barcode_validate where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1734,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1759,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1788,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1800,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1817,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1846,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1875,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1908,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1919,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1956,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +1999,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2028,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2055,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2068,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2093,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2118,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2126,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2159,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2206,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2215,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2239,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2260,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2280,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2288,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2317,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2335,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2372,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2397,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2426,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2438,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2451,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?, sample_point = ?, id=?,lane_1=?,lane_2=?,lane_3=?,lane_4=?,lane_5=? where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2492,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2525,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2566,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2590,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2599,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2615,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2638,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2669,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc limit ?
+ select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc limit ?
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2696,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2721,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2745,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2757,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,23 +2774,201 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
JDBOperatives.getOperatives
select * from {schema}APP_OPERATIVES order by id
-
-
+
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
-
+
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM >'' AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/b6/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml b/b6/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
index 2a895fb6b..289b81c79 100644
--- a/b6/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
+++ b/b6/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [VIEW_PALLET_HISTORY_EXPIRY]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [VIEW_PALLET_HISTORY]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(DECODE(transaction_type, 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value =?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,35 +286,35 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(module_id) from [view_security] where user_id = ? order by module_id
JDBUser.changePassword
- update {schema}SYS_USERS set Password = ?,last_password_change = ?,password_version=password_version+1,password_change_required='N',password_encrypted=? where user_id = ?
+ update {schema}SYS_USERS set Password = ?,last_password_change = ?,password_version=password_version+1,password_change_required='N',password_encrypted=? where user_id = ?
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
-
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -332,7 +338,7 @@
JDBUser.enable
update {schema}SYS_USERS set account_enabled = 'Y' where user_id = ?
-
+
JDBUser.getUserGroupsUnAssigned
select group_id from {schema}SYS_GROUPS where group_id not in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?) order by group_id
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}VIEW_PERMISSIONS order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,U.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,U.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT * FROM [view_menu_structure]WHERE MENU_ID = ? AND MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT * FROM [view_rf_menu]WHERE MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT * FROM [view_toolbar]WHERE MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,updated=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material= ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -580,12 +583,12 @@
JDBJourney.delete
delete from {schema}APP_JOURNEY where journey_ref = ?
-
+
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,11 +617,11 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
-
+
JDBProcessOrder.create
insert into {schema}APP_PROCESS_ORDER (process_order) values (?)
@@ -629,7 +632,7 @@
JDBProcessOrder.getProcessOrderProperties
- select * from {schema}APP_PROCESS_ORDER where process_order = ?
+ select * from {schema}APP_PROCESS_ORDER where process_order = ?
JDBProcessOrder.isValidProcessOrder
@@ -643,15 +646,23 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
JDBProcessOrder.ViewResource
select * from VIEW_PROCESS_ORDER_RESOURCE
-
+
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from VIEW_PROCESS_ORDER_RESOURCE where process_order=?
-
-
+
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,18 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -744,8 +771,8 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
-
+
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -769,7 +796,7 @@
JDBDespatch.setConfirmed
update {schema}APP_DESPATCH set transaction_ref=?,status=?,despatch_date=?,total_pallets=(select count(sscc) from {schema}APP_PALLET where despatch_no = ?) where despatch_no=?
-
+
JDBDespatch.getDespatchProperties
select * from {schema}APP_DESPATCH where despatch_no = ?
@@ -800,39 +827,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- APP_PALLET.SSCC,
- APP_PALLET.STATUS "PALLET_STATUS",
- APP_PALLET.LOCATION_ID,
- APP_PALLET.DESPATCH_NO,
- APP_MATERIAL_BATCH.MATERIAL,
- APP_MATERIAL_BATCH.BATCH_NUMBER,
- APP_MATERIAL_BATCH.STATUS AS "BATCH_STATUS"
- FROM
- APP_PALLET,
- APP_MATERIAL_BATCH
- WHERE
- APP_MATERIAL_BATCH.MATERIAL = APP_PALLET.MATERIAL
- AND APP_MATERIAL_BATCH.BATCH_NUMBER = APP_PALLET.BATCH_NUMBER
- AND APP_PALLET.DESPATCH_NO = %1
- AND (
- APP_PALLET.STATUS NOT IN ( %2 )
- OR APP_MATERIAL_BATCH.STATUS NOT IN ( %3 )
- )
-
+ SELECT APP_PALLET.SSCC, APP_PALLET.STATUS "PALLET_STATUS", APP_PALLET.LOCATION_ID, APP_PALLET.DESPATCH_NO, APP_MATERIAL_BATCH.MATERIAL, APP_MATERIAL_BATCH.BATCH_NUMBER, APP_MATERIAL_BATCH.STATUS AS "BATCH_STATUS" FROM APP_PALLET, APP_MATERIAL_BATCH WHERE APP_MATERIAL_BATCH.MATERIAL = APP_PALLET.MATERIAL AND APP_MATERIAL_BATCH.BATCH_NUMBER = APP_PALLET.BATCH_NUMBER AND APP_PALLET.DESPATCH_NO = %1 AND ( APP_PALLET.STATUS NOT IN ( %2 ) OR APP_MATERIAL_BATCH.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +858,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +875,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +896,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (report_request_id,module_id,invocation_mode,parameter_count,parameter_delimiter,parameter_names,parameter_types,parameter_values,sql,print_queue_name,print_copies) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +913,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +938,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +967,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +996,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1025,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1050,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1071,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1092,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1117,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1142,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1167,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1192,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1221,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1250,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1287,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1323,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1348,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1381,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1406,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1427,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}VIEW_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1432,96 +1436,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}VIEW_AUTO_LABELLER_PRINTER where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}VIEW_AUTO_LABELLER_PRINTER
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1537,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1573,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1599,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1657,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1670,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1703,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1711,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}VIEW_BARCODE_VALIDATE where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1738,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1763,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1792,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1804,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1821,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1850,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1879,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1912,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1923,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
+
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1960,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +2003,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2032,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2059,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2072,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2097,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2122,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2130,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2163,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2210,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2219,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2243,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2264,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2284,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2292,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2321,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2339,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2376,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2401,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2430,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2442,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2455,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?,sample_point = ?, id=?, lane_1=?, lane_1=2, lane_1=3, lane_1=4, lane_1=5 where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2496,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2529,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2570,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2594,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2603,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2619,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2642,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2673,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select * from (select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc) where rownum <= ?
+ select * from (select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc) where rownum <= ?
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2700,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2725,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2749,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2761,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,23 +2778,201 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
JDBOperatives.getOperatives
select * from {schema}APP_OPERATIVES order by id
-
-
+
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM IS NOT NULL AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/b6web_t10_android_eb3/WebContent/WEB-INF/lib/commander4j.jar b/b6web_t10_android_eb3/WebContent/WEB-INF/lib/commander4j.jar
index 5a3cab509..3a173d0e9 100644
Binary files a/b6web_t10_android_eb3/WebContent/WEB-INF/lib/commander4j.jar and b/b6web_t10_android_eb3/WebContent/WEB-INF/lib/commander4j.jar differ
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml
new file mode 100644
index 000000000..a786896a5
--- /dev/null
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml
@@ -0,0 +1,566 @@
+
+
+
+
+ CREATE TABLE [dbo].[APP_BOM] (
+ [BOM_ID] varchar(20) DEFAULT '' NOT NULL,
+ [BOM_VERSION] varchar(10) DEFAULT '' NOT NULL,
+ [BOM_SEQUENCE] int DEFAULT 0 NULL,
+ [DATA_ID] varchar(20) DEFAULT '' NOT NULL,
+ [DATA_TYPE] varchar(20) DEFAULT '' NULL,
+ [DATA_STRING] varchar(255) DEFAULT '' NULL,
+ [DATA_DECIMAL] decimal(22,3) DEFAULT NULL NULL,
+ [DATA_DATE] datetime DEFAULT NULL NULL,
+ [DATA_TIMESTAMP] datetime DEFAULT NULL,
+ [UUID] varchar(50) DEFAULT '' NOT NULL,
+ [PARENT_UUID] varchar(50) DEFAULT '' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM] ADD CONSTRAINT [PK_APP_BOM] PRIMARY KEY CLUSTERED ([BOM_ID], [BOM_VERSION], [DATA_ID], [UUID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_DEFAULTS] (
+ [SOURCE_FIELD] varchar(32) NOT NULL,
+ [SOURCE_VALUE] varchar(50) NOT NULL,
+ [DESTINATION_FIELD] varchar(32) NOT NULL,
+ [DESTINATION_VALUE] varchar(50) NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_DEFAULTS] ADD CONSTRAINT [PK_APP_BOM_DEFAULTS] PRIMARY KEY CLUSTERED ([SOURCE_FIELD], [SOURCE_VALUE], [DESTINATION_FIELD]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_ELEMENTS] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [DATA_TYPE] varchar(20) NULL,
+ [ENABLE_EDIT] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_CREATE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_DELETE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_DUPLICATE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_CLIPBOARD] varchar(1) DEFAULT 'Y' NULL,
+ [MAX_OCCUR_LEVEL] int DEFAULT 1 NULL,
+ [ENABLE_LOOKUP] varchar(1) DEFAULT 'Y' NULL,
+ [LOOKUP_SQL] varchar(255) DEFAULT '' NULL,
+ [LOOKUP_FIELD] varchar(32) DEFAULT '' NULL,
+ [ICON_FILENAME] varchar(80) DEFAULT '' NULL,
+ [DESCRIPTION] varchar(80) DEFAULT '' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_ELEMENTS] ADD CONSTRAINT [PK_APP_BOM_ELEMENTS] PRIMARY KEY CLUSTERED ([DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_LISTS] (
+ [LIST_ID] varchar(25) DEFAULT '' NOT NULL,
+ [ITEM] varchar(255) DEFAULT '' NOT NULL,
+ [SEQUENCE] int DEFAULT 0 NULL,
+ [ENABLED] varchar(1) DEFAULT 'Y' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_LISTS] ADD CONSTRAINT [PK_APP_BOM_LISTS] PRIMARY KEY CLUSTERED ([LIST_ID], [ITEM]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_STRUCTURE] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [PARENT_DATA_CATEGORY] varchar(20) NOT NULL,
+ [PARENT_DATA_ID] varchar(20) NOT NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_STRUCTURE] ADD CONSTRAINT [PK_APP_BOM_STRUCTURE] PRIMARY KEY CLUSTERED ([DATA_ID], [PARENT_DATA_CATEGORY], [PARENT_DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE VIEW view_bom as select BOM_MATERIAL.BOM_ID AS 'bom_id',
+ BOM_MATERIAL.BOM_VERSION AS 'bom_version',
+ BOM_MATERIAL.BOM_SEQUENCE AS 'display_order',
+ BOM_STAGE.DATA_STRING AS 'stage',
+ BOM_IN_OUT.DATA_ID AS 'input_output',
+ BOM_SEQUENCE.DATA_STRING AS 'sequence',
+ BOM_MATERIAL.DATA_STRING AS 'material',
+ BOM_MATERIAL.UUID AS 'material_uuid',
+ BOM_DESCRIPTION.DATA_STRING AS 'description',
+ BOM_QUANTITY.DATA_DECIMAL AS 'quantity',
+ BOM_TYPE.DATA_STRING AS 'type',
+ BOM_UOM.DATA_STRING AS 'uom',
+ BOM_GTIN.DATA_STRING AS 'gtin',
+ BOM_VARIANT.DATA_STRING AS 'variant',
+ BOM_LOCATION.DATA_STRING AS 'location_id',
+ BOM_LOCATION.UUID AS 'location_uuid'
+ from app_bom BOM_MATERIAL
+ left join app_bom BOM_DESCRIPTION on ((BOM_DESCRIPTION.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_DESCRIPTION.DATA_TYPE = 'string') and (BOM_DESCRIPTION.DATA_ID = 'description'))
+ left join app_bom BOM_QUANTITY on ((BOM_QUANTITY.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_QUANTITY.DATA_TYPE = 'decimal') and (BOM_QUANTITY.DATA_ID = 'quantity'))
+ left join app_bom BOM_SEQUENCE on ((BOM_SEQUENCE.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_SEQUENCE.DATA_TYPE = 'string') and (BOM_SEQUENCE.DATA_ID = 'sequence'))
+ left join app_bom BOM_TYPE on ((BOM_TYPE.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_TYPE.DATA_TYPE = 'string') and (BOM_TYPE.DATA_ID = 'type'))
+ left join app_bom BOM_UOM on ((BOM_UOM.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_UOM.DATA_TYPE = 'string') and (BOM_UOM.DATA_ID = 'uom'))
+ left join app_bom BOM_GTIN on ((BOM_GTIN.PARENT_UUID = BOM_UOM.UUID) and (BOM_GTIN.DATA_TYPE = 'string') and (BOM_GTIN.DATA_ID = 'gtin'))
+ left join app_bom BOM_VARIANT on ((BOM_VARIANT.PARENT_UUID = BOM_UOM.UUID) and (BOM_VARIANT.DATA_TYPE = 'string') and (BOM_VARIANT.DATA_ID = 'variant'))
+ left join app_bom BOM_IN_OUT on ((BOM_IN_OUT.UUID = BOM_MATERIAL.PARENT_UUID) and (BOM_IN_OUT.DATA_TYPE = 'string') and (BOM_IN_OUT.DATA_ID in ('input','output')))
+ left join app_bom BOM_STAGE on ((BOM_STAGE.UUID = BOM_IN_OUT.PARENT_UUID) and (BOM_STAGE.DATA_TYPE = 'string') and (BOM_STAGE.DATA_ID = 'stage'))
+ left join app_bom BOM_LOCATION on ((BOM_LOCATION.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_LOCATION.DATA_TYPE = 'string') and (BOM_LOCATION.DATA_ID = 'location'))
+ where (BOM_MATERIAL.DATA_ID = 'material')
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_CATEGORY AS PARENT_DATA_CATEGORY,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770321', 'location_id', 'LANEA')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770322', 'location_id', 'LANEB')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770323', 'location_id', 'LANEC')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = ''location_id'' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = ''material_type'' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = ''uom'' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant')
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('gtin', 'value', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('input', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('location_id', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('output', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('quantity', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('root', '', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('runtime', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('sequence', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('stage', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('type', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('uom', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('updated', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('variant', 'value', 'uom')
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [MSG_PALLET_ISSUE] varchar(1) DEFAULT 'Y'
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [MSG_PALLET_RETURN] varchar(1) DEFAULT 'Y'
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [BARCODE_ID] varchar(25) DEFAULT ''
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml
new file mode 100644
index 000000000..914f0859a
--- /dev/null
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml
@@ -0,0 +1,337 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ drop view view_bom_structure
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_CATEGORY AS PARENT_DATA_CATEGORY,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP TABLE [dbo].[APP_BOM_STRUCTURE]
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_STRUCTURE] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [PARENT_DATA_ID] varchar(20) NOT NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_STRUCTURE] ADD CONSTRAINT [PK_APP_BOM_STRUCTURE] PRIMARY KEY CLUSTERED ([DATA_ID], [PARENT_DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ DROP view view_bom_structure
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('gtin', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('input', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('location_id', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('output', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('quantity', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('root', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('runtime', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('sequence', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('stage', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('type', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('uom', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('updated', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('variant', 'uom')
+
+
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml
new file mode 100644
index 000000000..738f63bd8
--- /dev/null
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
index fbc365f9f..cd02dcb15 100644
--- a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
@@ -94,7 +94,7 @@
- CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS
+ CREATE VIEW `view_pallet_samples` AS
SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
@@ -156,7 +156,7 @@
- CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_sample_point_locations` AS select distinct `APP_WEIGHT_SAMPLE_POINT`.`LOCATION` AS `Location` from `APP_WEIGHT_SAMPLE_POINT`
+ CREATE VIEW `view_sample_point_locations` AS select distinct `APP_WEIGHT_SAMPLE_POINT`.`LOCATION` AS `Location` from `APP_WEIGHT_SAMPLE_POINT`
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
index b60f4b2b3..7436bcc60 100644
--- a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
@@ -7,7 +7,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
@@ -68,7 +68,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_sorting_qty_diffs` AS SELECT
+ CREATE OR REPLACE VIEW `view_sorting_qty_diffs` AS SELECT
`APP_PALLET_EXTENSION`.`SSCC` AS `SSCC`,
`APP_PALLET_EXTENSION`.`PALLET_QUANTITY` AS `PALLET_QUANTITY`,
`APP_PALLET`.`QUANTITY` AS `QUANTITY`,
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
index cb4b7365f..ecde3d370 100644
--- a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_results` AS SELECT
+ CREATE OR REPLACE VIEW `view_qm_results` AS SELECT
`APP_QM_SAMPLE`.`PROCESS_ORDER` AS `PROCESS_ORDER`,
`APP_QM_SAMPLE`.`MATERIAL` AS `MATERIAL`,
`APP_QM_SAMPLE`.`SAMPLE_ID` AS `SAMPLE_ID`,
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
index 82761953b..479d49bdd 100644
--- a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_panel_results` AS
+ CREATE OR REPLACE VIEW `view_qm_panel_results` AS
SELECT
APP_QM_PANEL.PANEL_ID,
APP_QM_PANEL_TRAY.TRAY_ID,
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
index 1679337fb..7cd97f14f 100644
--- a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
@@ -345,7 +345,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
index 7d316e2c9..00887539f 100644
--- a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_results` AS
+ CREATE OR REPLACE VIEW `view_qm_results` AS
SELECT samp.PROCESS_ORDER as 'PROCESS_ORDER',
samp.MATERIAL as 'MATERIAL',
samp.SAMPLE_ID as 'SAMPLE_ID',
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
index 46026ca58..0ae5fd149 100644
--- a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
@@ -44,7 +44,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml
new file mode 100644
index 000000000..1acd4c6d1
--- /dev/null
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml
@@ -0,0 +1,672 @@
+
+
+
+
+
+ CREATE TABLE `APP_BOM` (
+ `BOM_ID` varchar(20) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT '',
+ `BOM_VERSION` varchar(10) NOT NULL DEFAULT '',
+ `BOM_SEQUENCE` int NOT NULL DEFAULT '0',
+ `DATA_ID` varchar(20) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT '',
+ `DATA_TYPE` varchar(20) DEFAULT '',
+ `DATA_STRING` varchar(255) DEFAULT '',
+ `DATA_DECIMAL` decimal(22,3) unsigned DEFAULT NULL,
+ `DATA_DATE` datetime DEFAULT NULL,
+ `DATA_TIMESTAMP` timestamp NULL DEFAULT NULL,
+ `UUID` varchar(50) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT (uuid()),
+ `PARENT_UUID` varchar(50) DEFAULT NULL,
+ PRIMARY KEY (`BOM_ID`,`BOM_VERSION`,`DATA_ID`,`UUID`) USING BTREE,
+ UNIQUE KEY `UUID_NDX` (`UUID`) USING BTREE,
+ KEY `UUID_PARENT_NDX` (`PARENT_UUID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_DEFAULTS` (
+ `SOURCE_FIELD` varchar(32) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `SOURCE_VALUE` varchar(50) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `DESTINATION_FIELD` varchar(32) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `DESTINATION_VALUE` varchar(50) CHARACTER SET {charset} COLLATE {collation} DEFAULT NULL,
+ PRIMARY KEY (`SOURCE_FIELD`,`SOURCE_VALUE`,`DESTINATION_FIELD`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_ELEMENTS` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `DATA_TYPE` varchar(20) DEFAULT NULL,
+ `ENABLE_EDIT` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_CREATE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_DELETE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_DUPLICATE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_CLIPBOARD` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `MAX_OCCUR_LEVEL` int DEFAULT '1',
+ `ENABLE_LOOKUP` varchar(1) DEFAULT 'Y',
+ `LOOKUP_SQL` varchar(255) DEFAULT '',
+ `LOOKUP_FIELD` varchar(32) DEFAULT '',
+ `ICON_FILENAME` varchar(80) DEFAULT '',
+ `DESCRIPTION` varchar(80) DEFAULT '',
+ PRIMARY KEY (`DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_LISTS` (
+ `LIST_ID` varchar(25) NOT NULL DEFAULT '',
+ `ITEM` varchar(50) NOT NULL DEFAULT '',
+ `SEQUENCE` int DEFAULT '0',
+ `ENABLED` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ PRIMARY KEY (`LIST_ID`,`ITEM`)
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+
+ CREATE TABLE `APP_BOM_STRUCTURE` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `PARENT_DATA_CATEGORY` varchar(20) NOT NULL,
+ `PARENT_DATA_ID` varchar(20) NOT NULL,
+ PRIMARY KEY (`DATA_ID`,`PARENT_DATA_CATEGORY`,`PARENT_DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+
+ CREATE VIEW `view_bom` AS
+ select `BOM_MATERIAL`.`BOM_ID` AS `bom_id`,
+ `BOM_MATERIAL`.`BOM_VERSION` AS `bom_version`,
+ `BOM_MATERIAL`.`BOM_SEQUENCE` AS `display_order`,
+ `BOM_STAGE`.`DATA_STRING` AS `stage`,
+ `BOM_IN_OUT`.`DATA_ID` AS `input_output`,
+ `BOM_SEQUENCE`.`DATA_STRING` AS `sequence`,
+ `BOM_MATERIAL`.`DATA_STRING` AS `material`,
+ `BOM_MATERIAL`.`UUID` AS `material_uuid`,
+ `BOM_DESCRIPTION`.`DATA_STRING` AS `description`,
+ `BOM_QUANTITY`.`DATA_DECIMAL` AS `quantity`,
+ `BOM_TYPE`.`DATA_STRING` AS `type`,
+ `BOM_UOM`.`DATA_STRING` AS `uom`,
+ `BOM_GTIN`.`DATA_STRING` AS `gtin`,
+ `BOM_VARIANT`.`DATA_STRING` AS `variant`,
+ `BOM_LOCATION`.`DATA_STRING` AS `location_id`,
+ `BOM_LOCATION`.`UUID` AS `location_uuid`
+ from `app_bom` `BOM_MATERIAL`
+ left join `app_bom` `BOM_DESCRIPTION` on (`BOM_DESCRIPTION`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_DESCRIPTION`.`DATA_TYPE` = 'string')
+ and (`BOM_DESCRIPTION`.`DATA_ID` = 'description')
+ left join `app_bom` `BOM_QUANTITY` on (`BOM_QUANTITY`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_QUANTITY`.`DATA_TYPE` = 'decimal')
+ and (`BOM_QUANTITY`.`DATA_ID` = 'quantity')
+ left join `app_bom` `BOM_SEQUENCE` on (`BOM_SEQUENCE`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_SEQUENCE`.`DATA_TYPE` = 'string')
+ and (`BOM_SEQUENCE`.`DATA_ID` = 'sequence')
+ left join `app_bom` `BOM_TYPE` on (`BOM_TYPE`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_TYPE`.`DATA_TYPE` = 'string')
+ and (`BOM_TYPE`.`DATA_ID` = 'type')
+ left join `app_bom` `BOM_UOM` on (`BOM_UOM`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_UOM`.`DATA_TYPE` = 'string')
+ and (`BOM_UOM`.`DATA_ID` = 'uom')
+ left join `app_bom` `BOM_GTIN` on (`BOM_GTIN`.`PARENT_UUID` = `BOM_UOM`.`UUID`)
+ and (`BOM_GTIN`.`DATA_TYPE` = 'string')
+ and (`BOM_GTIN`.`DATA_ID` = 'gtin')
+ left join `app_bom` `BOM_VARIANT` on (`BOM_VARIANT`.`PARENT_UUID` = `BOM_UOM`.`UUID`)
+ and (`BOM_VARIANT`.`DATA_TYPE` = 'string')
+ and (`BOM_VARIANT`.`DATA_ID` = 'variant')
+ left join `app_bom` `BOM_IN_OUT` on (`BOM_IN_OUT`.`UUID` = `BOM_MATERIAL`.`PARENT_UUID`)
+ and (`BOM_IN_OUT`.`DATA_TYPE` = 'string')
+ and (`BOM_IN_OUT`.`DATA_ID` in ('input','output'))
+ left join `app_bom` `BOM_STAGE` on (`BOM_STAGE`.`UUID` = `BOM_IN_OUT`.`PARENT_UUID`)
+ and (`BOM_STAGE`.`DATA_TYPE` = 'string')
+ and (`BOM_STAGE`.`DATA_ID` = 'stage')
+ left join `app_bom` `BOM_LOCATION` on (`BOM_LOCATION`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_LOCATION`.`DATA_TYPE` = 'string')
+ and (`BOM_LOCATION`.`DATA_ID` = 'location_id')
+ where (`BOM_MATERIAL`.`DATA_ID` = 'material')
+ order by `BOM_MATERIAL`.`BOM_ID`,`BOM_MATERIAL`.`BOM_VERSION`,`BOM_IN_OUT`.`DATA_ID`,`BOM_SEQUENCE`.`DATA_ID`,`BOM_MATERIAL`.`BOM_SEQUENCE`,`BOM_MATERIAL`.`UUID`;
+
+
+
+
+ CREATE VIEW `view_bom_structure` AS
+ select `app_bom_structure`.`DATA_ID` AS `DATA_ID`,
+ `app_bom_elements`.`DATA_TYPE` AS `DATA_TYPE`,
+ `app_bom_structure`.`PARENT_DATA_ID` AS `PARENT_DATA_ID`,
+ `app_bom_elements`.`ENABLE_EDIT` AS `ENABLE_EDIT`,
+ `app_bom_elements`.`ENABLE_CREATE` AS `ENABLE_CREATE`,
+ `app_bom_elements`.`ENABLE_DELETE` AS `ENABLE_DELETE`,
+ `app_bom_elements`.`ENABLE_DUPLICATE` AS `ENABLE_DUPLICATE`,
+ `app_bom_elements`.`ENABLE_CLIPBOARD` AS `ENABLE_CLIPBOARD`,
+ `app_bom_elements`.`ENABLE_LOOKUP` AS `ENABLE_LOOKUP`,
+ `app_bom_elements`.`LOOKUP_SQL` AS `LOOKUP_SQL`,
+ `app_bom_elements`.`LOOKUP_FIELD` AS `LOOKUP_FIELD`,
+ `app_bom_elements`.`ICON_FILENAME` AS `ICON_FILENAME`,
+ `app_bom_elements`.`MAX_OCCUR_LEVEL` AS `MAX_OCCUR_LEVEL`,
+ `app_bom_elements`.`DESCRIPTION` AS `DESCRIPTION`
+ from (`app_bom_structure`
+ join `app_bom_elements`
+ on((`app_bom_structure`.`DATA_ID` = `app_bom_elements`.`DATA_ID`)));
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770321', 'location_id', 'LANEA');
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770322', 'location_id', 'LANEB');
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770323', 'location_id', 'LANEC');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = \'location_id\' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = \'material_type\' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = \'uom\' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant');
+
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('description', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('description', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('gtin', 'value', 'uom');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('hrs', 'section', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('hrs', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('input', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('location_id', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('line', 'section', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('line', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('material', 'section', 'input');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('material', 'section', 'output');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('output', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('quantity', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('resource', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('resource', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('root', '', '');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('runtime', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('sequence', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('stage', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('type', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('uom', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('updated', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('variant', 'value', 'uom');
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE `APP_LOCATION`
+ ADD COLUMN `MSG_PALLET_ISSUE` varchar(1) NULL DEFAULT 'Y' AFTER `MSG_PROD_UNCONFIRM`,
+ ADD COLUMN `MSG_PALLET_RETURN` varchar(1) NULL DEFAULT 'Y' AFTER `MSG_PALLET_ISSUE`,
+ ADD COLUMN `BARCODE_ID` varchar(25) NULL DEFAULT '' AFTER `MSG_PALLET_RETURN`;
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml
new file mode 100644
index 000000000..38f7b3dec
--- /dev/null
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml
@@ -0,0 +1,358 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP TABLE `APP_BOM_STRUCTURE`;
+
+
+
+ CREATE TABLE `APP_BOM_STRUCTURE` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `PARENT_DATA_ID` varchar(20) NOT NULL,
+ PRIMARY KEY (`DATA_ID`,`PARENT_DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ DROP VIEW `view_bom_structure`
+
+
+
+ CREATE VIEW `view_bom_structure` AS
+ select `app_bom_structure`.`DATA_ID` AS `DATA_ID`,
+ `app_bom_elements`.`DATA_TYPE` AS `DATA_TYPE`,
+ `app_bom_structure`.`PARENT_DATA_ID` AS `PARENT_DATA_ID`,
+ `app_bom_elements`.`ENABLE_EDIT` AS `ENABLE_EDIT`,
+ `app_bom_elements`.`ENABLE_CREATE` AS `ENABLE_CREATE`,
+ `app_bom_elements`.`ENABLE_DELETE` AS `ENABLE_DELETE`,
+ `app_bom_elements`.`ENABLE_DUPLICATE` AS `ENABLE_DUPLICATE`,
+ `app_bom_elements`.`ENABLE_CLIPBOARD` AS `ENABLE_CLIPBOARD`,
+ `app_bom_elements`.`ENABLE_LOOKUP` AS `ENABLE_LOOKUP`,
+ `app_bom_elements`.`LOOKUP_SQL` AS `LOOKUP_SQL`,
+ `app_bom_elements`.`LOOKUP_FIELD` AS `LOOKUP_FIELD`,
+ `app_bom_elements`.`ICON_FILENAME` AS `ICON_FILENAME`,
+ `app_bom_elements`.`MAX_OCCUR_LEVEL` AS `MAX_OCCUR_LEVEL`,
+ `app_bom_elements`.`DESCRIPTION` AS `DESCRIPTION`
+ from (`app_bom_structure`
+ join `app_bom_elements`
+ on((`app_bom_structure`.`DATA_ID` = `app_bom_elements`.`DATA_ID`)));
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('description', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('description', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('gtin', 'uom');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('hrs', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('hrs', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('input', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('location_id', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('line', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('line', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('material', 'input');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('material', 'output');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('output', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('quantity', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('resource', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('resource', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('root', '');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('runtime', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('sequence', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('stage', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('type', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('uom', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('updated', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('variant', 'uom');
+
+
+
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml
new file mode 100644
index 000000000..32738e209
--- /dev/null
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml b/b6web_t10_android_eb3/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml
new file mode 100644
index 000000000..d78048a6a
--- /dev/null
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml
@@ -0,0 +1,556 @@
+
+
+
+
+ CREATE TABLE "APP_BOM" (
+ "BOM_ID" VARCHAR2(20) DEFAULT '' NOT NULL,
+ "BOM_VERSION" VARCHAR2(10) DEFAULT '' NOT NULL,
+ "BOM_SEQUENCE" INT DEFAULT 0 NOT NULL,
+ "DATA_ID" VARCHAR2(20) DEFAULT '' NOT NULL,
+ "DATA_TYPE" VARCHAR2(20) DEFAULT '',
+ "DATA_STRING" VARCHAR2(255) DEFAULT '',
+ "DATA_DECIMAL" NUMERIC(22,3) DEFAULT NULL,
+ "DATA_DATE" TIMESTAMP DEFAULT NULL,
+ "DATA_TIMESTAMP" TIMESTAMP DEFAULT NULL,
+ "UUID" VARCHAR2(50) DEFAULT '' NOT NULL,
+ "PARENT_UUID" VARCHAR2(50) DEFAULT '',
+ PRIMARY KEY ("BOM_ID", "BOM_VERSION", "DATA_ID", "UUID") )
+
+
+
+ CREATE TABLE "APP_BOM_DEFAULTS" (
+ "SOURCE_FIELD" VARCHAR2(32) NOT NULL,
+ "SOURCE_VALUE" VARCHAR2(50) NOT NULL,
+ "DESTINATION_FIELD" VARCHAR2(32) NOT NULL,
+ "DESTINATION_VALUE" VARCHAR2(50),
+ PRIMARY KEY ("SOURCE_FIELD", "SOURCE_VALUE", "DESTINATION_FIELD") )
+
+
+
+ CREATE TABLE "APP_BOM_ELEMENTS" (
+ "DATA_ID" VARCHAR2(20) NOT NULL,
+ "DATA_TYPE" VARCHAR2(20),
+ "ENABLE_EDIT" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_CREATE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_DELETE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_DUPLICATE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_CLIPBOARD" VARCHAR2(1) DEFAULT 'Y',
+ "MAX_OCCUR_LEVEL" INT,
+ "ENABLE_LOOKUP" VARCHAR2(1) DEFAULT 'Y',
+ "LOOKUP_SQL" VARCHAR2(255) DEFAULT '',
+ "LOOKUP_FIELD" VARCHAR2(32) DEFAULT '',
+ "ICON_FILENAME" VARCHAR2(80) DEFAULT '',
+ "DESCRIPTION" VARCHAR2(80) DEFAULT '',
+ PRIMARY KEY ("DATA_ID") )
+
+
+
+ CREATE TABLE "APP_BOM_LISTS" (
+ "LIST_ID" VARCHAR2(25 BYTE) VISIBLE DEFAULT '',
+ "ITEM" VARCHAR2(50 BYTE) VISIBLE DEFAULT '',
+ "SEQUENCE" NUMBER VISIBLE DEFAULT 0,
+ "ENABLED" VARCHAR2(1 BYTE) VISIBLE DEFAULT 'Y')
+
+
+
+ CREATE INDEX "IDX_APP_BOM_LISTS1"
+ ON "APP_BOM_LISTS" ("LIST_ID" ASC, "ITEM" ASC)
+
+
+
+ CREATE TABLE "APP_BOM_STRUCTURE" (
+ "DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '',
+ "PARENT_DATA_CATEGORY" VARCHAR2(20) VISIBLE DEFAULT '' ,
+ "PARENT_DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '' )
+
+
+
+ CREATE INDEX "IDX_APP_BOM_STRUCTURE1"
+ ON "APP_BOM_STRUCTURE" ("DATA_ID" ASC, "PARENT_DATA_CATEGORY" ASC, "PARENT_DATA_ID" ASC)
+
+
+
+ CREATE OR REPLACE VIEW view_bom as
+ SELECT BOM_MATERIAL.BOM_ID bom_id,
+ BOM_MATERIAL.BOM_VERSION bom_version,
+ BOM_MATERIAL.BOM_SEQUENCE display_order,
+ BOM_STAGE.DATA_STRING stage,
+ BOM_IN_OUT.DATA_ID input_output,
+ BOM_SEQUENCE.DATA_STRING sequence,
+ BOM_MATERIAL.DATA_STRING material,
+ BOM_MATERIAL.UUID material_uuid,
+ BOM_DESCRIPTION.DATA_STRING description,
+ BOM_QUANTITY.DATA_DECIMAL quantity,
+ BOM_TYPE.DATA_STRING TYPE,
+ BOM_UOM.DATA_STRING uom,
+ BOM_GTIN.DATA_STRING gtin,
+ BOM_VARIANT.DATA_STRING variant,
+ BOM_LOCATION.DATA_STRING location_id,
+ BOM_LOCATION.UUID location_uuid
+ FROM app_bom BOM_MATERIAL
+ LEFT JOIN app_bom BOM_DESCRIPTION ON ( ( BOM_DESCRIPTION.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_DESCRIPTION.DATA_TYPE = 'string' ) AND ( BOM_DESCRIPTION.DATA_ID = 'description' ) )
+ LEFT JOIN app_bom BOM_QUANTITY ON ( ( BOM_QUANTITY.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_QUANTITY.DATA_TYPE = 'decimal' ) AND ( BOM_QUANTITY.DATA_ID = 'quantity' ) )
+ LEFT JOIN app_bom BOM_SEQUENCE ON ( ( BOM_SEQUENCE.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_SEQUENCE.DATA_TYPE = 'string' ) AND ( BOM_SEQUENCE.DATA_ID = 'sequence' ) )
+ LEFT JOIN app_bom BOM_TYPE ON ( ( BOM_TYPE.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_TYPE.DATA_TYPE = 'string' ) AND ( BOM_TYPE.DATA_ID = 'type' ) )
+ LEFT JOIN app_bom BOM_UOM ON ( ( BOM_UOM.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_UOM.DATA_TYPE = 'string' ) AND ( BOM_UOM.DATA_ID = 'uom' ) )
+ LEFT JOIN app_bom BOM_GTIN ON ( ( BOM_GTIN.PARENT_UUID = BOM_UOM.UUID ) AND ( BOM_GTIN.DATA_TYPE = 'string' ) AND ( BOM_GTIN.DATA_ID = 'gtin' ) )
+ LEFT JOIN app_bom BOM_VARIANT ON ( ( BOM_VARIANT.PARENT_UUID = BOM_UOM.UUID ) AND ( BOM_VARIANT.DATA_TYPE = 'string' ) AND ( BOM_VARIANT.DATA_ID = 'variant' ) )
+ LEFT JOIN app_bom BOM_IN_OUT ON ( ( BOM_IN_OUT.UUID = BOM_MATERIAL.PARENT_UUID ) AND ( BOM_IN_OUT.DATA_TYPE = 'string' ) AND ( BOM_IN_OUT.DATA_ID IN ( 'input', 'output' ) ) )
+ LEFT JOIN app_bom BOM_STAGE ON ( ( BOM_STAGE.UUID = BOM_IN_OUT.PARENT_UUID ) AND ( BOM_STAGE.DATA_TYPE = 'string' ) AND ( BOM_STAGE.DATA_ID = 'stage' ) )
+ LEFT JOIN app_bom BOM_LOCATION ON ( ( BOM_LOCATION.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_LOCATION.DATA_TYPE = 'string' ) AND ( BOM_LOCATION.DATA_ID = 'location_id' ) )
+ WHERE ( BOM_MATERIAL.DATA_ID = 'material' )
+
+
+
+ CREATE OR REPLACE VIEW view_bom_structure AS
+ SELECT app_bom_structure.DATA_ID DATA_ID,
+ app_bom_elements.DATA_TYPE DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION DESCRIPTION
+ FROM (app_bom_structure JOIN app_bom_elements ON ((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770321', 'location_id', 'LANEA')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770322', 'location_id', 'LANEB')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770323', 'location_id', 'LANEC')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = ''location_id'' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = ''material_type'' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = ''uom'' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant')
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('gtin', 'value', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('input', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('location_id', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('output', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('quantity', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('root', '', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('runtime', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('sequence', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('stage', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('type', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('uom', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('updated', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('variant', 'value', 'uom')
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+mod_FRM_BOM_ADMIN
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE "APP_LOCATION"
+ ADD ("MSG_PALLET_ISSUE" VARCHAR2(1) DEFAULT 'Y')
+ ADD ("MSG_PALLET_RETURN" VARCHAR2(1) DEFAULT 'Y')
+ ADD ("BARCODE_ID" VARCHAR2(25) DEFAULT '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml b/b6web_t10_android_eb3/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml
new file mode 100644
index 000000000..61c549a6e
--- /dev/null
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml
@@ -0,0 +1,314 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP INDEX "IDX_APP_BOM_STRUCTURE1"
+
+
+
+ DROP TABLE "APP_BOM_STRUCTURE"
+
+
+
+ CREATE TABLE "APP_BOM_STRUCTURE" (
+ "DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '',
+ "PARENT_DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '' )
+
+
+
+ CREATE INDEX "IDX_APP_BOM_STRUCTURE1"
+ ON "APP_BOM_STRUCTURE" ("DATA_ID" ASC, "PARENT_DATA_ID" ASC)
+
+
+
+ CREATE OR REPLACE VIEW view_bom_structure AS
+ SELECT app_bom_structure.DATA_ID DATA_ID,
+ app_bom_elements.DATA_TYPE DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION DESCRIPTION
+ FROM (app_bom_structure JOIN app_bom_elements ON ((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('gtin', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('input', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('location_id', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('output', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('quantity', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('root', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('runtime', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('sequence', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('stage', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('type', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('uom', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('updated', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('variant', 'uom')
+
+
+
diff --git a/b6web_t10_android_eb3/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml b/b6web_t10_android_eb3/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml
new file mode 100644
index 000000000..3166d412d
--- /dev/null
+++ b/b6web_t10_android_eb3/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/b6web_t10_android_eb3/WebContent/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml b/b6web_t10_android_eb3/WebContent/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
index 337bb1136..6445ca54c 100644
--- a/b6web_t10_android_eb3/WebContent/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
+++ b/b6web_t10_android_eb3/WebContent/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [view_pallet_history_expiry]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [view_pallet_history]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(IIF(transaction_type = 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value = ?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,7 +286,7 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(a.module_id) from [view_security] a where a.user_id = ? order by a.module_id
@@ -291,24 +297,24 @@
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
-
+
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}view_permissions order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,u.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,u.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT a.* FROM [view_menu_structure]a WHERE a.MENU_ID = ? AND a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT a.* FROM [view_rf_menu]a WHERE a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT a.* FROM [view_toolbar]a WHERE a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,[updated]=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -584,8 +587,8 @@
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,7 +617,7 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
@@ -643,7 +646,15 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER
-
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
+
JDBProcessOrder.ViewResource
select * from view_process_order_resource
@@ -651,7 +662,7 @@
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from view_process_order_resource where process_order=?
-
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,18 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -745,7 +772,7 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -800,39 +827,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- P.SSCC,
- P.STATUS AS 'PALLET_STATUS',
- P.LOCATION_ID,
- P.DESPATCH_NO,
- MB.MATERIAL,
- MB.BATCH_NUMBER,
- MB.STATUS AS 'BATCH_STATUS'
- FROM
- APP_PALLET P,
- APP_MATERIAL_BATCH MB
- WHERE
- MB.MATERIAL = P.MATERIAL
- AND MB.BATCH_NUMBER = P.BATCH_NUMBER
- AND P.DESPATCH_NO = %1
- AND (
- P.STATUS NOT IN ( %2 )
- OR MB.STATUS NOT IN ( %3 )
- )
-
+ SELECT P.SSCC, P.STATUS AS 'PALLET_STATUS', P.LOCATION_ID, P.DESPATCH_NO, MB.MATERIAL, MB.BATCH_NUMBER, MB.STATUS AS 'BATCH_STATUS' FROM APP_PALLET P, APP_MATERIAL_BATCH MB WHERE MB.MATERIAL = P.MATERIAL AND MB.BATCH_NUMBER = P.BATCH_NUMBER AND P.DESPATCH_NO = %1 AND ( P.STATUS NOT IN ( %2 ) OR MB.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +858,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +875,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +896,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (report_request_id,module_id,invocation_mode,parameter_count,parameter_delimiter,parameter_names,parameter_types,parameter_values,sql,print_queue_name,print_copies) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +913,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +938,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +967,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +996,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1025,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1050,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1071,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1092,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1117,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1142,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1167,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1192,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1221,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1250,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1287,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1323,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1348,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1381,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1406,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1427,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}view_label_data WHERE UNIQUE_ID = ?
@@ -1432,96 +1436,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}view_auto_labeller_printer where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}view_auto_labeller_printer
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1537,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1573,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1599,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1657,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1670,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1703,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1711,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}view_barcode_validate where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1738,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1763,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1792,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1804,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1821,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1850,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1879,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1912,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1923,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1960,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +2003,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2032,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2059,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2072,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2097,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2122,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2130,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2163,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2210,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2219,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2243,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2264,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2284,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2292,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2321,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2339,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2376,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2401,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2430,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2442,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2455,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?, sample_point = ?, id=?,lane_1=?,lane_2=?,lane_3=?,lane_4=?,lane_5=? where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2496,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2529,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2570,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2594,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2603,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2619,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2642,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2673,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select top (?) * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc
+ select top (?) * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2700,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2725,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2749,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2761,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,11 +2778,11 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
@@ -2909,6 +2795,184 @@
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
-
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM >'' AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/b6web_t10_android_eb3/WebContent/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml b/b6web_t10_android_eb3/WebContent/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
index c6e3009e7..f80059eaa 100644
--- a/b6web_t10_android_eb3/WebContent/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
+++ b/b6web_t10_android_eb3/WebContent/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [view_pallet_history_expiry]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [view_pallet_history]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(IF(transaction_type = 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value = ?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,7 +286,7 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(S.module_id) from [view_security] as S where S.user_id = ? order by module_id
@@ -291,24 +297,24 @@
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
-
+
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}view_permissions order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,u.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,u.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT * FROM [view_menu_structure] AS M WHERE M.MENU_ID = ? AND M.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT * FROM [view_rf_menu] AS T WHERE T.MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT * FROM [view_toolbar] AS T WHERE T.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,updated=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -584,8 +587,8 @@
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,7 +617,7 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
@@ -643,7 +646,15 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER
-
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
+
JDBProcessOrder.ViewResource
select * from view_process_order_resource
@@ -651,7 +662,7 @@
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from view_process_order_resource where process_order=?
-
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,14 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -745,7 +768,7 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -800,39 +823,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- P.SSCC,
- P.STATUS AS 'PALLET_STATUS',
- P.LOCATION_ID,
- P.DESPATCH_NO,
- MB.MATERIAL,
- MB.BATCH_NUMBER,
- MB.STATUS AS 'BATCH_STATUS'
- FROM
- APP_PALLET P,
- APP_MATERIAL_BATCH MB
- WHERE
- MB.MATERIAL = P.MATERIAL
- AND MB.BATCH_NUMBER = P.BATCH_NUMBER
- AND P.DESPATCH_NO = %1
- AND (
- P.STATUS NOT IN ( %2 )
- OR MB.STATUS NOT IN ( %3 )
- )
-
+ SELECT P.SSCC, P.STATUS AS 'PALLET_STATUS', P.LOCATION_ID, P.DESPATCH_NO, MB.MATERIAL, MB.BATCH_NUMBER, MB.STATUS AS 'BATCH_STATUS' FROM APP_PALLET P, APP_MATERIAL_BATCH MB WHERE MB.MATERIAL = P.MATERIAL AND MB.BATCH_NUMBER = P.BATCH_NUMBER AND P.DESPATCH_NO = %1 AND ( P.STATUS NOT IN ( %2 ) OR MB.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +854,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +871,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +892,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (`REPORT_REQUEST_ID`,`MODULE_ID`,`INVOCATION_MODE`,`PARAMETER_COUNT`,`PARAMETER_DELIMITER`,`PARAMETER_NAMES`,`PARAMETER_TYPES`,`PARAMETER_VALUES`,`SQL`,`PRINT_QUEUE_NAME`,`PRINT_COPIES`) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +909,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +934,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +963,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +992,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1021,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1046,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1067,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1088,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1113,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1138,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1163,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1188,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1217,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1246,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1283,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1319,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1344,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1377,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1402,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1423,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}view_label_data WHERE UNIQUE_ID = ?
@@ -1432,96 +1432,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}view_auto_labeller_printer where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}view_auto_labeller_printer
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1533,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1569,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1595,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1653,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1666,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1699,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1707,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}view_barcode_validate where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1734,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1759,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1788,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1800,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1817,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1846,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1875,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1908,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1919,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1956,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +1999,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2028,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2055,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2068,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2093,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2118,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2126,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2159,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2206,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2215,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2239,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2260,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2280,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2288,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2317,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2335,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2372,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2397,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2426,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2438,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2451,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?, sample_point = ?, id=?,lane_1=?,lane_2=?,lane_3=?,lane_4=?,lane_5=? where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2492,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2525,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2566,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2590,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2599,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2615,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2638,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2669,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc limit ?
+ select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc limit ?
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2696,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2721,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2745,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2757,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,23 +2774,201 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
JDBOperatives.getOperatives
select * from {schema}APP_OPERATIVES order by id
-
-
+
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
-
+
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM >'' AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/b6web_t10_android_eb3/WebContent/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml b/b6web_t10_android_eb3/WebContent/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
index 2a895fb6b..289b81c79 100644
--- a/b6web_t10_android_eb3/WebContent/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
+++ b/b6web_t10_android_eb3/WebContent/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [VIEW_PALLET_HISTORY_EXPIRY]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [VIEW_PALLET_HISTORY]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(DECODE(transaction_type, 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value =?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,35 +286,35 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(module_id) from [view_security] where user_id = ? order by module_id
JDBUser.changePassword
- update {schema}SYS_USERS set Password = ?,last_password_change = ?,password_version=password_version+1,password_change_required='N',password_encrypted=? where user_id = ?
+ update {schema}SYS_USERS set Password = ?,last_password_change = ?,password_version=password_version+1,password_change_required='N',password_encrypted=? where user_id = ?
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
-
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -332,7 +338,7 @@
JDBUser.enable
update {schema}SYS_USERS set account_enabled = 'Y' where user_id = ?
-
+
JDBUser.getUserGroupsUnAssigned
select group_id from {schema}SYS_GROUPS where group_id not in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?) order by group_id
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}VIEW_PERMISSIONS order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,U.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,U.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT * FROM [view_menu_structure]WHERE MENU_ID = ? AND MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT * FROM [view_rf_menu]WHERE MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT * FROM [view_toolbar]WHERE MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,updated=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material= ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -580,12 +583,12 @@
JDBJourney.delete
delete from {schema}APP_JOURNEY where journey_ref = ?
-
+
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,11 +617,11 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
-
+
JDBProcessOrder.create
insert into {schema}APP_PROCESS_ORDER (process_order) values (?)
@@ -629,7 +632,7 @@
JDBProcessOrder.getProcessOrderProperties
- select * from {schema}APP_PROCESS_ORDER where process_order = ?
+ select * from {schema}APP_PROCESS_ORDER where process_order = ?
JDBProcessOrder.isValidProcessOrder
@@ -643,15 +646,23 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
JDBProcessOrder.ViewResource
select * from VIEW_PROCESS_ORDER_RESOURCE
-
+
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from VIEW_PROCESS_ORDER_RESOURCE where process_order=?
-
-
+
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,18 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -744,8 +771,8 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
-
+
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -769,7 +796,7 @@
JDBDespatch.setConfirmed
update {schema}APP_DESPATCH set transaction_ref=?,status=?,despatch_date=?,total_pallets=(select count(sscc) from {schema}APP_PALLET where despatch_no = ?) where despatch_no=?
-
+
JDBDespatch.getDespatchProperties
select * from {schema}APP_DESPATCH where despatch_no = ?
@@ -800,39 +827,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- APP_PALLET.SSCC,
- APP_PALLET.STATUS "PALLET_STATUS",
- APP_PALLET.LOCATION_ID,
- APP_PALLET.DESPATCH_NO,
- APP_MATERIAL_BATCH.MATERIAL,
- APP_MATERIAL_BATCH.BATCH_NUMBER,
- APP_MATERIAL_BATCH.STATUS AS "BATCH_STATUS"
- FROM
- APP_PALLET,
- APP_MATERIAL_BATCH
- WHERE
- APP_MATERIAL_BATCH.MATERIAL = APP_PALLET.MATERIAL
- AND APP_MATERIAL_BATCH.BATCH_NUMBER = APP_PALLET.BATCH_NUMBER
- AND APP_PALLET.DESPATCH_NO = %1
- AND (
- APP_PALLET.STATUS NOT IN ( %2 )
- OR APP_MATERIAL_BATCH.STATUS NOT IN ( %3 )
- )
-
+ SELECT APP_PALLET.SSCC, APP_PALLET.STATUS "PALLET_STATUS", APP_PALLET.LOCATION_ID, APP_PALLET.DESPATCH_NO, APP_MATERIAL_BATCH.MATERIAL, APP_MATERIAL_BATCH.BATCH_NUMBER, APP_MATERIAL_BATCH.STATUS AS "BATCH_STATUS" FROM APP_PALLET, APP_MATERIAL_BATCH WHERE APP_MATERIAL_BATCH.MATERIAL = APP_PALLET.MATERIAL AND APP_MATERIAL_BATCH.BATCH_NUMBER = APP_PALLET.BATCH_NUMBER AND APP_PALLET.DESPATCH_NO = %1 AND ( APP_PALLET.STATUS NOT IN ( %2 ) OR APP_MATERIAL_BATCH.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +858,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +875,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +896,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (report_request_id,module_id,invocation_mode,parameter_count,parameter_delimiter,parameter_names,parameter_types,parameter_values,sql,print_queue_name,print_copies) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +913,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +938,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +967,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +996,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1025,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1050,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1071,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1092,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1117,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1142,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1167,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1192,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1221,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1250,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1287,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1323,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1348,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1381,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1406,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1427,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}VIEW_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1432,96 +1436,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}VIEW_AUTO_LABELLER_PRINTER where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}VIEW_AUTO_LABELLER_PRINTER
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1537,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1573,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1599,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1657,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1670,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1703,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1711,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}VIEW_BARCODE_VALIDATE where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1738,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1763,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1792,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1804,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1821,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1850,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1879,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1912,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1923,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
+
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1960,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +2003,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2032,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2059,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2072,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2097,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2122,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2130,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2163,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2210,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2219,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2243,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2264,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2284,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2292,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2321,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2339,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2376,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2401,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2430,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2442,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2455,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?,sample_point = ?, id=?, lane_1=?, lane_1=2, lane_1=3, lane_1=4, lane_1=5 where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2496,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2529,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2570,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2594,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2603,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2619,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2642,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2673,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select * from (select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc) where rownum <= ?
+ select * from (select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc) where rownum <= ?
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2700,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2725,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2749,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2761,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,23 +2778,201 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
JDBOperatives.getOperatives
select * from {schema}APP_OPERATIVES order by id
-
-
+
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM IS NOT NULL AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/b6web_t10_android_eb3/dist/b6web_t10_android_eb3.war b/b6web_t10_android_eb3/dist/b6web_t10_android_eb3.war
index 333caaddc..18c2a623a 100644
Binary files a/b6web_t10_android_eb3/dist/b6web_t10_android_eb3.war and b/b6web_t10_android_eb3/dist/b6web_t10_android_eb3.war differ
diff --git a/b6web_t10_react/WebContent/WEB-INF/lib/commander4j.jar b/b6web_t10_react/WebContent/WEB-INF/lib/commander4j.jar
index 5a3cab509..3a173d0e9 100644
Binary files a/b6web_t10_react/WebContent/WEB-INF/lib/commander4j.jar and b/b6web_t10_react/WebContent/WEB-INF/lib/commander4j.jar differ
diff --git a/b6web_t10_react/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml b/b6web_t10_react/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml
new file mode 100644
index 000000000..a786896a5
--- /dev/null
+++ b/b6web_t10_react/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml
@@ -0,0 +1,566 @@
+
+
+
+
+ CREATE TABLE [dbo].[APP_BOM] (
+ [BOM_ID] varchar(20) DEFAULT '' NOT NULL,
+ [BOM_VERSION] varchar(10) DEFAULT '' NOT NULL,
+ [BOM_SEQUENCE] int DEFAULT 0 NULL,
+ [DATA_ID] varchar(20) DEFAULT '' NOT NULL,
+ [DATA_TYPE] varchar(20) DEFAULT '' NULL,
+ [DATA_STRING] varchar(255) DEFAULT '' NULL,
+ [DATA_DECIMAL] decimal(22,3) DEFAULT NULL NULL,
+ [DATA_DATE] datetime DEFAULT NULL NULL,
+ [DATA_TIMESTAMP] datetime DEFAULT NULL,
+ [UUID] varchar(50) DEFAULT '' NOT NULL,
+ [PARENT_UUID] varchar(50) DEFAULT '' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM] ADD CONSTRAINT [PK_APP_BOM] PRIMARY KEY CLUSTERED ([BOM_ID], [BOM_VERSION], [DATA_ID], [UUID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_DEFAULTS] (
+ [SOURCE_FIELD] varchar(32) NOT NULL,
+ [SOURCE_VALUE] varchar(50) NOT NULL,
+ [DESTINATION_FIELD] varchar(32) NOT NULL,
+ [DESTINATION_VALUE] varchar(50) NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_DEFAULTS] ADD CONSTRAINT [PK_APP_BOM_DEFAULTS] PRIMARY KEY CLUSTERED ([SOURCE_FIELD], [SOURCE_VALUE], [DESTINATION_FIELD]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_ELEMENTS] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [DATA_TYPE] varchar(20) NULL,
+ [ENABLE_EDIT] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_CREATE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_DELETE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_DUPLICATE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_CLIPBOARD] varchar(1) DEFAULT 'Y' NULL,
+ [MAX_OCCUR_LEVEL] int DEFAULT 1 NULL,
+ [ENABLE_LOOKUP] varchar(1) DEFAULT 'Y' NULL,
+ [LOOKUP_SQL] varchar(255) DEFAULT '' NULL,
+ [LOOKUP_FIELD] varchar(32) DEFAULT '' NULL,
+ [ICON_FILENAME] varchar(80) DEFAULT '' NULL,
+ [DESCRIPTION] varchar(80) DEFAULT '' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_ELEMENTS] ADD CONSTRAINT [PK_APP_BOM_ELEMENTS] PRIMARY KEY CLUSTERED ([DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_LISTS] (
+ [LIST_ID] varchar(25) DEFAULT '' NOT NULL,
+ [ITEM] varchar(255) DEFAULT '' NOT NULL,
+ [SEQUENCE] int DEFAULT 0 NULL,
+ [ENABLED] varchar(1) DEFAULT 'Y' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_LISTS] ADD CONSTRAINT [PK_APP_BOM_LISTS] PRIMARY KEY CLUSTERED ([LIST_ID], [ITEM]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_STRUCTURE] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [PARENT_DATA_CATEGORY] varchar(20) NOT NULL,
+ [PARENT_DATA_ID] varchar(20) NOT NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_STRUCTURE] ADD CONSTRAINT [PK_APP_BOM_STRUCTURE] PRIMARY KEY CLUSTERED ([DATA_ID], [PARENT_DATA_CATEGORY], [PARENT_DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE VIEW view_bom as select BOM_MATERIAL.BOM_ID AS 'bom_id',
+ BOM_MATERIAL.BOM_VERSION AS 'bom_version',
+ BOM_MATERIAL.BOM_SEQUENCE AS 'display_order',
+ BOM_STAGE.DATA_STRING AS 'stage',
+ BOM_IN_OUT.DATA_ID AS 'input_output',
+ BOM_SEQUENCE.DATA_STRING AS 'sequence',
+ BOM_MATERIAL.DATA_STRING AS 'material',
+ BOM_MATERIAL.UUID AS 'material_uuid',
+ BOM_DESCRIPTION.DATA_STRING AS 'description',
+ BOM_QUANTITY.DATA_DECIMAL AS 'quantity',
+ BOM_TYPE.DATA_STRING AS 'type',
+ BOM_UOM.DATA_STRING AS 'uom',
+ BOM_GTIN.DATA_STRING AS 'gtin',
+ BOM_VARIANT.DATA_STRING AS 'variant',
+ BOM_LOCATION.DATA_STRING AS 'location_id',
+ BOM_LOCATION.UUID AS 'location_uuid'
+ from app_bom BOM_MATERIAL
+ left join app_bom BOM_DESCRIPTION on ((BOM_DESCRIPTION.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_DESCRIPTION.DATA_TYPE = 'string') and (BOM_DESCRIPTION.DATA_ID = 'description'))
+ left join app_bom BOM_QUANTITY on ((BOM_QUANTITY.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_QUANTITY.DATA_TYPE = 'decimal') and (BOM_QUANTITY.DATA_ID = 'quantity'))
+ left join app_bom BOM_SEQUENCE on ((BOM_SEQUENCE.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_SEQUENCE.DATA_TYPE = 'string') and (BOM_SEQUENCE.DATA_ID = 'sequence'))
+ left join app_bom BOM_TYPE on ((BOM_TYPE.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_TYPE.DATA_TYPE = 'string') and (BOM_TYPE.DATA_ID = 'type'))
+ left join app_bom BOM_UOM on ((BOM_UOM.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_UOM.DATA_TYPE = 'string') and (BOM_UOM.DATA_ID = 'uom'))
+ left join app_bom BOM_GTIN on ((BOM_GTIN.PARENT_UUID = BOM_UOM.UUID) and (BOM_GTIN.DATA_TYPE = 'string') and (BOM_GTIN.DATA_ID = 'gtin'))
+ left join app_bom BOM_VARIANT on ((BOM_VARIANT.PARENT_UUID = BOM_UOM.UUID) and (BOM_VARIANT.DATA_TYPE = 'string') and (BOM_VARIANT.DATA_ID = 'variant'))
+ left join app_bom BOM_IN_OUT on ((BOM_IN_OUT.UUID = BOM_MATERIAL.PARENT_UUID) and (BOM_IN_OUT.DATA_TYPE = 'string') and (BOM_IN_OUT.DATA_ID in ('input','output')))
+ left join app_bom BOM_STAGE on ((BOM_STAGE.UUID = BOM_IN_OUT.PARENT_UUID) and (BOM_STAGE.DATA_TYPE = 'string') and (BOM_STAGE.DATA_ID = 'stage'))
+ left join app_bom BOM_LOCATION on ((BOM_LOCATION.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_LOCATION.DATA_TYPE = 'string') and (BOM_LOCATION.DATA_ID = 'location'))
+ where (BOM_MATERIAL.DATA_ID = 'material')
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_CATEGORY AS PARENT_DATA_CATEGORY,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770321', 'location_id', 'LANEA')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770322', 'location_id', 'LANEB')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770323', 'location_id', 'LANEC')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = ''location_id'' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = ''material_type'' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = ''uom'' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant')
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('gtin', 'value', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('input', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('location_id', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('output', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('quantity', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('root', '', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('runtime', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('sequence', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('stage', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('type', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('uom', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('updated', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('variant', 'value', 'uom')
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [MSG_PALLET_ISSUE] varchar(1) DEFAULT 'Y'
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [MSG_PALLET_RETURN] varchar(1) DEFAULT 'Y'
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [BARCODE_ID] varchar(25) DEFAULT ''
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/b6web_t10_react/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml b/b6web_t10_react/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml
new file mode 100644
index 000000000..914f0859a
--- /dev/null
+++ b/b6web_t10_react/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml
@@ -0,0 +1,337 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ drop view view_bom_structure
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_CATEGORY AS PARENT_DATA_CATEGORY,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP TABLE [dbo].[APP_BOM_STRUCTURE]
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_STRUCTURE] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [PARENT_DATA_ID] varchar(20) NOT NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_STRUCTURE] ADD CONSTRAINT [PK_APP_BOM_STRUCTURE] PRIMARY KEY CLUSTERED ([DATA_ID], [PARENT_DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ DROP view view_bom_structure
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('gtin', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('input', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('location_id', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('output', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('quantity', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('root', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('runtime', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('sequence', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('stage', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('type', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('uom', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('updated', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('variant', 'uom')
+
+
diff --git a/b6web_t10_react/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml b/b6web_t10_react/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml
new file mode 100644
index 000000000..738f63bd8
--- /dev/null
+++ b/b6web_t10_react/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
index fbc365f9f..cd02dcb15 100644
--- a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
+++ b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
@@ -94,7 +94,7 @@
- CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS
+ CREATE VIEW `view_pallet_samples` AS
SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
@@ -156,7 +156,7 @@
- CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_sample_point_locations` AS select distinct `APP_WEIGHT_SAMPLE_POINT`.`LOCATION` AS `Location` from `APP_WEIGHT_SAMPLE_POINT`
+ CREATE VIEW `view_sample_point_locations` AS select distinct `APP_WEIGHT_SAMPLE_POINT`.`LOCATION` AS `Location` from `APP_WEIGHT_SAMPLE_POINT`
diff --git a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
index b60f4b2b3..7436bcc60 100644
--- a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
+++ b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
@@ -7,7 +7,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
@@ -68,7 +68,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_sorting_qty_diffs` AS SELECT
+ CREATE OR REPLACE VIEW `view_sorting_qty_diffs` AS SELECT
`APP_PALLET_EXTENSION`.`SSCC` AS `SSCC`,
`APP_PALLET_EXTENSION`.`PALLET_QUANTITY` AS `PALLET_QUANTITY`,
`APP_PALLET`.`QUANTITY` AS `QUANTITY`,
diff --git a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
index cb4b7365f..ecde3d370 100644
--- a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
+++ b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_results` AS SELECT
+ CREATE OR REPLACE VIEW `view_qm_results` AS SELECT
`APP_QM_SAMPLE`.`PROCESS_ORDER` AS `PROCESS_ORDER`,
`APP_QM_SAMPLE`.`MATERIAL` AS `MATERIAL`,
`APP_QM_SAMPLE`.`SAMPLE_ID` AS `SAMPLE_ID`,
diff --git a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
index 82761953b..479d49bdd 100644
--- a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
+++ b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_panel_results` AS
+ CREATE OR REPLACE VIEW `view_qm_panel_results` AS
SELECT
APP_QM_PANEL.PANEL_ID,
APP_QM_PANEL_TRAY.TRAY_ID,
diff --git a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
index 1679337fb..7cd97f14f 100644
--- a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
+++ b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
@@ -345,7 +345,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
diff --git a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
index 7d316e2c9..00887539f 100644
--- a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
+++ b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_results` AS
+ CREATE OR REPLACE VIEW `view_qm_results` AS
SELECT samp.PROCESS_ORDER as 'PROCESS_ORDER',
samp.MATERIAL as 'MATERIAL',
samp.SAMPLE_ID as 'SAMPLE_ID',
diff --git a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
index 46026ca58..0ae5fd149 100644
--- a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
+++ b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
@@ -44,7 +44,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
diff --git a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml
new file mode 100644
index 000000000..1acd4c6d1
--- /dev/null
+++ b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml
@@ -0,0 +1,672 @@
+
+
+
+
+
+ CREATE TABLE `APP_BOM` (
+ `BOM_ID` varchar(20) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT '',
+ `BOM_VERSION` varchar(10) NOT NULL DEFAULT '',
+ `BOM_SEQUENCE` int NOT NULL DEFAULT '0',
+ `DATA_ID` varchar(20) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT '',
+ `DATA_TYPE` varchar(20) DEFAULT '',
+ `DATA_STRING` varchar(255) DEFAULT '',
+ `DATA_DECIMAL` decimal(22,3) unsigned DEFAULT NULL,
+ `DATA_DATE` datetime DEFAULT NULL,
+ `DATA_TIMESTAMP` timestamp NULL DEFAULT NULL,
+ `UUID` varchar(50) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT (uuid()),
+ `PARENT_UUID` varchar(50) DEFAULT NULL,
+ PRIMARY KEY (`BOM_ID`,`BOM_VERSION`,`DATA_ID`,`UUID`) USING BTREE,
+ UNIQUE KEY `UUID_NDX` (`UUID`) USING BTREE,
+ KEY `UUID_PARENT_NDX` (`PARENT_UUID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_DEFAULTS` (
+ `SOURCE_FIELD` varchar(32) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `SOURCE_VALUE` varchar(50) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `DESTINATION_FIELD` varchar(32) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `DESTINATION_VALUE` varchar(50) CHARACTER SET {charset} COLLATE {collation} DEFAULT NULL,
+ PRIMARY KEY (`SOURCE_FIELD`,`SOURCE_VALUE`,`DESTINATION_FIELD`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_ELEMENTS` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `DATA_TYPE` varchar(20) DEFAULT NULL,
+ `ENABLE_EDIT` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_CREATE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_DELETE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_DUPLICATE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_CLIPBOARD` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `MAX_OCCUR_LEVEL` int DEFAULT '1',
+ `ENABLE_LOOKUP` varchar(1) DEFAULT 'Y',
+ `LOOKUP_SQL` varchar(255) DEFAULT '',
+ `LOOKUP_FIELD` varchar(32) DEFAULT '',
+ `ICON_FILENAME` varchar(80) DEFAULT '',
+ `DESCRIPTION` varchar(80) DEFAULT '',
+ PRIMARY KEY (`DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_LISTS` (
+ `LIST_ID` varchar(25) NOT NULL DEFAULT '',
+ `ITEM` varchar(50) NOT NULL DEFAULT '',
+ `SEQUENCE` int DEFAULT '0',
+ `ENABLED` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ PRIMARY KEY (`LIST_ID`,`ITEM`)
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+
+ CREATE TABLE `APP_BOM_STRUCTURE` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `PARENT_DATA_CATEGORY` varchar(20) NOT NULL,
+ `PARENT_DATA_ID` varchar(20) NOT NULL,
+ PRIMARY KEY (`DATA_ID`,`PARENT_DATA_CATEGORY`,`PARENT_DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+
+ CREATE VIEW `view_bom` AS
+ select `BOM_MATERIAL`.`BOM_ID` AS `bom_id`,
+ `BOM_MATERIAL`.`BOM_VERSION` AS `bom_version`,
+ `BOM_MATERIAL`.`BOM_SEQUENCE` AS `display_order`,
+ `BOM_STAGE`.`DATA_STRING` AS `stage`,
+ `BOM_IN_OUT`.`DATA_ID` AS `input_output`,
+ `BOM_SEQUENCE`.`DATA_STRING` AS `sequence`,
+ `BOM_MATERIAL`.`DATA_STRING` AS `material`,
+ `BOM_MATERIAL`.`UUID` AS `material_uuid`,
+ `BOM_DESCRIPTION`.`DATA_STRING` AS `description`,
+ `BOM_QUANTITY`.`DATA_DECIMAL` AS `quantity`,
+ `BOM_TYPE`.`DATA_STRING` AS `type`,
+ `BOM_UOM`.`DATA_STRING` AS `uom`,
+ `BOM_GTIN`.`DATA_STRING` AS `gtin`,
+ `BOM_VARIANT`.`DATA_STRING` AS `variant`,
+ `BOM_LOCATION`.`DATA_STRING` AS `location_id`,
+ `BOM_LOCATION`.`UUID` AS `location_uuid`
+ from `app_bom` `BOM_MATERIAL`
+ left join `app_bom` `BOM_DESCRIPTION` on (`BOM_DESCRIPTION`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_DESCRIPTION`.`DATA_TYPE` = 'string')
+ and (`BOM_DESCRIPTION`.`DATA_ID` = 'description')
+ left join `app_bom` `BOM_QUANTITY` on (`BOM_QUANTITY`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_QUANTITY`.`DATA_TYPE` = 'decimal')
+ and (`BOM_QUANTITY`.`DATA_ID` = 'quantity')
+ left join `app_bom` `BOM_SEQUENCE` on (`BOM_SEQUENCE`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_SEQUENCE`.`DATA_TYPE` = 'string')
+ and (`BOM_SEQUENCE`.`DATA_ID` = 'sequence')
+ left join `app_bom` `BOM_TYPE` on (`BOM_TYPE`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_TYPE`.`DATA_TYPE` = 'string')
+ and (`BOM_TYPE`.`DATA_ID` = 'type')
+ left join `app_bom` `BOM_UOM` on (`BOM_UOM`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_UOM`.`DATA_TYPE` = 'string')
+ and (`BOM_UOM`.`DATA_ID` = 'uom')
+ left join `app_bom` `BOM_GTIN` on (`BOM_GTIN`.`PARENT_UUID` = `BOM_UOM`.`UUID`)
+ and (`BOM_GTIN`.`DATA_TYPE` = 'string')
+ and (`BOM_GTIN`.`DATA_ID` = 'gtin')
+ left join `app_bom` `BOM_VARIANT` on (`BOM_VARIANT`.`PARENT_UUID` = `BOM_UOM`.`UUID`)
+ and (`BOM_VARIANT`.`DATA_TYPE` = 'string')
+ and (`BOM_VARIANT`.`DATA_ID` = 'variant')
+ left join `app_bom` `BOM_IN_OUT` on (`BOM_IN_OUT`.`UUID` = `BOM_MATERIAL`.`PARENT_UUID`)
+ and (`BOM_IN_OUT`.`DATA_TYPE` = 'string')
+ and (`BOM_IN_OUT`.`DATA_ID` in ('input','output'))
+ left join `app_bom` `BOM_STAGE` on (`BOM_STAGE`.`UUID` = `BOM_IN_OUT`.`PARENT_UUID`)
+ and (`BOM_STAGE`.`DATA_TYPE` = 'string')
+ and (`BOM_STAGE`.`DATA_ID` = 'stage')
+ left join `app_bom` `BOM_LOCATION` on (`BOM_LOCATION`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_LOCATION`.`DATA_TYPE` = 'string')
+ and (`BOM_LOCATION`.`DATA_ID` = 'location_id')
+ where (`BOM_MATERIAL`.`DATA_ID` = 'material')
+ order by `BOM_MATERIAL`.`BOM_ID`,`BOM_MATERIAL`.`BOM_VERSION`,`BOM_IN_OUT`.`DATA_ID`,`BOM_SEQUENCE`.`DATA_ID`,`BOM_MATERIAL`.`BOM_SEQUENCE`,`BOM_MATERIAL`.`UUID`;
+
+
+
+
+ CREATE VIEW `view_bom_structure` AS
+ select `app_bom_structure`.`DATA_ID` AS `DATA_ID`,
+ `app_bom_elements`.`DATA_TYPE` AS `DATA_TYPE`,
+ `app_bom_structure`.`PARENT_DATA_ID` AS `PARENT_DATA_ID`,
+ `app_bom_elements`.`ENABLE_EDIT` AS `ENABLE_EDIT`,
+ `app_bom_elements`.`ENABLE_CREATE` AS `ENABLE_CREATE`,
+ `app_bom_elements`.`ENABLE_DELETE` AS `ENABLE_DELETE`,
+ `app_bom_elements`.`ENABLE_DUPLICATE` AS `ENABLE_DUPLICATE`,
+ `app_bom_elements`.`ENABLE_CLIPBOARD` AS `ENABLE_CLIPBOARD`,
+ `app_bom_elements`.`ENABLE_LOOKUP` AS `ENABLE_LOOKUP`,
+ `app_bom_elements`.`LOOKUP_SQL` AS `LOOKUP_SQL`,
+ `app_bom_elements`.`LOOKUP_FIELD` AS `LOOKUP_FIELD`,
+ `app_bom_elements`.`ICON_FILENAME` AS `ICON_FILENAME`,
+ `app_bom_elements`.`MAX_OCCUR_LEVEL` AS `MAX_OCCUR_LEVEL`,
+ `app_bom_elements`.`DESCRIPTION` AS `DESCRIPTION`
+ from (`app_bom_structure`
+ join `app_bom_elements`
+ on((`app_bom_structure`.`DATA_ID` = `app_bom_elements`.`DATA_ID`)));
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770321', 'location_id', 'LANEA');
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770322', 'location_id', 'LANEB');
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770323', 'location_id', 'LANEC');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = \'location_id\' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = \'material_type\' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = \'uom\' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant');
+
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('description', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('description', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('gtin', 'value', 'uom');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('hrs', 'section', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('hrs', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('input', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('location_id', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('line', 'section', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('line', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('material', 'section', 'input');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('material', 'section', 'output');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('output', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('quantity', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('resource', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('resource', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('root', '', '');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('runtime', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('sequence', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('stage', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('type', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('uom', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('updated', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('variant', 'value', 'uom');
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE `APP_LOCATION`
+ ADD COLUMN `MSG_PALLET_ISSUE` varchar(1) NULL DEFAULT 'Y' AFTER `MSG_PROD_UNCONFIRM`,
+ ADD COLUMN `MSG_PALLET_RETURN` varchar(1) NULL DEFAULT 'Y' AFTER `MSG_PALLET_ISSUE`,
+ ADD COLUMN `BARCODE_ID` varchar(25) NULL DEFAULT '' AFTER `MSG_PALLET_RETURN`;
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml
new file mode 100644
index 000000000..38f7b3dec
--- /dev/null
+++ b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml
@@ -0,0 +1,358 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP TABLE `APP_BOM_STRUCTURE`;
+
+
+
+ CREATE TABLE `APP_BOM_STRUCTURE` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `PARENT_DATA_ID` varchar(20) NOT NULL,
+ PRIMARY KEY (`DATA_ID`,`PARENT_DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ DROP VIEW `view_bom_structure`
+
+
+
+ CREATE VIEW `view_bom_structure` AS
+ select `app_bom_structure`.`DATA_ID` AS `DATA_ID`,
+ `app_bom_elements`.`DATA_TYPE` AS `DATA_TYPE`,
+ `app_bom_structure`.`PARENT_DATA_ID` AS `PARENT_DATA_ID`,
+ `app_bom_elements`.`ENABLE_EDIT` AS `ENABLE_EDIT`,
+ `app_bom_elements`.`ENABLE_CREATE` AS `ENABLE_CREATE`,
+ `app_bom_elements`.`ENABLE_DELETE` AS `ENABLE_DELETE`,
+ `app_bom_elements`.`ENABLE_DUPLICATE` AS `ENABLE_DUPLICATE`,
+ `app_bom_elements`.`ENABLE_CLIPBOARD` AS `ENABLE_CLIPBOARD`,
+ `app_bom_elements`.`ENABLE_LOOKUP` AS `ENABLE_LOOKUP`,
+ `app_bom_elements`.`LOOKUP_SQL` AS `LOOKUP_SQL`,
+ `app_bom_elements`.`LOOKUP_FIELD` AS `LOOKUP_FIELD`,
+ `app_bom_elements`.`ICON_FILENAME` AS `ICON_FILENAME`,
+ `app_bom_elements`.`MAX_OCCUR_LEVEL` AS `MAX_OCCUR_LEVEL`,
+ `app_bom_elements`.`DESCRIPTION` AS `DESCRIPTION`
+ from (`app_bom_structure`
+ join `app_bom_elements`
+ on((`app_bom_structure`.`DATA_ID` = `app_bom_elements`.`DATA_ID`)));
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('description', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('description', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('gtin', 'uom');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('hrs', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('hrs', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('input', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('location_id', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('line', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('line', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('material', 'input');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('material', 'output');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('output', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('quantity', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('resource', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('resource', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('root', '');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('runtime', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('sequence', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('stage', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('type', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('uom', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('updated', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('variant', 'uom');
+
+
+
diff --git a/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml
new file mode 100644
index 000000000..32738e209
--- /dev/null
+++ b/b6web_t10_react/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/b6web_t10_react/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml b/b6web_t10_react/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml
new file mode 100644
index 000000000..d78048a6a
--- /dev/null
+++ b/b6web_t10_react/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml
@@ -0,0 +1,556 @@
+
+
+
+
+ CREATE TABLE "APP_BOM" (
+ "BOM_ID" VARCHAR2(20) DEFAULT '' NOT NULL,
+ "BOM_VERSION" VARCHAR2(10) DEFAULT '' NOT NULL,
+ "BOM_SEQUENCE" INT DEFAULT 0 NOT NULL,
+ "DATA_ID" VARCHAR2(20) DEFAULT '' NOT NULL,
+ "DATA_TYPE" VARCHAR2(20) DEFAULT '',
+ "DATA_STRING" VARCHAR2(255) DEFAULT '',
+ "DATA_DECIMAL" NUMERIC(22,3) DEFAULT NULL,
+ "DATA_DATE" TIMESTAMP DEFAULT NULL,
+ "DATA_TIMESTAMP" TIMESTAMP DEFAULT NULL,
+ "UUID" VARCHAR2(50) DEFAULT '' NOT NULL,
+ "PARENT_UUID" VARCHAR2(50) DEFAULT '',
+ PRIMARY KEY ("BOM_ID", "BOM_VERSION", "DATA_ID", "UUID") )
+
+
+
+ CREATE TABLE "APP_BOM_DEFAULTS" (
+ "SOURCE_FIELD" VARCHAR2(32) NOT NULL,
+ "SOURCE_VALUE" VARCHAR2(50) NOT NULL,
+ "DESTINATION_FIELD" VARCHAR2(32) NOT NULL,
+ "DESTINATION_VALUE" VARCHAR2(50),
+ PRIMARY KEY ("SOURCE_FIELD", "SOURCE_VALUE", "DESTINATION_FIELD") )
+
+
+
+ CREATE TABLE "APP_BOM_ELEMENTS" (
+ "DATA_ID" VARCHAR2(20) NOT NULL,
+ "DATA_TYPE" VARCHAR2(20),
+ "ENABLE_EDIT" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_CREATE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_DELETE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_DUPLICATE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_CLIPBOARD" VARCHAR2(1) DEFAULT 'Y',
+ "MAX_OCCUR_LEVEL" INT,
+ "ENABLE_LOOKUP" VARCHAR2(1) DEFAULT 'Y',
+ "LOOKUP_SQL" VARCHAR2(255) DEFAULT '',
+ "LOOKUP_FIELD" VARCHAR2(32) DEFAULT '',
+ "ICON_FILENAME" VARCHAR2(80) DEFAULT '',
+ "DESCRIPTION" VARCHAR2(80) DEFAULT '',
+ PRIMARY KEY ("DATA_ID") )
+
+
+
+ CREATE TABLE "APP_BOM_LISTS" (
+ "LIST_ID" VARCHAR2(25 BYTE) VISIBLE DEFAULT '',
+ "ITEM" VARCHAR2(50 BYTE) VISIBLE DEFAULT '',
+ "SEQUENCE" NUMBER VISIBLE DEFAULT 0,
+ "ENABLED" VARCHAR2(1 BYTE) VISIBLE DEFAULT 'Y')
+
+
+
+ CREATE INDEX "IDX_APP_BOM_LISTS1"
+ ON "APP_BOM_LISTS" ("LIST_ID" ASC, "ITEM" ASC)
+
+
+
+ CREATE TABLE "APP_BOM_STRUCTURE" (
+ "DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '',
+ "PARENT_DATA_CATEGORY" VARCHAR2(20) VISIBLE DEFAULT '' ,
+ "PARENT_DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '' )
+
+
+
+ CREATE INDEX "IDX_APP_BOM_STRUCTURE1"
+ ON "APP_BOM_STRUCTURE" ("DATA_ID" ASC, "PARENT_DATA_CATEGORY" ASC, "PARENT_DATA_ID" ASC)
+
+
+
+ CREATE OR REPLACE VIEW view_bom as
+ SELECT BOM_MATERIAL.BOM_ID bom_id,
+ BOM_MATERIAL.BOM_VERSION bom_version,
+ BOM_MATERIAL.BOM_SEQUENCE display_order,
+ BOM_STAGE.DATA_STRING stage,
+ BOM_IN_OUT.DATA_ID input_output,
+ BOM_SEQUENCE.DATA_STRING sequence,
+ BOM_MATERIAL.DATA_STRING material,
+ BOM_MATERIAL.UUID material_uuid,
+ BOM_DESCRIPTION.DATA_STRING description,
+ BOM_QUANTITY.DATA_DECIMAL quantity,
+ BOM_TYPE.DATA_STRING TYPE,
+ BOM_UOM.DATA_STRING uom,
+ BOM_GTIN.DATA_STRING gtin,
+ BOM_VARIANT.DATA_STRING variant,
+ BOM_LOCATION.DATA_STRING location_id,
+ BOM_LOCATION.UUID location_uuid
+ FROM app_bom BOM_MATERIAL
+ LEFT JOIN app_bom BOM_DESCRIPTION ON ( ( BOM_DESCRIPTION.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_DESCRIPTION.DATA_TYPE = 'string' ) AND ( BOM_DESCRIPTION.DATA_ID = 'description' ) )
+ LEFT JOIN app_bom BOM_QUANTITY ON ( ( BOM_QUANTITY.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_QUANTITY.DATA_TYPE = 'decimal' ) AND ( BOM_QUANTITY.DATA_ID = 'quantity' ) )
+ LEFT JOIN app_bom BOM_SEQUENCE ON ( ( BOM_SEQUENCE.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_SEQUENCE.DATA_TYPE = 'string' ) AND ( BOM_SEQUENCE.DATA_ID = 'sequence' ) )
+ LEFT JOIN app_bom BOM_TYPE ON ( ( BOM_TYPE.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_TYPE.DATA_TYPE = 'string' ) AND ( BOM_TYPE.DATA_ID = 'type' ) )
+ LEFT JOIN app_bom BOM_UOM ON ( ( BOM_UOM.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_UOM.DATA_TYPE = 'string' ) AND ( BOM_UOM.DATA_ID = 'uom' ) )
+ LEFT JOIN app_bom BOM_GTIN ON ( ( BOM_GTIN.PARENT_UUID = BOM_UOM.UUID ) AND ( BOM_GTIN.DATA_TYPE = 'string' ) AND ( BOM_GTIN.DATA_ID = 'gtin' ) )
+ LEFT JOIN app_bom BOM_VARIANT ON ( ( BOM_VARIANT.PARENT_UUID = BOM_UOM.UUID ) AND ( BOM_VARIANT.DATA_TYPE = 'string' ) AND ( BOM_VARIANT.DATA_ID = 'variant' ) )
+ LEFT JOIN app_bom BOM_IN_OUT ON ( ( BOM_IN_OUT.UUID = BOM_MATERIAL.PARENT_UUID ) AND ( BOM_IN_OUT.DATA_TYPE = 'string' ) AND ( BOM_IN_OUT.DATA_ID IN ( 'input', 'output' ) ) )
+ LEFT JOIN app_bom BOM_STAGE ON ( ( BOM_STAGE.UUID = BOM_IN_OUT.PARENT_UUID ) AND ( BOM_STAGE.DATA_TYPE = 'string' ) AND ( BOM_STAGE.DATA_ID = 'stage' ) )
+ LEFT JOIN app_bom BOM_LOCATION ON ( ( BOM_LOCATION.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_LOCATION.DATA_TYPE = 'string' ) AND ( BOM_LOCATION.DATA_ID = 'location_id' ) )
+ WHERE ( BOM_MATERIAL.DATA_ID = 'material' )
+
+
+
+ CREATE OR REPLACE VIEW view_bom_structure AS
+ SELECT app_bom_structure.DATA_ID DATA_ID,
+ app_bom_elements.DATA_TYPE DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION DESCRIPTION
+ FROM (app_bom_structure JOIN app_bom_elements ON ((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770321', 'location_id', 'LANEA')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770322', 'location_id', 'LANEB')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770323', 'location_id', 'LANEC')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = ''location_id'' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = ''material_type'' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = ''uom'' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant')
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('gtin', 'value', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('input', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('location_id', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('output', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('quantity', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('root', '', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('runtime', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('sequence', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('stage', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('type', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('uom', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('updated', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('variant', 'value', 'uom')
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+mod_FRM_BOM_ADMIN
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE "APP_LOCATION"
+ ADD ("MSG_PALLET_ISSUE" VARCHAR2(1) DEFAULT 'Y')
+ ADD ("MSG_PALLET_RETURN" VARCHAR2(1) DEFAULT 'Y')
+ ADD ("BARCODE_ID" VARCHAR2(25) DEFAULT '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/b6web_t10_react/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml b/b6web_t10_react/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml
new file mode 100644
index 000000000..61c549a6e
--- /dev/null
+++ b/b6web_t10_react/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml
@@ -0,0 +1,314 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP INDEX "IDX_APP_BOM_STRUCTURE1"
+
+
+
+ DROP TABLE "APP_BOM_STRUCTURE"
+
+
+
+ CREATE TABLE "APP_BOM_STRUCTURE" (
+ "DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '',
+ "PARENT_DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '' )
+
+
+
+ CREATE INDEX "IDX_APP_BOM_STRUCTURE1"
+ ON "APP_BOM_STRUCTURE" ("DATA_ID" ASC, "PARENT_DATA_ID" ASC)
+
+
+
+ CREATE OR REPLACE VIEW view_bom_structure AS
+ SELECT app_bom_structure.DATA_ID DATA_ID,
+ app_bom_elements.DATA_TYPE DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION DESCRIPTION
+ FROM (app_bom_structure JOIN app_bom_elements ON ((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('gtin', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('input', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('location_id', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('output', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('quantity', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('root', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('runtime', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('sequence', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('stage', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('type', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('uom', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('updated', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('variant', 'uom')
+
+
+
diff --git a/b6web_t10_react/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml b/b6web_t10_react/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml
new file mode 100644
index 000000000..3166d412d
--- /dev/null
+++ b/b6web_t10_react/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/b6web_t10_react/WebContent/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml b/b6web_t10_react/WebContent/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
index 337bb1136..6445ca54c 100644
--- a/b6web_t10_react/WebContent/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
+++ b/b6web_t10_react/WebContent/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [view_pallet_history_expiry]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [view_pallet_history]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(IIF(transaction_type = 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value = ?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,7 +286,7 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(a.module_id) from [view_security] a where a.user_id = ? order by a.module_id
@@ -291,24 +297,24 @@
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
-
+
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}view_permissions order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,u.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,u.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT a.* FROM [view_menu_structure]a WHERE a.MENU_ID = ? AND a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT a.* FROM [view_rf_menu]a WHERE a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT a.* FROM [view_toolbar]a WHERE a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,[updated]=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -584,8 +587,8 @@
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,7 +617,7 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
@@ -643,7 +646,15 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER
-
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
+
JDBProcessOrder.ViewResource
select * from view_process_order_resource
@@ -651,7 +662,7 @@
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from view_process_order_resource where process_order=?
-
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,18 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -745,7 +772,7 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -800,39 +827,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- P.SSCC,
- P.STATUS AS 'PALLET_STATUS',
- P.LOCATION_ID,
- P.DESPATCH_NO,
- MB.MATERIAL,
- MB.BATCH_NUMBER,
- MB.STATUS AS 'BATCH_STATUS'
- FROM
- APP_PALLET P,
- APP_MATERIAL_BATCH MB
- WHERE
- MB.MATERIAL = P.MATERIAL
- AND MB.BATCH_NUMBER = P.BATCH_NUMBER
- AND P.DESPATCH_NO = %1
- AND (
- P.STATUS NOT IN ( %2 )
- OR MB.STATUS NOT IN ( %3 )
- )
-
+ SELECT P.SSCC, P.STATUS AS 'PALLET_STATUS', P.LOCATION_ID, P.DESPATCH_NO, MB.MATERIAL, MB.BATCH_NUMBER, MB.STATUS AS 'BATCH_STATUS' FROM APP_PALLET P, APP_MATERIAL_BATCH MB WHERE MB.MATERIAL = P.MATERIAL AND MB.BATCH_NUMBER = P.BATCH_NUMBER AND P.DESPATCH_NO = %1 AND ( P.STATUS NOT IN ( %2 ) OR MB.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +858,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +875,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +896,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (report_request_id,module_id,invocation_mode,parameter_count,parameter_delimiter,parameter_names,parameter_types,parameter_values,sql,print_queue_name,print_copies) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +913,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +938,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +967,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +996,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1025,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1050,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1071,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1092,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1117,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1142,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1167,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1192,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1221,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1250,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1287,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1323,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1348,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1381,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1406,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1427,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}view_label_data WHERE UNIQUE_ID = ?
@@ -1432,96 +1436,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}view_auto_labeller_printer where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}view_auto_labeller_printer
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1537,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1573,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1599,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1657,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1670,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1703,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1711,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}view_barcode_validate where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1738,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1763,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1792,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1804,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1821,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1850,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1879,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1912,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1923,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1960,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +2003,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2032,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2059,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2072,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2097,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2122,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2130,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2163,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2210,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2219,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2243,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2264,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2284,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2292,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2321,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2339,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2376,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2401,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2430,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2442,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2455,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?, sample_point = ?, id=?,lane_1=?,lane_2=?,lane_3=?,lane_4=?,lane_5=? where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2496,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2529,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2570,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2594,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2603,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2619,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2642,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2673,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select top (?) * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc
+ select top (?) * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2700,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2725,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2749,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2761,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,11 +2778,11 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
@@ -2909,6 +2795,184 @@
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
-
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM >'' AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/b6web_t10_react/WebContent/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml b/b6web_t10_react/WebContent/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
index c6e3009e7..f80059eaa 100644
--- a/b6web_t10_react/WebContent/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
+++ b/b6web_t10_react/WebContent/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [view_pallet_history_expiry]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [view_pallet_history]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(IF(transaction_type = 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value = ?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,7 +286,7 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(S.module_id) from [view_security] as S where S.user_id = ? order by module_id
@@ -291,24 +297,24 @@
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
-
+
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}view_permissions order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,u.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,u.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT * FROM [view_menu_structure] AS M WHERE M.MENU_ID = ? AND M.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT * FROM [view_rf_menu] AS T WHERE T.MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT * FROM [view_toolbar] AS T WHERE T.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,updated=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -584,8 +587,8 @@
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,7 +617,7 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
@@ -643,7 +646,15 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER
-
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
+
JDBProcessOrder.ViewResource
select * from view_process_order_resource
@@ -651,7 +662,7 @@
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from view_process_order_resource where process_order=?
-
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,14 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -745,7 +768,7 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -800,39 +823,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- P.SSCC,
- P.STATUS AS 'PALLET_STATUS',
- P.LOCATION_ID,
- P.DESPATCH_NO,
- MB.MATERIAL,
- MB.BATCH_NUMBER,
- MB.STATUS AS 'BATCH_STATUS'
- FROM
- APP_PALLET P,
- APP_MATERIAL_BATCH MB
- WHERE
- MB.MATERIAL = P.MATERIAL
- AND MB.BATCH_NUMBER = P.BATCH_NUMBER
- AND P.DESPATCH_NO = %1
- AND (
- P.STATUS NOT IN ( %2 )
- OR MB.STATUS NOT IN ( %3 )
- )
-
+ SELECT P.SSCC, P.STATUS AS 'PALLET_STATUS', P.LOCATION_ID, P.DESPATCH_NO, MB.MATERIAL, MB.BATCH_NUMBER, MB.STATUS AS 'BATCH_STATUS' FROM APP_PALLET P, APP_MATERIAL_BATCH MB WHERE MB.MATERIAL = P.MATERIAL AND MB.BATCH_NUMBER = P.BATCH_NUMBER AND P.DESPATCH_NO = %1 AND ( P.STATUS NOT IN ( %2 ) OR MB.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +854,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +871,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +892,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (`REPORT_REQUEST_ID`,`MODULE_ID`,`INVOCATION_MODE`,`PARAMETER_COUNT`,`PARAMETER_DELIMITER`,`PARAMETER_NAMES`,`PARAMETER_TYPES`,`PARAMETER_VALUES`,`SQL`,`PRINT_QUEUE_NAME`,`PRINT_COPIES`) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +909,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +934,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +963,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +992,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1021,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1046,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1067,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1088,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1113,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1138,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1163,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1188,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1217,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1246,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1283,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1319,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1344,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1377,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1402,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1423,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}view_label_data WHERE UNIQUE_ID = ?
@@ -1432,96 +1432,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}view_auto_labeller_printer where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}view_auto_labeller_printer
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1533,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1569,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1595,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1653,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1666,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1699,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1707,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}view_barcode_validate where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1734,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1759,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1788,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1800,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1817,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1846,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1875,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1908,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1919,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1956,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +1999,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2028,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2055,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2068,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2093,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2118,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2126,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2159,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2206,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2215,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2239,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2260,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2280,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2288,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2317,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2335,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2372,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2397,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2426,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2438,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2451,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?, sample_point = ?, id=?,lane_1=?,lane_2=?,lane_3=?,lane_4=?,lane_5=? where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2492,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2525,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2566,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2590,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2599,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2615,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2638,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2669,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc limit ?
+ select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc limit ?
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2696,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2721,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2745,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2757,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,23 +2774,201 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
JDBOperatives.getOperatives
select * from {schema}APP_OPERATIVES order by id
-
-
+
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
-
+
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM >'' AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/b6web_t10_react/WebContent/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml b/b6web_t10_react/WebContent/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
index 2a895fb6b..289b81c79 100644
--- a/b6web_t10_react/WebContent/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
+++ b/b6web_t10_react/WebContent/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [VIEW_PALLET_HISTORY_EXPIRY]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [VIEW_PALLET_HISTORY]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(DECODE(transaction_type, 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value =?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,35 +286,35 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(module_id) from [view_security] where user_id = ? order by module_id
JDBUser.changePassword
- update {schema}SYS_USERS set Password = ?,last_password_change = ?,password_version=password_version+1,password_change_required='N',password_encrypted=? where user_id = ?
+ update {schema}SYS_USERS set Password = ?,last_password_change = ?,password_version=password_version+1,password_change_required='N',password_encrypted=? where user_id = ?
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
-
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -332,7 +338,7 @@
JDBUser.enable
update {schema}SYS_USERS set account_enabled = 'Y' where user_id = ?
-
+
JDBUser.getUserGroupsUnAssigned
select group_id from {schema}SYS_GROUPS where group_id not in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?) order by group_id
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}VIEW_PERMISSIONS order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,U.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,U.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT * FROM [view_menu_structure]WHERE MENU_ID = ? AND MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT * FROM [view_rf_menu]WHERE MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT * FROM [view_toolbar]WHERE MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,updated=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material= ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -580,12 +583,12 @@
JDBJourney.delete
delete from {schema}APP_JOURNEY where journey_ref = ?
-
+
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,11 +617,11 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
-
+
JDBProcessOrder.create
insert into {schema}APP_PROCESS_ORDER (process_order) values (?)
@@ -629,7 +632,7 @@
JDBProcessOrder.getProcessOrderProperties
- select * from {schema}APP_PROCESS_ORDER where process_order = ?
+ select * from {schema}APP_PROCESS_ORDER where process_order = ?
JDBProcessOrder.isValidProcessOrder
@@ -643,15 +646,23 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
JDBProcessOrder.ViewResource
select * from VIEW_PROCESS_ORDER_RESOURCE
-
+
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from VIEW_PROCESS_ORDER_RESOURCE where process_order=?
-
-
+
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,18 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -744,8 +771,8 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
-
+
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -769,7 +796,7 @@
JDBDespatch.setConfirmed
update {schema}APP_DESPATCH set transaction_ref=?,status=?,despatch_date=?,total_pallets=(select count(sscc) from {schema}APP_PALLET where despatch_no = ?) where despatch_no=?
-
+
JDBDespatch.getDespatchProperties
select * from {schema}APP_DESPATCH where despatch_no = ?
@@ -800,39 +827,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- APP_PALLET.SSCC,
- APP_PALLET.STATUS "PALLET_STATUS",
- APP_PALLET.LOCATION_ID,
- APP_PALLET.DESPATCH_NO,
- APP_MATERIAL_BATCH.MATERIAL,
- APP_MATERIAL_BATCH.BATCH_NUMBER,
- APP_MATERIAL_BATCH.STATUS AS "BATCH_STATUS"
- FROM
- APP_PALLET,
- APP_MATERIAL_BATCH
- WHERE
- APP_MATERIAL_BATCH.MATERIAL = APP_PALLET.MATERIAL
- AND APP_MATERIAL_BATCH.BATCH_NUMBER = APP_PALLET.BATCH_NUMBER
- AND APP_PALLET.DESPATCH_NO = %1
- AND (
- APP_PALLET.STATUS NOT IN ( %2 )
- OR APP_MATERIAL_BATCH.STATUS NOT IN ( %3 )
- )
-
+ SELECT APP_PALLET.SSCC, APP_PALLET.STATUS "PALLET_STATUS", APP_PALLET.LOCATION_ID, APP_PALLET.DESPATCH_NO, APP_MATERIAL_BATCH.MATERIAL, APP_MATERIAL_BATCH.BATCH_NUMBER, APP_MATERIAL_BATCH.STATUS AS "BATCH_STATUS" FROM APP_PALLET, APP_MATERIAL_BATCH WHERE APP_MATERIAL_BATCH.MATERIAL = APP_PALLET.MATERIAL AND APP_MATERIAL_BATCH.BATCH_NUMBER = APP_PALLET.BATCH_NUMBER AND APP_PALLET.DESPATCH_NO = %1 AND ( APP_PALLET.STATUS NOT IN ( %2 ) OR APP_MATERIAL_BATCH.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +858,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +875,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +896,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (report_request_id,module_id,invocation_mode,parameter_count,parameter_delimiter,parameter_names,parameter_types,parameter_values,sql,print_queue_name,print_copies) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +913,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +938,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +967,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +996,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1025,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1050,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1071,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1092,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1117,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1142,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1167,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1192,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1221,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1250,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1287,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1323,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1348,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1381,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1406,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1427,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}VIEW_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1432,96 +1436,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}VIEW_AUTO_LABELLER_PRINTER where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}VIEW_AUTO_LABELLER_PRINTER
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1537,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1573,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1599,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1657,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1670,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1703,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1711,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}VIEW_BARCODE_VALIDATE where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1738,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1763,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1792,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1804,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1821,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1850,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1879,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1912,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1923,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
+
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1960,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +2003,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2032,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2059,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2072,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2097,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2122,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2130,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2163,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2210,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2219,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2243,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2264,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2284,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2292,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2321,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2339,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2376,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2401,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2430,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2442,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2455,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?,sample_point = ?, id=?, lane_1=?, lane_1=2, lane_1=3, lane_1=4, lane_1=5 where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2496,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2529,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2570,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2594,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2603,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2619,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2642,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2673,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select * from (select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc) where rownum <= ?
+ select * from (select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc) where rownum <= ?
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2700,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2725,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2749,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2761,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,23 +2778,201 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
JDBOperatives.getOperatives
select * from {schema}APP_OPERATIVES order by id
-
-
+
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM IS NOT NULL AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/b6web_t10_react/dist/b6web_t10_react.war b/b6web_t10_react/dist/b6web_t10_react.war
index a2fe11d9d..ebc6af833 100644
Binary files a/b6web_t10_react/dist/b6web_t10_react.war and b/b6web_t10_react/dist/b6web_t10_react.war differ
diff --git a/b6web_t10_wm_eb18/WebContent/WEB-INF/lib/commander4j.jar b/b6web_t10_wm_eb18/WebContent/WEB-INF/lib/commander4j.jar
index 5a3cab509..3a173d0e9 100644
Binary files a/b6web_t10_wm_eb18/WebContent/WEB-INF/lib/commander4j.jar and b/b6web_t10_wm_eb18/WebContent/WEB-INF/lib/commander4j.jar differ
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml
new file mode 100644
index 000000000..a786896a5
--- /dev/null
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml
@@ -0,0 +1,566 @@
+
+
+
+
+ CREATE TABLE [dbo].[APP_BOM] (
+ [BOM_ID] varchar(20) DEFAULT '' NOT NULL,
+ [BOM_VERSION] varchar(10) DEFAULT '' NOT NULL,
+ [BOM_SEQUENCE] int DEFAULT 0 NULL,
+ [DATA_ID] varchar(20) DEFAULT '' NOT NULL,
+ [DATA_TYPE] varchar(20) DEFAULT '' NULL,
+ [DATA_STRING] varchar(255) DEFAULT '' NULL,
+ [DATA_DECIMAL] decimal(22,3) DEFAULT NULL NULL,
+ [DATA_DATE] datetime DEFAULT NULL NULL,
+ [DATA_TIMESTAMP] datetime DEFAULT NULL,
+ [UUID] varchar(50) DEFAULT '' NOT NULL,
+ [PARENT_UUID] varchar(50) DEFAULT '' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM] ADD CONSTRAINT [PK_APP_BOM] PRIMARY KEY CLUSTERED ([BOM_ID], [BOM_VERSION], [DATA_ID], [UUID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_DEFAULTS] (
+ [SOURCE_FIELD] varchar(32) NOT NULL,
+ [SOURCE_VALUE] varchar(50) NOT NULL,
+ [DESTINATION_FIELD] varchar(32) NOT NULL,
+ [DESTINATION_VALUE] varchar(50) NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_DEFAULTS] ADD CONSTRAINT [PK_APP_BOM_DEFAULTS] PRIMARY KEY CLUSTERED ([SOURCE_FIELD], [SOURCE_VALUE], [DESTINATION_FIELD]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_ELEMENTS] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [DATA_TYPE] varchar(20) NULL,
+ [ENABLE_EDIT] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_CREATE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_DELETE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_DUPLICATE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_CLIPBOARD] varchar(1) DEFAULT 'Y' NULL,
+ [MAX_OCCUR_LEVEL] int DEFAULT 1 NULL,
+ [ENABLE_LOOKUP] varchar(1) DEFAULT 'Y' NULL,
+ [LOOKUP_SQL] varchar(255) DEFAULT '' NULL,
+ [LOOKUP_FIELD] varchar(32) DEFAULT '' NULL,
+ [ICON_FILENAME] varchar(80) DEFAULT '' NULL,
+ [DESCRIPTION] varchar(80) DEFAULT '' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_ELEMENTS] ADD CONSTRAINT [PK_APP_BOM_ELEMENTS] PRIMARY KEY CLUSTERED ([DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_LISTS] (
+ [LIST_ID] varchar(25) DEFAULT '' NOT NULL,
+ [ITEM] varchar(255) DEFAULT '' NOT NULL,
+ [SEQUENCE] int DEFAULT 0 NULL,
+ [ENABLED] varchar(1) DEFAULT 'Y' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_LISTS] ADD CONSTRAINT [PK_APP_BOM_LISTS] PRIMARY KEY CLUSTERED ([LIST_ID], [ITEM]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_STRUCTURE] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [PARENT_DATA_CATEGORY] varchar(20) NOT NULL,
+ [PARENT_DATA_ID] varchar(20) NOT NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_STRUCTURE] ADD CONSTRAINT [PK_APP_BOM_STRUCTURE] PRIMARY KEY CLUSTERED ([DATA_ID], [PARENT_DATA_CATEGORY], [PARENT_DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE VIEW view_bom as select BOM_MATERIAL.BOM_ID AS 'bom_id',
+ BOM_MATERIAL.BOM_VERSION AS 'bom_version',
+ BOM_MATERIAL.BOM_SEQUENCE AS 'display_order',
+ BOM_STAGE.DATA_STRING AS 'stage',
+ BOM_IN_OUT.DATA_ID AS 'input_output',
+ BOM_SEQUENCE.DATA_STRING AS 'sequence',
+ BOM_MATERIAL.DATA_STRING AS 'material',
+ BOM_MATERIAL.UUID AS 'material_uuid',
+ BOM_DESCRIPTION.DATA_STRING AS 'description',
+ BOM_QUANTITY.DATA_DECIMAL AS 'quantity',
+ BOM_TYPE.DATA_STRING AS 'type',
+ BOM_UOM.DATA_STRING AS 'uom',
+ BOM_GTIN.DATA_STRING AS 'gtin',
+ BOM_VARIANT.DATA_STRING AS 'variant',
+ BOM_LOCATION.DATA_STRING AS 'location_id',
+ BOM_LOCATION.UUID AS 'location_uuid'
+ from app_bom BOM_MATERIAL
+ left join app_bom BOM_DESCRIPTION on ((BOM_DESCRIPTION.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_DESCRIPTION.DATA_TYPE = 'string') and (BOM_DESCRIPTION.DATA_ID = 'description'))
+ left join app_bom BOM_QUANTITY on ((BOM_QUANTITY.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_QUANTITY.DATA_TYPE = 'decimal') and (BOM_QUANTITY.DATA_ID = 'quantity'))
+ left join app_bom BOM_SEQUENCE on ((BOM_SEQUENCE.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_SEQUENCE.DATA_TYPE = 'string') and (BOM_SEQUENCE.DATA_ID = 'sequence'))
+ left join app_bom BOM_TYPE on ((BOM_TYPE.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_TYPE.DATA_TYPE = 'string') and (BOM_TYPE.DATA_ID = 'type'))
+ left join app_bom BOM_UOM on ((BOM_UOM.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_UOM.DATA_TYPE = 'string') and (BOM_UOM.DATA_ID = 'uom'))
+ left join app_bom BOM_GTIN on ((BOM_GTIN.PARENT_UUID = BOM_UOM.UUID) and (BOM_GTIN.DATA_TYPE = 'string') and (BOM_GTIN.DATA_ID = 'gtin'))
+ left join app_bom BOM_VARIANT on ((BOM_VARIANT.PARENT_UUID = BOM_UOM.UUID) and (BOM_VARIANT.DATA_TYPE = 'string') and (BOM_VARIANT.DATA_ID = 'variant'))
+ left join app_bom BOM_IN_OUT on ((BOM_IN_OUT.UUID = BOM_MATERIAL.PARENT_UUID) and (BOM_IN_OUT.DATA_TYPE = 'string') and (BOM_IN_OUT.DATA_ID in ('input','output')))
+ left join app_bom BOM_STAGE on ((BOM_STAGE.UUID = BOM_IN_OUT.PARENT_UUID) and (BOM_STAGE.DATA_TYPE = 'string') and (BOM_STAGE.DATA_ID = 'stage'))
+ left join app_bom BOM_LOCATION on ((BOM_LOCATION.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_LOCATION.DATA_TYPE = 'string') and (BOM_LOCATION.DATA_ID = 'location'))
+ where (BOM_MATERIAL.DATA_ID = 'material')
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_CATEGORY AS PARENT_DATA_CATEGORY,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770321', 'location_id', 'LANEA')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770322', 'location_id', 'LANEB')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770323', 'location_id', 'LANEC')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = ''location_id'' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = ''material_type'' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = ''uom'' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant')
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('gtin', 'value', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('input', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('location_id', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('output', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('quantity', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('root', '', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('runtime', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('sequence', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('stage', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('type', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('uom', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('updated', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('variant', 'value', 'uom')
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [MSG_PALLET_ISSUE] varchar(1) DEFAULT 'Y'
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [MSG_PALLET_RETURN] varchar(1) DEFAULT 'Y'
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [BARCODE_ID] varchar(25) DEFAULT ''
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml
new file mode 100644
index 000000000..914f0859a
--- /dev/null
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml
@@ -0,0 +1,337 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ drop view view_bom_structure
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_CATEGORY AS PARENT_DATA_CATEGORY,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP TABLE [dbo].[APP_BOM_STRUCTURE]
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_STRUCTURE] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [PARENT_DATA_ID] varchar(20) NOT NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_STRUCTURE] ADD CONSTRAINT [PK_APP_BOM_STRUCTURE] PRIMARY KEY CLUSTERED ([DATA_ID], [PARENT_DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ DROP view view_bom_structure
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('gtin', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('input', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('location_id', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('output', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('quantity', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('root', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('runtime', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('sequence', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('stage', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('type', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('uom', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('updated', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('variant', 'uom')
+
+
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml
new file mode 100644
index 000000000..738f63bd8
--- /dev/null
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
index fbc365f9f..cd02dcb15 100644
--- a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
@@ -94,7 +94,7 @@
- CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS
+ CREATE VIEW `view_pallet_samples` AS
SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
@@ -156,7 +156,7 @@
- CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_sample_point_locations` AS select distinct `APP_WEIGHT_SAMPLE_POINT`.`LOCATION` AS `Location` from `APP_WEIGHT_SAMPLE_POINT`
+ CREATE VIEW `view_sample_point_locations` AS select distinct `APP_WEIGHT_SAMPLE_POINT`.`LOCATION` AS `Location` from `APP_WEIGHT_SAMPLE_POINT`
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
index b60f4b2b3..7436bcc60 100644
--- a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
@@ -7,7 +7,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
@@ -68,7 +68,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_sorting_qty_diffs` AS SELECT
+ CREATE OR REPLACE VIEW `view_sorting_qty_diffs` AS SELECT
`APP_PALLET_EXTENSION`.`SSCC` AS `SSCC`,
`APP_PALLET_EXTENSION`.`PALLET_QUANTITY` AS `PALLET_QUANTITY`,
`APP_PALLET`.`QUANTITY` AS `QUANTITY`,
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
index cb4b7365f..ecde3d370 100644
--- a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_results` AS SELECT
+ CREATE OR REPLACE VIEW `view_qm_results` AS SELECT
`APP_QM_SAMPLE`.`PROCESS_ORDER` AS `PROCESS_ORDER`,
`APP_QM_SAMPLE`.`MATERIAL` AS `MATERIAL`,
`APP_QM_SAMPLE`.`SAMPLE_ID` AS `SAMPLE_ID`,
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
index 82761953b..479d49bdd 100644
--- a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_panel_results` AS
+ CREATE OR REPLACE VIEW `view_qm_panel_results` AS
SELECT
APP_QM_PANEL.PANEL_ID,
APP_QM_PANEL_TRAY.TRAY_ID,
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
index 1679337fb..7cd97f14f 100644
--- a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
@@ -345,7 +345,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
index 7d316e2c9..00887539f 100644
--- a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_results` AS
+ CREATE OR REPLACE VIEW `view_qm_results` AS
SELECT samp.PROCESS_ORDER as 'PROCESS_ORDER',
samp.MATERIAL as 'MATERIAL',
samp.SAMPLE_ID as 'SAMPLE_ID',
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
index 46026ca58..0ae5fd149 100644
--- a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
@@ -44,7 +44,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml
new file mode 100644
index 000000000..1acd4c6d1
--- /dev/null
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml
@@ -0,0 +1,672 @@
+
+
+
+
+
+ CREATE TABLE `APP_BOM` (
+ `BOM_ID` varchar(20) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT '',
+ `BOM_VERSION` varchar(10) NOT NULL DEFAULT '',
+ `BOM_SEQUENCE` int NOT NULL DEFAULT '0',
+ `DATA_ID` varchar(20) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT '',
+ `DATA_TYPE` varchar(20) DEFAULT '',
+ `DATA_STRING` varchar(255) DEFAULT '',
+ `DATA_DECIMAL` decimal(22,3) unsigned DEFAULT NULL,
+ `DATA_DATE` datetime DEFAULT NULL,
+ `DATA_TIMESTAMP` timestamp NULL DEFAULT NULL,
+ `UUID` varchar(50) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT (uuid()),
+ `PARENT_UUID` varchar(50) DEFAULT NULL,
+ PRIMARY KEY (`BOM_ID`,`BOM_VERSION`,`DATA_ID`,`UUID`) USING BTREE,
+ UNIQUE KEY `UUID_NDX` (`UUID`) USING BTREE,
+ KEY `UUID_PARENT_NDX` (`PARENT_UUID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_DEFAULTS` (
+ `SOURCE_FIELD` varchar(32) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `SOURCE_VALUE` varchar(50) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `DESTINATION_FIELD` varchar(32) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `DESTINATION_VALUE` varchar(50) CHARACTER SET {charset} COLLATE {collation} DEFAULT NULL,
+ PRIMARY KEY (`SOURCE_FIELD`,`SOURCE_VALUE`,`DESTINATION_FIELD`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_ELEMENTS` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `DATA_TYPE` varchar(20) DEFAULT NULL,
+ `ENABLE_EDIT` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_CREATE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_DELETE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_DUPLICATE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_CLIPBOARD` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `MAX_OCCUR_LEVEL` int DEFAULT '1',
+ `ENABLE_LOOKUP` varchar(1) DEFAULT 'Y',
+ `LOOKUP_SQL` varchar(255) DEFAULT '',
+ `LOOKUP_FIELD` varchar(32) DEFAULT '',
+ `ICON_FILENAME` varchar(80) DEFAULT '',
+ `DESCRIPTION` varchar(80) DEFAULT '',
+ PRIMARY KEY (`DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_LISTS` (
+ `LIST_ID` varchar(25) NOT NULL DEFAULT '',
+ `ITEM` varchar(50) NOT NULL DEFAULT '',
+ `SEQUENCE` int DEFAULT '0',
+ `ENABLED` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ PRIMARY KEY (`LIST_ID`,`ITEM`)
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+
+ CREATE TABLE `APP_BOM_STRUCTURE` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `PARENT_DATA_CATEGORY` varchar(20) NOT NULL,
+ `PARENT_DATA_ID` varchar(20) NOT NULL,
+ PRIMARY KEY (`DATA_ID`,`PARENT_DATA_CATEGORY`,`PARENT_DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+
+ CREATE VIEW `view_bom` AS
+ select `BOM_MATERIAL`.`BOM_ID` AS `bom_id`,
+ `BOM_MATERIAL`.`BOM_VERSION` AS `bom_version`,
+ `BOM_MATERIAL`.`BOM_SEQUENCE` AS `display_order`,
+ `BOM_STAGE`.`DATA_STRING` AS `stage`,
+ `BOM_IN_OUT`.`DATA_ID` AS `input_output`,
+ `BOM_SEQUENCE`.`DATA_STRING` AS `sequence`,
+ `BOM_MATERIAL`.`DATA_STRING` AS `material`,
+ `BOM_MATERIAL`.`UUID` AS `material_uuid`,
+ `BOM_DESCRIPTION`.`DATA_STRING` AS `description`,
+ `BOM_QUANTITY`.`DATA_DECIMAL` AS `quantity`,
+ `BOM_TYPE`.`DATA_STRING` AS `type`,
+ `BOM_UOM`.`DATA_STRING` AS `uom`,
+ `BOM_GTIN`.`DATA_STRING` AS `gtin`,
+ `BOM_VARIANT`.`DATA_STRING` AS `variant`,
+ `BOM_LOCATION`.`DATA_STRING` AS `location_id`,
+ `BOM_LOCATION`.`UUID` AS `location_uuid`
+ from `app_bom` `BOM_MATERIAL`
+ left join `app_bom` `BOM_DESCRIPTION` on (`BOM_DESCRIPTION`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_DESCRIPTION`.`DATA_TYPE` = 'string')
+ and (`BOM_DESCRIPTION`.`DATA_ID` = 'description')
+ left join `app_bom` `BOM_QUANTITY` on (`BOM_QUANTITY`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_QUANTITY`.`DATA_TYPE` = 'decimal')
+ and (`BOM_QUANTITY`.`DATA_ID` = 'quantity')
+ left join `app_bom` `BOM_SEQUENCE` on (`BOM_SEQUENCE`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_SEQUENCE`.`DATA_TYPE` = 'string')
+ and (`BOM_SEQUENCE`.`DATA_ID` = 'sequence')
+ left join `app_bom` `BOM_TYPE` on (`BOM_TYPE`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_TYPE`.`DATA_TYPE` = 'string')
+ and (`BOM_TYPE`.`DATA_ID` = 'type')
+ left join `app_bom` `BOM_UOM` on (`BOM_UOM`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_UOM`.`DATA_TYPE` = 'string')
+ and (`BOM_UOM`.`DATA_ID` = 'uom')
+ left join `app_bom` `BOM_GTIN` on (`BOM_GTIN`.`PARENT_UUID` = `BOM_UOM`.`UUID`)
+ and (`BOM_GTIN`.`DATA_TYPE` = 'string')
+ and (`BOM_GTIN`.`DATA_ID` = 'gtin')
+ left join `app_bom` `BOM_VARIANT` on (`BOM_VARIANT`.`PARENT_UUID` = `BOM_UOM`.`UUID`)
+ and (`BOM_VARIANT`.`DATA_TYPE` = 'string')
+ and (`BOM_VARIANT`.`DATA_ID` = 'variant')
+ left join `app_bom` `BOM_IN_OUT` on (`BOM_IN_OUT`.`UUID` = `BOM_MATERIAL`.`PARENT_UUID`)
+ and (`BOM_IN_OUT`.`DATA_TYPE` = 'string')
+ and (`BOM_IN_OUT`.`DATA_ID` in ('input','output'))
+ left join `app_bom` `BOM_STAGE` on (`BOM_STAGE`.`UUID` = `BOM_IN_OUT`.`PARENT_UUID`)
+ and (`BOM_STAGE`.`DATA_TYPE` = 'string')
+ and (`BOM_STAGE`.`DATA_ID` = 'stage')
+ left join `app_bom` `BOM_LOCATION` on (`BOM_LOCATION`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_LOCATION`.`DATA_TYPE` = 'string')
+ and (`BOM_LOCATION`.`DATA_ID` = 'location_id')
+ where (`BOM_MATERIAL`.`DATA_ID` = 'material')
+ order by `BOM_MATERIAL`.`BOM_ID`,`BOM_MATERIAL`.`BOM_VERSION`,`BOM_IN_OUT`.`DATA_ID`,`BOM_SEQUENCE`.`DATA_ID`,`BOM_MATERIAL`.`BOM_SEQUENCE`,`BOM_MATERIAL`.`UUID`;
+
+
+
+
+ CREATE VIEW `view_bom_structure` AS
+ select `app_bom_structure`.`DATA_ID` AS `DATA_ID`,
+ `app_bom_elements`.`DATA_TYPE` AS `DATA_TYPE`,
+ `app_bom_structure`.`PARENT_DATA_ID` AS `PARENT_DATA_ID`,
+ `app_bom_elements`.`ENABLE_EDIT` AS `ENABLE_EDIT`,
+ `app_bom_elements`.`ENABLE_CREATE` AS `ENABLE_CREATE`,
+ `app_bom_elements`.`ENABLE_DELETE` AS `ENABLE_DELETE`,
+ `app_bom_elements`.`ENABLE_DUPLICATE` AS `ENABLE_DUPLICATE`,
+ `app_bom_elements`.`ENABLE_CLIPBOARD` AS `ENABLE_CLIPBOARD`,
+ `app_bom_elements`.`ENABLE_LOOKUP` AS `ENABLE_LOOKUP`,
+ `app_bom_elements`.`LOOKUP_SQL` AS `LOOKUP_SQL`,
+ `app_bom_elements`.`LOOKUP_FIELD` AS `LOOKUP_FIELD`,
+ `app_bom_elements`.`ICON_FILENAME` AS `ICON_FILENAME`,
+ `app_bom_elements`.`MAX_OCCUR_LEVEL` AS `MAX_OCCUR_LEVEL`,
+ `app_bom_elements`.`DESCRIPTION` AS `DESCRIPTION`
+ from (`app_bom_structure`
+ join `app_bom_elements`
+ on((`app_bom_structure`.`DATA_ID` = `app_bom_elements`.`DATA_ID`)));
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770321', 'location_id', 'LANEA');
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770322', 'location_id', 'LANEB');
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770323', 'location_id', 'LANEC');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = \'location_id\' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = \'material_type\' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = \'uom\' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant');
+
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('description', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('description', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('gtin', 'value', 'uom');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('hrs', 'section', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('hrs', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('input', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('location_id', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('line', 'section', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('line', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('material', 'section', 'input');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('material', 'section', 'output');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('output', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('quantity', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('resource', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('resource', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('root', '', '');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('runtime', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('sequence', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('stage', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('type', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('uom', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('updated', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('variant', 'value', 'uom');
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE `APP_LOCATION`
+ ADD COLUMN `MSG_PALLET_ISSUE` varchar(1) NULL DEFAULT 'Y' AFTER `MSG_PROD_UNCONFIRM`,
+ ADD COLUMN `MSG_PALLET_RETURN` varchar(1) NULL DEFAULT 'Y' AFTER `MSG_PALLET_ISSUE`,
+ ADD COLUMN `BARCODE_ID` varchar(25) NULL DEFAULT '' AFTER `MSG_PALLET_RETURN`;
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml
new file mode 100644
index 000000000..38f7b3dec
--- /dev/null
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml
@@ -0,0 +1,358 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP TABLE `APP_BOM_STRUCTURE`;
+
+
+
+ CREATE TABLE `APP_BOM_STRUCTURE` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `PARENT_DATA_ID` varchar(20) NOT NULL,
+ PRIMARY KEY (`DATA_ID`,`PARENT_DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ DROP VIEW `view_bom_structure`
+
+
+
+ CREATE VIEW `view_bom_structure` AS
+ select `app_bom_structure`.`DATA_ID` AS `DATA_ID`,
+ `app_bom_elements`.`DATA_TYPE` AS `DATA_TYPE`,
+ `app_bom_structure`.`PARENT_DATA_ID` AS `PARENT_DATA_ID`,
+ `app_bom_elements`.`ENABLE_EDIT` AS `ENABLE_EDIT`,
+ `app_bom_elements`.`ENABLE_CREATE` AS `ENABLE_CREATE`,
+ `app_bom_elements`.`ENABLE_DELETE` AS `ENABLE_DELETE`,
+ `app_bom_elements`.`ENABLE_DUPLICATE` AS `ENABLE_DUPLICATE`,
+ `app_bom_elements`.`ENABLE_CLIPBOARD` AS `ENABLE_CLIPBOARD`,
+ `app_bom_elements`.`ENABLE_LOOKUP` AS `ENABLE_LOOKUP`,
+ `app_bom_elements`.`LOOKUP_SQL` AS `LOOKUP_SQL`,
+ `app_bom_elements`.`LOOKUP_FIELD` AS `LOOKUP_FIELD`,
+ `app_bom_elements`.`ICON_FILENAME` AS `ICON_FILENAME`,
+ `app_bom_elements`.`MAX_OCCUR_LEVEL` AS `MAX_OCCUR_LEVEL`,
+ `app_bom_elements`.`DESCRIPTION` AS `DESCRIPTION`
+ from (`app_bom_structure`
+ join `app_bom_elements`
+ on((`app_bom_structure`.`DATA_ID` = `app_bom_elements`.`DATA_ID`)));
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('description', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('description', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('gtin', 'uom');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('hrs', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('hrs', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('input', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('location_id', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('line', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('line', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('material', 'input');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('material', 'output');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('output', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('quantity', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('resource', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('resource', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('root', '');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('runtime', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('sequence', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('stage', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('type', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('uom', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('updated', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('variant', 'uom');
+
+
+
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml
new file mode 100644
index 000000000..32738e209
--- /dev/null
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml
new file mode 100644
index 000000000..d78048a6a
--- /dev/null
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml
@@ -0,0 +1,556 @@
+
+
+
+
+ CREATE TABLE "APP_BOM" (
+ "BOM_ID" VARCHAR2(20) DEFAULT '' NOT NULL,
+ "BOM_VERSION" VARCHAR2(10) DEFAULT '' NOT NULL,
+ "BOM_SEQUENCE" INT DEFAULT 0 NOT NULL,
+ "DATA_ID" VARCHAR2(20) DEFAULT '' NOT NULL,
+ "DATA_TYPE" VARCHAR2(20) DEFAULT '',
+ "DATA_STRING" VARCHAR2(255) DEFAULT '',
+ "DATA_DECIMAL" NUMERIC(22,3) DEFAULT NULL,
+ "DATA_DATE" TIMESTAMP DEFAULT NULL,
+ "DATA_TIMESTAMP" TIMESTAMP DEFAULT NULL,
+ "UUID" VARCHAR2(50) DEFAULT '' NOT NULL,
+ "PARENT_UUID" VARCHAR2(50) DEFAULT '',
+ PRIMARY KEY ("BOM_ID", "BOM_VERSION", "DATA_ID", "UUID") )
+
+
+
+ CREATE TABLE "APP_BOM_DEFAULTS" (
+ "SOURCE_FIELD" VARCHAR2(32) NOT NULL,
+ "SOURCE_VALUE" VARCHAR2(50) NOT NULL,
+ "DESTINATION_FIELD" VARCHAR2(32) NOT NULL,
+ "DESTINATION_VALUE" VARCHAR2(50),
+ PRIMARY KEY ("SOURCE_FIELD", "SOURCE_VALUE", "DESTINATION_FIELD") )
+
+
+
+ CREATE TABLE "APP_BOM_ELEMENTS" (
+ "DATA_ID" VARCHAR2(20) NOT NULL,
+ "DATA_TYPE" VARCHAR2(20),
+ "ENABLE_EDIT" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_CREATE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_DELETE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_DUPLICATE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_CLIPBOARD" VARCHAR2(1) DEFAULT 'Y',
+ "MAX_OCCUR_LEVEL" INT,
+ "ENABLE_LOOKUP" VARCHAR2(1) DEFAULT 'Y',
+ "LOOKUP_SQL" VARCHAR2(255) DEFAULT '',
+ "LOOKUP_FIELD" VARCHAR2(32) DEFAULT '',
+ "ICON_FILENAME" VARCHAR2(80) DEFAULT '',
+ "DESCRIPTION" VARCHAR2(80) DEFAULT '',
+ PRIMARY KEY ("DATA_ID") )
+
+
+
+ CREATE TABLE "APP_BOM_LISTS" (
+ "LIST_ID" VARCHAR2(25 BYTE) VISIBLE DEFAULT '',
+ "ITEM" VARCHAR2(50 BYTE) VISIBLE DEFAULT '',
+ "SEQUENCE" NUMBER VISIBLE DEFAULT 0,
+ "ENABLED" VARCHAR2(1 BYTE) VISIBLE DEFAULT 'Y')
+
+
+
+ CREATE INDEX "IDX_APP_BOM_LISTS1"
+ ON "APP_BOM_LISTS" ("LIST_ID" ASC, "ITEM" ASC)
+
+
+
+ CREATE TABLE "APP_BOM_STRUCTURE" (
+ "DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '',
+ "PARENT_DATA_CATEGORY" VARCHAR2(20) VISIBLE DEFAULT '' ,
+ "PARENT_DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '' )
+
+
+
+ CREATE INDEX "IDX_APP_BOM_STRUCTURE1"
+ ON "APP_BOM_STRUCTURE" ("DATA_ID" ASC, "PARENT_DATA_CATEGORY" ASC, "PARENT_DATA_ID" ASC)
+
+
+
+ CREATE OR REPLACE VIEW view_bom as
+ SELECT BOM_MATERIAL.BOM_ID bom_id,
+ BOM_MATERIAL.BOM_VERSION bom_version,
+ BOM_MATERIAL.BOM_SEQUENCE display_order,
+ BOM_STAGE.DATA_STRING stage,
+ BOM_IN_OUT.DATA_ID input_output,
+ BOM_SEQUENCE.DATA_STRING sequence,
+ BOM_MATERIAL.DATA_STRING material,
+ BOM_MATERIAL.UUID material_uuid,
+ BOM_DESCRIPTION.DATA_STRING description,
+ BOM_QUANTITY.DATA_DECIMAL quantity,
+ BOM_TYPE.DATA_STRING TYPE,
+ BOM_UOM.DATA_STRING uom,
+ BOM_GTIN.DATA_STRING gtin,
+ BOM_VARIANT.DATA_STRING variant,
+ BOM_LOCATION.DATA_STRING location_id,
+ BOM_LOCATION.UUID location_uuid
+ FROM app_bom BOM_MATERIAL
+ LEFT JOIN app_bom BOM_DESCRIPTION ON ( ( BOM_DESCRIPTION.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_DESCRIPTION.DATA_TYPE = 'string' ) AND ( BOM_DESCRIPTION.DATA_ID = 'description' ) )
+ LEFT JOIN app_bom BOM_QUANTITY ON ( ( BOM_QUANTITY.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_QUANTITY.DATA_TYPE = 'decimal' ) AND ( BOM_QUANTITY.DATA_ID = 'quantity' ) )
+ LEFT JOIN app_bom BOM_SEQUENCE ON ( ( BOM_SEQUENCE.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_SEQUENCE.DATA_TYPE = 'string' ) AND ( BOM_SEQUENCE.DATA_ID = 'sequence' ) )
+ LEFT JOIN app_bom BOM_TYPE ON ( ( BOM_TYPE.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_TYPE.DATA_TYPE = 'string' ) AND ( BOM_TYPE.DATA_ID = 'type' ) )
+ LEFT JOIN app_bom BOM_UOM ON ( ( BOM_UOM.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_UOM.DATA_TYPE = 'string' ) AND ( BOM_UOM.DATA_ID = 'uom' ) )
+ LEFT JOIN app_bom BOM_GTIN ON ( ( BOM_GTIN.PARENT_UUID = BOM_UOM.UUID ) AND ( BOM_GTIN.DATA_TYPE = 'string' ) AND ( BOM_GTIN.DATA_ID = 'gtin' ) )
+ LEFT JOIN app_bom BOM_VARIANT ON ( ( BOM_VARIANT.PARENT_UUID = BOM_UOM.UUID ) AND ( BOM_VARIANT.DATA_TYPE = 'string' ) AND ( BOM_VARIANT.DATA_ID = 'variant' ) )
+ LEFT JOIN app_bom BOM_IN_OUT ON ( ( BOM_IN_OUT.UUID = BOM_MATERIAL.PARENT_UUID ) AND ( BOM_IN_OUT.DATA_TYPE = 'string' ) AND ( BOM_IN_OUT.DATA_ID IN ( 'input', 'output' ) ) )
+ LEFT JOIN app_bom BOM_STAGE ON ( ( BOM_STAGE.UUID = BOM_IN_OUT.PARENT_UUID ) AND ( BOM_STAGE.DATA_TYPE = 'string' ) AND ( BOM_STAGE.DATA_ID = 'stage' ) )
+ LEFT JOIN app_bom BOM_LOCATION ON ( ( BOM_LOCATION.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_LOCATION.DATA_TYPE = 'string' ) AND ( BOM_LOCATION.DATA_ID = 'location_id' ) )
+ WHERE ( BOM_MATERIAL.DATA_ID = 'material' )
+
+
+
+ CREATE OR REPLACE VIEW view_bom_structure AS
+ SELECT app_bom_structure.DATA_ID DATA_ID,
+ app_bom_elements.DATA_TYPE DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION DESCRIPTION
+ FROM (app_bom_structure JOIN app_bom_elements ON ((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770321', 'location_id', 'LANEA')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770322', 'location_id', 'LANEB')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770323', 'location_id', 'LANEC')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = ''location_id'' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = ''material_type'' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = ''uom'' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant')
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('gtin', 'value', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('input', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('location_id', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('output', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('quantity', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('root', '', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('runtime', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('sequence', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('stage', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('type', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('uom', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('updated', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('variant', 'value', 'uom')
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+mod_FRM_BOM_ADMIN
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE "APP_LOCATION"
+ ADD ("MSG_PALLET_ISSUE" VARCHAR2(1) DEFAULT 'Y')
+ ADD ("MSG_PALLET_RETURN" VARCHAR2(1) DEFAULT 'Y')
+ ADD ("BARCODE_ID" VARCHAR2(25) DEFAULT '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml
new file mode 100644
index 000000000..61c549a6e
--- /dev/null
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml
@@ -0,0 +1,314 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP INDEX "IDX_APP_BOM_STRUCTURE1"
+
+
+
+ DROP TABLE "APP_BOM_STRUCTURE"
+
+
+
+ CREATE TABLE "APP_BOM_STRUCTURE" (
+ "DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '',
+ "PARENT_DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '' )
+
+
+
+ CREATE INDEX "IDX_APP_BOM_STRUCTURE1"
+ ON "APP_BOM_STRUCTURE" ("DATA_ID" ASC, "PARENT_DATA_ID" ASC)
+
+
+
+ CREATE OR REPLACE VIEW view_bom_structure AS
+ SELECT app_bom_structure.DATA_ID DATA_ID,
+ app_bom_elements.DATA_TYPE DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION DESCRIPTION
+ FROM (app_bom_structure JOIN app_bom_elements ON ((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('gtin', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('input', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('location_id', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('output', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('quantity', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('root', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('runtime', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('sequence', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('stage', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('type', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('uom', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('updated', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('variant', 'uom')
+
+
+
diff --git a/b6web_t10_wm_eb18/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml b/b6web_t10_wm_eb18/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml
new file mode 100644
index 000000000..3166d412d
--- /dev/null
+++ b/b6web_t10_wm_eb18/WebContent/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/b6web_t10_wm_eb18/WebContent/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml b/b6web_t10_wm_eb18/WebContent/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
index 337bb1136..6445ca54c 100644
--- a/b6web_t10_wm_eb18/WebContent/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
+++ b/b6web_t10_wm_eb18/WebContent/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [view_pallet_history_expiry]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [view_pallet_history]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(IIF(transaction_type = 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value = ?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,7 +286,7 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(a.module_id) from [view_security] a where a.user_id = ? order by a.module_id
@@ -291,24 +297,24 @@
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
-
+
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}view_permissions order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,u.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,u.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT a.* FROM [view_menu_structure]a WHERE a.MENU_ID = ? AND a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT a.* FROM [view_rf_menu]a WHERE a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT a.* FROM [view_toolbar]a WHERE a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,[updated]=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -584,8 +587,8 @@
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,7 +617,7 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
@@ -643,7 +646,15 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER
-
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
+
JDBProcessOrder.ViewResource
select * from view_process_order_resource
@@ -651,7 +662,7 @@
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from view_process_order_resource where process_order=?
-
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,18 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -745,7 +772,7 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -800,39 +827,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- P.SSCC,
- P.STATUS AS 'PALLET_STATUS',
- P.LOCATION_ID,
- P.DESPATCH_NO,
- MB.MATERIAL,
- MB.BATCH_NUMBER,
- MB.STATUS AS 'BATCH_STATUS'
- FROM
- APP_PALLET P,
- APP_MATERIAL_BATCH MB
- WHERE
- MB.MATERIAL = P.MATERIAL
- AND MB.BATCH_NUMBER = P.BATCH_NUMBER
- AND P.DESPATCH_NO = %1
- AND (
- P.STATUS NOT IN ( %2 )
- OR MB.STATUS NOT IN ( %3 )
- )
-
+ SELECT P.SSCC, P.STATUS AS 'PALLET_STATUS', P.LOCATION_ID, P.DESPATCH_NO, MB.MATERIAL, MB.BATCH_NUMBER, MB.STATUS AS 'BATCH_STATUS' FROM APP_PALLET P, APP_MATERIAL_BATCH MB WHERE MB.MATERIAL = P.MATERIAL AND MB.BATCH_NUMBER = P.BATCH_NUMBER AND P.DESPATCH_NO = %1 AND ( P.STATUS NOT IN ( %2 ) OR MB.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +858,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +875,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +896,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (report_request_id,module_id,invocation_mode,parameter_count,parameter_delimiter,parameter_names,parameter_types,parameter_values,sql,print_queue_name,print_copies) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +913,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +938,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +967,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +996,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1025,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1050,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1071,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1092,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1117,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1142,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1167,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1192,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1221,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1250,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1287,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1323,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1348,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1381,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1406,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1427,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}view_label_data WHERE UNIQUE_ID = ?
@@ -1432,96 +1436,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}view_auto_labeller_printer where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}view_auto_labeller_printer
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1537,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1573,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1599,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1657,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1670,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1703,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1711,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}view_barcode_validate where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1738,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1763,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1792,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1804,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1821,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1850,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1879,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1912,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1923,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1960,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +2003,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2032,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2059,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2072,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2097,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2122,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2130,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2163,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2210,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2219,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2243,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2264,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2284,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2292,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2321,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2339,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2376,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2401,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2430,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2442,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2455,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?, sample_point = ?, id=?,lane_1=?,lane_2=?,lane_3=?,lane_4=?,lane_5=? where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2496,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2529,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2570,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2594,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2603,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2619,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2642,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2673,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select top (?) * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc
+ select top (?) * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2700,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2725,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2749,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2761,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,11 +2778,11 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
@@ -2909,6 +2795,184 @@
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
-
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM >'' AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/b6web_t10_wm_eb18/WebContent/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml b/b6web_t10_wm_eb18/WebContent/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
index c6e3009e7..f80059eaa 100644
--- a/b6web_t10_wm_eb18/WebContent/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
+++ b/b6web_t10_wm_eb18/WebContent/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [view_pallet_history_expiry]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [view_pallet_history]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(IF(transaction_type = 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value = ?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,7 +286,7 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(S.module_id) from [view_security] as S where S.user_id = ? order by module_id
@@ -291,24 +297,24 @@
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
-
+
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}view_permissions order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,u.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,u.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT * FROM [view_menu_structure] AS M WHERE M.MENU_ID = ? AND M.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT * FROM [view_rf_menu] AS T WHERE T.MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT * FROM [view_toolbar] AS T WHERE T.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,updated=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -584,8 +587,8 @@
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,7 +617,7 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
@@ -643,7 +646,15 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER
-
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
+
JDBProcessOrder.ViewResource
select * from view_process_order_resource
@@ -651,7 +662,7 @@
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from view_process_order_resource where process_order=?
-
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,14 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -745,7 +768,7 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -800,39 +823,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- P.SSCC,
- P.STATUS AS 'PALLET_STATUS',
- P.LOCATION_ID,
- P.DESPATCH_NO,
- MB.MATERIAL,
- MB.BATCH_NUMBER,
- MB.STATUS AS 'BATCH_STATUS'
- FROM
- APP_PALLET P,
- APP_MATERIAL_BATCH MB
- WHERE
- MB.MATERIAL = P.MATERIAL
- AND MB.BATCH_NUMBER = P.BATCH_NUMBER
- AND P.DESPATCH_NO = %1
- AND (
- P.STATUS NOT IN ( %2 )
- OR MB.STATUS NOT IN ( %3 )
- )
-
+ SELECT P.SSCC, P.STATUS AS 'PALLET_STATUS', P.LOCATION_ID, P.DESPATCH_NO, MB.MATERIAL, MB.BATCH_NUMBER, MB.STATUS AS 'BATCH_STATUS' FROM APP_PALLET P, APP_MATERIAL_BATCH MB WHERE MB.MATERIAL = P.MATERIAL AND MB.BATCH_NUMBER = P.BATCH_NUMBER AND P.DESPATCH_NO = %1 AND ( P.STATUS NOT IN ( %2 ) OR MB.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +854,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +871,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +892,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (`REPORT_REQUEST_ID`,`MODULE_ID`,`INVOCATION_MODE`,`PARAMETER_COUNT`,`PARAMETER_DELIMITER`,`PARAMETER_NAMES`,`PARAMETER_TYPES`,`PARAMETER_VALUES`,`SQL`,`PRINT_QUEUE_NAME`,`PRINT_COPIES`) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +909,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +934,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +963,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +992,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1021,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1046,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1067,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1088,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1113,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1138,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1163,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1188,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1217,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1246,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1283,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1319,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1344,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1377,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1402,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1423,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}view_label_data WHERE UNIQUE_ID = ?
@@ -1432,96 +1432,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}view_auto_labeller_printer where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}view_auto_labeller_printer
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1533,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1569,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1595,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1653,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1666,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1699,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1707,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}view_barcode_validate where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1734,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1759,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1788,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1800,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1817,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1846,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1875,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1908,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1919,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1956,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +1999,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2028,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2055,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2068,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2093,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2118,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2126,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2159,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2206,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2215,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2239,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2260,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2280,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2288,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2317,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2335,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2372,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2397,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2426,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2438,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2451,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?, sample_point = ?, id=?,lane_1=?,lane_2=?,lane_3=?,lane_4=?,lane_5=? where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2492,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2525,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2566,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2590,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2599,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2615,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2638,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2669,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc limit ?
+ select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc limit ?
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2696,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2721,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2745,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2757,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,23 +2774,201 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
JDBOperatives.getOperatives
select * from {schema}APP_OPERATIVES order by id
-
-
+
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
-
+
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM >'' AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/b6web_t10_wm_eb18/WebContent/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml b/b6web_t10_wm_eb18/WebContent/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
index 2a895fb6b..289b81c79 100644
--- a/b6web_t10_wm_eb18/WebContent/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
+++ b/b6web_t10_wm_eb18/WebContent/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [VIEW_PALLET_HISTORY_EXPIRY]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [VIEW_PALLET_HISTORY]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(DECODE(transaction_type, 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value =?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,35 +286,35 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(module_id) from [view_security] where user_id = ? order by module_id
JDBUser.changePassword
- update {schema}SYS_USERS set Password = ?,last_password_change = ?,password_version=password_version+1,password_change_required='N',password_encrypted=? where user_id = ?
+ update {schema}SYS_USERS set Password = ?,last_password_change = ?,password_version=password_version+1,password_change_required='N',password_encrypted=? where user_id = ?
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
-
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -332,7 +338,7 @@
JDBUser.enable
update {schema}SYS_USERS set account_enabled = 'Y' where user_id = ?
-
+
JDBUser.getUserGroupsUnAssigned
select group_id from {schema}SYS_GROUPS where group_id not in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?) order by group_id
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}VIEW_PERMISSIONS order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,U.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,U.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT * FROM [view_menu_structure]WHERE MENU_ID = ? AND MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT * FROM [view_rf_menu]WHERE MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT * FROM [view_toolbar]WHERE MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,updated=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material= ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -580,12 +583,12 @@
JDBJourney.delete
delete from {schema}APP_JOURNEY where journey_ref = ?
-
+
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,11 +617,11 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
-
+
JDBProcessOrder.create
insert into {schema}APP_PROCESS_ORDER (process_order) values (?)
@@ -629,7 +632,7 @@
JDBProcessOrder.getProcessOrderProperties
- select * from {schema}APP_PROCESS_ORDER where process_order = ?
+ select * from {schema}APP_PROCESS_ORDER where process_order = ?
JDBProcessOrder.isValidProcessOrder
@@ -643,15 +646,23 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
JDBProcessOrder.ViewResource
select * from VIEW_PROCESS_ORDER_RESOURCE
-
+
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from VIEW_PROCESS_ORDER_RESOURCE where process_order=?
-
-
+
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,18 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -744,8 +771,8 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
-
+
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -769,7 +796,7 @@
JDBDespatch.setConfirmed
update {schema}APP_DESPATCH set transaction_ref=?,status=?,despatch_date=?,total_pallets=(select count(sscc) from {schema}APP_PALLET where despatch_no = ?) where despatch_no=?
-
+
JDBDespatch.getDespatchProperties
select * from {schema}APP_DESPATCH where despatch_no = ?
@@ -800,39 +827,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- APP_PALLET.SSCC,
- APP_PALLET.STATUS "PALLET_STATUS",
- APP_PALLET.LOCATION_ID,
- APP_PALLET.DESPATCH_NO,
- APP_MATERIAL_BATCH.MATERIAL,
- APP_MATERIAL_BATCH.BATCH_NUMBER,
- APP_MATERIAL_BATCH.STATUS AS "BATCH_STATUS"
- FROM
- APP_PALLET,
- APP_MATERIAL_BATCH
- WHERE
- APP_MATERIAL_BATCH.MATERIAL = APP_PALLET.MATERIAL
- AND APP_MATERIAL_BATCH.BATCH_NUMBER = APP_PALLET.BATCH_NUMBER
- AND APP_PALLET.DESPATCH_NO = %1
- AND (
- APP_PALLET.STATUS NOT IN ( %2 )
- OR APP_MATERIAL_BATCH.STATUS NOT IN ( %3 )
- )
-
+ SELECT APP_PALLET.SSCC, APP_PALLET.STATUS "PALLET_STATUS", APP_PALLET.LOCATION_ID, APP_PALLET.DESPATCH_NO, APP_MATERIAL_BATCH.MATERIAL, APP_MATERIAL_BATCH.BATCH_NUMBER, APP_MATERIAL_BATCH.STATUS AS "BATCH_STATUS" FROM APP_PALLET, APP_MATERIAL_BATCH WHERE APP_MATERIAL_BATCH.MATERIAL = APP_PALLET.MATERIAL AND APP_MATERIAL_BATCH.BATCH_NUMBER = APP_PALLET.BATCH_NUMBER AND APP_PALLET.DESPATCH_NO = %1 AND ( APP_PALLET.STATUS NOT IN ( %2 ) OR APP_MATERIAL_BATCH.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +858,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +875,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +896,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (report_request_id,module_id,invocation_mode,parameter_count,parameter_delimiter,parameter_names,parameter_types,parameter_values,sql,print_queue_name,print_copies) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +913,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +938,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +967,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +996,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1025,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1050,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1071,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1092,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1117,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1142,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1167,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1192,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1221,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1250,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1287,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1323,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1348,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1381,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1406,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1427,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}VIEW_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1432,96 +1436,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}VIEW_AUTO_LABELLER_PRINTER where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}VIEW_AUTO_LABELLER_PRINTER
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1537,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1573,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1599,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1657,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1670,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1703,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1711,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}VIEW_BARCODE_VALIDATE where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1738,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1763,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1792,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1804,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1821,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1850,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1879,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1912,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1923,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
+
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1960,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +2003,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2032,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2059,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2072,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2097,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2122,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2130,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2163,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2210,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2219,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2243,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2264,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2284,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2292,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2321,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2339,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2376,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2401,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2430,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2442,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2455,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?,sample_point = ?, id=?, lane_1=?, lane_1=2, lane_1=3, lane_1=4, lane_1=5 where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2496,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2529,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2570,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2594,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2603,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2619,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2642,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2673,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select * from (select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc) where rownum <= ?
+ select * from (select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc) where rownum <= ?
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2700,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2725,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2749,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2761,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,23 +2778,201 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
JDBOperatives.getOperatives
select * from {schema}APP_OPERATIVES order by id
-
-
+
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM IS NOT NULL AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/b6web_t10_wm_eb18/dist/b6web_t10_wm_eb18.war b/b6web_t10_wm_eb18/dist/b6web_t10_wm_eb18.war
index 8f4cde974..8b9b91294 100644
Binary files a/b6web_t10_wm_eb18/dist/b6web_t10_wm_eb18.war and b/b6web_t10_wm_eb18/dist/b6web_t10_wm_eb18.war differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/commons-codec-1.15.jar b/c4jWS/src/main/webapp/WEB-INF/lib/commons-codec-1.15.jar
deleted file mode 100644
index f14985ac9..000000000
Binary files a/c4jWS/src/main/webapp/WEB-INF/lib/commons-codec-1.15.jar and /dev/null differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/commons-codec-1.17.0.jar b/c4jWS/src/main/webapp/WEB-INF/lib/commons-codec-1.17.0.jar
new file mode 100644
index 000000000..b0dcd7d71
Binary files /dev/null and b/c4jWS/src/main/webapp/WEB-INF/lib/commons-codec-1.17.0.jar differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/commons-io-2.13.0.jar b/c4jWS/src/main/webapp/WEB-INF/lib/commons-io-2.13.0.jar
deleted file mode 100644
index eb316f402..000000000
Binary files a/c4jWS/src/main/webapp/WEB-INF/lib/commons-io-2.13.0.jar and /dev/null differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/commons-io-2.16.1.jar b/c4jWS/src/main/webapp/WEB-INF/lib/commons-io-2.16.1.jar
new file mode 100644
index 000000000..eb3c2b0b8
Binary files /dev/null and b/c4jWS/src/main/webapp/WEB-INF/lib/commons-io-2.16.1.jar differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/commons-lang3-3.12.0.jar b/c4jWS/src/main/webapp/WEB-INF/lib/commons-lang3-3.12.0.jar
deleted file mode 100644
index 4d434a2a4..000000000
Binary files a/c4jWS/src/main/webapp/WEB-INF/lib/commons-lang3-3.12.0.jar and /dev/null differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/commons-lang3-3.13.0.jar b/c4jWS/src/main/webapp/WEB-INF/lib/commons-lang3-3.13.0.jar
new file mode 100644
index 000000000..891540f40
Binary files /dev/null and b/c4jWS/src/main/webapp/WEB-INF/lib/commons-lang3-3.13.0.jar differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/commons-text-1.11.0.jar b/c4jWS/src/main/webapp/WEB-INF/lib/commons-text-1.11.0.jar
new file mode 100644
index 000000000..78154978a
Binary files /dev/null and b/c4jWS/src/main/webapp/WEB-INF/lib/commons-text-1.11.0.jar differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/commons-text-1.9.jar b/c4jWS/src/main/webapp/WEB-INF/lib/commons-text-1.9.jar
deleted file mode 100644
index cc0c69065..000000000
Binary files a/c4jWS/src/main/webapp/WEB-INF/lib/commons-text-1.9.jar and /dev/null differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/gson-2.10.1.jar b/c4jWS/src/main/webapp/WEB-INF/lib/gson-2.10.1.jar
deleted file mode 100644
index a88c5bd9b..000000000
Binary files a/c4jWS/src/main/webapp/WEB-INF/lib/gson-2.10.1.jar and /dev/null differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/gson-2.11.0.jar b/c4jWS/src/main/webapp/WEB-INF/lib/gson-2.11.0.jar
new file mode 100644
index 000000000..18e59c8c4
Binary files /dev/null and b/c4jWS/src/main/webapp/WEB-INF/lib/gson-2.11.0.jar differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/jakarta.activation-2.0.1.jar b/c4jWS/src/main/webapp/WEB-INF/lib/jakarta.activation-2.0.1.jar
deleted file mode 100644
index 521c7c49f..000000000
Binary files a/c4jWS/src/main/webapp/WEB-INF/lib/jakarta.activation-2.0.1.jar and /dev/null differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/jakarta.activation-api-2.1.3.jar b/c4jWS/src/main/webapp/WEB-INF/lib/jakarta.activation-api-2.1.3.jar
new file mode 100644
index 000000000..0d015d542
Binary files /dev/null and b/c4jWS/src/main/webapp/WEB-INF/lib/jakarta.activation-api-2.1.3.jar differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/log4j-api-2.20.0.jar b/c4jWS/src/main/webapp/WEB-INF/lib/log4j-api-2.20.0.jar
deleted file mode 100644
index 29d1b52a2..000000000
Binary files a/c4jWS/src/main/webapp/WEB-INF/lib/log4j-api-2.20.0.jar and /dev/null differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/log4j-api-2.23.1.jar b/c4jWS/src/main/webapp/WEB-INF/lib/log4j-api-2.23.1.jar
new file mode 100644
index 000000000..0e8e3f5e5
Binary files /dev/null and b/c4jWS/src/main/webapp/WEB-INF/lib/log4j-api-2.23.1.jar differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/log4j-core-2.20.0.jar b/c4jWS/src/main/webapp/WEB-INF/lib/log4j-core-2.20.0.jar
deleted file mode 100644
index 54dafcd0c..000000000
Binary files a/c4jWS/src/main/webapp/WEB-INF/lib/log4j-core-2.20.0.jar and /dev/null differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/log4j-core-2.23.1.jar b/c4jWS/src/main/webapp/WEB-INF/lib/log4j-core-2.23.1.jar
new file mode 100644
index 000000000..4a5d553d8
Binary files /dev/null and b/c4jWS/src/main/webapp/WEB-INF/lib/log4j-core-2.23.1.jar differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/log4j-jcl-2.20.0.jar b/c4jWS/src/main/webapp/WEB-INF/lib/log4j-jcl-2.20.0.jar
deleted file mode 100644
index 07da6ab40..000000000
Binary files a/c4jWS/src/main/webapp/WEB-INF/lib/log4j-jcl-2.20.0.jar and /dev/null differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/log4j-jcl-2.23.1.jar b/c4jWS/src/main/webapp/WEB-INF/lib/log4j-jcl-2.23.1.jar
new file mode 100644
index 000000000..013926711
Binary files /dev/null and b/c4jWS/src/main/webapp/WEB-INF/lib/log4j-jcl-2.23.1.jar differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/xalan-2.7.2.jar b/c4jWS/src/main/webapp/WEB-INF/lib/xalan-2.7.2.jar
deleted file mode 100644
index abdabe33e..000000000
Binary files a/c4jWS/src/main/webapp/WEB-INF/lib/xalan-2.7.2.jar and /dev/null differ
diff --git a/c4jWS/src/main/webapp/WEB-INF/lib/xalan-2.7.3.jar b/c4jWS/src/main/webapp/WEB-INF/lib/xalan-2.7.3.jar
new file mode 100644
index 000000000..708548086
Binary files /dev/null and b/c4jWS/src/main/webapp/WEB-INF/lib/xalan-2.7.3.jar differ
diff --git a/c4jWS/src/main/webapp/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml b/c4jWS/src/main/webapp/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml
new file mode 100644
index 000000000..a786896a5
--- /dev/null
+++ b/c4jWS/src/main/webapp/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000197.xml
@@ -0,0 +1,566 @@
+
+
+
+
+ CREATE TABLE [dbo].[APP_BOM] (
+ [BOM_ID] varchar(20) DEFAULT '' NOT NULL,
+ [BOM_VERSION] varchar(10) DEFAULT '' NOT NULL,
+ [BOM_SEQUENCE] int DEFAULT 0 NULL,
+ [DATA_ID] varchar(20) DEFAULT '' NOT NULL,
+ [DATA_TYPE] varchar(20) DEFAULT '' NULL,
+ [DATA_STRING] varchar(255) DEFAULT '' NULL,
+ [DATA_DECIMAL] decimal(22,3) DEFAULT NULL NULL,
+ [DATA_DATE] datetime DEFAULT NULL NULL,
+ [DATA_TIMESTAMP] datetime DEFAULT NULL,
+ [UUID] varchar(50) DEFAULT '' NOT NULL,
+ [PARENT_UUID] varchar(50) DEFAULT '' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM] ADD CONSTRAINT [PK_APP_BOM] PRIMARY KEY CLUSTERED ([BOM_ID], [BOM_VERSION], [DATA_ID], [UUID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_DEFAULTS] (
+ [SOURCE_FIELD] varchar(32) NOT NULL,
+ [SOURCE_VALUE] varchar(50) NOT NULL,
+ [DESTINATION_FIELD] varchar(32) NOT NULL,
+ [DESTINATION_VALUE] varchar(50) NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_DEFAULTS] ADD CONSTRAINT [PK_APP_BOM_DEFAULTS] PRIMARY KEY CLUSTERED ([SOURCE_FIELD], [SOURCE_VALUE], [DESTINATION_FIELD]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_ELEMENTS] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [DATA_TYPE] varchar(20) NULL,
+ [ENABLE_EDIT] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_CREATE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_DELETE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_DUPLICATE] varchar(1) DEFAULT 'Y' NULL,
+ [ENABLE_CLIPBOARD] varchar(1) DEFAULT 'Y' NULL,
+ [MAX_OCCUR_LEVEL] int DEFAULT 1 NULL,
+ [ENABLE_LOOKUP] varchar(1) DEFAULT 'Y' NULL,
+ [LOOKUP_SQL] varchar(255) DEFAULT '' NULL,
+ [LOOKUP_FIELD] varchar(32) DEFAULT '' NULL,
+ [ICON_FILENAME] varchar(80) DEFAULT '' NULL,
+ [DESCRIPTION] varchar(80) DEFAULT '' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_ELEMENTS] ADD CONSTRAINT [PK_APP_BOM_ELEMENTS] PRIMARY KEY CLUSTERED ([DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_LISTS] (
+ [LIST_ID] varchar(25) DEFAULT '' NOT NULL,
+ [ITEM] varchar(255) DEFAULT '' NOT NULL,
+ [SEQUENCE] int DEFAULT 0 NULL,
+ [ENABLED] varchar(1) DEFAULT 'Y' NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_LISTS] ADD CONSTRAINT [PK_APP_BOM_LISTS] PRIMARY KEY CLUSTERED ([LIST_ID], [ITEM]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_STRUCTURE] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [PARENT_DATA_CATEGORY] varchar(20) NOT NULL,
+ [PARENT_DATA_ID] varchar(20) NOT NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_STRUCTURE] ADD CONSTRAINT [PK_APP_BOM_STRUCTURE] PRIMARY KEY CLUSTERED ([DATA_ID], [PARENT_DATA_CATEGORY], [PARENT_DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ CREATE VIEW view_bom as select BOM_MATERIAL.BOM_ID AS 'bom_id',
+ BOM_MATERIAL.BOM_VERSION AS 'bom_version',
+ BOM_MATERIAL.BOM_SEQUENCE AS 'display_order',
+ BOM_STAGE.DATA_STRING AS 'stage',
+ BOM_IN_OUT.DATA_ID AS 'input_output',
+ BOM_SEQUENCE.DATA_STRING AS 'sequence',
+ BOM_MATERIAL.DATA_STRING AS 'material',
+ BOM_MATERIAL.UUID AS 'material_uuid',
+ BOM_DESCRIPTION.DATA_STRING AS 'description',
+ BOM_QUANTITY.DATA_DECIMAL AS 'quantity',
+ BOM_TYPE.DATA_STRING AS 'type',
+ BOM_UOM.DATA_STRING AS 'uom',
+ BOM_GTIN.DATA_STRING AS 'gtin',
+ BOM_VARIANT.DATA_STRING AS 'variant',
+ BOM_LOCATION.DATA_STRING AS 'location_id',
+ BOM_LOCATION.UUID AS 'location_uuid'
+ from app_bom BOM_MATERIAL
+ left join app_bom BOM_DESCRIPTION on ((BOM_DESCRIPTION.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_DESCRIPTION.DATA_TYPE = 'string') and (BOM_DESCRIPTION.DATA_ID = 'description'))
+ left join app_bom BOM_QUANTITY on ((BOM_QUANTITY.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_QUANTITY.DATA_TYPE = 'decimal') and (BOM_QUANTITY.DATA_ID = 'quantity'))
+ left join app_bom BOM_SEQUENCE on ((BOM_SEQUENCE.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_SEQUENCE.DATA_TYPE = 'string') and (BOM_SEQUENCE.DATA_ID = 'sequence'))
+ left join app_bom BOM_TYPE on ((BOM_TYPE.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_TYPE.DATA_TYPE = 'string') and (BOM_TYPE.DATA_ID = 'type'))
+ left join app_bom BOM_UOM on ((BOM_UOM.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_UOM.DATA_TYPE = 'string') and (BOM_UOM.DATA_ID = 'uom'))
+ left join app_bom BOM_GTIN on ((BOM_GTIN.PARENT_UUID = BOM_UOM.UUID) and (BOM_GTIN.DATA_TYPE = 'string') and (BOM_GTIN.DATA_ID = 'gtin'))
+ left join app_bom BOM_VARIANT on ((BOM_VARIANT.PARENT_UUID = BOM_UOM.UUID) and (BOM_VARIANT.DATA_TYPE = 'string') and (BOM_VARIANT.DATA_ID = 'variant'))
+ left join app_bom BOM_IN_OUT on ((BOM_IN_OUT.UUID = BOM_MATERIAL.PARENT_UUID) and (BOM_IN_OUT.DATA_TYPE = 'string') and (BOM_IN_OUT.DATA_ID in ('input','output')))
+ left join app_bom BOM_STAGE on ((BOM_STAGE.UUID = BOM_IN_OUT.PARENT_UUID) and (BOM_STAGE.DATA_TYPE = 'string') and (BOM_STAGE.DATA_ID = 'stage'))
+ left join app_bom BOM_LOCATION on ((BOM_LOCATION.PARENT_UUID = BOM_MATERIAL.UUID) and (BOM_LOCATION.DATA_TYPE = 'string') and (BOM_LOCATION.DATA_ID = 'location'))
+ where (BOM_MATERIAL.DATA_ID = 'material')
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_CATEGORY AS PARENT_DATA_CATEGORY,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770321', 'location_id', 'LANEA')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770322', 'location_id', 'LANEB')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770323', 'location_id', 'LANEC')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = ''location_id'' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = ''material_type'' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = ''uom'' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant')
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('gtin', 'value', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('input', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('location_id', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('output', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('quantity', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('root', '', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('runtime', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('sequence', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('stage', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('type', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('uom', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('updated', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('variant', 'value', 'uom')
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [MSG_PALLET_ISSUE] varchar(1) DEFAULT 'Y'
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [MSG_PALLET_RETURN] varchar(1) DEFAULT 'Y'
+
+
+
+ ALTER TABLE [dbo].[APP_LOCATION] ADD [BARCODE_ID] varchar(25) DEFAULT ''
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/c4jWS/src/main/webapp/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml b/c4jWS/src/main/webapp/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml
new file mode 100644
index 000000000..914f0859a
--- /dev/null
+++ b/c4jWS/src/main/webapp/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000198.xml
@@ -0,0 +1,337 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ drop view view_bom_structure
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_CATEGORY AS PARENT_DATA_CATEGORY,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP TABLE [dbo].[APP_BOM_STRUCTURE]
+
+
+
+ CREATE TABLE [dbo].[APP_BOM_STRUCTURE] (
+ [DATA_ID] varchar(20) NOT NULL,
+ [PARENT_DATA_ID] varchar(20) NOT NULL )
+
+
+
+ ALTER TABLE [dbo].[APP_BOM_STRUCTURE] ADD CONSTRAINT [PK_APP_BOM_STRUCTURE] PRIMARY KEY CLUSTERED ([DATA_ID], [PARENT_DATA_ID]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)
+
+
+
+ DROP view view_bom_structure
+
+
+
+ create view view_bom_structure as select
+ app_bom_structure.DATA_ID AS DATA_ID,
+ app_bom_elements.DATA_TYPE AS DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID AS PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT AS ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE AS ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE AS ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE AS ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD AS ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP AS ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL AS LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD AS LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME AS ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL AS MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION AS DESCRIPTION
+ from (app_bom_structure
+ join app_bom_elements on((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('gtin', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('input', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('location_id', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('output', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('quantity', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('root', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('runtime', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('sequence', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('stage', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('type', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('uom', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('updated', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('variant', 'uom')
+
+
diff --git a/c4jWS/src/main/webapp/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml b/c4jWS/src/main/webapp/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml
new file mode 100644
index 000000000..738f63bd8
--- /dev/null
+++ b/c4jWS/src/main/webapp/xml/schema/com.microsoft.sqlserver.jdbc.SQLServerDriver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
index fbc365f9f..cd02dcb15 100644
--- a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
+++ b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000165.xml
@@ -94,7 +94,7 @@
- CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS
+ CREATE VIEW `view_pallet_samples` AS
SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
@@ -156,7 +156,7 @@
- CREATE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_sample_point_locations` AS select distinct `APP_WEIGHT_SAMPLE_POINT`.`LOCATION` AS `Location` from `APP_WEIGHT_SAMPLE_POINT`
+ CREATE VIEW `view_sample_point_locations` AS select distinct `APP_WEIGHT_SAMPLE_POINT`.`LOCATION` AS `Location` from `APP_WEIGHT_SAMPLE_POINT`
diff --git a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
index b60f4b2b3..7436bcc60 100644
--- a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
+++ b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000169.xml
@@ -7,7 +7,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
@@ -68,7 +68,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_sorting_qty_diffs` AS SELECT
+ CREATE OR REPLACE VIEW `view_sorting_qty_diffs` AS SELECT
`APP_PALLET_EXTENSION`.`SSCC` AS `SSCC`,
`APP_PALLET_EXTENSION`.`PALLET_QUANTITY` AS `PALLET_QUANTITY`,
`APP_PALLET`.`QUANTITY` AS `QUANTITY`,
diff --git a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
index cb4b7365f..ecde3d370 100644
--- a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
+++ b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000170.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_results` AS SELECT
+ CREATE OR REPLACE VIEW `view_qm_results` AS SELECT
`APP_QM_SAMPLE`.`PROCESS_ORDER` AS `PROCESS_ORDER`,
`APP_QM_SAMPLE`.`MATERIAL` AS `MATERIAL`,
`APP_QM_SAMPLE`.`SAMPLE_ID` AS `SAMPLE_ID`,
diff --git a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
index 82761953b..479d49bdd 100644
--- a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
+++ b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000172.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_panel_results` AS
+ CREATE OR REPLACE VIEW `view_qm_panel_results` AS
SELECT
APP_QM_PANEL.PANEL_ID,
APP_QM_PANEL_TRAY.TRAY_ID,
diff --git a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
index 1679337fb..7cd97f14f 100644
--- a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
+++ b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000180.xml
@@ -345,7 +345,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
diff --git a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
index 7d316e2c9..00887539f 100644
--- a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
+++ b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000185.xml
@@ -3,7 +3,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_qm_results` AS
+ CREATE OR REPLACE VIEW `view_qm_results` AS
SELECT samp.PROCESS_ORDER as 'PROCESS_ORDER',
samp.MATERIAL as 'MATERIAL',
samp.SAMPLE_ID as 'SAMPLE_ID',
diff --git a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
index 46026ca58..0ae5fd149 100644
--- a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
+++ b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000194.xml
@@ -44,7 +44,7 @@
- CREATE OR REPLACE ALGORITHM = UNDEFINED SQL SECURITY DEFINER VIEW `view_pallet_samples` AS SELECT
+ CREATE OR REPLACE VIEW `view_pallet_samples` AS SELECT
`APP_PALLET_SAMPLES`.`SSCC` AS `SSCC`,
`APP_PALLET_SAMPLES`.`SAMPLE_SEQUENCE` AS `SAMPLE_SEQUENCE`,
`APP_PALLET_SAMPLES`.`SAMPLE_DATE` AS `SAMPLE_DATE`,
diff --git a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml
new file mode 100644
index 000000000..1acd4c6d1
--- /dev/null
+++ b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000197.xml
@@ -0,0 +1,672 @@
+
+
+
+
+
+ CREATE TABLE `APP_BOM` (
+ `BOM_ID` varchar(20) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT '',
+ `BOM_VERSION` varchar(10) NOT NULL DEFAULT '',
+ `BOM_SEQUENCE` int NOT NULL DEFAULT '0',
+ `DATA_ID` varchar(20) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT '',
+ `DATA_TYPE` varchar(20) DEFAULT '',
+ `DATA_STRING` varchar(255) DEFAULT '',
+ `DATA_DECIMAL` decimal(22,3) unsigned DEFAULT NULL,
+ `DATA_DATE` datetime DEFAULT NULL,
+ `DATA_TIMESTAMP` timestamp NULL DEFAULT NULL,
+ `UUID` varchar(50) CHARACTER SET {charset} COLLATE {collation} NOT NULL DEFAULT (uuid()),
+ `PARENT_UUID` varchar(50) DEFAULT NULL,
+ PRIMARY KEY (`BOM_ID`,`BOM_VERSION`,`DATA_ID`,`UUID`) USING BTREE,
+ UNIQUE KEY `UUID_NDX` (`UUID`) USING BTREE,
+ KEY `UUID_PARENT_NDX` (`PARENT_UUID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_DEFAULTS` (
+ `SOURCE_FIELD` varchar(32) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `SOURCE_VALUE` varchar(50) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `DESTINATION_FIELD` varchar(32) CHARACTER SET {charset} COLLATE {collation} NOT NULL,
+ `DESTINATION_VALUE` varchar(50) CHARACTER SET {charset} COLLATE {collation} DEFAULT NULL,
+ PRIMARY KEY (`SOURCE_FIELD`,`SOURCE_VALUE`,`DESTINATION_FIELD`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_ELEMENTS` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `DATA_TYPE` varchar(20) DEFAULT NULL,
+ `ENABLE_EDIT` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_CREATE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_DELETE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_DUPLICATE` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `ENABLE_CLIPBOARD` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ `MAX_OCCUR_LEVEL` int DEFAULT '1',
+ `ENABLE_LOOKUP` varchar(1) DEFAULT 'Y',
+ `LOOKUP_SQL` varchar(255) DEFAULT '',
+ `LOOKUP_FIELD` varchar(32) DEFAULT '',
+ `ICON_FILENAME` varchar(80) DEFAULT '',
+ `DESCRIPTION` varchar(80) DEFAULT '',
+ PRIMARY KEY (`DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ CREATE TABLE `APP_BOM_LISTS` (
+ `LIST_ID` varchar(25) NOT NULL DEFAULT '',
+ `ITEM` varchar(50) NOT NULL DEFAULT '',
+ `SEQUENCE` int DEFAULT '0',
+ `ENABLED` varchar(1) CHARACTER SET {charset} COLLATE {collation} DEFAULT 'Y',
+ PRIMARY KEY (`LIST_ID`,`ITEM`)
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+
+ CREATE TABLE `APP_BOM_STRUCTURE` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `PARENT_DATA_CATEGORY` varchar(20) NOT NULL,
+ `PARENT_DATA_ID` varchar(20) NOT NULL,
+ PRIMARY KEY (`DATA_ID`,`PARENT_DATA_CATEGORY`,`PARENT_DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+
+ CREATE VIEW `view_bom` AS
+ select `BOM_MATERIAL`.`BOM_ID` AS `bom_id`,
+ `BOM_MATERIAL`.`BOM_VERSION` AS `bom_version`,
+ `BOM_MATERIAL`.`BOM_SEQUENCE` AS `display_order`,
+ `BOM_STAGE`.`DATA_STRING` AS `stage`,
+ `BOM_IN_OUT`.`DATA_ID` AS `input_output`,
+ `BOM_SEQUENCE`.`DATA_STRING` AS `sequence`,
+ `BOM_MATERIAL`.`DATA_STRING` AS `material`,
+ `BOM_MATERIAL`.`UUID` AS `material_uuid`,
+ `BOM_DESCRIPTION`.`DATA_STRING` AS `description`,
+ `BOM_QUANTITY`.`DATA_DECIMAL` AS `quantity`,
+ `BOM_TYPE`.`DATA_STRING` AS `type`,
+ `BOM_UOM`.`DATA_STRING` AS `uom`,
+ `BOM_GTIN`.`DATA_STRING` AS `gtin`,
+ `BOM_VARIANT`.`DATA_STRING` AS `variant`,
+ `BOM_LOCATION`.`DATA_STRING` AS `location_id`,
+ `BOM_LOCATION`.`UUID` AS `location_uuid`
+ from `app_bom` `BOM_MATERIAL`
+ left join `app_bom` `BOM_DESCRIPTION` on (`BOM_DESCRIPTION`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_DESCRIPTION`.`DATA_TYPE` = 'string')
+ and (`BOM_DESCRIPTION`.`DATA_ID` = 'description')
+ left join `app_bom` `BOM_QUANTITY` on (`BOM_QUANTITY`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_QUANTITY`.`DATA_TYPE` = 'decimal')
+ and (`BOM_QUANTITY`.`DATA_ID` = 'quantity')
+ left join `app_bom` `BOM_SEQUENCE` on (`BOM_SEQUENCE`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_SEQUENCE`.`DATA_TYPE` = 'string')
+ and (`BOM_SEQUENCE`.`DATA_ID` = 'sequence')
+ left join `app_bom` `BOM_TYPE` on (`BOM_TYPE`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_TYPE`.`DATA_TYPE` = 'string')
+ and (`BOM_TYPE`.`DATA_ID` = 'type')
+ left join `app_bom` `BOM_UOM` on (`BOM_UOM`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_UOM`.`DATA_TYPE` = 'string')
+ and (`BOM_UOM`.`DATA_ID` = 'uom')
+ left join `app_bom` `BOM_GTIN` on (`BOM_GTIN`.`PARENT_UUID` = `BOM_UOM`.`UUID`)
+ and (`BOM_GTIN`.`DATA_TYPE` = 'string')
+ and (`BOM_GTIN`.`DATA_ID` = 'gtin')
+ left join `app_bom` `BOM_VARIANT` on (`BOM_VARIANT`.`PARENT_UUID` = `BOM_UOM`.`UUID`)
+ and (`BOM_VARIANT`.`DATA_TYPE` = 'string')
+ and (`BOM_VARIANT`.`DATA_ID` = 'variant')
+ left join `app_bom` `BOM_IN_OUT` on (`BOM_IN_OUT`.`UUID` = `BOM_MATERIAL`.`PARENT_UUID`)
+ and (`BOM_IN_OUT`.`DATA_TYPE` = 'string')
+ and (`BOM_IN_OUT`.`DATA_ID` in ('input','output'))
+ left join `app_bom` `BOM_STAGE` on (`BOM_STAGE`.`UUID` = `BOM_IN_OUT`.`PARENT_UUID`)
+ and (`BOM_STAGE`.`DATA_TYPE` = 'string')
+ and (`BOM_STAGE`.`DATA_ID` = 'stage')
+ left join `app_bom` `BOM_LOCATION` on (`BOM_LOCATION`.`PARENT_UUID` = `BOM_MATERIAL`.`UUID`)
+ and (`BOM_LOCATION`.`DATA_TYPE` = 'string')
+ and (`BOM_LOCATION`.`DATA_ID` = 'location_id')
+ where (`BOM_MATERIAL`.`DATA_ID` = 'material')
+ order by `BOM_MATERIAL`.`BOM_ID`,`BOM_MATERIAL`.`BOM_VERSION`,`BOM_IN_OUT`.`DATA_ID`,`BOM_SEQUENCE`.`DATA_ID`,`BOM_MATERIAL`.`BOM_SEQUENCE`,`BOM_MATERIAL`.`UUID`;
+
+
+
+
+ CREATE VIEW `view_bom_structure` AS
+ select `app_bom_structure`.`DATA_ID` AS `DATA_ID`,
+ `app_bom_elements`.`DATA_TYPE` AS `DATA_TYPE`,
+ `app_bom_structure`.`PARENT_DATA_ID` AS `PARENT_DATA_ID`,
+ `app_bom_elements`.`ENABLE_EDIT` AS `ENABLE_EDIT`,
+ `app_bom_elements`.`ENABLE_CREATE` AS `ENABLE_CREATE`,
+ `app_bom_elements`.`ENABLE_DELETE` AS `ENABLE_DELETE`,
+ `app_bom_elements`.`ENABLE_DUPLICATE` AS `ENABLE_DUPLICATE`,
+ `app_bom_elements`.`ENABLE_CLIPBOARD` AS `ENABLE_CLIPBOARD`,
+ `app_bom_elements`.`ENABLE_LOOKUP` AS `ENABLE_LOOKUP`,
+ `app_bom_elements`.`LOOKUP_SQL` AS `LOOKUP_SQL`,
+ `app_bom_elements`.`LOOKUP_FIELD` AS `LOOKUP_FIELD`,
+ `app_bom_elements`.`ICON_FILENAME` AS `ICON_FILENAME`,
+ `app_bom_elements`.`MAX_OCCUR_LEVEL` AS `MAX_OCCUR_LEVEL`,
+ `app_bom_elements`.`DESCRIPTION` AS `DESCRIPTION`
+ from (`app_bom_structure`
+ join `app_bom_elements`
+ on((`app_bom_structure`.`DATA_ID` = `app_bom_elements`.`DATA_ID`)));
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770321', 'location_id', 'LANEA');
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770322', 'location_id', 'LANEB');
+
+
+
+ INSERT INTO `APP_BOM_DEFAULTS` (`SOURCE_FIELD`, `SOURCE_VALUE`, `DESTINATION_FIELD`, `DESTINATION_VALUE`) VALUES ('material', '40770323', 'location_id', 'LANEC');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = \'location_id\' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = \'material_type\' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = \'uom\' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated');
+
+
+
+ INSERT INTO `APP_BOM_ELEMENTS` (`DATA_ID`, `DATA_TYPE`, `ENABLE_EDIT`, `ENABLE_CREATE`, `ENABLE_DELETE`, `ENABLE_DUPLICATE`, `ENABLE_CLIPBOARD`, `MAX_OCCUR_LEVEL`, `ENABLE_LOOKUP`, `LOOKUP_SQL`, `LOOKUP_FIELD`, `ICON_FILENAME`, `DESCRIPTION`) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant');
+
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('description', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('description', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('gtin', 'value', 'uom');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('hrs', 'section', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('hrs', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('input', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('location_id', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('line', 'section', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('line', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('material', 'section', 'input');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('material', 'section', 'output');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('output', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('quantity', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('resource', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('resource', 'section', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('root', '', '');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('runtime', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('sequence', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('stage', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('type', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('uom', 'value', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('updated', 'section', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_CATEGORY`, `PARENT_DATA_ID`) VALUES ('variant', 'value', 'uom');
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE `APP_LOCATION`
+ ADD COLUMN `MSG_PALLET_ISSUE` varchar(1) NULL DEFAULT 'Y' AFTER `MSG_PROD_UNCONFIRM`,
+ ADD COLUMN `MSG_PALLET_RETURN` varchar(1) NULL DEFAULT 'Y' AFTER `MSG_PALLET_ISSUE`,
+ ADD COLUMN `BARCODE_ID` varchar(25) NULL DEFAULT '' AFTER `MSG_PALLET_RETURN`;
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml
new file mode 100644
index 000000000..38f7b3dec
--- /dev/null
+++ b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000198.xml
@@ -0,0 +1,358 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP TABLE `APP_BOM_STRUCTURE`;
+
+
+
+ CREATE TABLE `APP_BOM_STRUCTURE` (
+ `DATA_ID` varchar(20) NOT NULL,
+ `PARENT_DATA_ID` varchar(20) NOT NULL,
+ PRIMARY KEY (`DATA_ID`,`PARENT_DATA_ID`) USING BTREE
+ ) ENGINE=InnoDB DEFAULT CHARSET={charset} COLLATE={collation};
+
+
+
+ DROP VIEW `view_bom_structure`
+
+
+
+ CREATE VIEW `view_bom_structure` AS
+ select `app_bom_structure`.`DATA_ID` AS `DATA_ID`,
+ `app_bom_elements`.`DATA_TYPE` AS `DATA_TYPE`,
+ `app_bom_structure`.`PARENT_DATA_ID` AS `PARENT_DATA_ID`,
+ `app_bom_elements`.`ENABLE_EDIT` AS `ENABLE_EDIT`,
+ `app_bom_elements`.`ENABLE_CREATE` AS `ENABLE_CREATE`,
+ `app_bom_elements`.`ENABLE_DELETE` AS `ENABLE_DELETE`,
+ `app_bom_elements`.`ENABLE_DUPLICATE` AS `ENABLE_DUPLICATE`,
+ `app_bom_elements`.`ENABLE_CLIPBOARD` AS `ENABLE_CLIPBOARD`,
+ `app_bom_elements`.`ENABLE_LOOKUP` AS `ENABLE_LOOKUP`,
+ `app_bom_elements`.`LOOKUP_SQL` AS `LOOKUP_SQL`,
+ `app_bom_elements`.`LOOKUP_FIELD` AS `LOOKUP_FIELD`,
+ `app_bom_elements`.`ICON_FILENAME` AS `ICON_FILENAME`,
+ `app_bom_elements`.`MAX_OCCUR_LEVEL` AS `MAX_OCCUR_LEVEL`,
+ `app_bom_elements`.`DESCRIPTION` AS `DESCRIPTION`
+ from (`app_bom_structure`
+ join `app_bom_elements`
+ on((`app_bom_structure`.`DATA_ID` = `app_bom_elements`.`DATA_ID`)));
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('description', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('description', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('gtin', 'uom');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('hrs', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('hrs', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('input', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('location_id', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('line', 'resource');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('line', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('material', 'input');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('material', 'output');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('output', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('quantity', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('resource', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('resource', 'stage');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('root', '');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('runtime', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('sequence', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('stage', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('type', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('uom', 'material');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('updated', 'root');
+
+
+
+ INSERT INTO `APP_BOM_STRUCTURE` (`DATA_ID`, `PARENT_DATA_ID`) VALUES ('variant', 'uom');
+
+
+
diff --git a/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml
new file mode 100644
index 000000000..32738e209
--- /dev/null
+++ b/c4jWS/src/main/webapp/xml/schema/com.mysql.cj.jdbc.Driver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/c4jWS/src/main/webapp/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml b/c4jWS/src/main/webapp/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml
new file mode 100644
index 000000000..d78048a6a
--- /dev/null
+++ b/c4jWS/src/main/webapp/xml/schema/oracle.jdbc.driver.OracleDriver/000197.xml
@@ -0,0 +1,556 @@
+
+
+
+
+ CREATE TABLE "APP_BOM" (
+ "BOM_ID" VARCHAR2(20) DEFAULT '' NOT NULL,
+ "BOM_VERSION" VARCHAR2(10) DEFAULT '' NOT NULL,
+ "BOM_SEQUENCE" INT DEFAULT 0 NOT NULL,
+ "DATA_ID" VARCHAR2(20) DEFAULT '' NOT NULL,
+ "DATA_TYPE" VARCHAR2(20) DEFAULT '',
+ "DATA_STRING" VARCHAR2(255) DEFAULT '',
+ "DATA_DECIMAL" NUMERIC(22,3) DEFAULT NULL,
+ "DATA_DATE" TIMESTAMP DEFAULT NULL,
+ "DATA_TIMESTAMP" TIMESTAMP DEFAULT NULL,
+ "UUID" VARCHAR2(50) DEFAULT '' NOT NULL,
+ "PARENT_UUID" VARCHAR2(50) DEFAULT '',
+ PRIMARY KEY ("BOM_ID", "BOM_VERSION", "DATA_ID", "UUID") )
+
+
+
+ CREATE TABLE "APP_BOM_DEFAULTS" (
+ "SOURCE_FIELD" VARCHAR2(32) NOT NULL,
+ "SOURCE_VALUE" VARCHAR2(50) NOT NULL,
+ "DESTINATION_FIELD" VARCHAR2(32) NOT NULL,
+ "DESTINATION_VALUE" VARCHAR2(50),
+ PRIMARY KEY ("SOURCE_FIELD", "SOURCE_VALUE", "DESTINATION_FIELD") )
+
+
+
+ CREATE TABLE "APP_BOM_ELEMENTS" (
+ "DATA_ID" VARCHAR2(20) NOT NULL,
+ "DATA_TYPE" VARCHAR2(20),
+ "ENABLE_EDIT" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_CREATE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_DELETE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_DUPLICATE" VARCHAR2(1) DEFAULT 'Y',
+ "ENABLE_CLIPBOARD" VARCHAR2(1) DEFAULT 'Y',
+ "MAX_OCCUR_LEVEL" INT,
+ "ENABLE_LOOKUP" VARCHAR2(1) DEFAULT 'Y',
+ "LOOKUP_SQL" VARCHAR2(255) DEFAULT '',
+ "LOOKUP_FIELD" VARCHAR2(32) DEFAULT '',
+ "ICON_FILENAME" VARCHAR2(80) DEFAULT '',
+ "DESCRIPTION" VARCHAR2(80) DEFAULT '',
+ PRIMARY KEY ("DATA_ID") )
+
+
+
+ CREATE TABLE "APP_BOM_LISTS" (
+ "LIST_ID" VARCHAR2(25 BYTE) VISIBLE DEFAULT '',
+ "ITEM" VARCHAR2(50 BYTE) VISIBLE DEFAULT '',
+ "SEQUENCE" NUMBER VISIBLE DEFAULT 0,
+ "ENABLED" VARCHAR2(1 BYTE) VISIBLE DEFAULT 'Y')
+
+
+
+ CREATE INDEX "IDX_APP_BOM_LISTS1"
+ ON "APP_BOM_LISTS" ("LIST_ID" ASC, "ITEM" ASC)
+
+
+
+ CREATE TABLE "APP_BOM_STRUCTURE" (
+ "DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '',
+ "PARENT_DATA_CATEGORY" VARCHAR2(20) VISIBLE DEFAULT '' ,
+ "PARENT_DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '' )
+
+
+
+ CREATE INDEX "IDX_APP_BOM_STRUCTURE1"
+ ON "APP_BOM_STRUCTURE" ("DATA_ID" ASC, "PARENT_DATA_CATEGORY" ASC, "PARENT_DATA_ID" ASC)
+
+
+
+ CREATE OR REPLACE VIEW view_bom as
+ SELECT BOM_MATERIAL.BOM_ID bom_id,
+ BOM_MATERIAL.BOM_VERSION bom_version,
+ BOM_MATERIAL.BOM_SEQUENCE display_order,
+ BOM_STAGE.DATA_STRING stage,
+ BOM_IN_OUT.DATA_ID input_output,
+ BOM_SEQUENCE.DATA_STRING sequence,
+ BOM_MATERIAL.DATA_STRING material,
+ BOM_MATERIAL.UUID material_uuid,
+ BOM_DESCRIPTION.DATA_STRING description,
+ BOM_QUANTITY.DATA_DECIMAL quantity,
+ BOM_TYPE.DATA_STRING TYPE,
+ BOM_UOM.DATA_STRING uom,
+ BOM_GTIN.DATA_STRING gtin,
+ BOM_VARIANT.DATA_STRING variant,
+ BOM_LOCATION.DATA_STRING location_id,
+ BOM_LOCATION.UUID location_uuid
+ FROM app_bom BOM_MATERIAL
+ LEFT JOIN app_bom BOM_DESCRIPTION ON ( ( BOM_DESCRIPTION.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_DESCRIPTION.DATA_TYPE = 'string' ) AND ( BOM_DESCRIPTION.DATA_ID = 'description' ) )
+ LEFT JOIN app_bom BOM_QUANTITY ON ( ( BOM_QUANTITY.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_QUANTITY.DATA_TYPE = 'decimal' ) AND ( BOM_QUANTITY.DATA_ID = 'quantity' ) )
+ LEFT JOIN app_bom BOM_SEQUENCE ON ( ( BOM_SEQUENCE.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_SEQUENCE.DATA_TYPE = 'string' ) AND ( BOM_SEQUENCE.DATA_ID = 'sequence' ) )
+ LEFT JOIN app_bom BOM_TYPE ON ( ( BOM_TYPE.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_TYPE.DATA_TYPE = 'string' ) AND ( BOM_TYPE.DATA_ID = 'type' ) )
+ LEFT JOIN app_bom BOM_UOM ON ( ( BOM_UOM.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_UOM.DATA_TYPE = 'string' ) AND ( BOM_UOM.DATA_ID = 'uom' ) )
+ LEFT JOIN app_bom BOM_GTIN ON ( ( BOM_GTIN.PARENT_UUID = BOM_UOM.UUID ) AND ( BOM_GTIN.DATA_TYPE = 'string' ) AND ( BOM_GTIN.DATA_ID = 'gtin' ) )
+ LEFT JOIN app_bom BOM_VARIANT ON ( ( BOM_VARIANT.PARENT_UUID = BOM_UOM.UUID ) AND ( BOM_VARIANT.DATA_TYPE = 'string' ) AND ( BOM_VARIANT.DATA_ID = 'variant' ) )
+ LEFT JOIN app_bom BOM_IN_OUT ON ( ( BOM_IN_OUT.UUID = BOM_MATERIAL.PARENT_UUID ) AND ( BOM_IN_OUT.DATA_TYPE = 'string' ) AND ( BOM_IN_OUT.DATA_ID IN ( 'input', 'output' ) ) )
+ LEFT JOIN app_bom BOM_STAGE ON ( ( BOM_STAGE.UUID = BOM_IN_OUT.PARENT_UUID ) AND ( BOM_STAGE.DATA_TYPE = 'string' ) AND ( BOM_STAGE.DATA_ID = 'stage' ) )
+ LEFT JOIN app_bom BOM_LOCATION ON ( ( BOM_LOCATION.PARENT_UUID = BOM_MATERIAL.UUID ) AND ( BOM_LOCATION.DATA_TYPE = 'string' ) AND ( BOM_LOCATION.DATA_ID = 'location_id' ) )
+ WHERE ( BOM_MATERIAL.DATA_ID = 'material' )
+
+
+
+ CREATE OR REPLACE VIEW view_bom_structure AS
+ SELECT app_bom_structure.DATA_ID DATA_ID,
+ app_bom_elements.DATA_TYPE DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION DESCRIPTION
+ FROM (app_bom_structure JOIN app_bom_elements ON ((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770321', 'location_id', 'LANEA')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770322', 'location_id', 'LANEB')
+
+ INSERT INTO APP_BOM_DEFAULTS (SOURCE_FIELD, SOURCE_VALUE, DESTINATION_FIELD, DESTINATION_VALUE) VALUES ('material', '40770323', 'location_id', 'LANEC')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('description', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'info.png', 'Description')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('gtin', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'GTIN')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('hrs', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'clock.png', 'Hours')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('input', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'input.png', 'Input')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_id', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 3, 'Y', 'SELECT ITEM AS LOCATION_ID FROM APP_BOM_LISTS WHERE LIST_ID = ''location_id'' ORDER BY ITEM', 'LOCATION_ID', 'lanes.png', 'Lane')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('location_group', 'string', 'N', 'N', 'N', 'N', 'Y', 1, 'N', '', '', 'lane_group.png', 'Group')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('line', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'line.png', 'Production Line')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('material', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 50, 'N', '', '', 'materials.gif', 'Material')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('output', 'string', 'N', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'output.png', 'Output')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('quantity', 'decimal', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'quantity.gif', 'Quantity')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('resource', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'resource')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('root', 'string', 'N', 'Y', 'N', 'N', 'Y', 1, 'N', '', '', 'recipe.gif', 'BOM/Version')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('runtime', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', '', 'Runtime')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('sequence', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'sequence.png', 'BOM Sequence')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('stage', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'stage.png', 'BOM Stage')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('type', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS MATERIAL_TYPE FROM APP_BOM_LISTS WHERE LIST_ID = ''material_type'' ORDER BY ITEM', 'MATERIAL_TYPE', '', 'Material Type')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('uom', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'Y', 'SELECT ITEM AS UOM FROM APP_BOM_LISTS WHERE LIST_ID = ''uom'' ORDER BY ITEM', 'UOM', 'unit.png', 'Unit of Measure')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('updated', 'timestamp', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'schedule.png', 'Updated')
+
+ INSERT INTO APP_BOM_ELEMENTS (DATA_ID, DATA_TYPE, ENABLE_EDIT, ENABLE_CREATE, ENABLE_DELETE, ENABLE_DUPLICATE, ENABLE_CLIPBOARD, MAX_OCCUR_LEVEL, ENABLE_LOOKUP, LOOKUP_SQL, LOOKUP_FIELD, ICON_FILENAME, DESCRIPTION) VALUES ('variant', 'string', 'Y', 'Y', 'Y', 'Y', 'Y', 1, 'N', '', '', 'barcode.gif', 'Variant')
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', '', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEA', 2)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEB', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANEC', 3)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('location_id', 'LANED', 4)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'FG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'IM', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'ING', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'PACK', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('material_type', 'RAW', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'CS', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'EA', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'KG', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('uom', 'UNI', 0)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00010', 1)
+
+ INSERT INTO APP_BOM_LISTS (LIST_ID, ITEM, SEQUENCE) VALUES ('stage', '00020', 2)
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('description', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('gtin', 'value', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('hrs', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('input', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('location_id', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('line', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('material', 'section', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('output', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('quantity', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('resource', 'section', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('root', '', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('runtime', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('sequence', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('stage', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('type', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('uom', 'value', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('updated', 'section', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_CATEGORY, PARENT_DATA_ID) VALUES ('variant', 'value', 'uom')
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ADMIN', 'N', 'Y', 'FORM', 'Admin Bill of Materials', 0, 'recipe.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ADMIN', '', '')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'EN', 'Bill of Materials Admin', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'DE', 'Stücklistenverwaltung', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'FR', 'Administration de la nomenclature', '0')
+mod_FRM_BOM_ADMIN
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'NL', 'Administratie van stuklijsten', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'ES', 'Administración de listas de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'PL', 'Administracja wykazem materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'HU', 'Anyagigazgatási törvénykönyv', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN', 'IT', 'Amministrazione della distinta base', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'EN', 'Bill of Materials', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'DE', 'Stückliste', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'FR', 'Nomenclature', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'NL', 'Stuklijst van materialen', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'ES', 'Lista de materiales', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'PL', 'Wykaz materiałów', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'HU', 'Anyagjegyzék', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_MENU_BOM', 'IT', 'Distinta base', '0')
+
+ INSERT INTO SYS_GROUPS (GROUP_ID, DESCRIPTION) VALUES ('BOM', 'Bill of Materials')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ADMIN')
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM', 'N', 'Y', 'MENU', 'mod_MENU_BOM', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_BOM', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM', 'root', 20)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ADMIN', 'MENU_BOM', 1)
+
+
+
+ ALTER TABLE "APP_LOCATION"
+ ADD ("MSG_PALLET_ISSUE" VARCHAR2(1) DEFAULT 'Y')
+ ADD ("MSG_PALLET_RETURN" VARCHAR2(1) DEFAULT 'Y')
+ ADD ("BARCODE_ID" VARCHAR2(25) DEFAULT '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'EN', 'Barcode ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'DE', 'Barcode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'FR', 'ID de code à barres', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'NL', 'Streepjescode-ID', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'ES', 'Código de barras', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'PL', 'Identyfikator kodu kreskowego', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'HU', 'Vonalkód azonosÃtó', '0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Barcode_ID', 'IT', 'Codice a barre', '0')
+
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-A', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEA')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-B', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEB')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-C', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANEC')
+
+ INSERT INTO APP_LOCATION (LOCATION_ID, PLANT, WAREHOUSE, GLN, DESCRIPTION, STORAGE_LOCATION, STORAGE_TYPE, STORAGE_SECTION, STORAGE_BIN, EQUIPMENT_TRACKING_ID, MSG_DESPATCH_CONFIRM, MSG_DESPATCH_PREADVICE, MSG_DESPATCH_EQUIP_TRACK, MSG_PROD_CONFIRM, PERMITTED_PALLET_STATUS, PERMITTED_BATCH_STATUS, MSG_PALLET_STATUS, MSG_PALLET_SPLIT, MSG_PALLET_DELETE, ENABLED, MSG_JOURNEY_REF, EMAIL_DESPATCH, MSG_PROD_UNCONFIRM, MSG_PALLET_ISSUE, MSG_PALLET_RETURN, BARCODE_ID) VALUES ('MPACK-LANE-D', '', '*', '', '', '', '', '', '', '', 'N', 'N', 'N', 'N', '^', '^', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y', 'LANED')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','EN','Source Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','FR','Champ source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','DE','Quellfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','HU','Forrás mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','PL','Pole źródłowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','IT','Campo di origine','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','NL','Bronveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Field','ES','Campo de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','EN','Source Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','FR','Valeur source','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','DE','Quellwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','HU','Forrásérték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','PL','Wartość źródłowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','IT','Valore della fonte','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','NL','Bronwaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Source_Value','ES','Valor de origen','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','EN','Destination Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','FR','Champ de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','DE','Zielfeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','HU','Cél mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','PL','Pole docelowe','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','IT','Campo di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','NL','Bestemmingsveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Field','ES','Campo de destino','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','EN','Destination Value','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','FR','Valeur de destination','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','DE','Zielwert','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','HU','Cél érték','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','PL','Wartość docelowa','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','IT','Valore di destinazione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','NL','Bestemmingswaarde','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Destination_Value','ES','Valor de destino','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_DEFAULTS', 0, 'defaults.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_DEFAULTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM', 1)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS', 'EN', 'Bill of Material Defaults', '0')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS', 'N', 'Y', 'FORM', 'mod_FRM_BOM_ELEMENTS', 0, 'elements.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_EDIT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_ELEMENTS_PRINT', 'N', 'Y', 'FUNCTION', NULL, 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM', 2)
+
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS', 'EN', 'Bill of Material Elements', '0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','EN','Data Type','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','FR','Type de données','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','DE','Datentyp','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','HU','AdattÃpus','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','PL','Typ danych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','IT','Tipo di dati','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','NL','Gegevenstype','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Data_Type','ES','Tipo de datos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','EN','Max Occurrences','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','FR','Occurrences maximales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','DE','Maximale Vorkommen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','HU','Maximális előfordulások','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','PL','Maksymalna liczba wystąpień','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','IT','Numero massimo di occorrenze','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','NL','Maximaal aantal voorkomens','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Max_Occurrences','ES','Ocurrencias máximas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','EN','Create','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','FR','Créer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','DE','Erstellen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','HU','Teremt','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','PL','Tworzyć','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','IT','Creare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','NL','Creëren','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Create','ES','Crear','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','EN','Edit','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','FR','Modifier','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','DE','Bearbeiten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','HU','Szerkesztés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','PL','Redagować','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','IT','Modificare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','NL','Bewerking','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Edit','ES','Editar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','EN','Delete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','FR','Supprimer','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','DE','Löschen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','HU','Töröl','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','PL','Usuwać','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','IT','Eliminare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','NL','Verwijderen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Delete','ES','Borrar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','EN','Duplicate','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','FR','Double','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','DE','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','HU','Másolat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','PL','Duplikat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','IT','Duplicato','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','NL','Duplicaat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Duplicate','ES','Duplicado','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','EN','Clipboard','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','FR','Presse-papiers','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','DE','Zwischenablage','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','HU','Vágólap','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','PL','Schowek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','IT','Appunti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','NL','Klembord','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Clipboard','ES','Portapapeles','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','EN','Lookup','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','FR','Chercher','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','DE','Nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','HU','Keresés','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','PL','Spojrzeć w górę','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','IT','Cercare','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','NL','Opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup','ES','Buscar','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','EN','Lookup SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','FR','Recherche SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','DE','SQL nachschlagen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','HU','SQL keresése','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','PL','Wyszukaj SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','IT','Cerca SQL','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','NL','SQL opzoeken','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_SQL','ES','SQL de búsqueda','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','EN','Lookup Field','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','FR','Champ de recherche','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','DE','Nachschlagefeld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','HU','Keresési mező','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','PL','Pole wyszukiwania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','IT','Campo di ricerca','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','NL','Opzoekveld','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Lookup_Field','ES','Campo de búsqueda','0')
+
+
diff --git a/c4jWS/src/main/webapp/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml b/c4jWS/src/main/webapp/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml
new file mode 100644
index 000000000..61c549a6e
--- /dev/null
+++ b/c4jWS/src/main/webapp/xml/schema/oracle.jdbc.driver.OracleDriver/000198.xml
@@ -0,0 +1,314 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE', 'N', 'Y', 'FORM', 'mod_FRM_BOM_STRUCTURE', 0, 'structure.gif', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_STRUCTURE_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_STRUCTURE', 0, NULL, NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM', 2)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Stücklistenelemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Anyagelemek jegyzéke','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Distinta degli elementi materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Stuklijstelementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Lista de elementos materiales','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Bill of Materials Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure de la nomenclature','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Stücklistenstruktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Anyagjegyzék szerkezete','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura zestawienia materiałów','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura della distinta materiali','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur van de stuklijst','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura de la lista de materiales','0')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','EN','Category','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','FR','Catégorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','DE','Kategorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','HU','Kategória','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','PL','Kategoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','IT','Categoria','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','NL','Categorie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Category','ES','CategorÃa','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','EN','Parent Data ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','FR','ID des données parentales','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','DE','Elterndaten-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','HU','SzülÅ‘adatok azonosÃtója','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','PL','Identyfikator danych nadrzędnych','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','IT','ID dati genitore','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','NL','Bovenliggende gegevens-ID','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Parent_Data_ID','ES','ID de datos de los padres','0')
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('MENU_BOM_CONFIG', 'N', 'Y', 'MENU', 'mod_MENU_SETUP', 0, '', '', '', '', '', 'Y', 'N', 1, '', 'mod_MENU_SETUP', '', '')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('MENU_BOM_CONFIG', 'MENU_BOM', 20)
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'MENU_BOM_CONFIG')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'MENU_BOM_CONFIG')
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_DEFAULTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_ELEMENTS' AND MENU_ID = 'MENU_BOM'
+
+
+
+ DELETE FROM SYS_MENUS WHERE MODULE_ID = 'FRM_BOM_STRUCTURE' AND MENU_ID = 'MENU_BOM'
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_DEFAULTS', 'MENU_BOM_CONFIG', 1)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_ELEMENTS', 'MENU_BOM_CONFIG', 2)
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_STRUCTURE', 'MENU_BOM_CONFIG', 3)
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ELEMENTS'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_STRUCTURE'
+
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_DEFAULTS'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','EN','Elements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','FR','Éléments','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','DE','Elemente','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','HU','Elemek','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','PL','Elementy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','IT','Elementi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','NL','Elementen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ELEMENTS','ES','Elementos','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','EN','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','FR','Structure','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','DE','Struktur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','HU','Szerkezet','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','PL','Struktura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','IT','Struttura','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','NL','Structuur','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_STRUCTURE','ES','Estructura','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','EN','Defaults','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','FR','Valeurs par défaut','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','DE','Standardeinstellungen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','HU','Alapértelmezések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','PL','Domyślne','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','IT','Predefiniti','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','NL','Standaardwaarden','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_DEFAULTS','ES','Valores predeterminados','0')
+
+
+ DELETE FROM SYS_LANGUAGE WHERE RESOURCE_KEY = 'mod_FRM_BOM_ADMIN'
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','EN','Admin (View / Edit)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','FR','Administrateur (Afficher / Modifier)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','DE','Admin (Anzeigen/Bearbeiten)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','HU','Adminisztrátor (megtekintés/szerkesztés)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','PL','Administrator (Wyświetl / Edytuj)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','IT','Amministratore (Visualizza/Modifica)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','NL','Beheerder (bekijken/bewerken)','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ADMIN','ES','Administrador (Ver / Editar)','0')
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_STRUCTURE_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_DEFAULTS_PRINT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_ELEMENTS_PRINT')
+
+
+
+ DROP INDEX "IDX_APP_BOM_STRUCTURE1"
+
+
+
+ DROP TABLE "APP_BOM_STRUCTURE"
+
+
+
+ CREATE TABLE "APP_BOM_STRUCTURE" (
+ "DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '',
+ "PARENT_DATA_ID" VARCHAR2(20) VISIBLE DEFAULT '' )
+
+
+
+ CREATE INDEX "IDX_APP_BOM_STRUCTURE1"
+ ON "APP_BOM_STRUCTURE" ("DATA_ID" ASC, "PARENT_DATA_ID" ASC)
+
+
+
+ CREATE OR REPLACE VIEW view_bom_structure AS
+ SELECT app_bom_structure.DATA_ID DATA_ID,
+ app_bom_elements.DATA_TYPE DATA_TYPE,
+ app_bom_structure.PARENT_DATA_ID PARENT_DATA_ID,
+ app_bom_elements.ENABLE_EDIT ENABLE_EDIT,
+ app_bom_elements.ENABLE_CREATE ENABLE_CREATE,
+ app_bom_elements.ENABLE_DELETE ENABLE_DELETE,
+ app_bom_elements.ENABLE_DUPLICATE ENABLE_DUPLICATE,
+ app_bom_elements.ENABLE_CLIPBOARD ENABLE_CLIPBOARD,
+ app_bom_elements.ENABLE_LOOKUP ENABLE_LOOKUP,
+ app_bom_elements.LOOKUP_SQL LOOKUP_SQL,
+ app_bom_elements.LOOKUP_FIELD LOOKUP_FIELD,
+ app_bom_elements.ICON_FILENAME ICON_FILENAME,
+ app_bom_elements.MAX_OCCUR_LEVEL MAX_OCCUR_LEVEL,
+ app_bom_elements.DESCRIPTION DESCRIPTION
+ FROM (app_bom_structure JOIN app_bom_elements ON ((app_bom_structure.DATA_ID = app_bom_elements.DATA_ID)))
+
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('description', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('gtin', 'uom')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('hrs', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('input', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('location_id', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'resource')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('line', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'input')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('material', 'output')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('output', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('quantity', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('resource', 'stage')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('root', '')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('runtime', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('sequence', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('stage', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('type', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('uom', 'material')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('updated', 'root')
+
+ INSERT INTO APP_BOM_STRUCTURE (DATA_ID, PARENT_DATA_ID) VALUES ('variant', 'uom')
+
+
+
diff --git a/c4jWS/src/main/webapp/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml b/c4jWS/src/main/webapp/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml
new file mode 100644
index 000000000..3166d412d
--- /dev/null
+++ b/c4jWS/src/main/webapp/xml/schema/oracle.jdbc.driver.OracleDriver/000199.xml
@@ -0,0 +1,118 @@
+
+
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST', 'N', 'Y', 'FORM', 'mod_FRM_BOM_LIST', 0, 'list.png', '', '', '', '', 'Y', 'N', 1, '', 'mod_FRM_BOM_LIST', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_ADD', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_DELETE', 'N', 'Y', 'FUNCTION', '5 ', 0, '', '', '', '', '', 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_MODULES (MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('FRM_BOM_LIST_EDIT', 'N', 'Y', 'FUNCTION', 'mod_FRM_BOM_LIST', 0, 'recipe.gif', NULL, NULL, NULL, NULL, 'Y', 'N', 1, '', '', '', '')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('BOM', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_ADD')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_DELETE')
+
+
+
+ INSERT INTO SYS_GROUP_PERMISSIONS (GROUP_ID, MODULE_ID) VALUES ('ADMIN', 'FRM_BOM_LIST_EDIT')
+
+
+
+ INSERT INTO SYS_MENUS (MODULE_ID, MENU_ID, SEQUENCE_ID) VALUES ('FRM_BOM_LIST', 'MENU_BOM_CONFIG', 5)
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','EN','Lists','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','FR','Listes','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','DE','Listen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','HU','Listák','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','PL','Listy','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','IT','Elenchi','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','NL','Lijsten','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_LIST','ES','Liza','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','EN','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','FR','Article','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','DE','Artikel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','HU','Tétel','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','PL','Przedmiot','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','IT','Articolo','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','NL','Item','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Item','ES','ArtÃculo','0')
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_ELEMENTS', 'N', 'Y', 'REPORT', 'BOM Elements', 0, '', '', 'bom_elements.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_ELEMENTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_DEFAULTS', 'N', 'Y', 'REPORT', 'BOM Defaults', 0, '', '', 'bom_defaults.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_DEFAULTS', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_STRUCTURE', 'N', 'Y', 'REPORT', 'BOM Structure', 0, '', '', 'bom_structure.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_STRUCTURE', '', '')
+
+
+
+ INSERT INTO SYS_MODULES(MODULE_ID, RF_ACTIVE, DK_ACTIVE, MODULE_TYPE, HINT, MNEMONIC, ICON_FILENAME, HELPSET_ID, REPORT_FILENAME, EXEC_FILENAME, EXEC_DIR, PRINT_PREVIEW, PRINT_DIALOG, PRINT_COPIES, REPORT_TYPE, RESOURCE_KEY, AUTO_LABELLER_COMMAND_FILE, AUTO_LABELLER_LABEL_FILE) VALUES ('RPT_BOM_LIST', 'N', 'Y', 'REPORT', 'BOM Lists', 0, '', '', 'bom_lists.jrxml', '', '', 'Y', 'N', 1, 'Standard', 'mod_FRM_BOM_LIST', '', '')
+
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','EN','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','FR','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','DE','Version','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','HU','Változat','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','PL','Wersja','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','IT','Versione','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','NL','Versie','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Version','ES','Versión','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','EN','Enquiries','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','FR','Demandes de renseignements','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','DE','Anfragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','HU','Érdeklődések','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','PL','Zapytania','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','IT','Richieste','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','NL','Vragen','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('mod_FRM_BOM_ENQUIRY','ES','Consultas','0')
+
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','EN','Stage or Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','FR','Étape ou phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','DE','Stufe oder Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','HU','Stage vagy Phase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','PL','Etap lub faza','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','IT','Stadio o Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','NL','Fase of Fase','0')
+ INSERT INTO SYS_LANGUAGE (RESOURCE_KEY, LANGUAGE_ID, TEXT, MNEMONIC) VALUES ('lbl_Stage_Phase','ES','Etapa o Fase','0')
+
+
diff --git a/c4jWS/src/main/webapp/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml b/c4jWS/src/main/webapp/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
index 337bb1136..6445ca54c 100644
--- a/c4jWS/src/main/webapp/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
+++ b/c4jWS/src/main/webapp/xml/sql/sql.com.microsoft.sqlserver.jdbc.SQLServerDriver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [view_pallet_history_expiry]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [view_pallet_history]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(IIF(transaction_type = 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value = ?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,7 +286,7 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(a.module_id) from [view_security] a where a.user_id = ? order by a.module_id
@@ -291,24 +297,24 @@
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
-
+
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}view_permissions order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,u.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,u.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT a.* FROM [view_menu_structure]a WHERE a.MENU_ID = ? AND a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT a.* FROM [view_rf_menu]a WHERE a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT a.* FROM [view_toolbar]a WHERE a.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,[updated]=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -584,8 +587,8 @@
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,7 +617,7 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
@@ -643,7 +646,15 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER
-
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
+
JDBProcessOrder.ViewResource
select * from view_process_order_resource
@@ -651,7 +662,7 @@
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from view_process_order_resource where process_order=?
-
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,18 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -745,7 +772,7 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -800,39 +827,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- P.SSCC,
- P.STATUS AS 'PALLET_STATUS',
- P.LOCATION_ID,
- P.DESPATCH_NO,
- MB.MATERIAL,
- MB.BATCH_NUMBER,
- MB.STATUS AS 'BATCH_STATUS'
- FROM
- APP_PALLET P,
- APP_MATERIAL_BATCH MB
- WHERE
- MB.MATERIAL = P.MATERIAL
- AND MB.BATCH_NUMBER = P.BATCH_NUMBER
- AND P.DESPATCH_NO = %1
- AND (
- P.STATUS NOT IN ( %2 )
- OR MB.STATUS NOT IN ( %3 )
- )
-
+ SELECT P.SSCC, P.STATUS AS 'PALLET_STATUS', P.LOCATION_ID, P.DESPATCH_NO, MB.MATERIAL, MB.BATCH_NUMBER, MB.STATUS AS 'BATCH_STATUS' FROM APP_PALLET P, APP_MATERIAL_BATCH MB WHERE MB.MATERIAL = P.MATERIAL AND MB.BATCH_NUMBER = P.BATCH_NUMBER AND P.DESPATCH_NO = %1 AND ( P.STATUS NOT IN ( %2 ) OR MB.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +858,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +875,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +896,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (report_request_id,module_id,invocation_mode,parameter_count,parameter_delimiter,parameter_names,parameter_types,parameter_values,sql,print_queue_name,print_copies) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +913,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +938,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +967,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +996,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1025,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1050,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1071,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1092,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1117,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1142,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1167,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1192,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1221,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1250,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1287,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1323,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1348,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1381,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1406,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1427,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}view_label_data WHERE UNIQUE_ID = ?
@@ -1432,96 +1436,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}view_auto_labeller_printer where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}view_auto_labeller_printer
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1537,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1573,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1599,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1657,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1670,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1703,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1711,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}view_barcode_validate where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1738,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1763,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1792,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1804,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1821,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1850,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1879,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1912,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1923,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1960,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +2003,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2032,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2059,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2072,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2097,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2122,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2130,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2163,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2210,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2219,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2243,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2264,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2284,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2292,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2321,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2339,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2376,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2401,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2430,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2442,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2455,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?, sample_point = ?, id=?,lane_1=?,lane_2=?,lane_3=?,lane_4=?,lane_5=? where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2496,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2529,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2570,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2594,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2603,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2619,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2642,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2673,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select top (?) * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc
+ select top (?) * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2700,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2725,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2749,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2761,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,11 +2778,11 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
@@ -2909,6 +2795,184 @@
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
-
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM >'' AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/c4jWS/src/main/webapp/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml b/c4jWS/src/main/webapp/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
index c6e3009e7..f80059eaa 100644
--- a/c4jWS/src/main/webapp/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
+++ b/c4jWS/src/main/webapp/xml/sql/sql.com.mysql.cj.jdbc.Driver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [view_pallet_history_expiry]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [view_pallet_history]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(IF(transaction_type = 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value = ?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,7 +286,7 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(S.module_id) from [view_security] as S where S.user_id = ? order by module_id
@@ -291,24 +297,24 @@
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
-
+
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}view_permissions order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,u.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,u.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT * FROM [view_menu_structure] AS M WHERE M.MENU_ID = ? AND M.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT * FROM [view_rf_menu] AS T WHERE T.MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT * FROM [view_toolbar] AS T WHERE T.MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,updated=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -584,8 +587,8 @@
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,7 +617,7 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
@@ -643,7 +646,15 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER
-
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
+
JDBProcessOrder.ViewResource
select * from view_process_order_resource
@@ -651,7 +662,7 @@
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from view_process_order_resource where process_order=?
-
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,14 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -745,7 +768,7 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -800,39 +823,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- P.SSCC,
- P.STATUS AS 'PALLET_STATUS',
- P.LOCATION_ID,
- P.DESPATCH_NO,
- MB.MATERIAL,
- MB.BATCH_NUMBER,
- MB.STATUS AS 'BATCH_STATUS'
- FROM
- APP_PALLET P,
- APP_MATERIAL_BATCH MB
- WHERE
- MB.MATERIAL = P.MATERIAL
- AND MB.BATCH_NUMBER = P.BATCH_NUMBER
- AND P.DESPATCH_NO = %1
- AND (
- P.STATUS NOT IN ( %2 )
- OR MB.STATUS NOT IN ( %3 )
- )
-
+ SELECT P.SSCC, P.STATUS AS 'PALLET_STATUS', P.LOCATION_ID, P.DESPATCH_NO, MB.MATERIAL, MB.BATCH_NUMBER, MB.STATUS AS 'BATCH_STATUS' FROM APP_PALLET P, APP_MATERIAL_BATCH MB WHERE MB.MATERIAL = P.MATERIAL AND MB.BATCH_NUMBER = P.BATCH_NUMBER AND P.DESPATCH_NO = %1 AND ( P.STATUS NOT IN ( %2 ) OR MB.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +854,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +871,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +892,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (`REPORT_REQUEST_ID`,`MODULE_ID`,`INVOCATION_MODE`,`PARAMETER_COUNT`,`PARAMETER_DELIMITER`,`PARAMETER_NAMES`,`PARAMETER_TYPES`,`PARAMETER_VALUES`,`SQL`,`PRINT_QUEUE_NAME`,`PRINT_COPIES`) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +909,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +934,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +963,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +992,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1021,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1046,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1067,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1088,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1113,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1138,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1163,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1188,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1217,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1246,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1283,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1319,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1344,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1377,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1402,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1423,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}view_label_data WHERE UNIQUE_ID = ?
@@ -1432,96 +1432,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}view_auto_labeller_printer where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}view_auto_labeller_printer
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}view_auto_labeller_printer where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1533,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1569,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1595,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1653,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1666,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1699,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1707,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}view_barcode_validate where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1734,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1759,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1788,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1800,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1817,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1846,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1875,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1908,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1919,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1956,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +1999,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2028,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2055,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2068,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2093,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2118,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2126,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2159,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}view_waste_location_materials where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}view_waste_location_materials where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}view_waste_location_materials where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2206,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2215,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2239,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2260,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2280,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2288,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2317,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2335,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2372,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2397,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2426,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2438,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2451,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?, sample_point = ?, id=?,lane_1=?,lane_2=?,lane_3=?,lane_4=?,lane_5=? where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2492,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2525,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2566,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2590,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2599,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2615,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2638,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2669,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc limit ?
+ select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc limit ?
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2696,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2721,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2745,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2757,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,23 +2774,201 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
JDBOperatives.getOperatives
select * from {schema}APP_OPERATIVES order by id
-
-
+
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
-
+
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM >'' AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/c4jWS/src/main/webapp/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml b/c4jWS/src/main/webapp/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
index 2a895fb6b..289b81c79 100644
--- a/c4jWS/src/main/webapp/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
+++ b/c4jWS/src/main/webapp/xml/sql/sql.oracle.jdbc.driver.OracleDriver.xml
@@ -1,7 +1,8 @@
-
+
+
-
+
JDBPalletHistory.write
insert into {schema}APP_PALLET_HISTORY (transaction_ref,transaction_type,transaction_subtype,transaction_date,sscc,despatch_no,location_id,material,batch_number,process_order,quantity,uom,date_of_manufacture,status,ean,variant,user_id,confirmed,layers,sscc_expiry_date,customer_id,mhn_number,decision,equipment_type) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
@@ -10,18 +11,23 @@
JDBPalletHistory.selectWithExpiry
select * from [VIEW_PALLET_HISTORY_EXPIRY]
+
+ JDBPalletHistory.selectWithSSCC
+ select * from app_pallet_history where sscc = ? order by transaction_ref desc
+
JDBPalletHistory.select
select * from [VIEW_PALLET_HISTORY]
JDBPalletHistory.insertFromPallet
- INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE)
- SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY,
- UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
-
-
+ INSERT INTO APP_PALLET_HISTORY (TRANSACTION_REF,TRANSACTION_TYPE,TRANSACTION_SUBTYPE,TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER, PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE) SELECT ? as TRANSACTION_REF,? as TRANSACTION_TYPE,? AS TRANSACTION_SUBTYPE,? AS TRANSACTION_DATE,SSCC,LOCATION_ID,MATERIAL,BATCH_NUMBER,PROCESS_ORDER,QUANTITY, UOM,DATE_OF_MANUFACTURE,STATUS,EAN,VARIANT,DESPATCH_NO,? AS USER_ID,CONFIRMED,LAYERS,SSCC_EXPIRY_DATE,CUSTOMER_ID,MHN_NUMBER,DECISION,EQUIPMENT_TYPE FROM APP_PALLET WHERE DESPATCH_NO = ?
+
+
+ JDBPalletHistory.getReturnableBySSCC
+ select process_order,location_id,SUM(DECODE(transaction_type, 'ISSUE',quantity,-1 * quantity)) AS quantity,MAX(uom) AS uom from app_pallet_history where ((transaction_type = 'ISSUE' and transaction_subtype = 'TO' ) or (transaction_type = 'RETURN' and transaction_subtype = 'FROM' )) and sscc = ? group by process_order,location_id
+
+
JDBControl.lockRecord
update SYS_CONTROL set key_value = key_value where system_key = ?
@@ -50,7 +56,7 @@
JDBControl.update
update {schema}SYS_CONTROL set key_value =?,description=? where System_key = ?
-
+
JDBGroup.create
insert into {schema}SYS_GROUPS (group_id,description) values (?,?)
@@ -66,7 +72,7 @@
JDBGroup.getGroups
select * from {schema}SYS_GROUPS order by group_id
-
+
JDBGroup.getGroupProperties
select * from {schema}SYS_GROUPS where group_id = ?
@@ -83,7 +89,7 @@
JDBGroup.update
update {schema}SYS_GROUPS set description=? where group_id=?
-
+
JDBGroupPermissions.create
insert into {schema}SYS_GROUP_PERMISSIONS (group_id,module_id) values (?,?)
@@ -120,7 +126,7 @@
JDBGroupPermissions.renameModuleTo
update {schema}SYS_GROUP_PERMISSIONS set module_id =? where module_id = ?
-
+
JDBMenus.create
insert into {schema}SYS_MENUS (menu_id,module_id,sequence_id) values (?,?,?)
@@ -153,7 +159,7 @@
JDBMenus.renameMenuTo
update {schema}SYS_MENUS set menu_id = ? where menu_id = ?
-
+
JDBModule.getModulesUnAssignedtoToolbar
select * from {schema}SYS_MODULES where module_type = 'FORM' and module_id not in (select module_id from {schema}SYS_TOOLBAR) order by module_id
@@ -216,7 +222,7 @@
JDBModule.getModulesUnAssignedtoMenu
- select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
+ select * from {schema}SYS_MODULES where module_id<>? and module_type<>'FUNCTION' and module_type<>'REPORT' and module_id not in (select module_id from {schema}SYS_MENUS where menu_id = ?) order by module_id
JDBModule.removeGroup
@@ -238,7 +244,7 @@
JDBModule.isValidModuleId
select * from {schema}SYS_MODULES where module_id = ?
-
+
JDBToolbar.create
insert into {schema}SYS_TOOLBAR (module_id,sequence_id) values (?,?)
@@ -259,7 +265,7 @@
JDBToolbar.update
update {schema}SYS_TOOLBAR set sequence_id=? where module_id=?
-
+
JDBRFMenu.create
insert into {schema}SYS_RF_MENU (module_id,sequence_id) values (?,?)
@@ -280,35 +286,35 @@
JDBRFMenu.update
update {schema}SYS_RF_MENU set sequence_id=? where module_id=?
-
+
JDBUser.loadModules
select distinct(module_id) from [view_security] where user_id = ? order by module_id
JDBUser.changePassword
- update {schema}SYS_USERS set Password = ?,last_password_change = ?,password_version=password_version+1,password_change_required='N',password_encrypted=? where user_id = ?
+ update {schema}SYS_USERS set Password = ?,last_password_change = ?,password_version=password_version+1,password_change_required='N',password_encrypted=? where user_id = ?
JDBUser.recordPasswordChange
- insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
+ insert into {schema}SYS_USERS_PASSWORD_HISTORY (user_id,password_version,password) (select user_id,password_version,password from {schema}SYS_USERS where user_id=?)
JDBUser.archivePasswordHistory
- delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
-
+ delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version <= ?
+
JDBUser.renamePasswordHistory
update {schema}SYS_USERS_PASSWORD_HISTORY set user_id = ? where user_id = ?
-
+
JDBUser.deletePasswordHistory
delete from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ?
-
+
JDBUser.findInPasswordHistory
- select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
-
+ select * from {schema}SYS_USERS_PASSWORD_HISTORY where user_id = ? and password_version >= ? and password = ?
+
JDBUser.create
insert into {schema}SYS_USERS(user_id,password,password_version) values (?,'tempcreate',0)
@@ -332,7 +338,7 @@
JDBUser.enable
update {schema}SYS_USERS set account_enabled = 'Y' where user_id = ?
-
+
JDBUser.getUserGroupsUnAssigned
select group_id from {schema}SYS_GROUPS where group_id not in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?) order by group_id
@@ -344,7 +350,7 @@
JDBUser.getUserPermisions
select * from {schema}VIEW_PERMISSIONS order by user_id,group_id,module_id
-
+
JDBUser.getUserProperties
select * from {schema}SYS_USERS where user_id = ?
@@ -373,7 +379,7 @@
JDBUser.update
update {schema}SYS_USERS set password_expires=?,password_change_allowed=?,language_id=?,user_comment=?,account_expires=?,account_expiry_date=?,email_address=?,password_change_required=? where user_id=?
-
+
JDBUserGroupMembership.addUsertoGroup
insert into {schema}SYS_USER_GROUP_MEMBERSHIP (user_id,group_id) values (?,?)
@@ -392,11 +398,8 @@
JDBUserGroupMembership.getUsersAssignedtoGroup
- select ugm.GROUP_ID,U.*
- from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u
- where ugm.group_id=?
- and u.USER_ID = ugm.USER_ID
-
+ select ugm.GROUP_ID,U.* from SYS_USER_GROUP_MEMBERSHIP ugm, SYS_USERS u where ugm.group_id=? and u.USER_ID = ugm.USER_ID
+
JDBUserGroupMembership.isValidUserGroupMembership
select * from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ? and group_id = ?
@@ -425,7 +428,7 @@
JDBUserGroupMembership.renameUserTo
update {schema}SYS_USER_GROUP_MEMBERSHIP set user_id =? where user_id = ?
-
+
JDBUom.create
insert into {schema}APP_UOM (uom,iso_uom,description,local_uom) values (?,?,?,?)
@@ -462,22 +465,22 @@
JDBUom.update
update {schema}APP_UOM set description=?,iso_uom=?,local_uom=? where uom=?
-
+
JInternalFrameMenuTree.buildMenuTree
SELECT * FROM [view_menu_structure]WHERE MENU_ID = ? AND MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuRFMenu.buildMenu
SELECT * FROM [view_rf_menu]WHERE MODULE_ID IN (select module_id from {schema}SYS_MODULES where rf_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JMenuToolbarMenu.buildMenu
SELECT * FROM [view_toolbar]WHERE MODULE_ID IN (select module_id from {schema}SYS_MODULES where dk_active = 'Y' and module_id in (select module_id from {schema}SYS_GROUP_PERMISSIONS where group_id in (select group_id from {schema}SYS_USER_GROUP_MEMBERSHIP where user_id = ?))) order by sequence_id
-
+
JDBMaterial.create
insert into {schema}APP_MATERIAL (material) values (?)
@@ -514,7 +517,7 @@
JDBMaterial.update
update {schema}APP_MATERIAL set base_uom=?,description=?,gross_weight=?,material_type=?,old_material=?,net_weight=?,weight_uom=?,shelf_life=?,shelf_life_rule=?,shelf_life_uom=?,default_batch_status=?,equipment_type=?,updated=?,inspection_id=?,override_pack_label=?,pack_label_module_id=?,override_pallet_label=?,pallet_label_module_id=?,validate_scan_pallet=?,validate_scan_case=?,validate_scan_each=?,enabled=?,move_after_make_enabled=?,move_after_make_location_id=? where material=?
-
+
JDBMaterialUom.isValidMaterialUom
select * from {schema}APP_MATERIAL_UOM where material = ? and uom=?
@@ -539,7 +542,7 @@
JDBMaterialUom.getMaterialUoms
select * from {schema}APP_MATERIAL_UOM where material=? order by uom
-
+
JDBMaterialBatch.getMaterialBatchProperties
select * from {schema}APP_MATERIAL_BATCH where material = ? and batch_number = ?
@@ -560,7 +563,7 @@
JDBMaterialBatch.delete
delete from {schema}APP_MATERIAL_BATCH where material= ? and batch_number = ?
-
+
JDBJourney.getProperties
select * from {schema}APP_JOURNEY where journey_ref = ?
@@ -580,12 +583,12 @@
JDBJourney.delete
delete from {schema}APP_JOURNEY where journey_ref = ?
-
+
JDBJourney.getJourneyList
select * from {schema}APP_JOURNEY where status = 'Unassigned' order by journey_ref
-
-
+
+
JDBMaterialType.getMaterialTypeProperties
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
@@ -614,11 +617,11 @@
JDBMaterialType.isValidMaterialType
select * from {schema}APP_MATERIAL_TYPE where material_type = ?
-
+
JDBProcessOrder.getResources
select distinct required_resource from APP_PROCESS_ORDER where required_resource > '' and required_resource not in (select required_resource from {schema}APP_AUTO_LABELLER_RESOURCES where line = ? and group_id = ?) order by required_resource
-
+
JDBProcessOrder.create
insert into {schema}APP_PROCESS_ORDER (process_order) values (?)
@@ -629,7 +632,7 @@
JDBProcessOrder.getProcessOrderProperties
- select * from {schema}APP_PROCESS_ORDER where process_order = ?
+ select * from {schema}APP_PROCESS_ORDER where process_order = ?
JDBProcessOrder.isValidProcessOrder
@@ -643,15 +646,23 @@
JDBProcessOrder.selectWithLimit
select * from {schema}APP_PROCESS_ORDER
+
+ JDBProcessOrder.selectByStatus
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? ORDER BY due_date,process_order DESC
+
+
+ JDBProcessOrder.selectByStatusByResource
+ select * from {schema}APP_PROCESS_ORDER as APP_PROCESS_ORDER WHERE status = ? and required_resource = ? ORDER BY due_date,process_order DESC
+
JDBProcessOrder.ViewResource
select * from VIEW_PROCESS_ORDER_RESOURCE
-
+
JDBProcessOrder.ViewResourceAlternate
select *,? AS BATCH_SUFFIX_OVERRIDE from VIEW_PROCESS_ORDER_RESOURCE where process_order=?
-
-
+
+
JDBLocation.create
insert into {schema}APP_LOCATION (location_id) values (?)
@@ -662,7 +673,7 @@
JDBLocation.update
- update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=? where location_id=?
+ update {schema}APP_LOCATION set plant=?,warehouse=?,gln=?,description=?,storage_location=?,storage_type=?,storage_section=?,storage_bin=?,equipment_tracking_id=?,msg_despatch_confirm=?,msg_despatch_preadvice=?,msg_despatch_equip_track=?,msg_prod_confirm=?,permitted_pallet_status=?,permitted_batch_status=?,msg_pallet_status=?,msg_pallet_split=?,msg_pallet_delete=?,enabled=?,msg_journey_ref=?,email_despatch=?,msg_prod_unconfirm=?,msg_pallet_issue=?,msg_pallet_return=?,barcode_id=? where location_id=?
JDBLocation.getLocationProperties
@@ -680,7 +691,11 @@
JDBLocation.isValidLocation
select location_id from {schema}APP_LOCATION where location_id = ?
-
+
+ JDBLocation.getLocationIDfromBarcodeID
+ select * from {schema}APP_LOCATION where barcode_id = ? or location_id = ?
+
+
JDBPallet.rapidConfirm
update APP_PALLET set confirmed = 'Y', date_of_manufacture = ?, date_updated = ?, updated_by_user_id = ? where sscc = ? and confirmed = 'N'
@@ -717,6 +732,18 @@
JDBPallet.updateStatus
update {schema}APP_PALLET set status=?,updated_by_user_id=?,date_updated=? where sscc = ?
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Return
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=?,location_id=? where sscc = ?
+
+
+ JDBPallet.Issue
+ update app_pallet set quantity = ?,updated_by_user_id=?, date_updated=? where sscc = ?
+
JDBPallet.updateMHNNumber
update {schema}APP_PALLET set mhn_number=?,updated_by_user_id=?,date_updated=? where sscc = ?
@@ -744,8 +771,8 @@
JDBPallet.updateLocationIDByDespatchNo
update {schema}APP_PALLET set location_id=?,updated_by_user_id=?,date_updated=? where despatch_no = ?
-
-
+
+
JDBDespatch.create
insert into {schema}APP_DESPATCH (despatch_no,status) values (?,?)
@@ -769,7 +796,7 @@
JDBDespatch.setConfirmed
update {schema}APP_DESPATCH set transaction_ref=?,status=?,despatch_date=?,total_pallets=(select count(sscc) from {schema}APP_PALLET where despatch_no = ?) where despatch_no=?
-
+
JDBDespatch.getDespatchProperties
select * from {schema}APP_DESPATCH where despatch_no = ?
@@ -800,39 +827,17 @@
JDBDespatch.checkPalletBatchStatus
-
- SELECT
- APP_PALLET.SSCC,
- APP_PALLET.STATUS "PALLET_STATUS",
- APP_PALLET.LOCATION_ID,
- APP_PALLET.DESPATCH_NO,
- APP_MATERIAL_BATCH.MATERIAL,
- APP_MATERIAL_BATCH.BATCH_NUMBER,
- APP_MATERIAL_BATCH.STATUS AS "BATCH_STATUS"
- FROM
- APP_PALLET,
- APP_MATERIAL_BATCH
- WHERE
- APP_MATERIAL_BATCH.MATERIAL = APP_PALLET.MATERIAL
- AND APP_MATERIAL_BATCH.BATCH_NUMBER = APP_PALLET.BATCH_NUMBER
- AND APP_PALLET.DESPATCH_NO = %1
- AND (
- APP_PALLET.STATUS NOT IN ( %2 )
- OR APP_MATERIAL_BATCH.STATUS NOT IN ( %3 )
- )
-
+ SELECT APP_PALLET.SSCC, APP_PALLET.STATUS "PALLET_STATUS", APP_PALLET.LOCATION_ID, APP_PALLET.DESPATCH_NO, APP_MATERIAL_BATCH.MATERIAL, APP_MATERIAL_BATCH.BATCH_NUMBER, APP_MATERIAL_BATCH.STATUS AS "BATCH_STATUS" FROM APP_PALLET, APP_MATERIAL_BATCH WHERE APP_MATERIAL_BATCH.MATERIAL = APP_PALLET.MATERIAL AND APP_MATERIAL_BATCH.BATCH_NUMBER = APP_PALLET.BATCH_NUMBER AND APP_PALLET.DESPATCH_NO = %1 AND ( APP_PALLET.STATUS NOT IN ( %2 ) OR APP_MATERIAL_BATCH.STATUS NOT IN ( %3 ) )
JDBDespatch.getDespatchPalletWrongLocationCount
-
- select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
-
+ select count(sscc) as pallet_count from APP_PALLET where despatch_no = ? and location_id <> ?
JDBDespatch.updateTotalEquipment
update APP_DESPATCH set total_equipment = ? where despatch_no = ?
-
+
JDBInterface.getInterfaceProperties
select * from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
@@ -853,7 +858,7 @@
JDBInterface.delete
delete from {schema}SYS_INTERFACE where interface_type = ? and interface_direction = ?
-
+
JDBInterfaceLog.create
insert into {schema}SYS_INTERFACE_LOG (event_Time,interface_log_id,message_ref,interface_type,message_information,interface_direction,action,message_date,message_status,message_error,workstation_id,filename) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -870,7 +875,7 @@
JDBInterfaceLog.archive2
delete from SYS_INTERFACE_LOG where INTERFACE_DIRECTION = 'Output' and MESSAGE_STATUS = 'Success'
-
+
JDBInterfaceRequest.create
insert into {schema}SYS_INTERFACE_REQUEST (event_Time,interface_request_id,interface_type,workstation_id,transaction_ref,status,filename,request_mode,unique_id) values (?,?,?,?,?,?,?,?,?)
@@ -891,7 +896,7 @@
JDBInterfaceRequest.getInterfaceRequestIDs
select * from {schema}SYS_INTERFACE_REQUEST where status = ? order by interface_request_id
-
+
JDBReportRequest.create
insert into {schema}SYS_REPORT_REQUEST (report_request_id,module_id,invocation_mode,parameter_count,parameter_delimiter,parameter_names,parameter_types,parameter_values,sql,print_queue_name,print_copies) values (?,?,?,?,?,?,?,?,?,?,?)
@@ -908,7 +913,7 @@
JDBReportRequest.getReportRequestIDs
select * from {schema}SYS_REPORT_REQUEST order by report_request_id
-
+
JDBLanguage.getText
select * from {schema}SYS_LANGUAGE where resource_key = ? and language_id = ?
@@ -933,7 +938,7 @@
JDBLanguage.create
insert into {schema}SYS_LANGUAGE (resource_key,language_id,text,mnemonic) values (?,?,?,?)
-
+
JDBCustomer.getCustomerProperties
select * from {schema}APP_CUSTOMER where customer_id = ?
@@ -962,8 +967,7 @@
JDBCustomer.isValidCustomer
select * from {schema}APP_CUSTOMER where customer_id = ?
-
-
+
JDBMHNReason.getReasonProperties
select * from {schema}APP_MHN_REASONS where Reason = ?
@@ -992,7 +996,7 @@
JDBMHNReason.isValidReason
select * from {schema}APP_MHN_REASONS where Reason = ?
-
+
JDBMHNDecision.getDecisionProperties
select * from {schema}APP_MHN_DECISIONS where Decision = ?
@@ -1021,7 +1025,7 @@
JDBMHNDecision.isValidDecision
select * from {schema}APP_MHN_DECISIONS where Decision = ?
-
+
JDBMHN.create
insert into {schema}APP_MHN (mhn_number,date_created,status,recorder) values (?,?,?,?)
@@ -1046,7 +1050,7 @@
JDBMHN.palletDecisionSummary
select mhn_number,decision,sum(quantity) as sum_quantity,count(sscc) as count_sscc from {schema}APP_PALLET where mhn_number = ? group by mhn_number,decision having mhn_number = ?
-
+
JDBMaterialLocation.create
insert into {schema}APP_MATERIAL_LOCATION (material,location_id) values (?,?)
@@ -1067,7 +1071,7 @@
JDBMaterialLocation.getProperties
select * from {schema}APP_MATERIAL_LOCATION where material = ? and location_id = ?
-
+
JDBQMInspection.create
insert into {schema}APP_QM_INSPECTION (inspection_id,description,extension_id) values (?,?,?)
@@ -1088,7 +1092,7 @@
JDBQMInspection.update
update {schema}APP_QM_INSPECTION set description = ? where inspection_id = ?
-
+
JDBQMActivity.getActivities
select * from {schema}APP_QM_ACTIVITY where inspection_id = ? order by activity_id
@@ -1113,7 +1117,7 @@
JDBQMActivity.update
update {schema}APP_QM_ACTIVITY set description = ? where inspection_id = ? and activity_id = ?
-
+
JDBQMTest.getTests
select * from {schema}APP_QM_TEST where inspection_id = ? and activity_id =? order by sequence_id
@@ -1138,7 +1142,7 @@
JDBQMTest.update
update {schema}APP_QM_TEST set sequence_id = ? where inspection_id = ? and activity_id = ? and test_id=?
-
+
JDBQMDictionary.getTests
select * from {schema}APP_QM_DICTIONARY order by test_id
@@ -1163,7 +1167,7 @@
JDBQMDictionary.update
update {schema}APP_QM_DICTIONARY set field_alignment=?,description=?,datatype=?,uom=?,required=?,select_list_id=?,visible=?,field_width=?,default_value=? where test_id = ?
-
+
JDBQMExtension.getProperties
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
@@ -1188,7 +1192,7 @@
JDBQMExtension.isValid
select * from {schema}APP_QM_EXTENSION where extension_id = ? and linked_table = ? and fieldname = ?
-
+
JDBQMSample.getSamples
select * from {schema}APP_QM_SAMPLE where process_order=? and inspection_id = ? and activity_id = ? order by sample_date
@@ -1217,12 +1221,12 @@
JDBQMSample.selectWithLimit
select * from {schema}APP_QM_SAMPLE
-
+
JDBQMResult.getResult
select * from {schema}APP_QM_RESULT where sample_id = ? and test_id = ?
-
+
JDBQMResult.getResults
select * from {schema}APP_QM_RESULT where sample_id = ?
@@ -1246,7 +1250,7 @@
JDBQMResult.update
update {schema}APP_QM_RESULT set value=?,updated=?,user_id=?,status=?,processed=? where sample_id = ? and test_id = ?
-
+
JDBQMSelectList.getList
select * from {schema}APP_QM_SELECTLIST where select_list_id = ? order by sequence,value
@@ -1283,11 +1287,11 @@
JDBAutoLabeller.create
insert into {schema}APP_AUTO_LABELLER (line,group_id,description,prefix_code,unique_id,modified,validate_resource,validate_workstation) values (?,?,?,?,?,?,?,?)
-
+
JDBAutoLabeller.resend
update {schema}APP_AUTO_LABELLER set modified = ? where line = ? and group_id = ?
-
+
JDBAutoLabeller.delete
delete from {schema}APP_AUTO_LABELLER where line = ? and group_id = ?
@@ -1319,12 +1323,12 @@
JDBAutoLabeller.getLabellerIDsforGroup
select * from {schema}APP_AUTO_LABELLER WHERE GROUP_ID = ? order by LINE
-
+
JDBUserReport.create
insert into {schema}SYS_USER_REPORTS (USER_REPORT_ID) values (?)
-
+
JDBUserReport.delete
delete from {schema}SYS_USER_REPORTS where USER_REPORT_ID = ?
@@ -1344,20 +1348,20 @@
JDBUserReport.update
update {schema}SYS_USER_REPORTS set DISPLAY_SEQUENCE=?,DESCRIPTION=?,SQL_SELECT=?,MODULE_ID=?,DESTINATION=?,ENABLED=?,PRIVATE=?,USER_ID=?,GROUP_ID=?,PARAM_DATE_RANGE=?,SAVE_PATH=?,PREVIEW=?,PROMPT_SAVE_AS=?,EMAIL_ENABLED=?,EMAIL_PROMPT_ENABLED=?,EMAIL_ADDRESSES=? where USER_REPORT_ID = ?
-
+
JDBUserReport.getUserReportIDs
select * from {schema}SYS_USER_REPORTS order by DISPLAY_SEQUENCE,USER_REPORT_ID
-
+
JDBUserReport.updateUserID
update {schema}SYS_USER_REPORTS set USER_ID=? where USER_ID = ?
-
+
JDBShifts.create
insert into {schema}APP_SHIFTS (SHIFT_ID,START_TIME,END_TIME,DESCRIPTION) values (?,?,?,?)
-
+
JDBShifts.delete
delete from {schema}APP_SHIFTS where SHIFT_ID = ?
@@ -1377,7 +1381,7 @@
JDBShifts.update
update {schema}APP_SHIFTS set DESCRIPTION=?,START_TIME=?,END_TIME=? WHERE SHIFT_ID = ?
-
+
JDBShifts.getShifts
select * from {schema}APP_SHIFTS order by DESCRIPTION
@@ -1402,12 +1406,12 @@
JDBPrinters.getPrinterIDs
select * from {schema}SYS_PRINTERS where ENABLED = ? order by PRINTER_ID
-
+
JDBLabelData.create
INSERT INTO {schema}APP_LABEL_DATA (UNIQUE_ID,PRINT_DATE,USER_ID,WORKSTATION_ID,MATERIAL,MATERIAL_TYPE,BATCH_NUMBER,PROCESS_ORDER,REQUIRED_RESOURCE,LOCATION_ID,PROD_QUANTITY,PROD_UOM,BASE_QUANTITY,BASE_UOM,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,BASE_EAN,BASE_VARIANT,CUSTOMER_ID,PRINT_COPIES,PRINT_QUEUE_NAME,EXPIRY_MODE,MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,LABEL_TYPE,LINE,LAYERS) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
-
+
JDBLabelData.delete
DELETE FROM {schema}APP_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1423,7 +1427,7 @@
JDBLabelData.renameLine
UPDATE {schema}APP_LABEL_DATA SET LINE=? WHERE LINE=?
-
+
JDBLabelData.select
SELECT * FROM {schema}VIEW_LABEL_DATA WHERE UNIQUE_ID = ?
@@ -1432,96 +1436,78 @@
JDBLinePrinterMembership.create
INSERT INTO {schema}SYS_PRINTER_LINE_MEMBERSHIP (LINE,GROUP_ID,PRINTER_ID) VALUES (?,?,?)
-
-
+
+
JDBLinePrinterMembership.delete
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+
+
JDBLinePrinterMembership.deleteForPrinterID
DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE PRINTER_ID = ?
-
+
JDBLinePrinterMembership.getPrintersAssignedtoLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? ORDER BY PRINTER_ID
+
+
JDBLinePrinterMembership.getPrintersNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE PRINTER_ID NOT IN (SELECT PRINTER_ID FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLinePrinterMembership.isPrinterAssignedToLine
- SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
-
-
+ SELECT * FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ? AND PRINTER_ID = ?
+
+
JDBLinePrinterMembership.removeAllPrintersfromLine
- DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_PRINTER_LINE_MEMBERSHIP WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLinePrinterMembership.renameLine
- UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
-
-
-
+ UPDATE {schema}SYS_PRINTER_LINE_MEMBERSHIP SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+
+
+
DBview_auto_labeller_printer.getModified
SELECT * FROM {schema}VIEW_AUTO_LABELLER_PRINTER where modified = 'Y'
-
-
+
+
DBview_auto_labeller_printer.getEnabled
SELECT * FROM {schema}VIEW_AUTO_LABELLER_PRINTER
-
-
+
+
DBview_auto_labeller_printer.getProperties
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pack
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
+
DBview_auto_labeller_printer.getProperties_Pallet
- SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE,
- PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE,
- BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT,
- BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES,
- MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX,
- REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS
- FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
-
+ SELECT LINE,MODIFIED,UNIQUE_ID,LABEL_TYPE,PRINTER_ID,ENABLED,PRINTER_TYPE,IP_ADDRESS,PORT,GROUP_ID,LANGUAGE, PRINTER_DPI,PROCESS_ORDER,MATERIAL,MATERIAL_TYPE,MATERIAL_DESCRIPTION,SHELF_LIFE_UOM,SHELF_LIFE,SHELF_LIFE_RULE, BATCH_NUMBER,REQUIRED_RESOURCE,PLANT,LOCATION_ID,DATE_OF_MANUFACTURE,EXPIRY_DATE,PROD_EAN,PROD_VARIANT, BASE_QUANTITY,PROD_UOM,BASE_EAN,BASE_VARIANT,PROD_QUANTITY,BASE_UOM,CUSTOMER_ID,CUSTOMER_NAME,PRINT_COPIES, MODULE_ID,OVERRIDE_MANUFACTURE_DATE,OVERRIDE_EXPIRY_DATE,OVERRIDE_BATCH_PREFIX,BATCH_PREFIX,BATCH_SUFFIX, REPORT_TYPE,MODULE_TYPE,REPORT_FILENAME,PART_NO,LAYERS FROM {schema}VIEW_AUTO_LABELLER_PRINTER where line = ? and printer_id = ?
+
JDBAutoLabellerResources.create
insert into {schema}APP_AUTO_LABELLER_RESOURCES (line,group_id,required_resource) values (?,?,?)
-
+
JDBAutoLabellerResources.delete
delete from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
-
+
JDBAutoLabellerResources.isValid
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? and required_resource=?
JDBAutoLabellerResources.getResources
- select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
-
+ select * from {schema}APP_AUTO_LABELLER_RESOURCES where line=? and group_id = ? order by required_resource
+
JDBAutoLabellerResources.renameLine
- update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
-
+ update {schema}APP_AUTO_LABELLER_RESOURCES set line=? where line=? and group_id = ?
+
JDBMaterialCustomerData.isValid
@@ -1551,35 +1537,35 @@
JDBArchive.delete
delete from {schema}SYS_ARCHIVE where archive_id = ?
-
+
JDBArchive.getArchives
select * from {schema}SYS_ARCHIVE order sequence,archive_id
-
+
JDBArchive.getProperties
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.isValidArchive
select * from {schema}SYS_ARCHIVE where archive_id=?
-
+
JDBArchive.renameTo
update {schema}SYS_ARCHIVE set archive_id=? where archive_id=?
-
+
JDBArchive.update
update {schema}SYS_ARCHIVE set description=?,enabled=?,background_task=?,sql_table=?,sql_criteria=?,retention_days=?,sequence=?,max_delete=? where archive_id=?
-
+
JDBArchive.updateRunStats
update {schema}SYS_ARCHIVE set run_start_time=?,run_end_time=?,records_deleted=?,sql_result=? where archive_id=?
-
+
JDBArchive.jobList
select * from {schema}SYS_ARCHIVE where enabled='Y' and background_task= 'Y' order by sequence
-
+
JDBDataID.create
@@ -1587,24 +1573,24 @@
JDBDataID.delete
- delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ delete from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getProperties
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.getIDs
select * from {schema}APP_MATERIAL_DATA_IDS order by data_id
JDBDataID.isValidID
- select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
-
+ select * from {schema}APP_MATERIAL_DATA_IDS where data_id=?
+
JDBDataID.update
update {schema}APP_MATERIAL_DATA_IDS set description=? where data_id=?
-
+
JDBAuditPermissions.create
@@ -1613,43 +1599,43 @@
JDBAuditPermissions.getProperties
select * from {schema}SYS_AUDIT_PERMISSIONS where sys_audit_log_id=?
-
+
JDBAuditPermissions.selectWithLimit
select * from {schema}SYS_AUDIT_PERMISSIONS
-
+
JDBLineWorkstationMembership.create
INSERT INTO {schema}SYS_WORKSTATION_LINE_MEMBERS (LINE,GROUP_ID,WORKSTATION_ID) VALUES (?,?,?)
-
-
+
+
JDBLineWorkstationMembership.delete
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+
+
JDBLineWorkstationMembership.deleteForWorkstationID
DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE WORKSTATION_ID = ?
-
+
JDBLineWorkstationMembership.getWorkstationsAssignedtoLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? ORDER BY WORKSTATION_ID
+
+
JDBLineWorkstationMembership.getWorkstationsNotAssignedtoLine
SELECT * FROM {schema}SYS_PRINTERS WHERE WORKSTATION_ID NOT IN (SELECT WORKSTATION_ID FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? )
-
-
+
+
JDBLineWorkstationMembership.isWorkstationAssignedToLine
- SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
-
-
+ SELECT * FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ? AND WORKSTATION_ID = ?
+
+
JDBLineWorkstationMembership.removeAllWorkstationsfromLine
- DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
-
-
+ DELETE FROM {schema}SYS_WORKSTATION_LINE_MEMBERS WHERE LINE = ? AND GROUP_ID = ?
+
+
JDBLineWorkstationMembership.renameLine
- UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
+ UPDATE {schema}SYS_WORKSTATION_LINE_MEMBERS SET LINE = ? WHERE LINE = ? AND GROUP_ID = ?
@@ -1671,12 +1657,12 @@
JDBProcessOrderResource.getProperties
select * from {schema}APP_PROCESS_ORDER_RESOURCE where required_resource = ?
-
+
JDBProcessOrderResource.getResources
select * from {schema}APP_PROCESS_ORDER_RESOURCE where enabled = 'Y' order by required_resource
-
-
+
+
JDBQMAnalysis.getAnalysis
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
@@ -1684,15 +1670,15 @@
JDBQMAnalysis.create
insert into {schema}APP_QM_ANALYSIS (analysis_id) values (?)
-
+
JDBQMAnalysis.delete
delete from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getProperties
select * from {schema}APP_QM_ANALYSIS where analysis_id = ?
-
+
JDBQMAnalysis.getAnalysisData
select * from {schema}APP_QM_ANALYSIS order by display_sequence
@@ -1717,7 +1703,7 @@
JDBModuleAlternative.getWorkstations
select workstation_id from {schema}SYS_MODULES_ALTERNATIVE where module_id=? order by workstation_id
-
+
JDBModuleAlternative.getProperties
select * from {schema}SYS_MODULES_ALTERNATIVE where module_id = ? and workstation_id=?
@@ -1725,17 +1711,17 @@
JDBModuleAlternative.update
update {schema}SYS_MODULES_ALTERNATIVE set alt_module_id=? where module_id = ? and workstation_id=?
-
+
JDBViewBarcodeValidate.getProperties
select * from {schema}VIEW_BARCODE_VALIDATE where process_order = ?
-
+
JDBWTWorkstation.create
insert into {schema}APP_WEIGHT_WORKSTATION (workstation_id) values (?)
-
+
JDBWTWorkstation.delete
delete from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
@@ -1752,19 +1738,19 @@
JDBWTWorkstation.getWorkstations
select * from {schema}APP_WEIGHT_WORKSTATION order by workstation_id
-
+
JDBWTWorkstation.getProperties
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTWorkstation.isValidWorkstation
select * from {schema}APP_WEIGHT_WORKSTATION where workstation_id = ?
-
+
JDBWTScale.create
insert into {schema}APP_WEIGHT_SCALE (scale_id) values (?)
-
+
JDBWTScale.delete
delete from {schema}APP_WEIGHT_SCALE where scale_id = ?
@@ -1777,23 +1763,23 @@
JDBWTScale.update
update {schema}APP_WEIGHT_SCALE set description = ?,make=?,model=?,baud_rate=?,data_bits=?,stop_bits=?,flow_control=?,connection=?,parity=?,end_of_line=?,serial_no=?,command_prefix=? where scale_id = ?
-
+
JDBWTScale.isValidScale
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
-
+
JDBWTScale.getProperties
select * from {schema}APP_WEIGHT_SCALE where scale_id = ?
JDBWTScale.getScales
select * from {schema}APP_WEIGHT_SCALE order by scale_id
-
-
+
+
JDBWTTNE.create
insert into {schema}APP_WEIGHT_TNE (nominal_weight,nominal_weight_uom) values (?,?)
-
+
JDBWTTNE.delete
delete from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom = ?
@@ -1806,11 +1792,11 @@
JDBWTTNE.update
update {schema}APP_WEIGHT_TNE set tne = ?,neg_t1=?,neg_t2=? where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.isValidTNE
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
-
+
JDBWTTNE.getProperties
select * from {schema}APP_WEIGHT_TNE where nominal_weight = ? and nominal_weight_uom=?
@@ -1818,11 +1804,11 @@
JDBWTTNE.getTNEs
select * from {schema}APP_WEIGHT_TNE order by nominal_weight,nominal_weight_uom
-
+
JDBWTSamplePoint.create
insert into {schema}APP_WEIGHT_SAMPLE_POINT (sample_point) values (?)
-
+
JDBWTSamplePoint.delete
delete from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
@@ -1835,23 +1821,23 @@
JDBWTSamplePoint.update
update {schema}APP_WEIGHT_SAMPLE_POINT set description = ?,location=?,required_resource=?,reporting_group=?,enabled=? where sample_point = ?
-
+
JDBWTSamplePoint.isValidSamplePoint
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_POINT where sample_point = ?
-
+
JDBWTSamplePoint.getSamplePoints
select * from {schema}APP_WEIGHT_SAMPLE_POINT order by sample_point
-
-
+
+
JDBProductGroup.create
insert into {schema}APP_WEIGHT_PRODUCT_GROUP (product_group) values (?)
-
+
JDBProductGroup.delete
delete from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
@@ -1864,23 +1850,23 @@
JDBProductGroup.update
update {schema}APP_WEIGHT_PRODUCT_GROUP set description = ?,nominal_weight=?,nominal_weight_uom=?,tare_weight=?,tare_weight_uom=?,samples_required=?,lower_limit=?,upper_limit=? where product_group = ?
-
+
JDBProductGroup.isValidProductGroup
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProperties
select * from {schema}APP_WEIGHT_PRODUCT_GROUP where product_group = ?
-
+
JDBProductGroup.getProductGroups
select * from {schema}APP_WEIGHT_PRODUCT_GROUP order by product_group
-
-
+
+
JDBWTContainerCode.create
insert into {schema}APP_WEIGHT_CONTAINER_CODE (container_code) values (?)
-
+
JDBWTContainerCode.delete
delete from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
@@ -1893,56 +1879,30 @@
JDBWTContainerCode.update
update {schema}APP_WEIGHT_CONTAINER_CODE set description = ? where container_code = ?
-
+
JDBWTContainerCode.isValidContainerCode
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getProperties
select * from {schema}APP_WEIGHT_CONTAINER_CODE where container_code = ?
-
+
JDBWTContainerCode.getContainerCodes
select * from {schema}APP_WEIGHT_CONTAINER_CODE order by container_code
-
+
JDBWTSampleHeader.create
insert into {schema}APP_WEIGHT_SAMPLE_HEADER (sample_point,sample_date) values (?,?)
JDBWTSampleHeader.update
- update APP_WEIGHT_SAMPLE_HEADER set
- user_id = ?,
- workstation_id = ?,
- scale_id = ?,
- process_order = ?,
- required_resource = ?,
- customer_id = ?,
- material = ?,
- product_group = ?,
- container_code = ?,
- tare_weight = ?,
- tare_weight_uom = ?,
- nominal_weight = ?,
- nominal_weight_uom = ?,
- tne = ?,
- neg_t1 = ?,
- neg_t2 = ?,
- sample_size = ?,
- sample_count = ?,
- sample_mean = ?,
- sample_std_dev = ?,
- sample_t1_count = ?,
- sample_t2_count = ?,
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set user_id = ?, workstation_id = ?, scale_id = ?, process_order = ?, required_resource = ?, customer_id = ?, material = ?, product_group = ?, container_code = ?, tare_weight = ?, tare_weight_uom = ?, nominal_weight = ?, nominal_weight_uom = ?, tne = ?, neg_t1 = ?, neg_t2 = ?, sample_size = ?, sample_count = ?, sample_mean = ?, sample_std_dev = ?, sample_t1_count = ?, sample_t2_count = ?, comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.updateComments
- update APP_WEIGHT_SAMPLE_HEADER set
- comments = ?
- where sample_point = ? and sample_date = ?
+ update APP_WEIGHT_SAMPLE_HEADER set comments = ? where sample_point = ? and sample_date = ?
JDBWTSampleHeader.isValidSampleHeader
@@ -1952,7 +1912,7 @@
JDBWTSampleHeader.getProperties
select * from {schema}APP_WEIGHT_SAMPLE_HEADER where sample_point = ? and sample_date = ?
-
+
JDBWTSampleDetail.create
insert into {schema}APP_WEIGHT_SAMPLE_DETAIL (sample_point,sample_date,sample_sequence) values (?,?,?)
@@ -1963,23 +1923,13 @@
JDBWTSampleDetail.update
- UPDATE APP_WEIGHT_SAMPLE_DETAIL SET
- SAMPLE_WEIGHT_DATE = ?,
- SAMPLE_GROSS_WEIGHT = ?,
- SAMPLE_NET_WEIGHT = ?,
- SAMPLE_TARE_WEIGHT = ?,
- SAMPLE_WEIGHT_UOM = ?,
- SAMPLE_T1_COUNT = ?,
- SAMPLE_T2_COUNT = ?
- WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
-
-
+ UPDATE APP_WEIGHT_SAMPLE_DETAIL SET SAMPLE_WEIGHT_DATE = ?, SAMPLE_GROSS_WEIGHT = ?, SAMPLE_NET_WEIGHT = ?, SAMPLE_TARE_WEIGHT = ?, SAMPLE_WEIGHT_UOM = ?, SAMPLE_T1_COUNT = ?, SAMPLE_T2_COUNT = ? WHERE SAMPLE_POINT = ? AND SAMPLE_DATE = ? AND SAMPLE_SEQUENCE = ?
+
JDBWTSampleDetail.getSampleDetails
select * FROM {schema}APP_WEIGHT_SAMPLE_DETAIL where sample_point = ? and sample_date = ? order by sample_point,sample_date,sample_sequence
-
-
+
JDBWasteLocation.create
insert into {schema}APP_WASTE_LOCATIONS (waste_location_id,description,process_order_required,reason_id_required,enabled) values (?,?,?,?,?)
@@ -2010,25 +1960,17 @@
JDBWasteLocation.getLocationsAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
-
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
+
JDBWasteLocation.getLocationsUnAssignedtoReportingID
- select * from {schema}APP_WASTE_LOCATIONS
- where enabled = 'Y'
- and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?)
- order by waste_location_id
+ select * from {schema}APP_WASTE_LOCATIONS where enabled = 'Y' and waste_location_id not in (SELECT waste_location_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?) order by waste_location_id
JDBWasteLocation.renameLocationID
update {schema}APP_WASTE_LOCATIONS set waste_location_id=? where waste_location_id=?
-
-
-
+
JDBWasteContainer.create
insert into {schema}APP_WASTE_CONTAINERS (waste_container_id,description,tare_weight,enabled) values (?,?,?,?)
@@ -2061,9 +2003,7 @@
JDBWasteContainer.renameContainerID
update {schema}APP_WASTE_CONTAINERS set waste_container_id=? where waste_container_id=?
-
-
-
+
JDBWasteTransactionType.create
insert into {schema}APP_WASTE_TRANSACTIONS (waste_transaction_type,description,include_in_totals,store_as_negative,enabled) values (?,?,?,?,?)
@@ -2092,8 +2032,7 @@
JDBWasteTransactionType.renameTransactionType
update {schema}APP_WASTE_TRANSACTIONS set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteReportingIDS.create
insert into {schema}APP_WASTE_REPORTING_IDS (waste_reporting_id,description,reporting_group,enabled) values (?,?,?,?)
@@ -2120,17 +2059,11 @@
JDBWasteReportingIDS.getReportingIDsAssignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
-
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
+
JDBWasteReportingIDS.getReportingIDsUnassignedtoLocation
- select * from {schema}APP_WASTE_REPORTING_IDS
- where enabled = 'Y'
- and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?)
- order by waste_reporting_id
+ select * from {schema}APP_WASTE_REPORTING_IDS where enabled = 'Y' and waste_reporting_id not in (SELECT waste_reporting_id from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?) order by waste_reporting_id
JDBWasteReportingIDS.renameReportingID
@@ -2139,9 +2072,8 @@
JDBWasteReportingIDS.renameReportingGroup
update {schema}APP_WASTE_REPORTING_IDS set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBWasteReasons.create
insert into {schema}APP_WASTE_REASONS (waste_reason_id,description,enabled) values (?,?,?)
@@ -2165,13 +2097,12 @@
JDBWasteReasons.update
update {schema}APP_WASTE_REASONS set description=?,enabled=? where waste_reason_id=?
-
+
JDBWasteReasons.renameReasonID
update {schema}APP_WASTE_REASONS set waste_reason_id=? where waste_reason_id=?
-
-
+
JDBWasteLocationReporting.create
insert into {schema}APP_WASTE_LOCATION_REPORTING (waste_location_id,waste_reporting_id) values (?,?)
@@ -2191,7 +2122,7 @@
JDBWasteLocationReporting.isValidWasteLocationReportingID
select * from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id= ?and waste_reporting_id=?
-
+
JDBWasteLocationReporting.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_location_id = ?
@@ -2199,16 +2130,16 @@
JDBWasteLocationReporting.deleteByReportID
delete from {schema}APP_WASTE_LOCATION_REPORTING where waste_reporting_id = ?
-
+
JDBWasteLocationReporting.renameLocationID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_location_id=? where waste_location_id=?
-
+
JDBWasteLocationReporting.renameReportingID
update {schema}APP_WASTE_LOCATION_REPORTING set waste_reporting_id=? where waste_reporting_id=?
-
+
JDBWasteTypes.create
insert into {schema}APP_WASTE_TYPES (waste_type_id,description,recyclable,hazardous,ppe_required,enabled) values (?,?,?,?,?,?)
@@ -2232,33 +2163,30 @@
JDBWasteTypes.update
update {schema}APP_WASTE_TYPES set description=?,recyclable=?,hazardous=?,ppe_required=?,enabled=? where waste_type_id=?
-
+
JDBWasteTypes.renameTypeID
update {schema}APP_WASTE_TYPES set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLocationMaterial.isValid
- select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? and waste_material_id = ?
+ select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? and waste_material_id = ?
JDBWasteLocationMaterial.getMaterialsforLocation
select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? order by waste_material_id
-
-
+
JDBWasteMaterialLocation.isValid
- select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_material_id = ? and waste_location_id = ?
+ select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_material_id = ? and waste_location_id = ?
JDBWasteMaterialLocation.getMaterialsforLocation
select * from {schema}VIEW_WASTE_LOCATION_MATERIALS where waste_location_id = ? order by waste_material_id
-
-
-
+
+
JDBWasteMaterial.create
insert into {schema}APP_WASTE_MATERIAL (waste_material_id,waste_type_id,cost_per_kg,description,enabled) values (?,?,?,?,?)
@@ -2282,7 +2210,7 @@
JDBWasteMaterial.update
update {schema}APP_WASTE_MATERIAL set waste_type_id=?,cost_per_kg=?,description=?,enabled=? where waste_material_id=?
-
+
JDBWasteMaterial.renameMaterialID
update {schema}APP_WASTE_MATERIAL set waste_material_id=? where waste_material_id=?
@@ -2291,8 +2219,7 @@
JDBWasteMaterial.renameTypeID
update {schema}APP_WASTE_MATERIAL set waste_type_id=? where waste_type_id=?
-
-
+
JDBWasteLog.write
insert into {schema}APP_WASTE_LOG (transaction_ref,waste_transaction_type,report_time,waste_location_id,waste_material_id,process_order,waste_reason_id,user_id,weight_kg,tare_weight,waste_container_id,waste_comment) values (?,?,?,?,?,?,?,?,?,?,?,?)
@@ -2316,7 +2243,7 @@
JDBWasteLog.update
update {schema}APP_WASTE_LOG set report_time=?,waste_location_id=?,waste_material_id=?,process_order=?,waste_reason_id=?,user_id=?,weight_kg=?,tare_weight=?,waste_container_id=?,waste_comment=? where transaction_ref=? and waste_transaction_type=?
-
+
JDBWasteLog.renameLocationID
update {schema}APP_WASTE_LOG set waste_location_id=? where waste_location_id=?
@@ -2337,8 +2264,7 @@
JDBWasteLog.renameTransactionType
update {schema}APP_WASTE_LOG set waste_transaction_type=? where waste_transaction_type=?
-
-
+
JDBWasteLocationTypes.create
insert into {schema}APP_WASTE_LOCATION_TYPES (waste_location_id,waste_type_id) values (?,?)
@@ -2358,7 +2284,7 @@
JDBWasteLocationTypes.isValidWasteLocationType
select * from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id= ? and waste_type_id=?
-
+
JDBWasteLocationTypes.deleteByLocation
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_location_id = ?
@@ -2366,13 +2292,12 @@
JDBWasteLocationTypes.deleteByType
delete from {schema}APP_WASTE_LOCATION_TYPES where waste_type_id = ?
-
+
JDBWasteLocationTypes.renameLocationID
update {schema}APP_WASTE_LOCATION_TYPES set waste_location_id=? where waste_location_id=?
-
-
-
+
+
JDBWasteReportingGroup.create
insert into {schema}APP_WASTE_REPORTING_GROUP (reporting_group,description,enabled) values (?,?,?)
@@ -2396,17 +2321,16 @@
JDBWasteReportingGroup.update
update {schema}APP_WASTE_REPORTING_GROUP set description=?,enabled=? where reporting_group=?
-
+
JDBWasteReportingGroup.renameReportingGroup
update {schema}APP_WASTE_REPORTING_GROUP set reporting_group=? where reporting_group=?
-
-
-
+
+
JDBEquipmentType.create
insert into {schema}APP_EQUIPMENT_TYPE (equipment_type,description,weight_kg,enabled) values (?,?,?,?)
-
+
JDBEquipmentType.delete
delete from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
@@ -2415,39 +2339,31 @@
JDBEquipmentType.update
update {schema}APP_EQUIPMENT_TYPE set description = ?,weight_kg=?,enabled=? where equipment_type = ?
-
+
JDBEquipmentType.isValidEquipmentType
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getProperties
select * from {schema}APP_EQUIPMENT_TYPE where equipment_type = ?
-
+
JDBEquipmentType.getEquipmentTypes
select * from {schema}APP_EQUIPMENT_TYPE order by equipment_type
-
+
JDBEquipmentType.updatePallet
-
- UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
-
-
+ UPDATE APP_PALLET SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_MATERIAL WHERE APP_MATERIAL.MATERIAL = APP_PALLET.MATERIAL),'') WHERE COALESCE(APP_PALLET.EQUIPMENT_TYPE,'') = ''
+
JDBEquipmentType.updatePalletHistory
-
- UPDATE
- APP_PALLET_HISTORY SET EQUIPMENT_TYPE =
- COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'')
- WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
+ UPDATE APP_PALLET_HISTORY SET EQUIPMENT_TYPE = COALESCE((SELECT EQUIPMENT_TYPE FROM APP_PALLET WHERE APP_PALLET.SSCC = APP_PALLET_HISTORY.SSCC AND APP_PALLET.EQUIPMENT_TYPE > '' ),'') WHERE COALESCE(APP_PALLET_HISTORY.EQUIPMENT_TYPE,'') = ''
-
-
+
JDBDespatchEquipmentType.create
insert into {schema}APP_DESPATCH_EQUIPMENT_TYPE (despatch_no,equipment_type,quantity) values (?,?,?)
-
+
JDBDespatchEquipmentType.delete
delete from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
@@ -2460,24 +2376,23 @@
JDBDespatchEquipmentType.update
update {schema}APP_DESPATCH_EQUIPMENT_TYPE set quantity = ? where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.isValidEquipmentType
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getProperties
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? and equipment_type = ?
-
+
JDBDespatchEquipmentType.getEquipmentTypes
select * from {schema}APP_DESPATCH_EQUIPMENT_TYPE where despatch_no = ? order by despatch_no,equipment_type
-
-
-
+
+
JDBPalletExtension.create
insert into {schema}APP_PALLET_EXTENSION (sscc) values (?)
-
+
JDBPalletExtension.delete
delete from {schema}APP_PALLET_EXTENSION where sscc = ?
@@ -2486,20 +2401,19 @@
JDBPalletExtension.update
update {schema}APP_PALLET_EXTENSION set first_case_input = ?,first_case_time = ?,last_case_input = ?,last_case_time = ?,supplier_id1 = ?,shift_id = ?,incident_reference = ?,location = ?,product_group = ?,container_code = ?,pweek = ?,pday = ?,pmonth = ?,pyear = ?,pallet_quantity = ? where sscc = ?
-
+
JDBPalletExtension.getProperties
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
+
JDBPalletExtension.isValid
select * from {schema}APP_PALLET_EXTENSION where sscc = ?
-
-
+
JDBShiftNames.create
insert into {schema}APP_SHIFT_NAMES (shift_id,description,enabled) values (?,?,?)
-
+
JDBShiftNames.delete
delete from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2516,11 +2430,11 @@
JDBShiftNames.renameTo2
update {schema}APP_PALLET_EXTENSION set shift_id = ? where shift_id = ?
-
+
JDBShiftNames.getProperties
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
-
-
+
+
JDBShiftNames.isValid
select * from {schema}APP_SHIFT_NAMES where shift_id = ?
@@ -2528,12 +2442,11 @@
JDBShiftNames.getShiftNames
select * from {schema}APP_SHIFT_NAMES order by shift_id
-
JDBPalletSamples.create
insert into {schema}APP_PALLET_SAMPLES (sscc,sample_sequence) values (?,?)
-
+
JDBPalletSamples.delete
delete from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
@@ -2542,16 +2455,15 @@
JDBPalletSamples.update
update {schema}APP_PALLET_SAMPLES set sample_date=?,sample_reason = ?,defect_type = ?,defect_id = ?,leaking = ?, sample_comment=?, sample_quantity=?, user_id=?,sample_point = ?, id=?, lane_1=?, lane_1=2, lane_1=3, lane_1=4, lane_1=5 where sscc = ? and sample_sequence = ?
-
+
JDBPalletSamples.getProperties
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
+
JDBPalletSamples.isValid
select * from {schema}APP_PALLET_SAMPLES where sscc = ? and sample_sequence = ?
-
-
+
JDBSampleReasons.getReasonProperties
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
@@ -2584,7 +2496,6 @@
JDBSampleReasons.isValidReason
select * from {schema}APP_SAMPLE_REASONS where sample_reason = ?
-
JDBSampleDefectID.getDefectProperties
@@ -2618,7 +2529,6 @@
JDBSampleDefectID.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_ID where defect_id = ?
-
JDBSampleDefectType.getDefectProperties
@@ -2660,8 +2570,7 @@
JDBSampleDefectType.isValidDefect
select * from {schema}APP_SAMPLE_DEFECT_TYPE where defect_type = ?
-
-
+
JDBSuppliers.getSupplierProperties
select * from {schema}APP_SUPPLIER where supplier_id = ?
@@ -2685,7 +2594,7 @@
JDBSuppliers.renameTo2
update {schema}APP_PALLET_EXTENSION set supplier_id1 =? where supplier_id1 =?
-
+
JDBSuppliers.update
update {schema}APP_SUPPLIER set supplier_type=?,description=?,enabled=? where supplier_id=?
@@ -2694,8 +2603,7 @@
JDBSuppliers.isValidSupplier
select * from {schema}APP_SUPPLIER where supplier_id = ?
-
-
+
JDBQMTrays.getProperties
select * from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id = ?
@@ -2711,17 +2619,16 @@
JDBQMTrays.update
update {schema}APP_QM_PANEL_TRAY set description=?,updated=? where panel_id=? and tray_id=?
-
+
JDBQMTrays.delete
delete from {schema}APP_QM_PANEL_TRAY where panel_id=? and tray_id=?
-
+
JDBQMTrays.getByPanel
select * from {schema}APP_QM_PANEL_TRAY where panel_id = ? order by tray_id
-
-
+
JDBQMTraySamples.isValid
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
@@ -2735,23 +2642,22 @@
insert into {schema}APP_QM_PANEL_TRAY_SAMPLES (tray_id,sample_id,sequence_id,created) values (?,?,?,?)
- JDBQMTraySamples.update
+ JDBQMTraySamples.update
update {schema}APP_QM_PANEL_TRAY_SAMPLES set sequence_id = ?,updated = ? where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.delete
delete from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? and sample_id = ?
-
+
JDBQMTraySamples.getByTrayID
select * from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
-
+
JDBQMTraySamples.maxSequenceID
select coalesce(max(sequence_id),0) AS max_sequence_id from {schema}APP_QM_PANEL_TRAY_SAMPLES where tray_id = ?
-
-
-
+
+
JDBQMPanels.getProperties
select * from {schema}APP_QM_PANEL where panel_id=?
@@ -2767,21 +2673,20 @@
JDBQMPanels.update
update {schema}APP_QM_PANEL set panel_date=?,description=?,plant=?,status=?,updated=? where panel_id=?
-
+
JDBQMPanels.delete
delete from {schema}APP_QM_PANEL where panel_id=?
-
+
JDBQMPanels.getByStatus
select * from {schema}APP_QM_PANEL where status = ? order by panel_id
JDBQMPanels.getListLimit
- select * from (select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc) where rownum <= ?
+ select * from (select * from {schema}APP_QM_PANEL order by (case status when 'Prepare' then 1 when 'Ready' then 2 when 'Complete' then 3 else 4 end),panel_id desc) where rownum <= ?
-
-
+
JDBQMTrayResults.isValid
select * from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
@@ -2795,34 +2700,18 @@
insert into {schema}APP_QM_PANEL_TRAY_RESULTS (tray_id,sample_id,user_id,test_id,value,created) values (?,?,?,?,?,?)
- JDBQMTrayResults.update
+ JDBQMTrayResults.update
update {schema}APP_QM_PANEL_TRAY_RESULTS set test_id = ?,value = ?,updated = ? where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.delete
delete from {schema}APP_QM_PANEL_TRAY_RESULTS where tray_id = ? and sample_id = ? and user_id = ?
-
+
JDBQMTrayResults.getByTrayID
- select
- APP_QM_PANEL_TRAY_SAMPLES.tray_id,
- APP_QM_PANEL_TRAY_SAMPLES.sample_id,
- APP_QM_PANEL_TRAY_SAMPLES.sequence_id,
- APP_QM_PANEL_TRAY_SAMPLES.updated,
- APP_QM_PANEL_TRAY_SAMPLES.created,
- ? as user_id,
- ? as test_id,
- (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id
- and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id
- and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value'
- from
- APP_QM_PANEL_TRAY_SAMPLES
- where tray_id = ?
- order by sequence_id
-
-
-
-
+ select APP_QM_PANEL_TRAY_SAMPLES.tray_id, APP_QM_PANEL_TRAY_SAMPLES.sample_id, APP_QM_PANEL_TRAY_SAMPLES.sequence_id, APP_QM_PANEL_TRAY_SAMPLES.updated, APP_QM_PANEL_TRAY_SAMPLES.created, ? as user_id, ? as test_id, (select value from APP_QM_PANEL_TRAY_RESULTS where APP_QM_PANEL_TRAY_RESULTS.tray_id = APP_QM_PANEL_TRAY_SAMPLES.tray_id and APP_QM_PANEL_TRAY_RESULTS.sample_id = APP_QM_PANEL_TRAY_SAMPLES.sample_id and APP_QM_PANEL_TRAY_RESULTS.user_id = ? and test_id = ?) as 'value' from APP_QM_PANEL_TRAY_SAMPLES where tray_id = ? order by sequence_id
+
+
JDBQMUsers.isValid
select * from {schema}APP_QM_USERS where user_id=?
@@ -2836,24 +2725,22 @@
insert into {schema}APP_QM_USERS (user_id,first_name,surname,enabled) values (?,?,?,?)
- JDBQMUsers.update
+ JDBQMUsers.update
update {schema}APP_QM_USERS set first_name = ?,surname = ?,enabled = ? where user_id = ?
-
-
- JDBQMUsers.getByEnabled
+
+
+ JDBQMUsers.getByEnabled
select * from {schema}APP_QM_USERS where enabled = ? order by user_id
-
-
+
- JDBQMUsers.getByUserID
+ JDBQMUsers.getByUserID
select * from {schema}APP_QM_USERS where user_id = ?
-
-
+
JDBPackingLines.create
insert into {schema}APP_PACKING_LINES (packing_line_id,description,enabled) values (?,?,?)
-
+
JDBPackingLines.delete
delete from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2862,11 +2749,11 @@
JDBPackingLines.update
update {schema}APP_PACKING_LINES set description = ?,enabled = ? where packing_line_id = ?
-
+
JDBPackingLines.getProperties
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
-
-
+
+
JDBPackingLines.isValid
select * from {schema}APP_PACKING_LINES where packing_line_id = ?
@@ -2874,12 +2761,11 @@
JDBPackingLines.getNames
select * from {schema}APP_PACKING_LINES order by packing_line_id
-
-
+
JDBOperatives.create
insert into {schema}APP_OPERATIVES (id,surname,forename,enabled) values (?,?,?,?)
-
+
JDBOperatives.delete
delete from {schema}APP_OPERATIVES where id = ?
@@ -2892,23 +2778,201 @@
JDBOperatives.renameTo
update {schema}APP_OPERATIVES set id = ? where id = ?
-
+
JDBOperatives.getProperties
select * from {schema}APP_OPERATIVES where id = ?
-
-
+
+
JDBOperatives.isValid
select * from {schema}APP_OPERATIVES where id = ?
JDBOperatives.getOperatives
select * from {schema}APP_OPERATIVES order by id
-
-
+
JDBViewProductGroups.getProductGroups
select * from {schema}app_weight_product_group order by product_group
+
+
+ JDBBom.getRootUuid
+ SELECT * FROM APP_BOM where bom_id = ? and bom_version = ? and data_id = 'root'
+
+
+ JDBBom.getElementCount
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getSequence
+ SELECT * FROM APP_BOM WHERE parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM1
+ SELECT * from APP_BOM where uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.recurseBOM2
+ SELECT * from APP_BOM where parent_uuid = ? ORDER BY bom_sequence
+
+
+ JDBBom.getChildUuids
+ SELECT * from APP_BOM where parent_uuid = ?
+
+
+ JDBBom.getProperties
+ SELECT * from APP_BOM where uuid = ?
+
+
+ JDBBom.deleteBOM
+ DELETE from APP_BOM where bom_id = ? and bom_version = ?
+
+
+ JDBBom.deleteUuid
+ DELETE from APP_BOM where uuid = ?
+
+
+ JDBBom.writeRecord
+ INSERT into APP_BOM (bom_id,bom_version,bom_sequence, data_id, data_type, data_string, data_decimal, data_date, data_timestamp, uuid, parent_uuid) VALUES (?,?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+
+
+ JDBBom.updateRecord
+ UPDATE APP_BOM SET data_string = ?,data_decimal = ?,data_date = ?,data_timestamp = ? WHERE uuid = ?
+
+
+ JDBBom.updateSequence
+ UPDATE APP_BOM SET bom_sequence = ? WHERE uuid = ?
+
+
+
+ JDBBomDefaults.getProperties
+ SELECT * from APP_BOM_DEFAULTS where source_field = ? AND source_value = ? AND destination_field = ?
+
+
+ JDBBomDefaults.delete
+ DELETE from APP_BOM_DEFAULTS where source_field = ? and source_value = ? and destination_field = ?
+
+
+ JDBBomDefaults.create
+ INSERT INTO APP_BOM_DEFAULTS (source_field,source_value,destination_field,destination_value) VALUES (?,?,?,?)
+
+
+ JDBBomDefaults.update
+ UPDATE APP_BOM_DEFAULTS SET destination_value = ? WHERE source_field = ? AND source_value = ? AND destination_field = ?
+
+
+
+ JDBBomElement.getProperties
+ SELECT * from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.delete
+ DELETE from APP_BOM_ELEMENTS where data_id = ?
+
+
+ JDBBomElement.create
+ INSERT INTO APP_BOM_ELEMENTS (data_id,data_type,enable_edit,enable_create,enable_delete,enable_duplicate,enable_clipboard,enable_lookup,max_occur_level,lookup_sql,lookup_field,icon_filename,description) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)
+
+
+ JDBBomElement.update
+ UPDATE APP_BOM_ELEMENTS SET data_type=?,enable_edit=?,enable_create=?,enable_delete=?,enable_duplicate=?,enable_clipboard=?,enable_lookup=?,max_occur_level=?,lookup_sql=?,lookup_field=?,icon_filename=?,description=? WHERE data_id=?
+
+
+ JDBBomElement.getList
+ SELECT * from APP_BOM_ELEMENTS order by data_id
+
+
+
+ JDBViewBomStructure.getProperties
+ SELECT * from view_bom_structure where data_id = ? and parent_data_id = ?
+
+
+ JDBViewBomStructure.getAllowedChildren
+ SELECT * from view_bom_structure where parent_data_id = ? order by data_id
+
+
+ JDBViewBomStructure.getList
+ SELECT * from view_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBBomStructure.delete
+ DELETE from APP_BOM_STRUCTURE where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.create
+ INSERT into APP_BOM_STRUCTURE ( data_id, parent_data_id) VALUES (?,?)
+
+
+ JDBBomStructure.update
+ UPDATE APP_BOM_STRUCTURE SET data_id = ?,parent_data_id = ? where data_id = ? and parent_data_id = ?
+
+
+ JDBBomStructure.getList
+ SELECT * from app_bom_structure order by parent_data_id,data_id
+
+
+
+ JDBViewBomRecord.getBomMaterials
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.getBomStages
+ SELECT distinct(stage) from view_bom where bom_id = ? and bom_version = ?
+
+
+ JDBViewBomRecord.isValidMaterialForLocation
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ? and location_id = ?
+
+
+ JDBViewBomRecord.getValidtLocationsforMaterial
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getValidMaterialsForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ?
+
+
+ JDBViewBomRecord.isMaterialValidForBOM
+ SELECT * from view_bom where bom_id = ? and bom_version = ? and input_output = ? and stage = ? and material = ?
+
+
+ JDBViewBomRecord.getIndex
+ SELECT * from view_bom where input_output = 'output' order by bom_id,bom_version
+
+
+
+ JDBBomList.getLocationIDs
+ SELECT ITEM FROM APP_BOM_LISTS WHERE LIST_ID = 'location_id' AND ITEM IS NOT NULL AND ENABLED = 'Y' ORDER BY SEQUENCE
+
+
+ JDBBomList.getValues
+ select * from APP_BOM_LISTS where list_id = ? and enabled = 'Y' order by sequence,item
+
+
+ JDBBomList.getList
+ select * from APP_BOM_LISTS order by list_id,sequence,item
+
+
+ JDBBomList.getListIds
+ select * from APP_BOM_LISTS where enabled = ? order by list_id,sequence,item
+
+
+ JDBBomList.create
+ insert into APP_BOM_LISTS (list_id,item,sequence,enabled) values (?,?,?,?)
+
+
+ JDBBomList.delete
+ delete from APP_BOM_LISTS where list_id = ? and item = ?
+
+
+ JDBBomList.update
+ update APP_BOM_LISTS set sequence=?, enabled = ? where list_id = ? and item = ?
+
+
+ JDBBomList.getProperties
+ select * from APP_BOM_LISTS where list_id = ? and item = ?
+
diff --git a/c4jWS/target/c4jWS.war b/c4jWS/target/c4jWS.war
index ad41869cd..c0f1d17ca 100644
Binary files a/c4jWS/target/c4jWS.war and b/c4jWS/target/c4jWS.war differ