Integrate feature request [ 1670185 ] restrict access to info queries (in view menu)
This commit is contained in:
parent
57046a00f9
commit
47e63b5663
|
@ -36,6 +36,8 @@ import org.compiere.util.*;
|
|||
*
|
||||
* @author Jorg Janke
|
||||
* @version $Id: AEnv.java,v 1.2 2006/07/30 00:51:27 jjanke Exp $
|
||||
*
|
||||
* Colin Rooney (croo) & kstan_79 RFE#1670185
|
||||
*/
|
||||
public final class AEnv
|
||||
{
|
||||
|
@ -306,47 +308,49 @@ public final class AEnv
|
|||
}
|
||||
|
||||
// View Menu ------------------------
|
||||
else if (actionCommand.equals("InfoProduct"))
|
||||
else if (actionCommand.equals("InfoProduct") && AEnv.canAccessInfo("PRODUCT"))
|
||||
{
|
||||
org.compiere.apps.search.Info.showProduct (Env.getFrame(c), WindowNo);
|
||||
}
|
||||
else if (actionCommand.equals("InfoBPartner"))
|
||||
else if (actionCommand.equals("InfoBPartner") && AEnv.canAccessInfo("BPARTNER"))
|
||||
{
|
||||
org.compiere.apps.search.Info.showBPartner (Env.getFrame(c), WindowNo);
|
||||
}
|
||||
else if (actionCommand.equals("InfoAsset"))
|
||||
else if (actionCommand.equals("InfoAsset") && AEnv.canAccessInfo("ASSET"))
|
||||
{
|
||||
org.compiere.apps.search.Info.showAsset (Env.getFrame(c), WindowNo);
|
||||
}
|
||||
else if (actionCommand.equals("InfoAccount") && MRole.getDefault().isShowAcct())
|
||||
else if (actionCommand.equals("InfoAccount") &&
|
||||
MRole.getDefault().isShowAcct() &&
|
||||
AEnv.canAccessInfo("ACCOUNT"))
|
||||
{
|
||||
new org.compiere.acct.AcctViewer();
|
||||
}
|
||||
else if (actionCommand.equals("InfoSchedule"))
|
||||
else if (actionCommand.equals("InfoSchedule") && AEnv.canAccessInfo("SCHEDULE"))
|
||||
{
|
||||
new org.compiere.apps.search.InfoSchedule (Env.getFrame(c), null, false);
|
||||
}
|
||||
else if (actionCommand.equals("InfoOrder"))
|
||||
else if (actionCommand.equals("InfoOrder") && AEnv.canAccessInfo("ORDER"))
|
||||
{
|
||||
org.compiere.apps.search.Info.showOrder (Env.getFrame(c), WindowNo, "");
|
||||
}
|
||||
else if (actionCommand.equals("InfoInvoice"))
|
||||
else if (actionCommand.equals("InfoInvoice") && AEnv.canAccessInfo("INVOICE"))
|
||||
{
|
||||
org.compiere.apps.search.Info.showInvoice (Env.getFrame(c), WindowNo, "");
|
||||
}
|
||||
else if (actionCommand.equals("InfoInOut"))
|
||||
else if (actionCommand.equals("InfoInOut") && AEnv.canAccessInfo("INOUT"))
|
||||
{
|
||||
org.compiere.apps.search.Info.showInOut (Env.getFrame(c), WindowNo, "");
|
||||
}
|
||||
else if (actionCommand.equals("InfoPayment"))
|
||||
else if (actionCommand.equals("InfoPayment") && AEnv.canAccessInfo("PAYMENT"))
|
||||
{
|
||||
org.compiere.apps.search.Info.showPayment (Env.getFrame(c), WindowNo, "");
|
||||
}
|
||||
else if (actionCommand.equals("InfoCashLine"))
|
||||
else if (actionCommand.equals("InfoCashLine") && AEnv.canAccessInfo("CASHJOURNAL"))
|
||||
{
|
||||
org.compiere.apps.search.Info.showCashLine (Env.getFrame(c), WindowNo, "");
|
||||
}
|
||||
else if (actionCommand.equals("InfoAssignment"))
|
||||
else if (actionCommand.equals("InfoAssignment") && AEnv.canAccessInfo("RESOURCE"))
|
||||
{
|
||||
org.compiere.apps.search.Info.showAssignment (Env.getFrame(c), WindowNo, "");
|
||||
}
|
||||
|
@ -939,5 +943,63 @@ public final class AEnv
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate permissions to access Info queries on the view menu
|
||||
* @author kstan_79
|
||||
* @return true if access is allowed
|
||||
*/
|
||||
|
||||
public static boolean canAccessInfo(String infoWindowName)
|
||||
{
|
||||
boolean result=false;
|
||||
int roleid= Env.getAD_Role_ID(Env.getCtx());
|
||||
String sqlRolePermission="Select COUNT(AD_ROLE_ID) AS ROWCOUNT FROM AD_ROLE WHERE AD_ROLE_ID=" + roleid
|
||||
+ " AND ALLOW_INFO_" + infoWindowName + "='Y'";
|
||||
|
||||
System.out.println(sqlRolePermission);
|
||||
PreparedStatement prolestmt = null;
|
||||
try
|
||||
{
|
||||
prolestmt = DB.prepareStatement (sqlRolePermission, null);
|
||||
|
||||
ResultSet rs = prolestmt.executeQuery ();
|
||||
|
||||
rs.next();
|
||||
|
||||
if (rs.getInt("ROWCOUNT")>0)
|
||||
{
|
||||
result=true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
rs.close ();
|
||||
prolestmt.close ();
|
||||
prolestmt = null;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
System.out.println(e);
|
||||
log.log(Level.SEVERE, "(1)", e);
|
||||
}
|
||||
|
||||
} // AEnv
|
||||
try
|
||||
{
|
||||
if (prolestmt != null)
|
||||
{
|
||||
prolestmt.close ();
|
||||
}
|
||||
prolestmt = null;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
prolestmt = null;
|
||||
}
|
||||
|
||||
return result;
|
||||
} // canAccessInfo
|
||||
|
||||
} // AEnv
|
||||
|
|
|
@ -40,6 +40,8 @@ import org.compiere.util.*;
|
|||
*
|
||||
* @author Jorg Janke
|
||||
* @version $Id: AMenu.java,v 1.2 2006/07/30 00:51:27 jjanke Exp $
|
||||
*
|
||||
* Colin Rooney (croo) RFE#1670185 restrict access to info queries
|
||||
*/
|
||||
public final class AMenu extends CFrame
|
||||
implements ActionListener, PropertyChangeListener, ChangeListener
|
||||
|
@ -332,20 +334,53 @@ public final class AMenu extends CFrame
|
|||
// View
|
||||
JMenu mView = AEnv.getMenu("View");
|
||||
menuBar.add(mView);
|
||||
AEnv.addMenuItem("InfoProduct", null, KeyStroke.getKeyStroke(KeyEvent.VK_I, Event.ALT_MASK), mView, this);
|
||||
AEnv.addMenuItem("InfoBPartner", null, KeyStroke.getKeyStroke(KeyEvent.VK_I, Event.ALT_MASK+Event.CTRL_MASK), mView, this);
|
||||
if (MRole.getDefault().isShowAcct())
|
||||
|
||||
if (MRole.getDefault().isAllow_Info_Product())
|
||||
{
|
||||
AEnv.addMenuItem("InfoProduct", null, KeyStroke.getKeyStroke(KeyEvent.VK_I, Event.ALT_MASK), mView, this);
|
||||
}
|
||||
if (MRole.getDefault().isAllow_Info_BPartner())
|
||||
{
|
||||
AEnv.addMenuItem("InfoBPartner", null, KeyStroke.getKeyStroke(KeyEvent.VK_I, Event.ALT_MASK+Event.CTRL_MASK), mView, this);
|
||||
}
|
||||
if (MRole.getDefault().isShowAcct() && MRole.getDefault().isAllow_Info_Account())
|
||||
{
|
||||
AEnv.addMenuItem("InfoAccount", null, KeyStroke.getKeyStroke(KeyEvent.VK_I, Event.ALT_MASK+Event.CTRL_MASK), mView, this);
|
||||
AEnv.addMenuItem("InfoSchedule", null, null, mView, this);
|
||||
}
|
||||
if (MRole.getDefault().isAllow_Info_Schedule())
|
||||
{
|
||||
AEnv.addMenuItem("InfoSchedule", null, null, mView, this);
|
||||
}
|
||||
mView.addSeparator();
|
||||
AEnv.addMenuItem("InfoOrder", "Info", null, mView, this);
|
||||
AEnv.addMenuItem("InfoInvoice", "Info", null, mView, this);
|
||||
AEnv.addMenuItem("InfoInOut", "Info", null, mView, this);
|
||||
AEnv.addMenuItem("InfoPayment", "Info", null, mView, this);
|
||||
AEnv.addMenuItem("InfoCashLine", "Info", null, mView, this);
|
||||
AEnv.addMenuItem("InfoAssignment", "Info", null, mView, this);
|
||||
AEnv.addMenuItem("InfoAsset", "Info", null, mView, this);
|
||||
|
||||
if (MRole.getDefault().isAllow_Info_Order())
|
||||
{
|
||||
AEnv.addMenuItem("InfoOrder", "Info", null, mView, this);
|
||||
}
|
||||
if (MRole.getDefault().isAllow_Info_Invoice())
|
||||
{
|
||||
AEnv.addMenuItem("InfoInvoice", "Info", null, mView, this);
|
||||
}
|
||||
if (MRole.getDefault().isAllow_Info_InOut())
|
||||
{
|
||||
AEnv.addMenuItem("InfoInOut", "Info", null, mView, this);
|
||||
}
|
||||
if (MRole.getDefault().isAllow_Info_Payment())
|
||||
{
|
||||
AEnv.addMenuItem("InfoPayment", "Info", null, mView, this);
|
||||
}
|
||||
if (MRole.getDefault().isAllow_Info_CashJournal())
|
||||
{
|
||||
AEnv.addMenuItem("InfoCashLine", "Info", null, mView, this);
|
||||
}
|
||||
if (MRole.getDefault().isAllow_Info_Resource())
|
||||
{
|
||||
AEnv.addMenuItem("InfoAssignment", "Info", null, mView, this);
|
||||
}
|
||||
if (MRole.getDefault().isAllow_Info_Asset())
|
||||
{
|
||||
AEnv.addMenuItem("InfoAsset", "Info", null, mView, this);
|
||||
}
|
||||
|
||||
// Tools
|
||||
JMenu mTools = AEnv.getMenu("Tools");
|
||||
menuBar.add(mTools);
|
||||
|
@ -656,4 +691,4 @@ public final class AMenu extends CFrame
|
|||
AMenu menu = new AMenu();
|
||||
} // main
|
||||
|
||||
} // AMenu
|
||||
} // AMenu
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/******************************************************************************
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
||||
* This program is free software;
|
||||
you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
|
@ -116,6 +116,8 @@ Integer ii = (Integer)get_Value("AD_Role_ID");
|
|||
if (ii == null) return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
/** Column name AD_Role_ID */
|
||||
public static final String COLUMNNAME_AD_Role_ID = "AD_Role_ID";
|
||||
|
||||
/** AD_Tree_Menu_ID AD_Reference_ID=184 */
|
||||
public static final int AD_TREE_MENU_ID_AD_Reference_ID=184;
|
||||
|
@ -135,6 +137,8 @@ Integer ii = (Integer)get_Value("AD_Tree_Menu_ID");
|
|||
if (ii == null) return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
/** Column name AD_Tree_Menu_ID */
|
||||
public static final String COLUMNNAME_AD_Tree_Menu_ID = "AD_Tree_Menu_ID";
|
||||
|
||||
/** AD_Tree_Org_ID AD_Reference_ID=184 */
|
||||
public static final int AD_TREE_ORG_ID_AD_Reference_ID=184;
|
||||
|
@ -154,6 +158,228 @@ Integer ii = (Integer)get_Value("AD_Tree_Org_ID");
|
|||
if (ii == null) return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
/** Column name AD_Tree_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Tree_Org_ID = "AD_Tree_Org_ID";
|
||||
/** Set Allow Info Account.
|
||||
@param Allow_Info_Account Allow Info Account */
|
||||
public void setAllow_Info_Account (boolean Allow_Info_Account)
|
||||
{
|
||||
set_Value ("Allow_Info_Account", Boolean.valueOf(Allow_Info_Account));
|
||||
}
|
||||
/** Get Allow Info Account.
|
||||
@return Allow Info Account */
|
||||
public boolean isAllow_Info_Account()
|
||||
{
|
||||
Object oo = get_Value("Allow_Info_Account");
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name Allow_Info_Account */
|
||||
public static final String COLUMNNAME_Allow_Info_Account = "Allow_Info_Account";
|
||||
/** Set Allow Info Asset.
|
||||
@param Allow_Info_Asset Allow Info Asset */
|
||||
public void setAllow_Info_Asset (boolean Allow_Info_Asset)
|
||||
{
|
||||
set_Value ("Allow_Info_Asset", Boolean.valueOf(Allow_Info_Asset));
|
||||
}
|
||||
/** Get Allow Info Asset.
|
||||
@return Allow Info Asset */
|
||||
public boolean isAllow_Info_Asset()
|
||||
{
|
||||
Object oo = get_Value("Allow_Info_Asset");
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name Allow_Info_Asset */
|
||||
public static final String COLUMNNAME_Allow_Info_Asset = "Allow_Info_Asset";
|
||||
/** Set Allow Info BPartner.
|
||||
@param Allow_Info_BPartner Allow Info BPartner */
|
||||
public void setAllow_Info_BPartner (boolean Allow_Info_BPartner)
|
||||
{
|
||||
set_Value ("Allow_Info_BPartner", Boolean.valueOf(Allow_Info_BPartner));
|
||||
}
|
||||
/** Get Allow Info BPartner.
|
||||
@return Allow Info BPartner */
|
||||
public boolean isAllow_Info_BPartner()
|
||||
{
|
||||
Object oo = get_Value("Allow_Info_BPartner");
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name Allow_Info_BPartner */
|
||||
public static final String COLUMNNAME_Allow_Info_BPartner = "Allow_Info_BPartner";
|
||||
/** Set Allow Info CashJournal.
|
||||
@param Allow_Info_CashJournal Allow Info CashJournal */
|
||||
public void setAllow_Info_CashJournal (boolean Allow_Info_CashJournal)
|
||||
{
|
||||
set_Value ("Allow_Info_CashJournal", Boolean.valueOf(Allow_Info_CashJournal));
|
||||
}
|
||||
/** Get Allow Info CashJournal.
|
||||
@return Allow Info CashJournal */
|
||||
public boolean isAllow_Info_CashJournal()
|
||||
{
|
||||
Object oo = get_Value("Allow_Info_CashJournal");
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name Allow_Info_CashJournal */
|
||||
public static final String COLUMNNAME_Allow_Info_CashJournal = "Allow_Info_CashJournal";
|
||||
/** Set Allow Info InOut.
|
||||
@param Allow_Info_InOut Allow Info InOut */
|
||||
public void setAllow_Info_InOut (boolean Allow_Info_InOut)
|
||||
{
|
||||
set_Value ("Allow_Info_InOut", Boolean.valueOf(Allow_Info_InOut));
|
||||
}
|
||||
/** Get Allow Info InOut.
|
||||
@return Allow Info InOut */
|
||||
public boolean isAllow_Info_InOut()
|
||||
{
|
||||
Object oo = get_Value("Allow_Info_InOut");
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name Allow_Info_InOut */
|
||||
public static final String COLUMNNAME_Allow_Info_InOut = "Allow_Info_InOut";
|
||||
/** Set Allow Info Invoice.
|
||||
@param Allow_Info_Invoice Allow Info Invoice */
|
||||
public void setAllow_Info_Invoice (boolean Allow_Info_Invoice)
|
||||
{
|
||||
set_Value ("Allow_Info_Invoice", Boolean.valueOf(Allow_Info_Invoice));
|
||||
}
|
||||
/** Get Allow Info Invoice.
|
||||
@return Allow Info Invoice */
|
||||
public boolean isAllow_Info_Invoice()
|
||||
{
|
||||
Object oo = get_Value("Allow_Info_Invoice");
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name Allow_Info_Invoice */
|
||||
public static final String COLUMNNAME_Allow_Info_Invoice = "Allow_Info_Invoice";
|
||||
/** Set Allow Info Order.
|
||||
@param Allow_Info_Order Allow Info Order */
|
||||
public void setAllow_Info_Order (boolean Allow_Info_Order)
|
||||
{
|
||||
set_Value ("Allow_Info_Order", Boolean.valueOf(Allow_Info_Order));
|
||||
}
|
||||
/** Get Allow Info Order.
|
||||
@return Allow Info Order */
|
||||
public boolean isAllow_Info_Order()
|
||||
{
|
||||
Object oo = get_Value("Allow_Info_Order");
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name Allow_Info_Order */
|
||||
public static final String COLUMNNAME_Allow_Info_Order = "Allow_Info_Order";
|
||||
/** Set Allow Info Payment.
|
||||
@param Allow_Info_Payment Allow Info Payment */
|
||||
public void setAllow_Info_Payment (boolean Allow_Info_Payment)
|
||||
{
|
||||
set_Value ("Allow_Info_Payment", Boolean.valueOf(Allow_Info_Payment));
|
||||
}
|
||||
/** Get Allow Info Payment.
|
||||
@return Allow Info Payment */
|
||||
public boolean isAllow_Info_Payment()
|
||||
{
|
||||
Object oo = get_Value("Allow_Info_Payment");
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name Allow_Info_Payment */
|
||||
public static final String COLUMNNAME_Allow_Info_Payment = "Allow_Info_Payment";
|
||||
/** Set Allow Info Product.
|
||||
@param Allow_Info_Product Allow Info Product */
|
||||
public void setAllow_Info_Product (boolean Allow_Info_Product)
|
||||
{
|
||||
set_Value ("Allow_Info_Product", Boolean.valueOf(Allow_Info_Product));
|
||||
}
|
||||
/** Get Allow Info Product.
|
||||
@return Allow Info Product */
|
||||
public boolean isAllow_Info_Product()
|
||||
{
|
||||
Object oo = get_Value("Allow_Info_Product");
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name Allow_Info_Product */
|
||||
public static final String COLUMNNAME_Allow_Info_Product = "Allow_Info_Product";
|
||||
/** Set Allow Info Resource.
|
||||
@param Allow_Info_Resource Allow Info Resource */
|
||||
public void setAllow_Info_Resource (boolean Allow_Info_Resource)
|
||||
{
|
||||
set_Value ("Allow_Info_Resource", Boolean.valueOf(Allow_Info_Resource));
|
||||
}
|
||||
/** Get Allow Info Resource.
|
||||
@return Allow Info Resource */
|
||||
public boolean isAllow_Info_Resource()
|
||||
{
|
||||
Object oo = get_Value("Allow_Info_Resource");
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name Allow_Info_Resource */
|
||||
public static final String COLUMNNAME_Allow_Info_Resource = "Allow_Info_Resource";
|
||||
/** Set Allow Info Schedule.
|
||||
@param Allow_Info_Schedule Allow Info Schedule */
|
||||
public void setAllow_Info_Schedule (boolean Allow_Info_Schedule)
|
||||
{
|
||||
set_Value ("Allow_Info_Schedule", Boolean.valueOf(Allow_Info_Schedule));
|
||||
}
|
||||
/** Get Allow Info Schedule.
|
||||
@return Allow Info Schedule */
|
||||
public boolean isAllow_Info_Schedule()
|
||||
{
|
||||
Object oo = get_Value("Allow_Info_Schedule");
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name Allow_Info_Schedule */
|
||||
public static final String COLUMNNAME_Allow_Info_Schedule = "Allow_Info_Schedule";
|
||||
/** Set Approval Amount.
|
||||
@param AmtApproval The approval amount limit for this role */
|
||||
public void setAmtApproval (BigDecimal AmtApproval)
|
||||
|
@ -168,6 +394,8 @@ BigDecimal bd = (BigDecimal)get_Value("AmtApproval");
|
|||
if (bd == null) return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
/** Column name AmtApproval */
|
||||
public static final String COLUMNNAME_AmtApproval = "AmtApproval";
|
||||
/** Set Currency.
|
||||
@param C_Currency_ID The Currency for this record */
|
||||
public void setC_Currency_ID (int C_Currency_ID)
|
||||
|
@ -184,6 +412,8 @@ Integer ii = (Integer)get_Value("C_Currency_ID");
|
|||
if (ii == null) return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
/** Column name C_Currency_ID */
|
||||
public static final String COLUMNNAME_C_Currency_ID = "C_Currency_ID";
|
||||
/** Set Confirm Query Records.
|
||||
@param ConfirmQueryRecords Require Confirmation if more records will be returned by the query (If not defined 500) */
|
||||
public void setConfirmQueryRecords (int ConfirmQueryRecords)
|
||||
|
@ -198,6 +428,8 @@ Integer ii = (Integer)get_Value("ConfirmQueryRecords");
|
|||
if (ii == null) return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
/** Column name ConfirmQueryRecords */
|
||||
public static final String COLUMNNAME_ConfirmQueryRecords = "ConfirmQueryRecords";
|
||||
|
||||
/** ConnectionProfile AD_Reference_ID=364 */
|
||||
public static final int CONNECTIONPROFILE_AD_Reference_ID=364;
|
||||
|
@ -228,6 +460,8 @@ public String getConnectionProfile()
|
|||
{
|
||||
return (String)get_Value("ConnectionProfile");
|
||||
}
|
||||
/** Column name ConnectionProfile */
|
||||
public static final String COLUMNNAME_ConnectionProfile = "ConnectionProfile";
|
||||
/** Set Description.
|
||||
@param Description Optional short description of the record */
|
||||
public void setDescription (String Description)
|
||||
|
@ -245,6 +479,8 @@ public String getDescription()
|
|||
{
|
||||
return (String)get_Value("Description");
|
||||
}
|
||||
/** Column name Description */
|
||||
public static final String COLUMNNAME_Description = "Description";
|
||||
/** Set Access all Orgs.
|
||||
@param IsAccessAllOrgs Access all Organizations (no org access control) of the client */
|
||||
public void setIsAccessAllOrgs (boolean IsAccessAllOrgs)
|
||||
|
@ -263,6 +499,8 @@ if (oo != null)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name IsAccessAllOrgs */
|
||||
public static final String COLUMNNAME_IsAccessAllOrgs = "IsAccessAllOrgs";
|
||||
/** Set Approve own Documents.
|
||||
@param IsCanApproveOwnDoc Users with this role can approve their own documents */
|
||||
public void setIsCanApproveOwnDoc (boolean IsCanApproveOwnDoc)
|
||||
|
@ -281,6 +519,8 @@ if (oo != null)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name IsCanApproveOwnDoc */
|
||||
public static final String COLUMNNAME_IsCanApproveOwnDoc = "IsCanApproveOwnDoc";
|
||||
/** Set Can Export.
|
||||
@param IsCanExport Users with this role can export data */
|
||||
public void setIsCanExport (boolean IsCanExport)
|
||||
|
@ -299,6 +539,8 @@ if (oo != null)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name IsCanExport */
|
||||
public static final String COLUMNNAME_IsCanExport = "IsCanExport";
|
||||
/** Set Can Report.
|
||||
@param IsCanReport Users with this role can create reports */
|
||||
public void setIsCanReport (boolean IsCanReport)
|
||||
|
@ -317,6 +559,8 @@ if (oo != null)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name IsCanReport */
|
||||
public static final String COLUMNNAME_IsCanReport = "IsCanReport";
|
||||
/** Set Maintain Change Log.
|
||||
@param IsChangeLog Maintain a log of changes */
|
||||
public void setIsChangeLog (boolean IsChangeLog)
|
||||
|
@ -335,6 +579,8 @@ if (oo != null)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name IsChangeLog */
|
||||
public static final String COLUMNNAME_IsChangeLog = "IsChangeLog";
|
||||
/** Set Manual.
|
||||
@param IsManual This is a manual process */
|
||||
public void setIsManual (boolean IsManual)
|
||||
|
@ -353,6 +599,8 @@ if (oo != null)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name IsManual */
|
||||
public static final String COLUMNNAME_IsManual = "IsManual";
|
||||
/** Set Personal Access.
|
||||
@param IsPersonalAccess Allow access to all personal records */
|
||||
public void setIsPersonalAccess (boolean IsPersonalAccess)
|
||||
|
@ -371,6 +619,8 @@ if (oo != null)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name IsPersonalAccess */
|
||||
public static final String COLUMNNAME_IsPersonalAccess = "IsPersonalAccess";
|
||||
/** Set Personal Lock.
|
||||
@param IsPersonalLock Allow users with role to lock access to personal records */
|
||||
public void setIsPersonalLock (boolean IsPersonalLock)
|
||||
|
@ -389,6 +639,8 @@ if (oo != null)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name IsPersonalLock */
|
||||
public static final String COLUMNNAME_IsPersonalLock = "IsPersonalLock";
|
||||
/** Set Show Accounting.
|
||||
@param IsShowAcct Users with this role can see accounting information */
|
||||
public void setIsShowAcct (boolean IsShowAcct)
|
||||
|
@ -407,6 +659,8 @@ if (oo != null)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name IsShowAcct */
|
||||
public static final String COLUMNNAME_IsShowAcct = "IsShowAcct";
|
||||
/** Set Use User Org Access.
|
||||
@param IsUseUserOrgAccess Use Org Access defined by user instead of Role Org Access */
|
||||
public void setIsUseUserOrgAccess (boolean IsUseUserOrgAccess)
|
||||
|
@ -425,6 +679,8 @@ if (oo != null)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name IsUseUserOrgAccess */
|
||||
public static final String COLUMNNAME_IsUseUserOrgAccess = "IsUseUserOrgAccess";
|
||||
/** Set Max Query Records.
|
||||
@param MaxQueryRecords If defined, you cannot query more records as defined - the query criteria needs to be changed to query less records */
|
||||
public void setMaxQueryRecords (int MaxQueryRecords)
|
||||
|
@ -439,6 +695,8 @@ Integer ii = (Integer)get_Value("MaxQueryRecords");
|
|||
if (ii == null) return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
/** Column name MaxQueryRecords */
|
||||
public static final String COLUMNNAME_MaxQueryRecords = "MaxQueryRecords";
|
||||
/** Set Name.
|
||||
@param Name Alphanumeric identifier of the entity */
|
||||
public void setName (String Name)
|
||||
|
@ -463,6 +721,8 @@ return (String)get_Value("Name");
|
|||
{
|
||||
return new KeyNamePair(get_ID(), getName());
|
||||
}
|
||||
/** Column name Name */
|
||||
public static final String COLUMNNAME_Name = "Name";
|
||||
/** Set Overwrite Price Limit.
|
||||
@param OverwritePriceLimit Overwrite Price Limit if the Price List enforces the Price Limit */
|
||||
public void setOverwritePriceLimit (boolean OverwritePriceLimit)
|
||||
|
@ -481,6 +741,8 @@ if (oo != null)
|
|||
}
|
||||
return false;
|
||||
}
|
||||
/** Column name OverwritePriceLimit */
|
||||
public static final String COLUMNNAME_OverwritePriceLimit = "OverwritePriceLimit";
|
||||
|
||||
/** PreferenceType AD_Reference_ID=330 */
|
||||
public static final int PREFERENCETYPE_AD_Reference_ID=330;
|
||||
|
@ -512,6 +774,8 @@ public String getPreferenceType()
|
|||
{
|
||||
return (String)get_Value("PreferenceType");
|
||||
}
|
||||
/** Column name PreferenceType */
|
||||
public static final String COLUMNNAME_PreferenceType = "PreferenceType";
|
||||
|
||||
/** Supervisor_ID AD_Reference_ID=286 */
|
||||
public static final int SUPERVISOR_ID_AD_Reference_ID=286;
|
||||
|
@ -531,6 +795,8 @@ Integer ii = (Integer)get_Value("Supervisor_ID");
|
|||
if (ii == null) return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
/** Column name Supervisor_ID */
|
||||
public static final String COLUMNNAME_Supervisor_ID = "Supervisor_ID";
|
||||
|
||||
/** UserLevel AD_Reference_ID=226 */
|
||||
public static final int USERLEVEL_AD_Reference_ID=226;
|
||||
|
@ -562,4 +828,6 @@ public String getUserLevel()
|
|||
{
|
||||
return (String)get_Value("UserLevel");
|
||||
}
|
||||
/** Column name UserLevel */
|
||||
public static final String COLUMNNAME_UserLevel = "UserLevel";
|
||||
}
|
||||
|
|
|
@ -0,0 +1,601 @@
|
|||
ALTER TABLE ad_role ADD (
|
||||
allow_info_account CHAR(1 BYTE) DEFAULT 'Y'
|
||||
);
|
||||
|
||||
ALTER TABLE ad_role ADD (
|
||||
allow_info_asset CHAR(1 BYTE) DEFAULT 'Y'
|
||||
);
|
||||
|
||||
ALTER TABLE ad_role ADD (
|
||||
allow_info_bpartner CHAR(1 BYTE) DEFAULT 'Y'
|
||||
);
|
||||
|
||||
ALTER TABLE ad_role ADD (
|
||||
allow_info_cashjournal CHAR(1 BYTE) DEFAULT 'Y'
|
||||
);
|
||||
|
||||
ALTER TABLE ad_role ADD (
|
||||
allow_info_inout CHAR(1 BYTE) DEFAULT 'Y'
|
||||
);
|
||||
|
||||
ALTER TABLE ad_role ADD (
|
||||
allow_info_invoice CHAR(1 BYTE) DEFAULT 'Y'
|
||||
);
|
||||
|
||||
ALTER TABLE ad_role ADD (
|
||||
allow_info_order CHAR(1 BYTE) DEFAULT 'Y'
|
||||
);
|
||||
|
||||
ALTER TABLE ad_role ADD (
|
||||
allow_info_payment CHAR(1 BYTE) DEFAULT 'Y'
|
||||
);
|
||||
|
||||
ALTER TABLE ad_role ADD (
|
||||
allow_info_product CHAR(1 BYTE) DEFAULT 'Y'
|
||||
);
|
||||
|
||||
ALTER TABLE ad_role ADD (
|
||||
allow_info_resource CHAR(1 BYTE) DEFAULT 'Y'
|
||||
);
|
||||
|
||||
ALTER TABLE ad_role ADD (
|
||||
allow_info_schedule CHAR(1 BYTE) DEFAULT 'Y'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50045, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:24:32', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Account', 'D', 'Allow Info Account',
|
||||
'Allow Info Account'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50047, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:29:51', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_BPartner', 'D', 'Allow Info BPartner',
|
||||
'Allow Info BPartner'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME, printname
|
||||
)
|
||||
VALUES (50046, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:27:15', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Asset', 'D', 'Allow Info Asset', 'Allow Info Asset'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME, printname
|
||||
)
|
||||
VALUES (50051, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:31:43', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Order', 'D', 'Allow Info Order', 'Allow Info Order'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50052, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:32:00', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Payment', 'D', 'Allow Info Payment',
|
||||
'Allow Info Payment'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50053, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:32:15', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Product', 'D', 'Allow Info Product',
|
||||
'Allow Info Product'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50054, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:32:29', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Resource', 'D', 'Allow Info Resource',
|
||||
'Allow Info Resource'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50055, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:32:46', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Schedule', 'D', 'Allow Info Schedule',
|
||||
'Allow Info Schedule'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME, printname
|
||||
)
|
||||
VALUES (50049, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:31:13', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_InOut', 'D', 'Allow Info InOut', 'Allow Info InOut'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50048, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:30:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_CashJournal', 'D', 'Allow Info CashJournal',
|
||||
'Allow Info CashJournal'
|
||||
);
|
||||
|
||||
INSERT INTO ad_element
|
||||
(ad_element_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
columnname, entitytype, NAME,
|
||||
printname
|
||||
)
|
||||
VALUES (50050, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:31:30', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow_Info_Invoice', 'D', 'Allow Info Invoice',
|
||||
'Allow Info Invoice'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50198, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:26:49', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Account', 0, 'D', 'Allow_Info_Account', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50045, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50200, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:30:02', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info BPartner', 0, 'D', 'Allow_Info_BPartner', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50047, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50199, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:55', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:28:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Asset', 0, 'D', 'Allow_Info_Asset', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50046, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50204, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:20', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Order', 0, 'D', 'Allow_Info_Order', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50051, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50205, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:21', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Payment', 0, 'D', 'Allow_Info_Payment', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50052, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50206, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:22', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Product', 0, 'D', 'Allow_Info_Product', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50053, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50207, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:26', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Resource', 0, 'D', 'Allow_Info_Resource', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50054, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50208, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:27', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Schedule', 0, 'D', 'Allow_Info_Schedule', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50055, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50202, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:16', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info InOut', 0, 'D', 'Allow_Info_InOut', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50049, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname,
|
||||
ad_table_id, ad_reference_id, fieldlength, iskey, isparent,
|
||||
ismandatory, isupdateable, isidentifier, istranslated,
|
||||
isencrypted, isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50201, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:14', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info CashJournal', 0, 'D', 'Allow_Info_CashJournal',
|
||||
156, 20, 1, 'N', 'N',
|
||||
'N', 'Y', 'N', 'N',
|
||||
'N', 'N', 50048, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_column
|
||||
(ad_column_id, ad_client_id, ad_org_id, isactive,
|
||||
created,
|
||||
updated, createdby,
|
||||
updatedby, NAME, VERSION, entitytype, columnname, ad_table_id,
|
||||
ad_reference_id, fieldlength, iskey, isparent, ismandatory,
|
||||
isupdateable, isidentifier, istranslated, isencrypted,
|
||||
isselectioncolumn, ad_element_id, issyncdatabase,
|
||||
isalwaysupdateable
|
||||
)
|
||||
VALUES (50203, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:23:56', 'MM/DD/YYYY HH24:MI:SS'),
|
||||
TO_DATE ('02/28/2007 02:33:19', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
100, 'Allow Info Invoice', 0, 'D', 'Allow_Info_Invoice', 156,
|
||||
20, 1, 'N', 'N', 'N',
|
||||
'Y', 'N', 'N', 'N',
|
||||
'N', 50050, 'N',
|
||||
'N'
|
||||
);
|
||||
|
||||
INSERT INTO ad_fieldgroup
|
||||
(ad_fieldgroup_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, entitytype
|
||||
)
|
||||
VALUES (50000, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:35:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:35:11', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info In Role', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50168, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:37:40', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Account', 'Y', 119, 50198,
|
||||
50000, 'Y', 1, 'N', 270,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50170, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:35:31', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info BPartner', 'Y', 119, 50200,
|
||||
50000, 'Y', 1, 'N', 290,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50169, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:56', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:37:40', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Asset', 'Y', 119, 50199,
|
||||
50000, 'Y', 1, 'N', 280,
|
||||
'Y', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50174, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:37:43', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Order', 'Y', 119, 50204,
|
||||
50000, 'Y', 1, 'N', 330,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50175, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:35:44', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Payment', 'Y', 119, 50205,
|
||||
50000, 'Y', 1, 'N', 340,
|
||||
'Y', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50176, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:36:06', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Product', 'Y', 119, 50206,
|
||||
50000, 'Y', 1, 'N', 350,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50177, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:37:44', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Resource', 'Y', 119, 50207,
|
||||
50000, 'Y', 1, 'N', 360,
|
||||
'Y', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50178, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:36:09', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Schedule', 'Y', 119, 50208,
|
||||
50000, 'Y', 1, 'N', 370,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50172, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:37:42', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info InOut', 'Y', 119, 50202,
|
||||
50000, 'Y', 1, 'N', 310,
|
||||
'N', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50171, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:37:41', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info CashJournal', 'Y', 119, 50201,
|
||||
50000, 'Y', 1, 'N', 300,
|
||||
'Y', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
INSERT INTO ad_field
|
||||
(ad_field_id, ad_client_id, ad_org_id, isactive,
|
||||
created, createdby,
|
||||
updated, updatedby,
|
||||
NAME, iscentrallymaintained, ad_tab_id, ad_column_id,
|
||||
ad_fieldgroup_id, isdisplayed, displaylength, isreadonly, seqno,
|
||||
issameline, isheading, isfieldonly, isencrypted, entitytype
|
||||
)
|
||||
VALUES (50173, 0, 0, 'Y',
|
||||
TO_DATE ('02/28/2007 02:33:57', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
TO_DATE ('02/28/2007 02:35:34', 'MM/DD/YYYY HH24:MI:SS'), 100,
|
||||
'Allow Info Invoice', 'Y', 119, 50203,
|
||||
50000, 'Y', 1, 'N', 320,
|
||||
'Y', 'N', 'N', 'N', 'D'
|
||||
);
|
||||
|
||||
COMMIT ;
|
Loading…
Reference in New Issue