Implement [ 2035176 ] Immediate Bank Transfer
This commit is contained in:
parent
32978c0063
commit
319167d436
|
@ -0,0 +1,274 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Alejandro Falcone *
|
||||
* Copyright (C) Contributors *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License *
|
||||
* as published by the Free Software Foundation; either version 2 *
|
||||
* of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program; if not, write to the Free Software *
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, *
|
||||
* MA 02110-1301, USA. *
|
||||
* *
|
||||
* Contributors: *
|
||||
* - Alejandro Falcone (afalcone@users.sourceforge.net) *
|
||||
* http://www.openbiz.com.ar *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Idalica Inc. (http://www.idalica.com) *
|
||||
***********************************************************************/
|
||||
package org.adempiere.process;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.ArrayList;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MBankAccount;
|
||||
import org.compiere.model.MCash;
|
||||
import org.compiere.model.MCashBook;
|
||||
import org.compiere.model.MCashLine;
|
||||
import org.compiere.process.DocAction;
|
||||
import org.compiere.process.ProcessInfoParameter;
|
||||
import org.compiere.process.SvrProcess;
|
||||
import org.compiere.util.AdempiereUserError;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
/**
|
||||
* Bank Transfer. Generate a CashJournal entry with 2 lines (Bank Transfer)
|
||||
*
|
||||
* For Bank Transfer From Bank Account "A"
|
||||
* To Bank Account "B"
|
||||
*
|
||||
* - Generate a Cash Journal entry with 2 lines (Cash Type = Transfer):
|
||||
* From Bank Account "A" To Cash Journal
|
||||
* From Cash Journal To Bank Account "B"
|
||||
*
|
||||
* @author Alejandro Falcone
|
||||
*
|
||||
**/
|
||||
public class ImmediateBankTransfer extends SvrProcess
|
||||
{
|
||||
/** DocAction */
|
||||
private String p_docAction = DocAction.ACTION_Complete;
|
||||
/** Created # */
|
||||
private int m_created = 0;
|
||||
|
||||
private int m_C_Currency_ID; // Currency
|
||||
|
||||
private String p_Name = ""; // Name
|
||||
private String p_Description= ""; // Description
|
||||
private int p_C_CashBook_ID = 0; // CashBook to be used as bridge
|
||||
private BigDecimal p_Amount = new BigDecimal(0); // Amount to be transfered between the accounts
|
||||
private int p_From_C_BankAccount_ID = 0; // Bank Account From
|
||||
private int p_To_C_BankAccount_ID= 0; // Bank Account To
|
||||
private Timestamp p_StatementDate = null; // Date Statement
|
||||
private Timestamp p_DateAcct = null; // Date Account
|
||||
|
||||
|
||||
/**
|
||||
* Prepare - e.g., get Parameters.
|
||||
*/
|
||||
protected void prepare()
|
||||
{
|
||||
ProcessInfoParameter[] para = getParameter();
|
||||
for (int i = 0; i < para.length; i++)
|
||||
{
|
||||
String name = para[i].getParameterName();
|
||||
if (name.equals("From_C_BankAccount_ID"))
|
||||
p_From_C_BankAccount_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else if (name.equals("To_C_BankAccount_ID"))
|
||||
p_To_C_BankAccount_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else if (name.equals("C_CashBook_ID"))
|
||||
p_C_CashBook_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else if (name.equals("Amount"))
|
||||
p_Amount = ((BigDecimal)para[i].getParameter());
|
||||
else if (name.equals("Name"))
|
||||
p_Name = (String)para[i].getParameter();
|
||||
else if (name.equals("Description"))
|
||||
p_Description = (String)para[i].getParameter();
|
||||
else if (name.equals("StatementDate"))
|
||||
p_StatementDate = (Timestamp)para[i].getParameter();
|
||||
else if (name.equals("DateAcct"))
|
||||
p_DateAcct = (Timestamp)para[i].getParameter();
|
||||
else
|
||||
log.log(Level.SEVERE, "prepare - Unknown Parameter: " + name);
|
||||
}
|
||||
} // prepare
|
||||
|
||||
/**
|
||||
* Perform process.
|
||||
* @return Message (translated text)
|
||||
* @throws Exception if not successful
|
||||
*/
|
||||
protected String doIt() throws Exception
|
||||
{
|
||||
log.info("From Bank="+p_From_C_BankAccount_ID+" - To Bank="+p_To_C_BankAccount_ID
|
||||
+ " - C_CashBook_ID="+p_C_CashBook_ID+" - Amount="+p_Amount+" - Name="+p_Name
|
||||
+ " - Description="+p_Description+ " - Statement Date="+p_StatementDate+
|
||||
" - Date Account="+p_DateAcct);
|
||||
|
||||
if (p_To_C_BankAccount_ID == 0 || p_From_C_BankAccount_ID == 0)
|
||||
throw new IllegalArgumentException("Banks required");
|
||||
|
||||
if (p_Name == null || p_Name.length() == 0)
|
||||
throw new IllegalArgumentException("Name required");
|
||||
|
||||
// To_C_BankAccount_ID MUST be different than From_C_BankAccount_ID
|
||||
if (p_To_C_BankAccount_ID == p_From_C_BankAccount_ID)
|
||||
throw new AdempiereUserError ("Banks From and To must be different");
|
||||
|
||||
// Banks and CashBook must have same currency
|
||||
if (!isSameCurrency())
|
||||
throw new AdempiereUserError ("Banks and CashBook must have same currency");
|
||||
|
||||
if (p_Amount.compareTo(new BigDecimal(0)) == 0)
|
||||
throw new AdempiereUserError ("Amount required");
|
||||
|
||||
// Login Date
|
||||
if (p_StatementDate == null)
|
||||
p_StatementDate = Env.getContextAsDate(getCtx(), "#Date");
|
||||
if (p_StatementDate == null)
|
||||
p_StatementDate = new Timestamp(System.currentTimeMillis());
|
||||
|
||||
if (p_DateAcct == null)
|
||||
p_DateAcct = p_StatementDate;
|
||||
|
||||
generateBankTransfer();
|
||||
|
||||
return "@Created@ = " + m_created;
|
||||
} // doIt
|
||||
|
||||
/**
|
||||
* To check CashBook and Banks have the same currency
|
||||
* @return
|
||||
*/
|
||||
private boolean isSameCurrency()
|
||||
{
|
||||
|
||||
MCashBook mcash = new MCashBook (getCtx(),p_C_CashBook_ID, get_TrxName());
|
||||
MBankAccount mBankFrom = new MBankAccount(getCtx(),p_From_C_BankAccount_ID, get_TrxName());
|
||||
MBankAccount mBankTo = new MBankAccount(getCtx(),p_To_C_BankAccount_ID, get_TrxName());
|
||||
|
||||
|
||||
if ((mcash.getC_Currency_ID() != mBankFrom.getC_Currency_ID()) ||
|
||||
(mcash.getC_Currency_ID() != mBankTo.getC_Currency_ID()))
|
||||
return false ;
|
||||
|
||||
m_C_Currency_ID = mcash.getC_Currency_ID();
|
||||
|
||||
return true;
|
||||
} // isSameCurrency
|
||||
|
||||
private MCash createCash()
|
||||
{
|
||||
|
||||
MCash cash = new MCash (getCtx(), 0, get_TrxName());
|
||||
|
||||
cash.setName(p_Name);
|
||||
cash.setDescription(p_Description);
|
||||
cash.setDateAcct(p_DateAcct);
|
||||
cash.setStatementDate(p_StatementDate);
|
||||
cash.setC_CashBook_ID(p_C_CashBook_ID);
|
||||
if (!cash.save())
|
||||
{
|
||||
throw new IllegalStateException("Could not create Cash");
|
||||
}
|
||||
return cash;
|
||||
} // createCash
|
||||
|
||||
private MCashLine[] createCashLines(MCash cash)
|
||||
{
|
||||
|
||||
ArrayList<MCashLine> cashLineList = new ArrayList<MCashLine>();
|
||||
|
||||
// From Bank (From) to CashLine
|
||||
MCashLine cashLine = new MCashLine (cash);
|
||||
cashLine.setAmount(p_Amount);
|
||||
cashLine.setC_BankAccount_ID(p_From_C_BankAccount_ID);
|
||||
cashLine.setC_Currency_ID(m_C_Currency_ID);
|
||||
|
||||
if (p_Description != null)
|
||||
cashLine.setDescription(p_Description);
|
||||
else
|
||||
cashLine.setDescription(p_Name);
|
||||
|
||||
cashLine.setCashType("T"); // Transfer
|
||||
|
||||
if (!cashLine.save())
|
||||
{
|
||||
throw new IllegalStateException("Could not create Cash line (From Bank)");
|
||||
}
|
||||
cashLineList.add(cashLine);
|
||||
|
||||
// From CashLine to Bank (To)
|
||||
cashLine = new MCashLine (cash);
|
||||
cashLine.setAmount(p_Amount.negate());
|
||||
cashLine.setC_BankAccount_ID(p_To_C_BankAccount_ID);
|
||||
cashLine.setC_Currency_ID(m_C_Currency_ID);
|
||||
if (p_Description != null)
|
||||
cashLine.setDescription(p_Description);
|
||||
else
|
||||
cashLine.setDescription(p_Name);
|
||||
|
||||
cashLine.setCashType("T"); // Transfer
|
||||
|
||||
if (!cashLine.save())
|
||||
{
|
||||
throw new IllegalStateException("Could not create Cash line (To Bank)");
|
||||
}
|
||||
cashLineList.add(cashLine);
|
||||
|
||||
MCashLine cashLines[] = new MCashLine[cashLineList.size()];
|
||||
cashLineList.toArray(cashLines);
|
||||
return cashLines;
|
||||
|
||||
} // createCashLines
|
||||
|
||||
|
||||
/**
|
||||
* Generate CashJournal
|
||||
*
|
||||
*/
|
||||
private void generateBankTransfer()
|
||||
{
|
||||
|
||||
// Create Cash & CashLines
|
||||
MCash cash = createCash();
|
||||
MCashLine cashLines[]= createCashLines(cash);
|
||||
|
||||
StringBuffer processMsg = new StringBuffer(cash.getDocumentNo());
|
||||
|
||||
cash.setDocAction(p_docAction);
|
||||
if (!cash.processIt(p_docAction))
|
||||
{
|
||||
processMsg.append(" (NOT Processed)");
|
||||
log.warning("Cash Processing failed: " + cash + " - " + cash.getProcessMsg());
|
||||
addLog(cash.getC_Cash_ID(), cash.getStatementDate(), null,
|
||||
"Cash Processing failed: " + cash + " - "
|
||||
+ cash.getProcessMsg()
|
||||
+ " / please complete it manually");
|
||||
}
|
||||
if (!cash.save())
|
||||
{
|
||||
throw new IllegalStateException("Could not create Cash");
|
||||
}
|
||||
|
||||
// Add processing information to process log
|
||||
addLog(cash.getC_Cash_ID(), cash.getStatementDate(), null, processMsg.toString());
|
||||
m_created++;
|
||||
} // generateBankTransfer
|
||||
|
||||
|
||||
} // ImmediateBankTransfer
|
|
@ -0,0 +1,336 @@
|
|||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
-- 2035176 - Immediate Bank Transfer
|
||||
INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES ('3',0,0,53152,'org.adempiere.process.ImmediateBankTransfer',TO_DATE('2008-08-01 14:16:25','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','N','Immediate Bank Transfer','Y',0,0,TO_DATE('2008-08-01 14:16:25','YYYY-MM-DD HH24:MI:SS'),100,'ImmediateBankTransfer')
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_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_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53152 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,0,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,102,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,103,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,50002,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,50001,TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:20:59 PM COT
|
||||
INSERT INTO AD_Menu (Action,AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES ('P',0,53187,0,53152,TO_DATE('2008-08-01 14:20:59','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','Bank Transfer',TO_DATE('2008-08-01 14:20:59','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:21:00 PM COT
|
||||
INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53187 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:21:00 PM COT
|
||||
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53187, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53187)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:23:09 PM COT
|
||||
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53283,TO_DATE('2008-08-01 14:23:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','C_BankAccount',TO_DATE('2008-08-01 14:23:08','YYYY-MM-DD HH24:MI:SS'),100,'T')
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:23:09 PM COT
|
||||
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53283 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:23:49 PM COT
|
||||
INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy) VALUES (0,3074,3077,0,53283,297,TO_DATE('2008-08-01 14:23:49','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N',TO_DATE('2008-08-01 14:23:49','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:24:43 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53232,18,53283,'From_C_BankAccount_ID',TO_DATE('2008-08-01 14:24:42','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','Y','N','Bank Account From',10,TO_DATE('2008-08-01 14:24:42','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:24:44 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53232 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:24:59 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53233,18,53283,'To_C_BankAccount_ID',TO_DATE('2008-08-01 14:24:59','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','Y','N','Bank Account To',20,TO_DATE('2008-08-01 14:24:59','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:24:59 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53233 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:26:21 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53234,19,'C_CashBook_ID',TO_DATE('2008-08-01 14:26:21','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book for recording petty cash transactions','D',0,'The Cash Book identifies a unique cash book. The cash book is used to record cash transactions.','Y','Y','Y','N','Intermediate Cash Book',30,TO_DATE('2008-08-01 14:26:21','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:26:21 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53234 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:27:29 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1367,0,53152,53235,12,'Amount',TO_DATE('2008-08-01 14:27:29','YYYY-MM-DD HH24:MI:SS'),100,'U',0,'Y','Y','Y','N','Amount in a defined currency',40,TO_DATE('2008-08-01 14:27:29','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:27:29 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53235 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:27:32 PM COT
|
||||
UPDATE AD_Process_Para SET EntityType='D',Updated=TO_DATE('2008-08-01 14:27:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:28:55 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,469,0,53152,53236,10,'Name',TO_DATE('2008-08-01 14:28:55','YYYY-MM-DD HH24:MI:SS'),100,'D',60,'Y','Y','Y','N','Name',50,TO_DATE('2008-08-01 14:28:55','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:28:55 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53236 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:29:14 PM COT
|
||||
UPDATE AD_Process_Para SET FieldLength=22,Updated=TO_DATE('2008-08-01 14:29:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:29:18 PM COT
|
||||
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-08-01 14:29:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:29:58 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,275,0,53152,53237,10,'Description',TO_DATE('2008-08-01 14:29:57','YYYY-MM-DD HH24:MI:SS'),100,'D',255,'Y','Y','N','N','Description',60,TO_DATE('2008-08-01 14:29:57','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:29:58 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53237 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:30:26 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1434,0,53152,53238,15,'StatementDate',TO_DATE('2008-08-01 14:30:25','YYYY-MM-DD HH24:MI:SS'),100,'@#Date@','U',7,'Y','Y','Y','N','StatementDate',70,TO_DATE('2008-08-01 14:30:25','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:30:26 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53238 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:30:53 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,263,0,53152,53239,15,'DateAcct',TO_DATE('2008-08-01 14:30:52','YYYY-MM-DD HH24:MI:SS'),100,'@#Date@','D',0,'Y','Y','N','N','DateAcct',80,TO_DATE('2008-08-01 14:30:52','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:30:53 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53239 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:01 PM COT
|
||||
UPDATE AD_Process_Para SET Description='Accounting Date', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.',Updated=TO_DATE('2008-08-01 14:31:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:01 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53239
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:15 PM COT
|
||||
UPDATE AD_Process_Para SET Description='Date of the statement', EntityType='D', Help='The Statement Date field defines the date of the statement.',Updated=TO_DATE('2008-08-01 14:31:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53238
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:15 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53238
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:18 PM COT
|
||||
UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-08-01 14:31:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:37 PM COT
|
||||
UPDATE AD_Process_Para SET Description='Optional short description of the record', Help='A description is limited to 255 characters.',Updated=TO_DATE('2008-08-01 14:31:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53237
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:37 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53237
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:53 PM COT
|
||||
UPDATE AD_Process_Para SET Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.',Updated=TO_DATE('2008-08-01 14:31:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53236
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:53 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53236
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:32:24 PM COT
|
||||
UPDATE AD_Process_Para SET AD_Element_ID=NULL, Description='Amount to be transferred', Name='Transfer Amount',Updated=TO_DATE('2008-08-01 14:32:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:32:24 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53235
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:32:39 PM COT
|
||||
UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2008-08-01 14:32:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:32:43 PM COT
|
||||
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-08-01 14:32:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:33:22 PM COT
|
||||
UPDATE AD_Process_Trl SET IsTranslated='Y',Name='Transferencia Bancaria Inmediata',Updated=TO_DATE('2008-08-01 14:33:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53152 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:33:34 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cuenta Bancaria Desde',Updated=TO_DATE('2008-08-01 14:33:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53232 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:33:41 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cuenta Bancaria Hacia',Updated=TO_DATE('2008-08-01 14:33:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53233 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:33:50 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cantidad a transferir',Updated=TO_DATE('2008-08-01 14:33:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:34:03 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Caja menor intermedia',Updated=TO_DATE('2008-08-01 14:34:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:34:11 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET Description=NULL,Help=NULL,Updated=TO_DATE('2008-08-01 14:34:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:34:18 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Nombre',Updated=TO_DATE('2008-08-01 14:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53236 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:34:24 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Descripción',Updated=TO_DATE('2008-08-01 14:34:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53237 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:34:31 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Fecha Transferencia',Updated=TO_DATE('2008-08-01 14:34:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53238 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:34:40 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Fecha contable',Updated=TO_DATE('2008-08-01 14:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
|
||||
-- 2035176 - Immediate Bank Transfer
|
||||
-- MOVE MENU
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=241
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=288
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=432
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=243
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=413
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=538
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=462
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=505
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=235
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=511
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=245
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=251
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=246
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=509
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=510
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=496
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=497
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=304
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=255
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=286
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=287
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=438
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=234
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=244
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53187
|
||||
;
|
||||
|
|
@ -0,0 +1,336 @@
|
|||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
-- 2035176 - Immediate Bank Transfer
|
||||
INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,Classname,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES ('3',0,0,53152,'org.adempiere.process.ImmediateBankTransfer',TO_TIMESTAMP('2008-08-01 14:16:25','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','N','Immediate Bank Transfer','Y',0,0,TO_TIMESTAMP('2008-08-01 14:16:25','YYYY-MM-DD HH24:MI:SS'),100,'ImmediateBankTransfer')
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_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_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53152 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,0,TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,102,TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,103,TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,50002,TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:16:27 PM COT
|
||||
INSERT INTO AD_Process_Access (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,53152,50001,TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-08-01 14:16:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:20:59 PM COT
|
||||
INSERT INTO AD_Menu ("action",AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES ('P',0,53187,0,53152,TO_TIMESTAMP('2008-08-01 14:20:59','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','Bank Transfer',TO_TIMESTAMP('2008-08-01 14:20:59','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:21:00 PM COT
|
||||
INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53187 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:21:00 PM COT
|
||||
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0,t.AD_Tree_ID, 53187, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53187)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:23:09 PM COT
|
||||
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53283,TO_TIMESTAMP('2008-08-01 14:23:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','C_BankAccount',TO_TIMESTAMP('2008-08-01 14:23:08','YYYY-MM-DD HH24:MI:SS'),100,'T')
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:23:09 PM COT
|
||||
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53283 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:23:49 PM COT
|
||||
INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy) VALUES (0,3074,3077,0,53283,297,TO_TIMESTAMP('2008-08-01 14:23:49','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N',TO_TIMESTAMP('2008-08-01 14:23:49','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:24:43 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53232,18,53283,'From_C_BankAccount_ID',TO_TIMESTAMP('2008-08-01 14:24:42','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','Y','N','Bank Account From',10,TO_TIMESTAMP('2008-08-01 14:24:42','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:24:44 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53232 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:24:59 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53233,18,53283,'To_C_BankAccount_ID',TO_TIMESTAMP('2008-08-01 14:24:59','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','Y','N','Bank Account To',20,TO_TIMESTAMP('2008-08-01 14:24:59','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:24:59 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53233 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:26:21 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53152,53234,19,'C_CashBook_ID',TO_TIMESTAMP('2008-08-01 14:26:21','YYYY-MM-DD HH24:MI:SS'),100,'Cash Book for recording petty cash transactions','D',0,'The Cash Book identifies a unique cash book. The cash book is used to record cash transactions.','Y','Y','Y','N','Intermediate Cash Book',30,TO_TIMESTAMP('2008-08-01 14:26:21','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:26:21 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53234 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:27:29 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1367,0,53152,53235,12,'Amount',TO_TIMESTAMP('2008-08-01 14:27:29','YYYY-MM-DD HH24:MI:SS'),100,'U',0,'Y','Y','Y','N','Amount in a defined currency',40,TO_TIMESTAMP('2008-08-01 14:27:29','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:27:29 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53235 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:27:32 PM COT
|
||||
UPDATE AD_Process_Para SET EntityType='D',Updated=TO_TIMESTAMP('2008-08-01 14:27:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:28:55 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,469,0,53152,53236,10,'Name',TO_TIMESTAMP('2008-08-01 14:28:55','YYYY-MM-DD HH24:MI:SS'),100,'D',60,'Y','Y','Y','N','Name',50,TO_TIMESTAMP('2008-08-01 14:28:55','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:28:55 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53236 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:29:14 PM COT
|
||||
UPDATE AD_Process_Para SET FieldLength=22,Updated=TO_TIMESTAMP('2008-08-01 14:29:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:29:18 PM COT
|
||||
UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_TIMESTAMP('2008-08-01 14:29:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:29:58 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,275,0,53152,53237,10,'Description',TO_TIMESTAMP('2008-08-01 14:29:57','YYYY-MM-DD HH24:MI:SS'),100,'D',255,'Y','Y','N','N','Description',60,TO_TIMESTAMP('2008-08-01 14:29:57','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:29:58 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53237 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:30:26 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1434,0,53152,53238,15,'StatementDate',TO_TIMESTAMP('2008-08-01 14:30:25','YYYY-MM-DD HH24:MI:SS'),100,'@#Date@','U',7,'Y','Y','Y','N','StatementDate',70,TO_TIMESTAMP('2008-08-01 14:30:25','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:30:26 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53238 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:30:53 PM COT
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,263,0,53152,53239,15,'DateAcct',TO_TIMESTAMP('2008-08-01 14:30:52','YYYY-MM-DD HH24:MI:SS'),100,'@#Date@','D',0,'Y','Y','N','N','DateAcct',80,TO_TIMESTAMP('2008-08-01 14:30:52','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:30:53 PM COT
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53239 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:01 PM COT
|
||||
UPDATE AD_Process_Para SET Description='Accounting Date', Help='The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.',Updated=TO_TIMESTAMP('2008-08-01 14:31:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:01 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53239
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:15 PM COT
|
||||
UPDATE AD_Process_Para SET Description='Date of the statement', EntityType='D', Help='The Statement Date field defines the date of the statement.',Updated=TO_TIMESTAMP('2008-08-01 14:31:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53238
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:15 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53238
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:18 PM COT
|
||||
UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_TIMESTAMP('2008-08-01 14:31:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:37 PM COT
|
||||
UPDATE AD_Process_Para SET Description='Optional short description of the record', Help='A description is limited to 255 characters.',Updated=TO_TIMESTAMP('2008-08-01 14:31:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53237
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:37 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53237
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:53 PM COT
|
||||
UPDATE AD_Process_Para SET Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.',Updated=TO_TIMESTAMP('2008-08-01 14:31:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53236
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:31:53 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53236
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:32:24 PM COT
|
||||
UPDATE AD_Process_Para SET AD_Element_ID=NULL, Description='Amount to be transferred', Name='Transfer Amount',Updated=TO_TIMESTAMP('2008-08-01 14:32:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:32:24 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53235
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:32:39 PM COT
|
||||
UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2008-08-01 14:32:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:32:43 PM COT
|
||||
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2008-08-01 14:32:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:33:22 PM COT
|
||||
UPDATE AD_Process_Trl SET IsTranslated='Y',Name='Transferencia Bancaria Inmediata',Updated=TO_TIMESTAMP('2008-08-01 14:33:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53152 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:33:34 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cuenta Bancaria Desde',Updated=TO_TIMESTAMP('2008-08-01 14:33:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53232 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:33:41 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cuenta Bancaria Hacia',Updated=TO_TIMESTAMP('2008-08-01 14:33:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53233 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:33:50 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Cantidad a transferir',Updated=TO_TIMESTAMP('2008-08-01 14:33:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53235 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:34:03 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Caja menor intermedia',Updated=TO_TIMESTAMP('2008-08-01 14:34:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:34:11 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET Description=NULL,Help=NULL,Updated=TO_TIMESTAMP('2008-08-01 14:34:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53234 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:34:18 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Nombre',Updated=TO_TIMESTAMP('2008-08-01 14:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53236 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:34:24 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Descripción',Updated=TO_TIMESTAMP('2008-08-01 14:34:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53237 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:34:31 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Fecha Transferencia',Updated=TO_TIMESTAMP('2008-08-01 14:34:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53238 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
-- Aug 1, 2008 2:34:40 PM COT
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='Y',Name='Fecha contable',Updated=TO_TIMESTAMP('2008-08-01 14:34:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53239 AND AD_Language='es_MX'
|
||||
;
|
||||
|
||||
|
||||
-- 2035176 - Immediate Bank Transfer
|
||||
-- MOVE MENU
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=241
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=288
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=432
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=243
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=413
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=538
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=462
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=505
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=235
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=511
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=245
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=251
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=246
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=509
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=510
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=496
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=497
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=304
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=255
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=286
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=287
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=438
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=234
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=244
|
||||
;
|
||||
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53187
|
||||
;
|
||||
|
Loading…
Reference in New Issue