Fix [2490897] Window ASP Modules not working properly
https://sourceforge.net/tracker2/index.php?func=detail&aid=2490897&group_id=176962&atid=879332
This commit is contained in:
parent
16223594be
commit
8c16065fc0
|
@ -34,6 +34,7 @@ import java.util.logging.Level;
|
|||
import org.compiere.model.MField;
|
||||
import org.compiere.model.MTab;
|
||||
import org.compiere.model.X_ASP_Field;
|
||||
import org.compiere.model.X_ASP_Tab;
|
||||
import org.compiere.process.ProcessInfoParameter;
|
||||
import org.compiere.process.SvrProcess;
|
||||
import org.compiere.util.DB;
|
||||
|
@ -46,10 +47,10 @@ import org.compiere.util.DB;
|
|||
public class ASPGenerateFields extends SvrProcess
|
||||
{
|
||||
private String p_ASP_Status;
|
||||
private int p_ASP_Level_ID;
|
||||
|
||||
private int noFields = 0;
|
||||
private int p_AD_Tab_ID;
|
||||
|
||||
private int p_ASP_Tab_ID;
|
||||
|
||||
/**
|
||||
* Prepare
|
||||
|
@ -64,13 +65,10 @@ public class ASPGenerateFields extends SvrProcess
|
|||
;
|
||||
else if (name.equals("ASP_Status"))
|
||||
p_ASP_Status = (String) para[i].getParameter();
|
||||
else if (name.equals("ASP_Level_ID"))
|
||||
p_ASP_Level_ID = para[i].getParameterAsInt();
|
||||
else if (name.equals("AD_Tab_ID"))
|
||||
p_AD_Tab_ID = para[i].getParameterAsInt();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
}
|
||||
p_ASP_Tab_ID = getRecord_ID();
|
||||
} // prepare
|
||||
|
||||
/**
|
||||
|
@ -81,22 +79,23 @@ public class ASPGenerateFields extends SvrProcess
|
|||
protected String doIt () throws Exception
|
||||
{
|
||||
log.info("ASP_Status=" + p_ASP_Status
|
||||
+ ", ASP_Level_ID=" + p_ASP_Level_ID
|
||||
+ ", AD_Tab_ID=" + p_AD_Tab_ID
|
||||
+ ", ASP_Tab_ID=" + p_ASP_Tab_ID
|
||||
);
|
||||
|
||||
X_ASP_Tab asptab = new X_ASP_Tab(getCtx(), p_ASP_Tab_ID, get_TrxName());
|
||||
|
||||
|
||||
// tabs
|
||||
MTab tab = new MTab(getCtx(), p_AD_Tab_ID, get_TrxName());
|
||||
MTab tab = new MTab(getCtx(), asptab.getAD_Tab_ID(), get_TrxName());
|
||||
// fields
|
||||
MField[] fields = tab.getFields(true, get_TrxName());
|
||||
for (int ifi = 0; ifi < fields.length; ifi++) {
|
||||
if (DB.getSQLValue(
|
||||
get_TrxName(),
|
||||
"SELECT COUNT(*) FROM ASP_Field WHERE ASP_Level_ID = ? AND AD_Field_ID = ?",
|
||||
p_ASP_Level_ID, fields[ifi].getAD_Field_ID()) < 1) {
|
||||
"SELECT COUNT(*) FROM ASP_Field WHERE ASP_Tab_ID = ? AND AD_Field_ID = ?",
|
||||
p_ASP_Tab_ID, fields[ifi].getAD_Field_ID()) < 1) {
|
||||
X_ASP_Field aspField = new X_ASP_Field(getCtx(), 0, get_TrxName());
|
||||
aspField.setASP_Level_ID(p_ASP_Level_ID);
|
||||
aspField.setAD_Tab_ID(fields[ifi].getAD_Tab_ID());
|
||||
aspField.setASP_Tab_ID(p_ASP_Tab_ID);
|
||||
aspField.setAD_Field_ID(fields[ifi].getAD_Field_ID());
|
||||
aspField.setASP_Status(p_ASP_Status);
|
||||
if (aspField.save())
|
||||
|
|
|
@ -159,28 +159,32 @@ public class ASPGenerateLevel extends SvrProcess
|
|||
|
||||
if (menu.getAction().equals(MMenu.ACTION_Window)) {
|
||||
MWindow window = new MWindow(getCtx(), menu.getAD_Window_ID(), get_TrxName());
|
||||
if (DB.getSQLValue(
|
||||
get_TrxName(),
|
||||
"SELECT COUNT(*) FROM ASP_Window WHERE ASP_Level_ID = ? AND AD_Window_ID = ?",
|
||||
p_ASP_Level_ID, window.getAD_Window_ID()) < 1) {
|
||||
int asp_window_id = DB.getSQLValueEx(get_TrxName(),
|
||||
"SELECT ASP_Window_ID FROM ASP_Window WHERE ASP_Level_ID = ? AND AD_Window_ID = ?",
|
||||
p_ASP_Level_ID, window.getAD_Window_ID());
|
||||
X_ASP_Window aspWindow = null;
|
||||
if (asp_window_id < 1) {
|
||||
// Add Window, Tabs and Fields (if IsGenerateFields)
|
||||
X_ASP_Window aspWindow = new X_ASP_Window(getCtx(), 0, get_TrxName());
|
||||
aspWindow = new X_ASP_Window(getCtx(), 0, get_TrxName());
|
||||
aspWindow.setASP_Level_ID(p_ASP_Level_ID);
|
||||
aspWindow.setAD_Window_ID(window.getAD_Window_ID());
|
||||
aspWindow.setASP_Status(p_ASP_Status);
|
||||
if (aspWindow.save())
|
||||
if (aspWindow.save()) {
|
||||
noWindows++;
|
||||
asp_window_id = aspWindow.getASP_Window_ID();
|
||||
}
|
||||
} else {
|
||||
aspWindow = new X_ASP_Window(getCtx(), asp_window_id, get_TrxName());
|
||||
}
|
||||
// tabs
|
||||
MTab[] tabs = window.getTabs(true, get_TrxName());
|
||||
for (int it = 0; it < tabs.length; it++) {
|
||||
if (DB.getSQLValue(
|
||||
if (DB.getSQLValueEx(
|
||||
get_TrxName(),
|
||||
"SELECT COUNT(*) FROM ASP_Tab WHERE ASP_Level_ID = ? AND AD_Tab_ID = ?",
|
||||
p_ASP_Level_ID, tabs[it].getAD_Tab_ID()) < 1) {
|
||||
"SELECT COUNT(*) FROM ASP_Tab WHERE ASP_Window_ID = ? AND AD_Tab_ID = ?",
|
||||
asp_window_id, tabs[it].getAD_Tab_ID()) < 1) {
|
||||
X_ASP_Tab aspTab = new X_ASP_Tab(getCtx(), 0, get_TrxName());
|
||||
aspTab.setASP_Level_ID(p_ASP_Level_ID);
|
||||
aspTab.setAD_Window_ID(tabs[it].getAD_Window_ID());
|
||||
aspTab.setASP_Window_ID(asp_window_id);
|
||||
aspTab.setAD_Tab_ID(tabs[it].getAD_Tab_ID());
|
||||
aspTab.setASP_Status(p_ASP_Status);
|
||||
aspTab.setAllFields(! p_IsGenerateFields);
|
||||
|
@ -190,13 +194,12 @@ public class ASPGenerateLevel extends SvrProcess
|
|||
// fields
|
||||
MField[] fields = tabs[it].getFields(true, get_TrxName());
|
||||
for (int ifi = 0; ifi < fields.length; ifi++) {
|
||||
if (DB.getSQLValue(
|
||||
if (DB.getSQLValueEx(
|
||||
get_TrxName(),
|
||||
"SELECT COUNT(*) FROM ASP_Field WHERE ASP_Level_ID = ? AND AD_Field_ID = ?",
|
||||
p_ASP_Level_ID, fields[ifi].getAD_Field_ID()) < 1) {
|
||||
"SELECT COUNT(*) FROM ASP_Field WHERE ASP_Tab_ID = ? AND AD_Field_ID = ?",
|
||||
aspTab.getASP_Tab_ID(), fields[ifi].getAD_Field_ID()) < 1) {
|
||||
X_ASP_Field aspField = new X_ASP_Field(getCtx(), 0, get_TrxName());
|
||||
aspField.setASP_Level_ID(p_ASP_Level_ID);
|
||||
aspField.setAD_Tab_ID(fields[ifi].getAD_Tab_ID());
|
||||
aspField.setASP_Tab_ID(aspTab.getASP_Tab_ID());
|
||||
aspField.setAD_Field_ID(fields[ifi].getAD_Field_ID());
|
||||
aspField.setASP_Status(p_ASP_Status);
|
||||
if (aspField.save())
|
||||
|
@ -210,27 +213,31 @@ public class ASPGenerateLevel extends SvrProcess
|
|||
|| menu.getAction().equals(MMenu.ACTION_Report)) {
|
||||
// Add Process and Parameters
|
||||
MProcess process = new MProcess(getCtx(), menu.getAD_Process_ID(), get_TrxName());
|
||||
if (DB.getSQLValue(
|
||||
get_TrxName(),
|
||||
int asp_process_id = DB.getSQLValueEx(get_TrxName(),
|
||||
"SELECT COUNT(*) FROM ASP_Process WHERE ASP_Level_ID = ? AND AD_Process_ID = ?",
|
||||
p_ASP_Level_ID, process.getAD_Process_ID()) < 1) {
|
||||
X_ASP_Process aspProcess = new X_ASP_Process(getCtx(), 0, get_TrxName());
|
||||
p_ASP_Level_ID, process.getAD_Process_ID());
|
||||
X_ASP_Process aspProcess = null;
|
||||
if (asp_process_id < 1) {
|
||||
aspProcess = new X_ASP_Process(getCtx(), 0, get_TrxName());
|
||||
aspProcess.setASP_Level_ID(p_ASP_Level_ID);
|
||||
aspProcess.setAD_Process_ID(process.getAD_Process_ID());
|
||||
aspProcess.setASP_Status(p_ASP_Status);
|
||||
if (aspProcess.save())
|
||||
if (aspProcess.save()) {
|
||||
noProcesses++;
|
||||
asp_process_id = aspProcess.getASP_Process_ID();
|
||||
}
|
||||
} else {
|
||||
aspProcess = new X_ASP_Process(getCtx(), asp_process_id, get_TrxName());
|
||||
}
|
||||
// parameters
|
||||
MProcessPara[] processparas = process.getParameters();
|
||||
for (int ipp = 0; ipp < processparas.length; ipp++) {
|
||||
if (DB.getSQLValue(
|
||||
if (DB.getSQLValueEx(
|
||||
get_TrxName(),
|
||||
"SELECT COUNT(*) FROM ASP_Process_Para WHERE ASP_Level_ID = ? AND AD_Process_Para_ID = ?",
|
||||
p_ASP_Level_ID, processparas[ipp].getAD_Process_Para_ID()) < 1) {
|
||||
"SELECT COUNT(*) FROM ASP_Process_Para WHERE ASP_Process_ID = ? AND AD_Process_Para_ID = ?",
|
||||
asp_process_id, processparas[ipp].getAD_Process_Para_ID()) < 1) {
|
||||
X_ASP_Process_Para aspProcess_Para = new X_ASP_Process_Para(getCtx(), 0, get_TrxName());
|
||||
aspProcess_Para.setASP_Level_ID(p_ASP_Level_ID);
|
||||
aspProcess_Para.setAD_Process_ID(processparas[ipp].getAD_Process_ID());
|
||||
aspProcess_Para.setASP_Process_ID(asp_process_id);
|
||||
aspProcess_Para.setAD_Process_Para_ID(processparas[ipp].getAD_Process_Para_ID());
|
||||
aspProcess_Para.setASP_Status(p_ASP_Status);
|
||||
if (aspProcess_Para.save())
|
||||
|
@ -240,7 +247,7 @@ public class ASPGenerateLevel extends SvrProcess
|
|||
} else if (menu.getAction().equals(MMenu.ACTION_Form)) {
|
||||
// Add Form
|
||||
MForm form = new MForm(getCtx(), menu.getAD_Form_ID(), get_TrxName());
|
||||
if (DB.getSQLValue(
|
||||
if (DB.getSQLValueEx(
|
||||
get_TrxName(),
|
||||
"SELECT COUNT(*) FROM ASP_Form WHERE ASP_Level_ID = ? AND AD_Form_ID = ?",
|
||||
p_ASP_Level_ID, form.getAD_Form_ID()) < 1) {
|
||||
|
@ -254,7 +261,7 @@ public class ASPGenerateLevel extends SvrProcess
|
|||
} else if (menu.getAction().equals(MMenu.ACTION_Task)) {
|
||||
// Add Task
|
||||
MTask task = new MTask(getCtx(), menu.getAD_Task_ID(), get_TrxName());
|
||||
if (DB.getSQLValue(
|
||||
if (DB.getSQLValueEx(
|
||||
get_TrxName(),
|
||||
"SELECT COUNT(*) FROM ASP_Task WHERE ASP_Level_ID = ? AND AD_Task_ID = ?",
|
||||
p_ASP_Level_ID, task.getAD_Task_ID()) < 1) {
|
||||
|
@ -268,7 +275,7 @@ public class ASPGenerateLevel extends SvrProcess
|
|||
} else if (menu.getAction().equals(MMenu.ACTION_WorkFlow)) {
|
||||
// Add Workflow and Nodes
|
||||
MWorkflow workflow = new MWorkflow(getCtx(), menu.getAD_Workflow_ID(), get_TrxName());
|
||||
if (DB.getSQLValue(
|
||||
if (DB.getSQLValueEx(
|
||||
get_TrxName(),
|
||||
"SELECT COUNT(*) FROM ASP_Workflow WHERE ASP_Level_ID = ? AND AD_Workflow_ID = ?",
|
||||
p_ASP_Level_ID, workflow.getAD_Workflow_ID()) < 1) {
|
||||
|
|
|
@ -203,27 +203,33 @@ public class GridFieldVO implements Serializable
|
|||
+ " WHERE AD_Field_ID = ? "
|
||||
+ " AND ( AD_Field_ID IN ( "
|
||||
// ASP subscribed fields for client
|
||||
+ " SELECT w.AD_Field_ID "
|
||||
+ " FROM ASP_Field w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE w.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND cl.AD_Client_ID = " + client.getAD_Client_ID()
|
||||
+ " AND cl.ASP_Level_ID = l.asp_level_ID "
|
||||
+ " AND w.IsActive = 'Y' "
|
||||
+ " AND l.IsActive = 'Y' "
|
||||
+ " AND cl.IsActive = 'Y' "
|
||||
+ " AND w.ASP_Status = 'S') "
|
||||
+ " OR AD_Tab_ID IN ( "
|
||||
// ASP subscribed fields for client
|
||||
+ " SELECT w.AD_Tab_ID "
|
||||
+ " FROM ASP_Tab w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " SELECT f.AD_Field_ID "
|
||||
+ " FROM ASP_Field f, ASP_Tab t, ASP_Window w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE w.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND cl.AD_Client_ID = " + client.getAD_Client_ID()
|
||||
+ " AND cl.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND f.ASP_Tab_ID = t.ASP_Tab_ID "
|
||||
+ " AND t.ASP_Window_ID = w.ASP_Window_ID "
|
||||
+ " AND f.IsActive = 'Y' "
|
||||
+ " AND t.IsActive = 'Y' "
|
||||
+ " AND w.IsActive = 'Y' "
|
||||
+ " AND l.IsActive = 'Y' "
|
||||
+ " AND cl.IsActive = 'Y' "
|
||||
+ " AND w.AllFields = 'Y' "
|
||||
+ " AND w.ASP_Status = 'S') "
|
||||
+ " AND f.ASP_Status = 'S') "
|
||||
+ " OR AD_Tab_ID IN ( "
|
||||
// ASP subscribed fields for client
|
||||
+ " SELECT t.AD_Tab_ID "
|
||||
+ " FROM ASP_Tab t, ASP_Window w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE w.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND cl.AD_Client_ID = " + client.getAD_Client_ID()
|
||||
+ " AND cl.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND t.ASP_Window_ID = w.ASP_Window_ID "
|
||||
+ " AND t.IsActive = 'Y' "
|
||||
+ " AND w.IsActive = 'Y' "
|
||||
+ " AND l.IsActive = 'Y' "
|
||||
+ " AND cl.IsActive = 'Y' "
|
||||
+ " AND t.AllFields = 'Y' "
|
||||
+ " AND t.ASP_Status = 'S') "
|
||||
+ " OR AD_Field_ID IN ( "
|
||||
// ASP show exceptions for client
|
||||
+ " SELECT AD_Field_ID "
|
||||
|
|
|
@ -302,15 +302,17 @@ public class GridTabVO implements Evaluatee, Serializable
|
|||
ASPFilter =
|
||||
" AND ( AD_Tab_ID IN ( "
|
||||
// Just ASP subscribed tabs for client "
|
||||
+ " SELECT w.AD_Tab_ID "
|
||||
+ " FROM ASP_Tab w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " SELECT t.AD_Tab_ID "
|
||||
+ " FROM ASP_Tab t, ASP_Window w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE w.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND cl.AD_Client_ID = " + client.getAD_Client_ID()
|
||||
+ " AND cl.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND t.ASP_Window_ID = w.ASP_Window_ID "
|
||||
+ " AND t.IsActive = 'Y' "
|
||||
+ " AND w.IsActive = 'Y' "
|
||||
+ " AND l.IsActive = 'Y' "
|
||||
+ " AND cl.IsActive = 'Y' "
|
||||
+ " AND w.ASP_Status = 'S') " // Show
|
||||
+ " AND t.ASP_Status = 'S') " // Show
|
||||
+ " OR AD_Tab_ID IN ( "
|
||||
// + show ASP exceptions for client
|
||||
+ " SELECT AD_Tab_ID "
|
||||
|
|
|
@ -71,31 +71,14 @@ public interface I_ASP_Field
|
|||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name AD_Tab_ID */
|
||||
public static final String COLUMNNAME_AD_Tab_ID = "AD_Tab_ID";
|
||||
/** Column name ASP_Field_ID */
|
||||
public static final String COLUMNNAME_ASP_Field_ID = "ASP_Field_ID";
|
||||
|
||||
/** Set Tab.
|
||||
* Tab within a Window
|
||||
*/
|
||||
public void setAD_Tab_ID (int AD_Tab_ID);
|
||||
/** Set ASP Field */
|
||||
public void setASP_Field_ID (int ASP_Field_ID);
|
||||
|
||||
/** Get Tab.
|
||||
* Tab within a Window
|
||||
*/
|
||||
public int getAD_Tab_ID();
|
||||
|
||||
public I_AD_Tab getAD_Tab() throws RuntimeException;
|
||||
|
||||
/** Column name ASP_Level_ID */
|
||||
public static final String COLUMNNAME_ASP_Level_ID = "ASP_Level_ID";
|
||||
|
||||
/** Set ASP Level */
|
||||
public void setASP_Level_ID (int ASP_Level_ID);
|
||||
|
||||
/** Get ASP Level */
|
||||
public int getASP_Level_ID();
|
||||
|
||||
public I_ASP_Level getASP_Level() throws RuntimeException;
|
||||
/** Get ASP Field */
|
||||
public int getASP_Field_ID();
|
||||
|
||||
/** Column name ASP_Status */
|
||||
public static final String COLUMNNAME_ASP_Status = "ASP_Status";
|
||||
|
@ -105,4 +88,15 @@ public interface I_ASP_Field
|
|||
|
||||
/** Get ASP Status */
|
||||
public String getASP_Status();
|
||||
|
||||
/** Column name ASP_Tab_ID */
|
||||
public static final String COLUMNNAME_ASP_Tab_ID = "ASP_Tab_ID";
|
||||
|
||||
/** Set ASP Tab */
|
||||
public void setASP_Tab_ID (int ASP_Tab_ID);
|
||||
|
||||
/** Get ASP Tab */
|
||||
public int getASP_Tab_ID();
|
||||
|
||||
public I_ASP_Tab getASP_Tab() throws RuntimeException;
|
||||
}
|
||||
|
|
|
@ -71,6 +71,15 @@ public interface I_ASP_Form
|
|||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name ASP_Form_ID */
|
||||
public static final String COLUMNNAME_ASP_Form_ID = "ASP_Form_ID";
|
||||
|
||||
/** Set ASP Form */
|
||||
public void setASP_Form_ID (int ASP_Form_ID);
|
||||
|
||||
/** Get ASP Form */
|
||||
public int getASP_Form_ID();
|
||||
|
||||
/** Column name ASP_Level_ID */
|
||||
public static final String COLUMNNAME_ASP_Level_ID = "ASP_Level_ID";
|
||||
|
||||
|
|
|
@ -82,6 +82,15 @@ public interface I_ASP_Process
|
|||
|
||||
public I_ASP_Level getASP_Level() throws RuntimeException;
|
||||
|
||||
/** Column name ASP_Process_ID */
|
||||
public static final String COLUMNNAME_ASP_Process_ID = "ASP_Process_ID";
|
||||
|
||||
/** Set ASP Process */
|
||||
public void setASP_Process_ID (int ASP_Process_ID);
|
||||
|
||||
/** Get ASP Process */
|
||||
public int getASP_Process_ID();
|
||||
|
||||
/** Column name ASP_Status */
|
||||
public static final String COLUMNNAME_ASP_Status = "ASP_Status";
|
||||
|
||||
|
|
|
@ -56,21 +56,6 @@ public interface I_ASP_Process_Para
|
|||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name AD_Process_ID */
|
||||
public static final String COLUMNNAME_AD_Process_ID = "AD_Process_ID";
|
||||
|
||||
/** Set Process.
|
||||
* Process or Report
|
||||
*/
|
||||
public void setAD_Process_ID (int AD_Process_ID);
|
||||
|
||||
/** Get Process.
|
||||
* Process or Report
|
||||
*/
|
||||
public int getAD_Process_ID();
|
||||
|
||||
public I_AD_Process getAD_Process() throws RuntimeException;
|
||||
|
||||
/** Column name AD_Process_Para_ID */
|
||||
public static final String COLUMNNAME_AD_Process_Para_ID = "AD_Process_Para_ID";
|
||||
|
||||
|
@ -82,16 +67,25 @@ public interface I_ASP_Process_Para
|
|||
|
||||
public I_AD_Process_Para getAD_Process_Para() throws RuntimeException;
|
||||
|
||||
/** Column name ASP_Level_ID */
|
||||
public static final String COLUMNNAME_ASP_Level_ID = "ASP_Level_ID";
|
||||
/** Column name ASP_Process_ID */
|
||||
public static final String COLUMNNAME_ASP_Process_ID = "ASP_Process_ID";
|
||||
|
||||
/** Set ASP Level */
|
||||
public void setASP_Level_ID (int ASP_Level_ID);
|
||||
/** Set ASP Process */
|
||||
public void setASP_Process_ID (int ASP_Process_ID);
|
||||
|
||||
/** Get ASP Level */
|
||||
public int getASP_Level_ID();
|
||||
/** Get ASP Process */
|
||||
public int getASP_Process_ID();
|
||||
|
||||
public I_ASP_Level getASP_Level() throws RuntimeException;
|
||||
public I_ASP_Process getASP_Process() throws RuntimeException;
|
||||
|
||||
/** Column name ASP_Process_Para_ID */
|
||||
public static final String COLUMNNAME_ASP_Process_Para_ID = "ASP_Process_Para_ID";
|
||||
|
||||
/** Set ASP Process Parameter */
|
||||
public void setASP_Process_Para_ID (int ASP_Process_Para_ID);
|
||||
|
||||
/** Get ASP Process Parameter */
|
||||
public int getASP_Process_Para_ID();
|
||||
|
||||
/** Column name ASP_Status */
|
||||
public static final String COLUMNNAME_ASP_Status = "ASP_Status";
|
||||
|
|
|
@ -71,21 +71,6 @@ public interface I_ASP_Tab
|
|||
|
||||
public I_AD_Tab getAD_Tab() throws RuntimeException;
|
||||
|
||||
/** Column name AD_Window_ID */
|
||||
public static final String COLUMNNAME_AD_Window_ID = "AD_Window_ID";
|
||||
|
||||
/** Set Window.
|
||||
* Data entry or display window
|
||||
*/
|
||||
public void setAD_Window_ID (int AD_Window_ID);
|
||||
|
||||
/** Get Window.
|
||||
* Data entry or display window
|
||||
*/
|
||||
public int getAD_Window_ID();
|
||||
|
||||
public I_AD_Window getAD_Window() throws RuntimeException;
|
||||
|
||||
/** Column name AllFields */
|
||||
public static final String COLUMNNAME_AllFields = "AllFields";
|
||||
|
||||
|
@ -95,17 +80,6 @@ public interface I_ASP_Tab
|
|||
/** Get AllFields */
|
||||
public boolean isAllFields();
|
||||
|
||||
/** Column name ASP_Level_ID */
|
||||
public static final String COLUMNNAME_ASP_Level_ID = "ASP_Level_ID";
|
||||
|
||||
/** Set ASP Level */
|
||||
public void setASP_Level_ID (int ASP_Level_ID);
|
||||
|
||||
/** Get ASP Level */
|
||||
public int getASP_Level_ID();
|
||||
|
||||
public I_ASP_Level getASP_Level() throws RuntimeException;
|
||||
|
||||
/** Column name ASP_Status */
|
||||
public static final String COLUMNNAME_ASP_Status = "ASP_Status";
|
||||
|
||||
|
@ -115,6 +89,26 @@ public interface I_ASP_Tab
|
|||
/** Get ASP Status */
|
||||
public String getASP_Status();
|
||||
|
||||
/** Column name ASP_Tab_ID */
|
||||
public static final String COLUMNNAME_ASP_Tab_ID = "ASP_Tab_ID";
|
||||
|
||||
/** Set ASP Tab */
|
||||
public void setASP_Tab_ID (int ASP_Tab_ID);
|
||||
|
||||
/** Get ASP Tab */
|
||||
public int getASP_Tab_ID();
|
||||
|
||||
/** Column name ASP_Window_ID */
|
||||
public static final String COLUMNNAME_ASP_Window_ID = "ASP_Window_ID";
|
||||
|
||||
/** Set ASP Window */
|
||||
public void setASP_Window_ID (int ASP_Window_ID);
|
||||
|
||||
/** Get ASP Window */
|
||||
public int getASP_Window_ID();
|
||||
|
||||
public I_ASP_Window getASP_Window() throws RuntimeException;
|
||||
|
||||
/** Column name Processing */
|
||||
public static final String COLUMNNAME_Processing = "Processing";
|
||||
|
||||
|
|
|
@ -90,4 +90,13 @@ public interface I_ASP_Task
|
|||
|
||||
/** Get ASP Status */
|
||||
public String getASP_Status();
|
||||
|
||||
/** Column name ASP_Task_ID */
|
||||
public static final String COLUMNNAME_ASP_Task_ID = "ASP_Task_ID";
|
||||
|
||||
/** Set ASP Task */
|
||||
public void setASP_Task_ID (int ASP_Task_ID);
|
||||
|
||||
/** Get ASP Task */
|
||||
public int getASP_Task_ID();
|
||||
}
|
||||
|
|
|
@ -90,4 +90,13 @@ public interface I_ASP_Window
|
|||
|
||||
/** Get ASP Status */
|
||||
public String getASP_Status();
|
||||
|
||||
/** Column name ASP_Window_ID */
|
||||
public static final String COLUMNNAME_ASP_Window_ID = "ASP_Window_ID";
|
||||
|
||||
/** Set ASP Window */
|
||||
public void setASP_Window_ID (int ASP_Window_ID);
|
||||
|
||||
/** Get ASP Window */
|
||||
public int getASP_Window_ID();
|
||||
}
|
||||
|
|
|
@ -90,4 +90,13 @@ public interface I_ASP_Workflow
|
|||
|
||||
/** Get ASP Status */
|
||||
public String getASP_Status();
|
||||
|
||||
/** Column name ASP_Workflow_ID */
|
||||
public static final String COLUMNNAME_ASP_Workflow_ID = "ASP_Workflow_ID";
|
||||
|
||||
/** Set ASP Workflow */
|
||||
public void setASP_Workflow_ID (int ASP_Workflow_ID);
|
||||
|
||||
/** Get ASP Workflow */
|
||||
public int getASP_Workflow_ID();
|
||||
}
|
||||
|
|
|
@ -1523,15 +1523,15 @@ public final class MRole extends X_AD_Role
|
|||
ASPFilter =
|
||||
" AND ( AD_Process_ID IN ( "
|
||||
// Just ASP subscribed processes for client "
|
||||
+ " SELECT w.AD_Process_ID "
|
||||
+ " FROM ASP_Process w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE w.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " SELECT p.AD_Process_ID "
|
||||
+ " FROM ASP_Process p, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE p.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND cl.AD_Client_ID = " + client.getAD_Client_ID()
|
||||
+ " AND cl.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND w.IsActive = 'Y' "
|
||||
+ " AND p.IsActive = 'Y' "
|
||||
+ " AND l.IsActive = 'Y' "
|
||||
+ " AND cl.IsActive = 'Y' "
|
||||
+ " AND w.ASP_Status = 'S') " // Show
|
||||
+ " AND p.ASP_Status = 'S') " // Show
|
||||
+ " OR AD_Process_ID IN ( "
|
||||
// + show ASP exceptions for client
|
||||
+ " SELECT AD_Process_ID "
|
||||
|
@ -1590,15 +1590,15 @@ public final class MRole extends X_AD_Role
|
|||
ASPFilter =
|
||||
" AND ( AD_Task_ID IN ( "
|
||||
// Just ASP subscribed tasks for client "
|
||||
+ " SELECT w.AD_Task_ID "
|
||||
+ " FROM ASP_Task w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE w.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " SELECT t.AD_Task_ID "
|
||||
+ " FROM ASP_Task t, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE t.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND cl.AD_Client_ID = " + client.getAD_Client_ID()
|
||||
+ " AND cl.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND w.IsActive = 'Y' "
|
||||
+ " AND t.IsActive = 'Y' "
|
||||
+ " AND l.IsActive = 'Y' "
|
||||
+ " AND cl.IsActive = 'Y' "
|
||||
+ " AND w.ASP_Status = 'S') " // Show
|
||||
+ " AND t.ASP_Status = 'S') " // Show
|
||||
+ " OR AD_Task_ID IN ( "
|
||||
// + show ASP exceptions for client
|
||||
+ " SELECT AD_Task_ID "
|
||||
|
@ -1656,15 +1656,15 @@ public final class MRole extends X_AD_Role
|
|||
ASPFilter =
|
||||
" AND ( AD_Form_ID IN ( "
|
||||
// Just ASP subscribed forms for client "
|
||||
+ " SELECT w.AD_Form_ID "
|
||||
+ " FROM ASP_Form w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE w.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " SELECT f.AD_Form_ID "
|
||||
+ " FROM ASP_Form f, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE f.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND cl.AD_Client_ID = " + client.getAD_Client_ID()
|
||||
+ " AND cl.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND w.IsActive = 'Y' "
|
||||
+ " AND f.IsActive = 'Y' "
|
||||
+ " AND l.IsActive = 'Y' "
|
||||
+ " AND cl.IsActive = 'Y' "
|
||||
+ " AND w.ASP_Status = 'S') " // Show
|
||||
+ " AND f.ASP_Status = 'S') " // Show
|
||||
+ " OR AD_Form_ID IN ( "
|
||||
// + show ASP exceptions for client
|
||||
+ " SELECT AD_Form_ID "
|
||||
|
|
|
@ -39,8 +39,6 @@ public class X_ASP_Field extends PO implements I_ASP_Field, I_Persistent
|
|||
super (ctx, ASP_Field_ID, trxName);
|
||||
/** if (ASP_Field_ID == 0)
|
||||
{
|
||||
setAD_Tab_ID (0);
|
||||
setASP_Level_ID (0);
|
||||
setASP_Status (null);
|
||||
// U
|
||||
} */
|
||||
|
@ -113,74 +111,21 @@ public class X_ASP_Field extends PO implements I_ASP_Field, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_AD_Tab getAD_Tab() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_AD_Tab.Table_Name);
|
||||
I_AD_Tab result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_AD_Tab)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Tab_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Tab.
|
||||
@param AD_Tab_ID
|
||||
Tab within a Window
|
||||
*/
|
||||
public void setAD_Tab_ID (int AD_Tab_ID)
|
||||
/** Set ASP Field.
|
||||
@param ASP_Field_ID ASP Field */
|
||||
public void setASP_Field_ID (int ASP_Field_ID)
|
||||
{
|
||||
if (AD_Tab_ID < 1)
|
||||
throw new IllegalArgumentException ("AD_Tab_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_AD_Tab_ID, Integer.valueOf(AD_Tab_ID));
|
||||
if (ASP_Field_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Field_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Field_ID, Integer.valueOf(ASP_Field_ID));
|
||||
}
|
||||
|
||||
/** Get Tab.
|
||||
@return Tab within a Window
|
||||
*/
|
||||
public int getAD_Tab_ID ()
|
||||
/** Get ASP Field.
|
||||
@return ASP Field */
|
||||
public int getASP_Field_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Tab_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_ASP_Level getASP_Level() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_ASP_Level.Table_Name);
|
||||
I_ASP_Level result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_ASP_Level)constructor.newInstance(new Object[] {getCtx(), new Integer(getASP_Level_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set ASP Level.
|
||||
@param ASP_Level_ID ASP Level */
|
||||
public void setASP_Level_ID (int ASP_Level_ID)
|
||||
{
|
||||
if (ASP_Level_ID < 1)
|
||||
throw new IllegalArgumentException ("ASP_Level_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Level_ID, Integer.valueOf(ASP_Level_ID));
|
||||
}
|
||||
|
||||
/** Get ASP Level.
|
||||
@return ASP Level */
|
||||
public int getASP_Level_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Level_ID);
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Field_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
|
@ -208,4 +153,40 @@ public class X_ASP_Field extends PO implements I_ASP_Field, I_Persistent
|
|||
{
|
||||
return (String)get_Value(COLUMNNAME_ASP_Status);
|
||||
}
|
||||
|
||||
public I_ASP_Tab getASP_Tab() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_ASP_Tab.Table_Name);
|
||||
I_ASP_Tab result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_ASP_Tab)constructor.newInstance(new Object[] {getCtx(), new Integer(getASP_Tab_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set ASP Tab.
|
||||
@param ASP_Tab_ID ASP Tab */
|
||||
public void setASP_Tab_ID (int ASP_Tab_ID)
|
||||
{
|
||||
if (ASP_Tab_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Tab_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Tab_ID, Integer.valueOf(ASP_Tab_ID));
|
||||
}
|
||||
|
||||
/** Get ASP Tab.
|
||||
@return ASP Tab */
|
||||
public int getASP_Tab_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Tab_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
}
|
|
@ -112,6 +112,26 @@ public class X_ASP_Form extends PO implements I_ASP_Form, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set ASP Form.
|
||||
@param ASP_Form_ID ASP Form */
|
||||
public void setASP_Form_ID (int ASP_Form_ID)
|
||||
{
|
||||
if (ASP_Form_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Form_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Form_ID, Integer.valueOf(ASP_Form_ID));
|
||||
}
|
||||
|
||||
/** Get ASP Form.
|
||||
@return ASP Form */
|
||||
public int getASP_Form_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Form_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_ASP_Level getASP_Level() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_ASP_Level.Table_Name);
|
||||
|
|
|
@ -21,6 +21,7 @@ import java.lang.reflect.Constructor;
|
|||
import java.sql.ResultSet;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Model for ASP_Process
|
||||
* @author Adempiere (generated)
|
||||
|
@ -147,6 +148,34 @@ public class X_ASP_Process extends PO implements I_ASP_Process, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Get Record ID/ColumnName
|
||||
@return ID/ColumnName pair
|
||||
*/
|
||||
public KeyNamePair getKeyNamePair()
|
||||
{
|
||||
return new KeyNamePair(get_ID(), String.valueOf(getASP_Level_ID()));
|
||||
}
|
||||
|
||||
/** Set ASP Process.
|
||||
@param ASP_Process_ID ASP Process */
|
||||
public void setASP_Process_ID (int ASP_Process_ID)
|
||||
{
|
||||
if (ASP_Process_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Process_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Process_ID, Integer.valueOf(ASP_Process_ID));
|
||||
}
|
||||
|
||||
/** Get ASP Process.
|
||||
@return ASP Process */
|
||||
public int getASP_Process_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Process_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** ASP_Status AD_Reference_ID=53234 */
|
||||
public static final int ASP_STATUS_AD_Reference_ID=53234;
|
||||
/** Hide = H */
|
||||
|
|
|
@ -39,8 +39,6 @@ public class X_ASP_Process_Para extends PO implements I_ASP_Process_Para, I_Pers
|
|||
super (ctx, ASP_Process_Para_ID, trxName);
|
||||
/** if (ASP_Process_Para_ID == 0)
|
||||
{
|
||||
setAD_Process_ID (0);
|
||||
setASP_Level_ID (0);
|
||||
setASP_Status (null);
|
||||
// U
|
||||
} */
|
||||
|
@ -74,44 +72,6 @@ public class X_ASP_Process_Para extends PO implements I_ASP_Process_Para, I_Pers
|
|||
return sb.toString();
|
||||
}
|
||||
|
||||
public I_AD_Process getAD_Process() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_AD_Process.Table_Name);
|
||||
I_AD_Process result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_AD_Process)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Process_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Process.
|
||||
@param AD_Process_ID
|
||||
Process or Report
|
||||
*/
|
||||
public void setAD_Process_ID (int AD_Process_ID)
|
||||
{
|
||||
if (AD_Process_ID < 1)
|
||||
throw new IllegalArgumentException ("AD_Process_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_AD_Process_ID, Integer.valueOf(AD_Process_ID));
|
||||
}
|
||||
|
||||
/** Get Process.
|
||||
@return Process or Report
|
||||
*/
|
||||
public int getAD_Process_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Process_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_AD_Process_Para getAD_Process_Para() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_AD_Process_Para.Table_Name);
|
||||
|
@ -148,14 +108,14 @@ public class X_ASP_Process_Para extends PO implements I_ASP_Process_Para, I_Pers
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_ASP_Level getASP_Level() throws RuntimeException
|
||||
public I_ASP_Process getASP_Process() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_ASP_Level.Table_Name);
|
||||
I_ASP_Level result = null;
|
||||
Class<?> clazz = MTable.getClass(I_ASP_Process.Table_Name);
|
||||
I_ASP_Process result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_ASP_Level)constructor.newInstance(new Object[] {getCtx(), new Integer(getASP_Level_ID()), get_TrxName()});
|
||||
result = (I_ASP_Process)constructor.newInstance(new Object[] {getCtx(), new Integer(getASP_Process_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
|
@ -164,20 +124,41 @@ public class X_ASP_Process_Para extends PO implements I_ASP_Process_Para, I_Pers
|
|||
return result;
|
||||
}
|
||||
|
||||
/** Set ASP Level.
|
||||
@param ASP_Level_ID ASP Level */
|
||||
public void setASP_Level_ID (int ASP_Level_ID)
|
||||
/** Set ASP Process.
|
||||
@param ASP_Process_ID ASP Process */
|
||||
public void setASP_Process_ID (int ASP_Process_ID)
|
||||
{
|
||||
if (ASP_Level_ID < 1)
|
||||
throw new IllegalArgumentException ("ASP_Level_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Level_ID, Integer.valueOf(ASP_Level_ID));
|
||||
if (ASP_Process_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Process_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Process_ID, Integer.valueOf(ASP_Process_ID));
|
||||
}
|
||||
|
||||
/** Get ASP Level.
|
||||
@return ASP Level */
|
||||
public int getASP_Level_ID ()
|
||||
/** Get ASP Process.
|
||||
@return ASP Process */
|
||||
public int getASP_Process_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Level_ID);
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Process_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set ASP Process Parameter.
|
||||
@param ASP_Process_Para_ID ASP Process Parameter */
|
||||
public void setASP_Process_Para_ID (int ASP_Process_Para_ID)
|
||||
{
|
||||
if (ASP_Process_Para_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Process_Para_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Process_Para_ID, Integer.valueOf(ASP_Process_Para_ID));
|
||||
}
|
||||
|
||||
/** Get ASP Process Parameter.
|
||||
@return ASP Process Parameter */
|
||||
public int getASP_Process_Para_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Process_Para_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
|
|
|
@ -21,6 +21,7 @@ import java.lang.reflect.Constructor;
|
|||
import java.sql.ResultSet;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Model for ASP_Tab
|
||||
* @author Adempiere (generated)
|
||||
|
@ -40,8 +41,6 @@ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent
|
|||
/** if (ASP_Tab_ID == 0)
|
||||
{
|
||||
setAD_Tab_ID (0);
|
||||
setAD_Window_ID (0);
|
||||
setASP_Level_ID (0);
|
||||
setASP_Status (null);
|
||||
// U
|
||||
} */
|
||||
|
@ -113,44 +112,6 @@ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_AD_Window getAD_Window() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_AD_Window.Table_Name);
|
||||
I_AD_Window result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_AD_Window)constructor.newInstance(new Object[] {getCtx(), new Integer(getAD_Window_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set Window.
|
||||
@param AD_Window_ID
|
||||
Data entry or display window
|
||||
*/
|
||||
public void setAD_Window_ID (int AD_Window_ID)
|
||||
{
|
||||
if (AD_Window_ID < 1)
|
||||
throw new IllegalArgumentException ("AD_Window_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_AD_Window_ID, Integer.valueOf(AD_Window_ID));
|
||||
}
|
||||
|
||||
/** Get Window.
|
||||
@return Data entry or display window
|
||||
*/
|
||||
public int getAD_Window_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Window_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set AllFields.
|
||||
@param AllFields AllFields */
|
||||
public void setAllFields (boolean AllFields)
|
||||
|
@ -172,41 +133,6 @@ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public I_ASP_Level getASP_Level() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_ASP_Level.Table_Name);
|
||||
I_ASP_Level result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_ASP_Level)constructor.newInstance(new Object[] {getCtx(), new Integer(getASP_Level_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set ASP Level.
|
||||
@param ASP_Level_ID ASP Level */
|
||||
public void setASP_Level_ID (int ASP_Level_ID)
|
||||
{
|
||||
if (ASP_Level_ID < 1)
|
||||
throw new IllegalArgumentException ("ASP_Level_ID is mandatory.");
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Level_ID, Integer.valueOf(ASP_Level_ID));
|
||||
}
|
||||
|
||||
/** Get ASP Level.
|
||||
@return ASP Level */
|
||||
public int getASP_Level_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Level_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** ASP_Status AD_Reference_ID=53234 */
|
||||
public static final int ASP_STATUS_AD_Reference_ID=53234;
|
||||
/** Hide = H */
|
||||
|
@ -230,6 +156,70 @@ public class X_ASP_Tab extends PO implements I_ASP_Tab, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_ASP_Status);
|
||||
}
|
||||
|
||||
/** Set ASP Tab.
|
||||
@param ASP_Tab_ID ASP Tab */
|
||||
public void setASP_Tab_ID (int ASP_Tab_ID)
|
||||
{
|
||||
if (ASP_Tab_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Tab_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Tab_ID, Integer.valueOf(ASP_Tab_ID));
|
||||
}
|
||||
|
||||
/** Get ASP Tab.
|
||||
@return ASP Tab */
|
||||
public int getASP_Tab_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Tab_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_ASP_Window getASP_Window() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_ASP_Window.Table_Name);
|
||||
I_ASP_Window result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (I_ASP_Window)constructor.newInstance(new Object[] {getCtx(), new Integer(getASP_Window_ID()), get_TrxName()});
|
||||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Set ASP Window.
|
||||
@param ASP_Window_ID ASP Window */
|
||||
public void setASP_Window_ID (int ASP_Window_ID)
|
||||
{
|
||||
if (ASP_Window_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Window_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Window_ID, Integer.valueOf(ASP_Window_ID));
|
||||
}
|
||||
|
||||
/** Get ASP Window.
|
||||
@return ASP Window */
|
||||
public int getASP_Window_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Window_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Get Record ID/ColumnName
|
||||
@return ID/ColumnName pair
|
||||
*/
|
||||
public KeyNamePair getKeyNamePair()
|
||||
{
|
||||
return new KeyNamePair(get_ID(), String.valueOf(getASP_Window_ID()));
|
||||
}
|
||||
|
||||
/** Set Process Now.
|
||||
@param Processing Process Now */
|
||||
public void setProcessing (boolean Processing)
|
||||
|
|
|
@ -169,4 +169,24 @@ public class X_ASP_Task extends PO implements I_ASP_Task, I_Persistent
|
|||
{
|
||||
return (String)get_Value(COLUMNNAME_ASP_Status);
|
||||
}
|
||||
|
||||
/** Set ASP Task.
|
||||
@param ASP_Task_ID ASP Task */
|
||||
public void setASP_Task_ID (int ASP_Task_ID)
|
||||
{
|
||||
if (ASP_Task_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Task_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Task_ID, Integer.valueOf(ASP_Task_ID));
|
||||
}
|
||||
|
||||
/** Get ASP Task.
|
||||
@return ASP Task */
|
||||
public int getASP_Task_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Task_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
}
|
|
@ -21,6 +21,7 @@ import java.lang.reflect.Constructor;
|
|||
import java.sql.ResultSet;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
||||
/** Generated Model for ASP_Window
|
||||
* @author Adempiere (generated)
|
||||
|
@ -147,6 +148,14 @@ public class X_ASP_Window extends PO implements I_ASP_Window, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Get Record ID/ColumnName
|
||||
@return ID/ColumnName pair
|
||||
*/
|
||||
public KeyNamePair getKeyNamePair()
|
||||
{
|
||||
return new KeyNamePair(get_ID(), String.valueOf(getASP_Level_ID()));
|
||||
}
|
||||
|
||||
/** ASP_Status AD_Reference_ID=53234 */
|
||||
public static final int ASP_STATUS_AD_Reference_ID=53234;
|
||||
/** Hide = H */
|
||||
|
@ -169,4 +178,24 @@ public class X_ASP_Window extends PO implements I_ASP_Window, I_Persistent
|
|||
{
|
||||
return (String)get_Value(COLUMNNAME_ASP_Status);
|
||||
}
|
||||
|
||||
/** Set ASP Window.
|
||||
@param ASP_Window_ID ASP Window */
|
||||
public void setASP_Window_ID (int ASP_Window_ID)
|
||||
{
|
||||
if (ASP_Window_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Window_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Window_ID, Integer.valueOf(ASP_Window_ID));
|
||||
}
|
||||
|
||||
/** Get ASP Window.
|
||||
@return ASP Window */
|
||||
public int getASP_Window_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Window_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
}
|
|
@ -169,4 +169,24 @@ public class X_ASP_Workflow extends PO implements I_ASP_Workflow, I_Persistent
|
|||
{
|
||||
return (String)get_Value(COLUMNNAME_ASP_Status);
|
||||
}
|
||||
|
||||
/** Set ASP Workflow.
|
||||
@param ASP_Workflow_ID ASP Workflow */
|
||||
public void setASP_Workflow_ID (int ASP_Workflow_ID)
|
||||
{
|
||||
if (ASP_Workflow_ID < 1)
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Workflow_ID, null);
|
||||
else
|
||||
set_ValueNoCheck (COLUMNNAME_ASP_Workflow_ID, Integer.valueOf(ASP_Workflow_ID));
|
||||
}
|
||||
|
||||
/** Get ASP Workflow.
|
||||
@return ASP Workflow */
|
||||
public int getASP_Workflow_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_ASP_Workflow_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
}
|
|
@ -167,15 +167,17 @@ public class ProcessParameter extends CDialog
|
|||
ASPFilter =
|
||||
" AND ( AD_Process_Para_ID IN ( "
|
||||
// Just ASP subscribed process parameters for client "
|
||||
+ " SELECT w.AD_Process_Para_ID "
|
||||
+ " FROM ASP_Process_Para w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE w.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " SELECT pp.AD_Process_Para_ID "
|
||||
+ " FROM ASP_Process_Para pp, ASP_Process p, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE p.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND cl.AD_Client_ID = " + client.getAD_Client_ID()
|
||||
+ " AND cl.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND w.IsActive = 'Y' "
|
||||
+ " AND pp.ASP_Process_ID = p.ASP_Process_ID "
|
||||
+ " AND pp.IsActive = 'Y' "
|
||||
+ " AND p.IsActive = 'Y' "
|
||||
+ " AND l.IsActive = 'Y' "
|
||||
+ " AND cl.IsActive = 'Y' "
|
||||
+ " AND w.ASP_Status = 'S') " // Show
|
||||
+ " AND pp.ASP_Status = 'S') " // Show
|
||||
+ " OR AD_Process_Para_ID IN ( "
|
||||
// + show ASP exceptions for client
|
||||
+ " SELECT AD_Process_Para_ID "
|
||||
|
|
|
@ -149,15 +149,17 @@ public class ProcessParameterPanel extends CPanel implements VetoableChangeListe
|
|||
ASPFilter =
|
||||
" AND ( AD_Process_Para_ID IN ( "
|
||||
// Just ASP subscribed process parameters for client "
|
||||
+ " SELECT w.AD_Process_Para_ID "
|
||||
+ " FROM ASP_Process_Para w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE w.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " SELECT pp.AD_Process_Para_ID "
|
||||
+ " FROM ASP_Process_Para pp, ASP_Process p, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE p.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND cl.AD_Client_ID = " + client.getAD_Client_ID()
|
||||
+ " AND cl.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND w.IsActive = 'Y' "
|
||||
+ " AND pp.ASP_Process_ID = p.ASP_Process_ID "
|
||||
+ " AND pp.IsActive = 'Y' "
|
||||
+ " AND p.IsActive = 'Y' "
|
||||
+ " AND l.IsActive = 'Y' "
|
||||
+ " AND cl.IsActive = 'Y' "
|
||||
+ " AND w.ASP_Status = 'S') " // Show
|
||||
+ " AND pp.ASP_Status = 'S') " // Show
|
||||
+ " OR AD_Process_Para_ID IN ( "
|
||||
// + show ASP exceptions for client
|
||||
+ " SELECT AD_Process_Para_ID "
|
||||
|
|
|
@ -1064,15 +1064,17 @@ public class Viewer extends CFrame
|
|||
ASPFilter =
|
||||
" AND ( AD_Tab_ID IN ( "
|
||||
// Just ASP subscribed tabs for client "
|
||||
+ " SELECT w.AD_Tab_ID "
|
||||
+ " FROM ASP_Tab w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " SELECT t.AD_Tab_ID "
|
||||
+ " FROM ASP_Tab t, ASP_Window w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE w.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND cl.AD_Client_ID = " + client.getAD_Client_ID()
|
||||
+ " AND cl.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND t.ASP_Window_ID = w.ASP_Window_ID "
|
||||
+ " AND t.IsActive = 'Y' "
|
||||
+ " AND w.IsActive = 'Y' "
|
||||
+ " AND l.IsActive = 'Y' "
|
||||
+ " AND cl.IsActive = 'Y' "
|
||||
+ " AND w.ASP_Status = 'S') " // Show
|
||||
+ " AND t.ASP_Status = 'S') " // Show
|
||||
+ " OR AD_Tab_ID IN ( "
|
||||
// + show ASP exceptions for client
|
||||
+ " SELECT AD_Tab_ID "
|
||||
|
|
|
@ -0,0 +1,532 @@
|
|||
-- Jan 5, 2009 6:18:43 PM COT
|
||||
-- Fix problem with ASP Generate Fields process
|
||||
UPDATE AD_Process_Para SET DefaultValue='S',Updated=TO_DATE('2009-01-05 18:18:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53126
|
||||
;
|
||||
|
||||
UPDATE AD_Process_Para SET DefaultValue='S',Updated=TO_DATE('2009-01-05 18:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53125
|
||||
;
|
||||
|
||||
ALTER TABLE asp_window drop CONSTRAINT asp_window_key;
|
||||
|
||||
DROP index asp_window_key;
|
||||
|
||||
ALTER TABLE ASP_Tab drop CONSTRAINT ASP_Tab_key;
|
||||
|
||||
DROP index ASP_Tab_key;
|
||||
|
||||
ALTER TABLE ASP_Field drop CONSTRAINT ASP_Field_key;
|
||||
|
||||
DROP index ASP_Field_key;
|
||||
|
||||
ALTER TABLE ASP_Process drop CONSTRAINT ASP_Process_key;
|
||||
|
||||
DROP index ASP_Process_key;
|
||||
|
||||
ALTER TABLE ASP_Process_Para drop CONSTRAINT ASP_Process_Para_key;
|
||||
|
||||
DROP index ASP_Process_Para_key;
|
||||
|
||||
ALTER TABLE ASP_Form drop CONSTRAINT ASP_Form_key;
|
||||
|
||||
DROP index ASP_Form_key;
|
||||
|
||||
ALTER TABLE ASP_Task drop CONSTRAINT ASP_Task_key;
|
||||
|
||||
DROP index ASP_Task_key;
|
||||
|
||||
ALTER TABLE ASP_Workflow drop CONSTRAINT ASP_Workflow_key;
|
||||
|
||||
DROP index ASP_Workflow_key;
|
||||
|
||||
alter table ASP_Tab drop column asp_level_id;
|
||||
|
||||
alter table ASP_Tab drop column ad_window_id;
|
||||
|
||||
alter table ASP_Field drop column asp_level_id;
|
||||
|
||||
alter table ASP_Field drop column AD_Tab_ID;
|
||||
|
||||
alter table ASP_Process_Para drop column asp_level_id;
|
||||
|
||||
alter table ASP_Process_Para drop column AD_Process_ID;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53750,0,'ASP_Window_ID',TO_DATE('2009-01-16 01:10:47','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Window','ASP Window',TO_DATE('2009-01-16 01:10:47','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53750 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53751,0,'ASP_Tab_ID',TO_DATE('2009-01-16 01:12:36','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Tab','ASP Tab',TO_DATE('2009-01-16 01:12:36','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53751 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53752,0,'ASP_Field_ID',TO_DATE('2009-01-16 01:13:14','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Field','ASP Field',TO_DATE('2009-01-16 01:13:14','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53752 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53753,0,'ASP_Process_ID',TO_DATE('2009-01-16 01:13:32','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Process','ASP Process',TO_DATE('2009-01-16 01:13:32','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53753 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53754,0,'ASP_Process_Para_ID',TO_DATE('2009-01-16 01:14:04','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Process Parameter','ASP Process Parameter',TO_DATE('2009-01-16 01:14:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53754 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53755,0,'ASP_Form_ID',TO_DATE('2009-01-16 01:14:28','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Form','ASP Form',TO_DATE('2009-01-16 01:14:28','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53755 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53756,0,'ASP_Task_ID',TO_DATE('2009-01-16 01:15:35','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Task','ASP Task',TO_DATE('2009-01-16 01:15:35','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53756 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53757,0,'ASP_Workflow_ID',TO_DATE('2009-01-16 01:16:33','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Workflow','ASP Workflow',TO_DATE('2009-01-16 01:16:33','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53757 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56664,53750,0,13,53046,'ASP_Window_ID',TO_DATE('2009-01-16 01:17:55','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Window',0,TO_DATE('2009-01-16 01:17:55','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56664 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Window ADD ASP_Window_ID NUMBER(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Window ADD CONSTRAINT ASP_Window_Key PRIMARY KEY (ASP_Window_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56665,53751,0,13,53047,'ASP_Tab_ID',TO_DATE('2009-01-16 01:55:54','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Tab',0,TO_DATE('2009-01-16 01:55:54','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56665 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Tab ADD ASP_Tab_ID NUMBER(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Tab ADD CONSTRAINT ASP_Tab_Key PRIMARY KEY (ASP_Tab_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56666,53752,0,13,53048,'ASP_Field_ID',TO_DATE('2009-01-16 01:58:04','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Field',0,TO_DATE('2009-01-16 01:58:04','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56666 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Field ADD ASP_Field_ID NUMBER(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Field ADD CONSTRAINT ASP_Field_Key PRIMARY KEY (ASP_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56667,53753,0,13,53049,'ASP_Process_ID',TO_DATE('2009-01-16 01:58:48','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Process',0,TO_DATE('2009-01-16 01:58:48','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56667 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Process ADD ASP_Process_ID NUMBER(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Process ADD CONSTRAINT ASP_Process_Key PRIMARY KEY (ASP_Process_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56668,53754,0,13,53050,'ASP_Process_Para_ID',TO_DATE('2009-01-16 01:59:14','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Process Parameter',0,TO_DATE('2009-01-16 01:59:14','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56668 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Process_Para ADD ASP_Process_Para_ID NUMBER(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Process_Para ADD CONSTRAINT ASP_Process_Para_Key PRIMARY KEY (ASP_Process_Para_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56669,53755,0,13,53051,'ASP_Form_ID',TO_DATE('2009-01-16 01:59:38','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Form',0,TO_DATE('2009-01-16 01:59:38','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56669 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Form ADD ASP_Form_ID NUMBER(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Form ADD CONSTRAINT ASP_Form_Key PRIMARY KEY (ASP_Form_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56670,53756,0,13,53052,'ASP_Task_ID',TO_DATE('2009-01-16 02:00:04','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Task',0,TO_DATE('2009-01-16 02:00:04','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56670 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Task ADD ASP_Task_ID NUMBER(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Task ADD CONSTRAINT ASP_Task_Key PRIMARY KEY (ASP_Task_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56671,53757,0,13,53053,'ASP_Workflow_ID',TO_DATE('2009-01-16 02:00:27','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Workflow',0,TO_DATE('2009-01-16 02:00:27','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56671 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Workflow ADD ASP_Workflow_ID NUMBER(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Workflow ADD CONSTRAINT ASP_Workflow_Key PRIMARY KEY (ASP_Workflow_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=54196,Updated=TO_DATE('2009-01-16 02:02:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53065
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=54099,Updated=TO_DATE('2009-01-16 02:02:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53056
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=54133,Updated=TO_DATE('2009-01-16 02:03:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53059
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=54154,Updated=TO_DATE('2009-01-16 02:04:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53061
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=54164,Updated=TO_DATE('2009-01-16 02:04:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53062
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=54174,Updated=TO_DATE('2009-01-16 02:04:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53063
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsParent='N',Updated=TO_DATE('2009-01-16 02:05:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54108
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsParent='N',Updated=TO_DATE('2009-01-16 02:05:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54109
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsParent='N',Updated=TO_DATE('2009-01-16 02:05:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54110
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56672,53750,0,19,53047,'ASP_Window_ID',TO_DATE('2009-01-16 02:05:56','YYYY-MM-DD HH24:MI:SS'),100,'U',10,'Y','N','N','N','N','N','Y','N','N','N','N','ASP Window',0,TO_DATE('2009-01-16 02:05:56','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56672 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsParent='Y', IsUpdateable='N',Updated=TO_DATE('2009-01-16 02:06:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54108
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsParent='Y', IsUpdateable='N',Updated=TO_DATE('2009-01-16 02:06:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54109
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsParent='Y', IsUpdateable='N',Updated=TO_DATE('2009-01-16 02:06:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54110
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET EntityType='D', IsUpdateable='N',Updated=TO_DATE('2009-01-16 02:07:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56672
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Tab ADD ASP_Window_ID NUMBER(10)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56673,53751,0,19,53048,'ASP_Tab_ID',TO_DATE('2009-01-16 02:07:54','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','N','N','Y','N','N','N','N','ASP Tab',0,TO_DATE('2009-01-16 02:07:54','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56673 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Field ADD ASP_Tab_ID NUMBER(10)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56674,53753,0,19,53050,'ASP_Process_ID',TO_DATE('2009-01-16 02:08:29','YYYY-MM-DD HH24:MI:SS'),100,'U',10,'Y','N','N','N','N','N','Y','N','N','N','N','ASP Process',0,TO_DATE('2009-01-16 02:08:29','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56674 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET EntityType='D', IsUpdateable='N',Updated=TO_DATE('2009-01-16 02:08:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56674
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Process_Para ADD ASP_Process_ID NUMBER(10)
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=56672,Updated=TO_DATE('2009-01-16 02:09:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53057
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=56673,Updated=TO_DATE('2009-01-16 02:09:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53058
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=56674,Updated=TO_DATE('2009-01-16 02:09:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53060
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56664,56607,0,53056,TO_DATE('2009-01-16 02:09:36','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Window',TO_DATE('2009-01-16 02:09:36','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56607 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56665,56608,0,53057,TO_DATE('2009-01-16 02:09:44','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Tab',TO_DATE('2009-01-16 02:09:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56608 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56672,56609,0,53057,TO_DATE('2009-01-16 02:09:44','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','ASP Window',TO_DATE('2009-01-16 02:09:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56609 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56609
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=54247
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=54248
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=54249
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=54250
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=54251
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=54252
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=54253
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56666,56610,0,53058,TO_DATE('2009-01-16 02:10:19','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Field',TO_DATE('2009-01-16 02:10:19','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56610 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56673,56611,0,53058,TO_DATE('2009-01-16 02:10:19','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','ASP Tab',TO_DATE('2009-01-16 02:10:19','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56611 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56611
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=54256
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=54257
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=54258
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=54259
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=54260
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56667,56612,0,53059,TO_DATE('2009-01-16 02:10:31','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Process',TO_DATE('2009-01-16 02:10:31','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56612 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56674,56613,0,53060,TO_DATE('2009-01-16 02:10:36','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','ASP Process',TO_DATE('2009-01-16 02:10:36','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56613 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56668,56614,0,53060,TO_DATE('2009-01-16 02:10:37','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Process Parameter',TO_DATE('2009-01-16 02:10:37','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56614 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56613
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=54269
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=54270
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=54271
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=54272
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=54273
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56669,56615,0,53061,TO_DATE('2009-01-16 02:10:51','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Form',TO_DATE('2009-01-16 02:10:51','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56615 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56670,56616,0,53062,TO_DATE('2009-01-16 02:10:55','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Task',TO_DATE('2009-01-16 02:10:55','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56616 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56671,56617,0,53063,TO_DATE('2009-01-16 02:11:01','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Workflow',TO_DATE('2009-01-16 02:11:01','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56617 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=1,Updated=TO_DATE('2009-01-16 02:12:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54099
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=2,Updated=TO_DATE('2009-01-16 02:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54098
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=1,Updated=TO_DATE('2009-01-16 02:12:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54110
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=2,Updated=TO_DATE('2009-01-16 02:12:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54109
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=3,Updated=TO_DATE('2009-01-16 02:13:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54108
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=1,Updated=TO_DATE('2009-01-16 02:13:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54133
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=2,Updated=TO_DATE('2009-01-16 02:13:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54132
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=54247
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=54247
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=54248
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=54248
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=54110
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=54110
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=54109
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=54109
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=1,Updated=TO_DATE('2009-01-16 02:25:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56672
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsUpdateable='N', MandatoryLogic=NULL, SeqNo=2,Updated=TO_DATE('2009-01-16 02:25:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54108
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=54256
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=54256
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=54257
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=54257
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=54123
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=54123
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=54122
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=54122
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=54269
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=54269
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=54270
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=54270
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=54144
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=54144
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=54142
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=54142
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_DATE('2009-01-16 02:36:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54303
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_DATE('2009-01-16 02:36:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54241
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_DATE('2009-01-16 02:36:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56609
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_DATE('2009-01-16 02:36:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56611
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_DATE('2009-01-16 02:36:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54263
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_DATE('2009-01-16 02:36:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56613
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_DATE('2009-01-16 02:37:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54276
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_DATE('2009-01-16 02:37:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54282
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_DATE('2009-01-16 02:37:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54288
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Field ADD (CONSTRAINT ASPTab_ASPField FOREIGN KEY (ASP_Tab_ID) REFERENCES ASP_Tab);
|
||||
|
||||
ALTER TABLE ASP_Process_Para ADD (CONSTRAINT ASPProcess_ASPProcessPara FOREIGN KEY (ASP_Process_ID) REFERENCES ASP_Process);
|
||||
|
||||
ALTER TABLE ASP_Tab ADD (CONSTRAINT ASPWindow_ASPTab FOREIGN KEY (ASP_Window_ID) REFERENCES ASP_Window);
|
||||
|
|
@ -0,0 +1,515 @@
|
|||
-- Jan 5, 2009 6:18:43 PM COT
|
||||
-- Fix problems with ASP Module
|
||||
UPDATE AD_Process_Para SET DefaultValue='S',Updated=TO_TIMESTAMP('2009-01-05 18:18:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53126
|
||||
;
|
||||
|
||||
UPDATE AD_Process_Para SET DefaultValue='S',Updated=TO_TIMESTAMP('2009-01-05 18:18:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53125
|
||||
;
|
||||
|
||||
ALTER TABLE asp_window drop CONSTRAINT asp_window_key;
|
||||
|
||||
ALTER TABLE ASP_Tab drop CONSTRAINT ASP_Tab_key;
|
||||
|
||||
ALTER TABLE ASP_Field drop CONSTRAINT ASP_Field_key;
|
||||
|
||||
ALTER TABLE ASP_Process drop CONSTRAINT ASP_Process_key;
|
||||
|
||||
ALTER TABLE ASP_Process_Para drop CONSTRAINT ASP_Process_Para_key;
|
||||
|
||||
ALTER TABLE ASP_Form drop CONSTRAINT ASP_Form_key;
|
||||
|
||||
ALTER TABLE ASP_Task drop CONSTRAINT ASP_Task_key;
|
||||
|
||||
ALTER TABLE ASP_Workflow drop CONSTRAINT ASP_Workflow_key;
|
||||
|
||||
alter table ASP_Tab drop column asp_level_id;
|
||||
|
||||
alter table ASP_Tab drop column ad_window_id;
|
||||
|
||||
alter table ASP_Field drop column asp_level_id;
|
||||
|
||||
alter table ASP_Field drop column AD_Tab_ID;
|
||||
|
||||
alter table ASP_Process_Para drop column asp_level_id;
|
||||
|
||||
alter table ASP_Process_Para drop column AD_Process_ID;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53750,0,'ASP_Window_ID',TO_TIMESTAMP('2009-01-16 01:10:47','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Window','ASP Window',TO_TIMESTAMP('2009-01-16 01:10:47','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53750 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53751,0,'ASP_Tab_ID',TO_TIMESTAMP('2009-01-16 01:12:36','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Tab','ASP Tab',TO_TIMESTAMP('2009-01-16 01:12:36','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53751 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53752,0,'ASP_Field_ID',TO_TIMESTAMP('2009-01-16 01:13:14','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Field','ASP Field',TO_TIMESTAMP('2009-01-16 01:13:14','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53752 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53753,0,'ASP_Process_ID',TO_TIMESTAMP('2009-01-16 01:13:32','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Process','ASP Process',TO_TIMESTAMP('2009-01-16 01:13:32','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53753 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53754,0,'ASP_Process_Para_ID',TO_TIMESTAMP('2009-01-16 01:14:04','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Process Parameter','ASP Process Parameter',TO_TIMESTAMP('2009-01-16 01:14:04','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53754 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53755,0,'ASP_Form_ID',TO_TIMESTAMP('2009-01-16 01:14:28','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Form','ASP Form',TO_TIMESTAMP('2009-01-16 01:14:28','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53755 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53756,0,'ASP_Task_ID',TO_TIMESTAMP('2009-01-16 01:15:35','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Task','ASP Task',TO_TIMESTAMP('2009-01-16 01:15:35','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53756 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53757,0,'ASP_Workflow_ID',TO_TIMESTAMP('2009-01-16 01:16:33','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ASP Workflow','ASP Workflow',TO_TIMESTAMP('2009-01-16 01:16:33','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53757 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56664,53750,0,13,53046,'ASP_Window_ID',TO_TIMESTAMP('2009-01-16 01:17:55','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Window',0,TO_TIMESTAMP('2009-01-16 01:17:55','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56664 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Window ADD COLUMN ASP_Window_ID NUMERIC(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Window ADD CONSTRAINT ASP_Window_Key PRIMARY KEY (ASP_Window_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56665,53751,0,13,53047,'ASP_Tab_ID',TO_TIMESTAMP('2009-01-16 01:55:54','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Tab',0,TO_TIMESTAMP('2009-01-16 01:55:54','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56665 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Tab ADD COLUMN ASP_Tab_ID NUMERIC(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Tab ADD CONSTRAINT ASP_Tab_Key PRIMARY KEY (ASP_Tab_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56666,53752,0,13,53048,'ASP_Field_ID',TO_TIMESTAMP('2009-01-16 01:58:04','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Field',0,TO_TIMESTAMP('2009-01-16 01:58:04','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56666 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Field ADD COLUMN ASP_Field_ID NUMERIC(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Field ADD CONSTRAINT ASP_Field_Key PRIMARY KEY (ASP_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56667,53753,0,13,53049,'ASP_Process_ID',TO_TIMESTAMP('2009-01-16 01:58:48','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Process',0,TO_TIMESTAMP('2009-01-16 01:58:48','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56667 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Process ADD COLUMN ASP_Process_ID NUMERIC(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Process ADD CONSTRAINT ASP_Process_Key PRIMARY KEY (ASP_Process_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56668,53754,0,13,53050,'ASP_Process_Para_ID',TO_TIMESTAMP('2009-01-16 01:59:14','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Process Parameter',0,TO_TIMESTAMP('2009-01-16 01:59:14','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56668 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Process_Para ADD COLUMN ASP_Process_Para_ID NUMERIC(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Process_Para ADD CONSTRAINT ASP_Process_Para_Key PRIMARY KEY (ASP_Process_Para_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56669,53755,0,13,53051,'ASP_Form_ID',TO_TIMESTAMP('2009-01-16 01:59:38','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Form',0,TO_TIMESTAMP('2009-01-16 01:59:38','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56669 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Form ADD COLUMN ASP_Form_ID NUMERIC(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Form ADD CONSTRAINT ASP_Form_Key PRIMARY KEY (ASP_Form_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56670,53756,0,13,53052,'ASP_Task_ID',TO_TIMESTAMP('2009-01-16 02:00:04','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Task',0,TO_TIMESTAMP('2009-01-16 02:00:04','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56670 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Task ADD COLUMN ASP_Task_ID NUMERIC(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Task ADD CONSTRAINT ASP_Task_Key PRIMARY KEY (ASP_Task_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56671,53757,0,13,53053,'ASP_Workflow_ID',TO_TIMESTAMP('2009-01-16 02:00:27','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','N','N','N','N','N','N','ASP Workflow',0,TO_TIMESTAMP('2009-01-16 02:00:27','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56671 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Workflow ADD COLUMN ASP_Workflow_ID NUMERIC(10)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Workflow ADD CONSTRAINT ASP_Workflow_Key PRIMARY KEY (ASP_Workflow_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=54196,Updated=TO_TIMESTAMP('2009-01-16 02:02:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53065
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=54099,Updated=TO_TIMESTAMP('2009-01-16 02:02:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53056
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=54133,Updated=TO_TIMESTAMP('2009-01-16 02:03:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53059
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=54154,Updated=TO_TIMESTAMP('2009-01-16 02:04:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53061
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=54164,Updated=TO_TIMESTAMP('2009-01-16 02:04:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53062
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=54174,Updated=TO_TIMESTAMP('2009-01-16 02:04:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53063
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsParent='N',Updated=TO_TIMESTAMP('2009-01-16 02:05:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54108
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsParent='N',Updated=TO_TIMESTAMP('2009-01-16 02:05:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54109
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsParent='N',Updated=TO_TIMESTAMP('2009-01-16 02:05:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54110
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56672,53750,0,19,53047,'ASP_Window_ID',TO_TIMESTAMP('2009-01-16 02:05:56','YYYY-MM-DD HH24:MI:SS'),100,'U',10,'Y','N','N','N','N','N','Y','N','N','N','N','ASP Window',0,TO_TIMESTAMP('2009-01-16 02:05:56','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56672 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsParent='Y', IsUpdateable='N',Updated=TO_TIMESTAMP('2009-01-16 02:06:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54108
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsParent='Y', IsUpdateable='N',Updated=TO_TIMESTAMP('2009-01-16 02:06:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54109
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsParent='Y', IsUpdateable='N',Updated=TO_TIMESTAMP('2009-01-16 02:06:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54110
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET EntityType='D', IsUpdateable='N',Updated=TO_TIMESTAMP('2009-01-16 02:07:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56672
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Tab ADD COLUMN ASP_Window_ID NUMERIC(10)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56673,53751,0,19,53048,'ASP_Tab_ID',TO_TIMESTAMP('2009-01-16 02:07:54','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','N','N','Y','N','N','N','N','ASP Tab',0,TO_TIMESTAMP('2009-01-16 02:07:54','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56673 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Field ADD COLUMN ASP_Tab_ID NUMERIC(10)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56674,53753,0,19,53050,'ASP_Process_ID',TO_TIMESTAMP('2009-01-16 02:08:29','YYYY-MM-DD HH24:MI:SS'),100,'U',10,'Y','N','N','N','N','N','Y','N','N','N','N','ASP Process',0,TO_TIMESTAMP('2009-01-16 02:08:29','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56674 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET EntityType='D', IsUpdateable='N',Updated=TO_TIMESTAMP('2009-01-16 02:08:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56674
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Process_Para ADD COLUMN ASP_Process_ID NUMERIC(10)
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=56672,Updated=TO_TIMESTAMP('2009-01-16 02:09:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53057
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=56673,Updated=TO_TIMESTAMP('2009-01-16 02:09:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53058
|
||||
;
|
||||
|
||||
UPDATE AD_Tab SET AD_Column_ID=56674,Updated=TO_TIMESTAMP('2009-01-16 02:09:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53060
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56664,56607,0,53056,TO_TIMESTAMP('2009-01-16 02:09:36','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Window',TO_TIMESTAMP('2009-01-16 02:09:36','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56607 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56665,56608,0,53057,TO_TIMESTAMP('2009-01-16 02:09:44','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Tab',TO_TIMESTAMP('2009-01-16 02:09:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56608 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56672,56609,0,53057,TO_TIMESTAMP('2009-01-16 02:09:44','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','ASP Window',TO_TIMESTAMP('2009-01-16 02:09:44','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56609 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56609
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=54247
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=54248
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=54249
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=54250
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=54251
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=54252
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=54253
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56666,56610,0,53058,TO_TIMESTAMP('2009-01-16 02:10:19','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Field',TO_TIMESTAMP('2009-01-16 02:10:19','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56610 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56673,56611,0,53058,TO_TIMESTAMP('2009-01-16 02:10:19','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','ASP Tab',TO_TIMESTAMP('2009-01-16 02:10:19','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56611 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56611
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=54256
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=54257
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=54258
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=54259
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=54260
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56667,56612,0,53059,TO_TIMESTAMP('2009-01-16 02:10:31','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Process',TO_TIMESTAMP('2009-01-16 02:10:31','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56612 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56674,56613,0,53060,TO_TIMESTAMP('2009-01-16 02:10:36','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','ASP Process',TO_TIMESTAMP('2009-01-16 02:10:36','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56613 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56668,56614,0,53060,TO_TIMESTAMP('2009-01-16 02:10:37','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Process Parameter',TO_TIMESTAMP('2009-01-16 02:10:37','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56614 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56613
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=54269
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=54270
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=54271
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=54272
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=54273
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56669,56615,0,53061,TO_TIMESTAMP('2009-01-16 02:10:51','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Form',TO_TIMESTAMP('2009-01-16 02:10:51','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56615 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56670,56616,0,53062,TO_TIMESTAMP('2009-01-16 02:10:55','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Task',TO_TIMESTAMP('2009-01-16 02:10:55','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56616 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56671,56617,0,53063,TO_TIMESTAMP('2009-01-16 02:11:01','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','N','N','N','N','N','N','ASP Workflow',TO_TIMESTAMP('2009-01-16 02:11:01','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56617 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=1,Updated=TO_TIMESTAMP('2009-01-16 02:12:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54099
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=2,Updated=TO_TIMESTAMP('2009-01-16 02:12:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54098
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=1,Updated=TO_TIMESTAMP('2009-01-16 02:12:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54110
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=2,Updated=TO_TIMESTAMP('2009-01-16 02:12:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54109
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=3,Updated=TO_TIMESTAMP('2009-01-16 02:13:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54108
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=1,Updated=TO_TIMESTAMP('2009-01-16 02:13:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54133
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=2,Updated=TO_TIMESTAMP('2009-01-16 02:13:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54132
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=54247
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=54247
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=54248
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=54248
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=54110
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=54110
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=54109
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=54109
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsIdentifier='Y', IsUpdateable='N', SeqNo=1,Updated=TO_TIMESTAMP('2009-01-16 02:25:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56672
|
||||
;
|
||||
|
||||
UPDATE AD_Column SET IsUpdateable='N', MandatoryLogic=NULL, SeqNo=2,Updated=TO_TIMESTAMP('2009-01-16 02:25:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54108
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=54256
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=54256
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=54257
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=54257
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=54123
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=54123
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=54122
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=54122
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=54269
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=54269
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=54270
|
||||
;
|
||||
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=54270
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=54144
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=54144
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=54142
|
||||
;
|
||||
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=54142
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_TIMESTAMP('2009-01-16 02:36:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54303
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_TIMESTAMP('2009-01-16 02:36:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54241
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_TIMESTAMP('2009-01-16 02:36:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56609
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_TIMESTAMP('2009-01-16 02:36:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56611
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_TIMESTAMP('2009-01-16 02:36:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54263
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_TIMESTAMP('2009-01-16 02:36:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56613
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_TIMESTAMP('2009-01-16 02:37:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54276
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_TIMESTAMP('2009-01-16 02:37:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54282
|
||||
;
|
||||
|
||||
UPDATE AD_Field SET DisplayLength=40,Updated=TO_TIMESTAMP('2009-01-16 02:37:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54288
|
||||
;
|
||||
|
||||
ALTER TABLE ASP_Field ADD CONSTRAINT ASPTab_ASPField FOREIGN KEY (ASP_Tab_ID) REFERENCES ASP_Tab;
|
||||
|
||||
ALTER TABLE ASP_Process_Para ADD CONSTRAINT ASPProcess_ASPProcessPara FOREIGN KEY (ASP_Process_ID) REFERENCES ASP_Process;
|
||||
|
||||
ALTER TABLE ASP_Tab ADD CONSTRAINT ASPWindow_ASPTab FOREIGN KEY (ASP_Window_ID) REFERENCES ASP_Window;
|
|
@ -149,15 +149,17 @@ implements ValueChangeListener, IProcessParameter
|
|||
ASPFilter =
|
||||
" AND ( AD_Process_Para_ID IN ( "
|
||||
// Just ASP subscribed process parameters for client "
|
||||
+ " SELECT w.AD_Process_Para_ID "
|
||||
+ " FROM ASP_Process_Para w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE w.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " SELECT pp.AD_Process_Para_ID "
|
||||
+ " FROM ASP_Process_Para pp, ASP_Process p, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE p.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND cl.AD_Client_ID = " + client.getAD_Client_ID()
|
||||
+ " AND cl.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND w.IsActive = 'Y' "
|
||||
+ " AND pp.ASP_Process_ID = p.ASP_Process_ID "
|
||||
+ " AND pp.IsActive = 'Y' "
|
||||
+ " AND p.IsActive = 'Y' "
|
||||
+ " AND l.IsActive = 'Y' "
|
||||
+ " AND cl.IsActive = 'Y' "
|
||||
+ " AND w.ASP_Status = 'S') " // Show
|
||||
+ " AND pp.ASP_Status = 'S') " // Show
|
||||
+ " OR AD_Process_Para_ID IN ( "
|
||||
// + show ASP exceptions for client
|
||||
+ " SELECT AD_Process_Para_ID "
|
||||
|
|
|
@ -797,15 +797,17 @@ public class ZkReportViewer extends Window implements EventListener {
|
|||
ASPFilter =
|
||||
" AND ( AD_Tab_ID IN ( "
|
||||
// Just ASP subscribed tabs for client "
|
||||
+ " SELECT w.AD_Tab_ID "
|
||||
+ " FROM ASP_Tab w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " SELECT t.AD_Tab_ID "
|
||||
+ " FROM ASP_Tab t, ASP_Window w, ASP_Level l, ASP_ClientLevel cl "
|
||||
+ " WHERE w.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND cl.AD_Client_ID = " + client.getAD_Client_ID()
|
||||
+ " AND cl.ASP_Level_ID = l.ASP_Level_ID "
|
||||
+ " AND t.ASP_Window_ID = w.ASP_Window_ID "
|
||||
+ " AND t.IsActive = 'Y' "
|
||||
+ " AND w.IsActive = 'Y' "
|
||||
+ " AND l.IsActive = 'Y' "
|
||||
+ " AND cl.IsActive = 'Y' "
|
||||
+ " AND w.ASP_Status = 'S') " // Show
|
||||
+ " AND t.ASP_Status = 'S') " // Show
|
||||
+ " OR AD_Tab_ID IN ( "
|
||||
// + show ASP exceptions for client
|
||||
+ " SELECT AD_Tab_ID "
|
||||
|
|
Loading…
Reference in New Issue