[ 2408898 ] Implement Cost Collector Type
http://sourceforge.net/tracker/index.php?func=detail&aid=2408898&group_id=176962&atid=879335
This commit is contained in:
parent
1237adb2fb
commit
b920ef6fe2
|
@ -1,31 +1,22 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Trifon Trifonov. *
|
||||
* 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: *
|
||||
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Company (http://www.site.com) *
|
||||
**********************************************************************/
|
||||
/******************************************************************************
|
||||
* 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 *
|
||||
* by the Free Software Foundation. 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., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||
*****************************************************************************/
|
||||
package org.compiere.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
@ -52,6 +43,19 @@ public interface I_C_DocType
|
|||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name AD_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
||||
|
||||
/** Set Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public void setAD_Org_ID (int AD_Org_ID);
|
||||
|
||||
/** Get Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name AD_PrintFormat_ID */
|
||||
public static final String COLUMNNAME_AD_PrintFormat_ID = "AD_PrintFormat_ID";
|
||||
|
||||
|
@ -65,7 +69,7 @@ public interface I_C_DocType
|
|||
*/
|
||||
public int getAD_PrintFormat_ID();
|
||||
|
||||
public I_AD_PrintFormat getAD_PrintFormat() throws Exception;
|
||||
public I_AD_PrintFormat getAD_PrintFormat() throws RuntimeException;
|
||||
|
||||
/** Column name C_DocTypeDifference_ID */
|
||||
public static final String COLUMNNAME_C_DocTypeDifference_ID = "C_DocTypeDifference_ID";
|
||||
|
@ -80,19 +84,6 @@ public interface I_C_DocType
|
|||
*/
|
||||
public int getC_DocTypeDifference_ID();
|
||||
|
||||
/** Column name C_DocType_ID */
|
||||
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
||||
|
||||
/** Set Document Type.
|
||||
* Document type or rules
|
||||
*/
|
||||
public void setC_DocType_ID (int C_DocType_ID);
|
||||
|
||||
/** Get Document Type.
|
||||
* Document type or rules
|
||||
*/
|
||||
public int getC_DocType_ID();
|
||||
|
||||
/** Column name C_DocTypeInvoice_ID */
|
||||
public static final String COLUMNNAME_C_DocTypeInvoice_ID = "C_DocTypeInvoice_ID";
|
||||
|
||||
|
@ -132,6 +123,19 @@ public interface I_C_DocType
|
|||
*/
|
||||
public int getC_DocTypeShipment_ID();
|
||||
|
||||
/** Column name C_DocType_ID */
|
||||
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
||||
|
||||
/** Set Document Type.
|
||||
* Document type or rules
|
||||
*/
|
||||
public void setC_DocType_ID (int C_DocType_ID);
|
||||
|
||||
/** Get Document Type.
|
||||
* Document type or rules
|
||||
*/
|
||||
public int getC_DocType_ID();
|
||||
|
||||
/** Column name DefiniteSequence_ID */
|
||||
public static final String COLUMNNAME_DefiniteSequence_ID = "DefiniteSequence_ID";
|
||||
|
||||
|
@ -232,7 +236,7 @@ public interface I_C_DocType
|
|||
*/
|
||||
public int getGL_Category_ID();
|
||||
|
||||
public I_GL_Category getGL_Category() throws Exception;
|
||||
public I_GL_Category getGL_Category() throws RuntimeException;
|
||||
|
||||
/** Column name HasCharges */
|
||||
public static final String COLUMNNAME_HasCharges = "HasCharges";
|
||||
|
@ -312,19 +316,6 @@ public interface I_C_DocType
|
|||
*/
|
||||
public boolean isDocNoControlled();
|
||||
|
||||
/** Column name IsIndexed */
|
||||
public static final String COLUMNNAME_IsIndexed = "IsIndexed";
|
||||
|
||||
/** Set Indexed.
|
||||
* Index the document for the internal search engine
|
||||
*/
|
||||
public void setIsIndexed (boolean IsIndexed);
|
||||
|
||||
/** Get Indexed.
|
||||
* Index the document for the internal search engine
|
||||
*/
|
||||
public boolean isIndexed();
|
||||
|
||||
/** Column name IsInTransit */
|
||||
public static final String COLUMNNAME_IsInTransit = "IsInTransit";
|
||||
|
||||
|
@ -338,6 +329,19 @@ public interface I_C_DocType
|
|||
*/
|
||||
public boolean isInTransit();
|
||||
|
||||
/** Column name IsIndexed */
|
||||
public static final String COLUMNNAME_IsIndexed = "IsIndexed";
|
||||
|
||||
/** Set Indexed.
|
||||
* Index the document for the internal search engine
|
||||
*/
|
||||
public void setIsIndexed (boolean IsIndexed);
|
||||
|
||||
/** Get Indexed.
|
||||
* Index the document for the internal search engine
|
||||
*/
|
||||
public boolean isIndexed();
|
||||
|
||||
/** Column name IsOverwriteDateOnComplete */
|
||||
public static final String COLUMNNAME_IsOverwriteDateOnComplete = "IsOverwriteDateOnComplete";
|
||||
|
||||
|
@ -369,19 +373,6 @@ public interface I_C_DocType
|
|||
*/
|
||||
public boolean isPickQAConfirm();
|
||||
|
||||
/** Column name IsShipConfirm */
|
||||
public static final String COLUMNNAME_IsShipConfirm = "IsShipConfirm";
|
||||
|
||||
/** Set Ship/Receipt Confirmation.
|
||||
* Require Ship or Receipt Confirmation before processing
|
||||
*/
|
||||
public void setIsShipConfirm (boolean IsShipConfirm);
|
||||
|
||||
/** Get Ship/Receipt Confirmation.
|
||||
* Require Ship or Receipt Confirmation before processing
|
||||
*/
|
||||
public boolean isShipConfirm();
|
||||
|
||||
/** Column name IsSOTrx */
|
||||
public static final String COLUMNNAME_IsSOTrx = "IsSOTrx";
|
||||
|
||||
|
@ -395,6 +386,19 @@ public interface I_C_DocType
|
|||
*/
|
||||
public boolean isSOTrx();
|
||||
|
||||
/** Column name IsShipConfirm */
|
||||
public static final String COLUMNNAME_IsShipConfirm = "IsShipConfirm";
|
||||
|
||||
/** Set Ship/Receipt Confirmation.
|
||||
* Require Ship or Receipt Confirmation before processing
|
||||
*/
|
||||
public void setIsShipConfirm (boolean IsShipConfirm);
|
||||
|
||||
/** Get Ship/Receipt Confirmation.
|
||||
* Require Ship or Receipt Confirmation before processing
|
||||
*/
|
||||
public boolean isShipConfirm();
|
||||
|
||||
/** Column name IsSplitWhenDifference */
|
||||
public static final String COLUMNNAME_IsSplitWhenDifference = "IsSplitWhenDifference";
|
||||
|
||||
|
|
|
@ -688,24 +688,6 @@ public final class MSetup
|
|||
createDocType("Manufacturing Order Planning","Order Planning",
|
||||
MDocType.DOCBASETYPE_ManufacturingOrder, null,
|
||||
0, 0, 81000, GL_Manufacturing);
|
||||
createDocType("Manufacturing Order Receipt", "Order Receipt",
|
||||
MDocType.DOCBASETYPE_ManufacturingOrderReceipt, null,
|
||||
0, 0, 82000, GL_Manufacturing);
|
||||
createDocType("Manufacturing Order Issue","Order Issue",
|
||||
MDocType.DOCBASETYPE_ManufacturingOrderIssue, null,
|
||||
0, 0, 83000, GL_Manufacturing);
|
||||
createDocType("Manufacturing Order Method Variance", "Method Variance",
|
||||
MDocType.DOCBASETYPE_ManufacturingOrderMethodVariance, null,
|
||||
0, 0, 84000, GL_Manufacturing);
|
||||
createDocType("Manufacturing Order Use Variance", "Use Variance",
|
||||
MDocType.DOCBASETYPE_ManufacturingOrderUseVariance, null,
|
||||
0, 0, 84100, GL_Manufacturing);
|
||||
createDocType("Manufacturing Order Rate Variance","Rate Variance",
|
||||
MDocType.DOCBASETYPE_ManufacturingOrderRateVariance, null,
|
||||
0, 0, 84200, GL_Manufacturing);
|
||||
createDocType("Manufacturing Operation Activity","Operation Activity",
|
||||
MDocType.DOCBASETYPE_ManufacturingOperationActivity, null,
|
||||
0, 0, 85000, GL_Manufacturing);
|
||||
createDocType("Maintenance Order","Maintenance Order",
|
||||
MDocType.DOCBASETYPE_MaintenanceOrder, null,
|
||||
0, 0, 86000, GL_Manufacturing);
|
||||
|
|
|
@ -137,7 +137,26 @@ public class ProductCost
|
|||
public static final int ACCTTYPE_P_CostAdjustment = 9;
|
||||
/** Inventory Clearing */
|
||||
public static final int ACCTTYPE_P_InventoryClearing = 10;
|
||||
|
||||
/** Work in Process */
|
||||
public static final int ACCTTYPE_P_WorkInProcess = 11;
|
||||
/** Method Change Variance */
|
||||
public static final int ACCTTYPE_P_MethodChangeVariance = 12;
|
||||
/** Material Usage Variance */
|
||||
public static final int ACCTTYPE_P_UsageVariance = 13;
|
||||
/** Material Rate Variance */
|
||||
public static final int ACCTTYPE_P_RateVariance = 14;
|
||||
/** Mix Variance */
|
||||
public static final int ACCTTYPE_P_MixVariance = 15;
|
||||
/** Floor Stock */
|
||||
public static final int ACCTTYPE_P_FloorStock = 16;
|
||||
/** Cost Production */
|
||||
public static final int ACCTTYPE_P_CostOfProduction = 16;
|
||||
/** Labor */
|
||||
public static final int ACCTTYPE_P_Labor = 14;
|
||||
/** Burden */
|
||||
public static final int ACCTTYPE_P_Burden = 15;
|
||||
|
||||
|
||||
/**
|
||||
* Line Account from Product
|
||||
*
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.compiere.model;
|
|||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
import org.compiere.util.KeyNamePair;
|
||||
|
@ -52,11 +53,11 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
setIsDefaultCounterDoc (false);
|
||||
setIsDocNoControlled (true);
|
||||
// Y
|
||||
setIsIndexed (false);
|
||||
setIsInTransit (false);
|
||||
setIsIndexed (false);
|
||||
setIsPickQAConfirm (false);
|
||||
setIsShipConfirm (false);
|
||||
setIsSOTrx (false);
|
||||
setIsShipConfirm (false);
|
||||
setIsSplitWhenDifference (false);
|
||||
// N
|
||||
setName (null);
|
||||
|
@ -92,7 +93,7 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return sb.toString();
|
||||
}
|
||||
|
||||
public I_AD_PrintFormat getAD_PrintFormat() throws Exception
|
||||
public I_AD_PrintFormat getAD_PrintFormat() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_AD_PrintFormat.Table_Name);
|
||||
I_AD_PrintFormat result = null;
|
||||
|
@ -103,7 +104,7 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@ -131,8 +132,14 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** C_DocTypeDifference_ID AD_Reference_ID=170 */
|
||||
public static final int C_DOCTYPEDIFFERENCE_ID_AD_Reference_ID=170;
|
||||
public int getAD_PrintFormat_ID (Timestamp timeLine)
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_AD_PrintFormat_ID,timeLine);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Difference Document.
|
||||
@param C_DocTypeDifference_ID
|
||||
Document type for generating in dispute Shipments
|
||||
|
@ -156,6 +163,107 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public int getC_DocTypeDifference_ID (Timestamp timeLine)
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeDifference_ID,timeLine);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Document Type for Invoice.
|
||||
@param C_DocTypeInvoice_ID
|
||||
Document type used for invoices generated from this sales document
|
||||
*/
|
||||
public void setC_DocTypeInvoice_ID (int C_DocTypeInvoice_ID)
|
||||
{
|
||||
if (C_DocTypeInvoice_ID < 1)
|
||||
set_Value (COLUMNNAME_C_DocTypeInvoice_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_DocTypeInvoice_ID, Integer.valueOf(C_DocTypeInvoice_ID));
|
||||
}
|
||||
|
||||
/** Get Document Type for Invoice.
|
||||
@return Document type used for invoices generated from this sales document
|
||||
*/
|
||||
public int getC_DocTypeInvoice_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeInvoice_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public int getC_DocTypeInvoice_ID (Timestamp timeLine)
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeInvoice_ID,timeLine);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Document Type for ProForma.
|
||||
@param C_DocTypeProforma_ID
|
||||
Document type used for pro forma invoices generated from this sales document
|
||||
*/
|
||||
public void setC_DocTypeProforma_ID (int C_DocTypeProforma_ID)
|
||||
{
|
||||
if (C_DocTypeProforma_ID < 1)
|
||||
set_Value (COLUMNNAME_C_DocTypeProforma_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_DocTypeProforma_ID, Integer.valueOf(C_DocTypeProforma_ID));
|
||||
}
|
||||
|
||||
/** Get Document Type for ProForma.
|
||||
@return Document type used for pro forma invoices generated from this sales document
|
||||
*/
|
||||
public int getC_DocTypeProforma_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeProforma_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public int getC_DocTypeProforma_ID (Timestamp timeLine)
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeProforma_ID,timeLine);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Document Type for Shipment.
|
||||
@param C_DocTypeShipment_ID
|
||||
Document type used for shipments generated from this sales document
|
||||
*/
|
||||
public void setC_DocTypeShipment_ID (int C_DocTypeShipment_ID)
|
||||
{
|
||||
if (C_DocTypeShipment_ID < 1)
|
||||
set_Value (COLUMNNAME_C_DocTypeShipment_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_DocTypeShipment_ID, Integer.valueOf(C_DocTypeShipment_ID));
|
||||
}
|
||||
|
||||
/** Get Document Type for Shipment.
|
||||
@return Document type used for shipments generated from this sales document
|
||||
*/
|
||||
public int getC_DocTypeShipment_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeShipment_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
public int getC_DocTypeShipment_ID (Timestamp timeLine)
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeShipment_ID,timeLine);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Document Type.
|
||||
@param C_DocType_ID
|
||||
Document type or rules
|
||||
|
@ -178,83 +286,14 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** C_DocTypeInvoice_ID AD_Reference_ID=170 */
|
||||
public static final int C_DOCTYPEINVOICE_ID_AD_Reference_ID=170;
|
||||
/** Set Document Type for Invoice.
|
||||
@param C_DocTypeInvoice_ID
|
||||
Document type used for invoices generated from this sales document
|
||||
*/
|
||||
public void setC_DocTypeInvoice_ID (int C_DocTypeInvoice_ID)
|
||||
public int getC_DocType_ID (Timestamp timeLine)
|
||||
{
|
||||
if (C_DocTypeInvoice_ID < 1)
|
||||
set_Value (COLUMNNAME_C_DocTypeInvoice_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_DocTypeInvoice_ID, Integer.valueOf(C_DocTypeInvoice_ID));
|
||||
}
|
||||
|
||||
/** Get Document Type for Invoice.
|
||||
@return Document type used for invoices generated from this sales document
|
||||
*/
|
||||
public int getC_DocTypeInvoice_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeInvoice_ID);
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID,timeLine);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** C_DocTypeProforma_ID AD_Reference_ID=170 */
|
||||
public static final int C_DOCTYPEPROFORMA_ID_AD_Reference_ID=170;
|
||||
/** Set Document Type for ProForma.
|
||||
@param C_DocTypeProforma_ID
|
||||
Document type used for pro forma invoices generated from this sales document
|
||||
*/
|
||||
public void setC_DocTypeProforma_ID (int C_DocTypeProforma_ID)
|
||||
{
|
||||
if (C_DocTypeProforma_ID < 1)
|
||||
set_Value (COLUMNNAME_C_DocTypeProforma_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_DocTypeProforma_ID, Integer.valueOf(C_DocTypeProforma_ID));
|
||||
}
|
||||
|
||||
/** Get Document Type for ProForma.
|
||||
@return Document type used for pro forma invoices generated from this sales document
|
||||
*/
|
||||
public int getC_DocTypeProforma_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeProforma_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** C_DocTypeShipment_ID AD_Reference_ID=170 */
|
||||
public static final int C_DOCTYPESHIPMENT_ID_AD_Reference_ID=170;
|
||||
/** Set Document Type for Shipment.
|
||||
@param C_DocTypeShipment_ID
|
||||
Document type used for shipments generated from this sales document
|
||||
*/
|
||||
public void setC_DocTypeShipment_ID (int C_DocTypeShipment_ID)
|
||||
{
|
||||
if (C_DocTypeShipment_ID < 1)
|
||||
set_Value (COLUMNNAME_C_DocTypeShipment_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_C_DocTypeShipment_ID, Integer.valueOf(C_DocTypeShipment_ID));
|
||||
}
|
||||
|
||||
/** Get Document Type for Shipment.
|
||||
@return Document type used for shipments generated from this sales document
|
||||
*/
|
||||
public int getC_DocTypeShipment_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocTypeShipment_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** DefiniteSequence_ID AD_Reference_ID=128 */
|
||||
public static final int DEFINITESEQUENCE_ID_AD_Reference_ID=128;
|
||||
/** Set Definite Sequence.
|
||||
@param DefiniteSequence_ID Definite Sequence */
|
||||
public void setDefiniteSequence_ID (int DefiniteSequence_ID)
|
||||
|
@ -275,6 +314,14 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public int getDefiniteSequence_ID (Timestamp timeLine)
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_DefiniteSequence_ID,timeLine);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Description.
|
||||
@param Description
|
||||
Optional short description of the record
|
||||
|
@ -292,6 +339,11 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_Description);
|
||||
}
|
||||
|
||||
public String getDescription (Timestamp timeLine)
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Description,timeLine);
|
||||
}
|
||||
|
||||
/** DocBaseType AD_Reference_ID=183 */
|
||||
public static final int DOCBASETYPE_AD_Reference_ID=183;
|
||||
/** GL Journal = GLJ */
|
||||
|
@ -340,22 +392,10 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
public static final String DOCBASETYPE_MatchPO = "MXP";
|
||||
/** Project Issue = PJI */
|
||||
public static final String DOCBASETYPE_ProjectIssue = "PJI";
|
||||
/** Manufacturing Operation Activity = MOA */
|
||||
public static final String DOCBASETYPE_ManufacturingOperationActivity = "MOA";
|
||||
/** Maintenance Order = MOF */
|
||||
public static final String DOCBASETYPE_MaintenanceOrder = "MOF";
|
||||
/** Manufacturing Order Issue = MOI */
|
||||
public static final String DOCBASETYPE_ManufacturingOrderIssue = "MOI";
|
||||
/** Manufacturing Order Method Variance = MOM */
|
||||
public static final String DOCBASETYPE_ManufacturingOrderMethodVariance = "MOM";
|
||||
/** Manufacturing Order = MOP */
|
||||
public static final String DOCBASETYPE_ManufacturingOrder = "MOP";
|
||||
/** Manufacturing Order Receipt = MOR */
|
||||
public static final String DOCBASETYPE_ManufacturingOrderReceipt = "MOR";
|
||||
/** Manufacturing Order Use Variance = MOU */
|
||||
public static final String DOCBASETYPE_ManufacturingOrderUseVariance = "MOU";
|
||||
/** Manufacturing Order Rate Variance = MOV */
|
||||
public static final String DOCBASETYPE_ManufacturingOrderRateVariance = "MOV";
|
||||
/** Quality Order = MQO */
|
||||
public static final String DOCBASETYPE_QualityOrder = "MQO";
|
||||
/** Payroll = HRP */
|
||||
|
@ -369,7 +409,7 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
public void setDocBaseType (String DocBaseType)
|
||||
{
|
||||
if (DocBaseType == null) throw new IllegalArgumentException ("DocBaseType is mandatory");
|
||||
if (DocBaseType.equals("GLJ") || DocBaseType.equals("GLD") || DocBaseType.equals("API") || DocBaseType.equals("APP") || DocBaseType.equals("ARI") || DocBaseType.equals("ARR") || DocBaseType.equals("SOO") || DocBaseType.equals("ARF") || DocBaseType.equals("MMS") || DocBaseType.equals("MMR") || DocBaseType.equals("MMM") || DocBaseType.equals("POO") || DocBaseType.equals("POR") || DocBaseType.equals("MMI") || DocBaseType.equals("APC") || DocBaseType.equals("ARC") || DocBaseType.equals("CMB") || DocBaseType.equals("CMC") || DocBaseType.equals("CMA") || DocBaseType.equals("MMP") || DocBaseType.equals("MXI") || DocBaseType.equals("MXP") || DocBaseType.equals("PJI") || DocBaseType.equals("MOA") || DocBaseType.equals("MOF") || DocBaseType.equals("MOI") || DocBaseType.equals("MOM") || DocBaseType.equals("MOP") || DocBaseType.equals("MOR") || DocBaseType.equals("MOU") || DocBaseType.equals("MOV") || DocBaseType.equals("MQO") || DocBaseType.equals("HRP") || DocBaseType.equals("DOO")); else throw new IllegalArgumentException ("DocBaseType Invalid value - " + DocBaseType + " - Reference_ID=183 - GLJ - GLD - API - APP - ARI - ARR - SOO - ARF - MMS - MMR - MMM - POO - POR - MMI - APC - ARC - CMB - CMC - CMA - MMP - MXI - MXP - PJI - MOA - MOF - MOI - MOM - MOP - MOR - MOU - MOV - MQO - HRP - DOO"); set_Value (COLUMNNAME_DocBaseType, DocBaseType);
|
||||
if (DocBaseType.equals("GLJ") || DocBaseType.equals("GLD") || DocBaseType.equals("API") || DocBaseType.equals("APP") || DocBaseType.equals("ARI") || DocBaseType.equals("ARR") || DocBaseType.equals("SOO") || DocBaseType.equals("ARF") || DocBaseType.equals("MMS") || DocBaseType.equals("MMR") || DocBaseType.equals("MMM") || DocBaseType.equals("POO") || DocBaseType.equals("POR") || DocBaseType.equals("MMI") || DocBaseType.equals("APC") || DocBaseType.equals("ARC") || DocBaseType.equals("CMB") || DocBaseType.equals("CMC") || DocBaseType.equals("CMA") || DocBaseType.equals("MMP") || DocBaseType.equals("MXI") || DocBaseType.equals("MXP") || DocBaseType.equals("PJI") || DocBaseType.equals("MOF") || DocBaseType.equals("MOP") || DocBaseType.equals("MQO") || DocBaseType.equals("HRP") || DocBaseType.equals("DOO")); else throw new IllegalArgumentException ("DocBaseType Invalid value - " + DocBaseType + " - Reference_ID=183 - GLJ - GLD - API - APP - ARI - ARR - SOO - ARF - MMS - MMR - MMM - POO - POR - MMI - APC - ARC - CMB - CMC - CMA - MMP - MXI - MXP - PJI - MOF - MOP - MQO - HRP - DOO"); set_Value (COLUMNNAME_DocBaseType, DocBaseType);
|
||||
}
|
||||
|
||||
/** Get Document BaseType.
|
||||
|
@ -380,8 +420,11 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_DocBaseType);
|
||||
}
|
||||
|
||||
/** DocNoSequence_ID AD_Reference_ID=128 */
|
||||
public static final int DOCNOSEQUENCE_ID_AD_Reference_ID=128;
|
||||
public String getDocBaseType (Timestamp timeLine)
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_DocBaseType,timeLine);
|
||||
}
|
||||
|
||||
/** Set Document Sequence.
|
||||
@param DocNoSequence_ID
|
||||
Document sequence determines the numbering of documents
|
||||
|
@ -405,6 +448,14 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public int getDocNoSequence_ID (Timestamp timeLine)
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_DocNoSequence_ID,timeLine);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** DocSubTypeSO AD_Reference_ID=148 */
|
||||
public static final int DOCSUBTYPESO_AD_Reference_ID=148;
|
||||
/** On Credit Order = WI */
|
||||
|
@ -441,6 +492,11 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_DocSubTypeSO);
|
||||
}
|
||||
|
||||
public String getDocSubTypeSO (Timestamp timeLine)
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_DocSubTypeSO,timeLine);
|
||||
}
|
||||
|
||||
/** Set Document Copies.
|
||||
@param DocumentCopies
|
||||
Number of copies to be printed
|
||||
|
@ -461,6 +517,14 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public int getDocumentCopies (Timestamp timeLine)
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_DocumentCopies,timeLine);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Document Note.
|
||||
@param DocumentNote
|
||||
Additional information for a Document
|
||||
|
@ -478,7 +542,12 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_DocumentNote);
|
||||
}
|
||||
|
||||
public I_GL_Category getGL_Category() throws Exception
|
||||
public String getDocumentNote (Timestamp timeLine)
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_DocumentNote,timeLine);
|
||||
}
|
||||
|
||||
public I_GL_Category getGL_Category() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_GL_Category.Table_Name);
|
||||
I_GL_Category result = null;
|
||||
|
@ -489,7 +558,7 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@ -516,6 +585,14 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public int getGL_Category_ID (Timestamp timeLine)
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_GL_Category_ID,timeLine);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Charges.
|
||||
@param HasCharges
|
||||
Charges can be added to the document
|
||||
|
@ -540,6 +617,18 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean isHasCharges (Timestamp timeLine)
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_HasCharges,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Pro forma Invoice.
|
||||
@param HasProforma
|
||||
Indicates if Pro Forma Invoices can be generated from this document
|
||||
|
@ -564,6 +653,18 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean isHasProforma (Timestamp timeLine)
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_HasProforma,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Create Counter Document.
|
||||
@param IsCreateCounter
|
||||
Create Counter Document
|
||||
|
@ -588,6 +689,18 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean isCreateCounter (Timestamp timeLine)
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsCreateCounter,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Default.
|
||||
@param IsDefault
|
||||
Default value
|
||||
|
@ -612,6 +725,18 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean isDefault (Timestamp timeLine)
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsDefault,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Default Counter Document.
|
||||
@param IsDefaultCounterDoc
|
||||
The document type is the default counter document type
|
||||
|
@ -636,6 +761,18 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean isDefaultCounterDoc (Timestamp timeLine)
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsDefaultCounterDoc,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Document is Number Controlled.
|
||||
@param IsDocNoControlled
|
||||
The document has a document sequence
|
||||
|
@ -660,21 +797,9 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
/** Set Indexed.
|
||||
@param IsIndexed
|
||||
Index the document for the internal search engine
|
||||
*/
|
||||
public void setIsIndexed (boolean IsIndexed)
|
||||
public boolean isDocNoControlled (Timestamp timeLine)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsIndexed, Boolean.valueOf(IsIndexed));
|
||||
}
|
||||
|
||||
/** Get Indexed.
|
||||
@return Index the document for the internal search engine
|
||||
*/
|
||||
public boolean isIndexed ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsIndexed);
|
||||
Object oo = get_Value(COLUMNNAME_IsDocNoControlled,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
|
@ -708,6 +833,54 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean isInTransit (Timestamp timeLine)
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsInTransit,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Indexed.
|
||||
@param IsIndexed
|
||||
Index the document for the internal search engine
|
||||
*/
|
||||
public void setIsIndexed (boolean IsIndexed)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsIndexed, Boolean.valueOf(IsIndexed));
|
||||
}
|
||||
|
||||
/** Get Indexed.
|
||||
@return Index the document for the internal search engine
|
||||
*/
|
||||
public boolean isIndexed ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsIndexed);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isIndexed (Timestamp timeLine)
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsIndexed,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Overwrite Date on Complete.
|
||||
@param IsOverwriteDateOnComplete Overwrite Date on Complete */
|
||||
public void setIsOverwriteDateOnComplete (boolean IsOverwriteDateOnComplete)
|
||||
|
@ -729,6 +902,18 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean isOverwriteDateOnComplete (Timestamp timeLine)
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsOverwriteDateOnComplete,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Overwrite Sequence on Complete.
|
||||
@param IsOverwriteSeqOnComplete Overwrite Sequence on Complete */
|
||||
public void setIsOverwriteSeqOnComplete (boolean IsOverwriteSeqOnComplete)
|
||||
|
@ -750,6 +935,18 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean isOverwriteSeqOnComplete (Timestamp timeLine)
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsOverwriteSeqOnComplete,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Pick/QA Confirmation.
|
||||
@param IsPickQAConfirm
|
||||
Require Pick or QA Confirmation before processing
|
||||
|
@ -774,21 +971,9 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
/** Set Ship/Receipt Confirmation.
|
||||
@param IsShipConfirm
|
||||
Require Ship or Receipt Confirmation before processing
|
||||
*/
|
||||
public void setIsShipConfirm (boolean IsShipConfirm)
|
||||
public boolean isPickQAConfirm (Timestamp timeLine)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsShipConfirm, Boolean.valueOf(IsShipConfirm));
|
||||
}
|
||||
|
||||
/** Get Ship/Receipt Confirmation.
|
||||
@return Require Ship or Receipt Confirmation before processing
|
||||
*/
|
||||
public boolean isShipConfirm ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsShipConfirm);
|
||||
Object oo = get_Value(COLUMNNAME_IsPickQAConfirm,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
|
@ -822,6 +1007,54 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean isSOTrx (Timestamp timeLine)
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsSOTrx,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Ship/Receipt Confirmation.
|
||||
@param IsShipConfirm
|
||||
Require Ship or Receipt Confirmation before processing
|
||||
*/
|
||||
public void setIsShipConfirm (boolean IsShipConfirm)
|
||||
{
|
||||
set_Value (COLUMNNAME_IsShipConfirm, Boolean.valueOf(IsShipConfirm));
|
||||
}
|
||||
|
||||
/** Get Ship/Receipt Confirmation.
|
||||
@return Require Ship or Receipt Confirmation before processing
|
||||
*/
|
||||
public boolean isShipConfirm ()
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsShipConfirm);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isShipConfirm (Timestamp timeLine)
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsShipConfirm,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Split when Difference.
|
||||
@param IsSplitWhenDifference
|
||||
Split document when there is a difference
|
||||
|
@ -846,6 +1079,18 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean isSplitWhenDifference (Timestamp timeLine)
|
||||
{
|
||||
Object oo = get_Value(COLUMNNAME_IsSplitWhenDifference,timeLine);
|
||||
if (oo != null)
|
||||
{
|
||||
if (oo instanceof Boolean)
|
||||
return ((Boolean)oo).booleanValue();
|
||||
return "Y".equals(oo);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/** Set Name.
|
||||
@param Name
|
||||
Alphanumeric identifier of the entity
|
||||
|
@ -865,6 +1110,11 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
return (String)get_Value(COLUMNNAME_Name);
|
||||
}
|
||||
|
||||
public String getName (Timestamp timeLine)
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_Name,timeLine);
|
||||
}
|
||||
|
||||
/** Get Record ID/ColumnName
|
||||
@return ID/ColumnName pair
|
||||
*/
|
||||
|
@ -891,4 +1141,9 @@ public class X_C_DocType extends PO implements I_C_DocType, I_Persistent
|
|||
{
|
||||
return (String)get_Value(COLUMNNAME_PrintName);
|
||||
}
|
||||
|
||||
public String getPrintName (Timestamp timeLine)
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_PrintName,timeLine);
|
||||
}
|
||||
}
|
|
@ -1,31 +1,22 @@
|
|||
/**********************************************************************
|
||||
* This file is part of Adempiere ERP Bazaar *
|
||||
* http://www.adempiere.org *
|
||||
* *
|
||||
* Copyright (C) Trifon Trifonov. *
|
||||
* 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: *
|
||||
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
|
||||
* *
|
||||
* Sponsors: *
|
||||
* - Company (http://www.site.com) *
|
||||
**********************************************************************/
|
||||
/******************************************************************************
|
||||
* 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 *
|
||||
* by the Free Software Foundation. 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., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||
*****************************************************************************/
|
||||
package org.eevolution.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
@ -67,6 +58,19 @@ public interface I_PP_Cost_Collector
|
|||
*/
|
||||
public int getAD_OrgTrx_ID();
|
||||
|
||||
/** Column name AD_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
||||
|
||||
/** Set Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public void setAD_Org_ID (int AD_Org_ID);
|
||||
|
||||
/** Get Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name AD_User_ID */
|
||||
public static final String COLUMNNAME_AD_User_ID = "AD_User_ID";
|
||||
|
||||
|
@ -80,7 +84,7 @@ public interface I_PP_Cost_Collector
|
|||
*/
|
||||
public int getAD_User_ID();
|
||||
|
||||
public I_AD_User getAD_User() throws Exception;
|
||||
public I_AD_User getAD_User() throws RuntimeException;
|
||||
|
||||
/** Column name C_Activity_ID */
|
||||
public static final String COLUMNNAME_C_Activity_ID = "C_Activity_ID";
|
||||
|
@ -95,7 +99,7 @@ public interface I_PP_Cost_Collector
|
|||
*/
|
||||
public int getC_Activity_ID();
|
||||
|
||||
public I_C_Activity getC_Activity() throws Exception;
|
||||
public I_C_Activity getC_Activity() throws RuntimeException;
|
||||
|
||||
/** Column name C_Campaign_ID */
|
||||
public static final String COLUMNNAME_C_Campaign_ID = "C_Campaign_ID";
|
||||
|
@ -110,20 +114,7 @@ public interface I_PP_Cost_Collector
|
|||
*/
|
||||
public int getC_Campaign_ID();
|
||||
|
||||
public I_C_Campaign getC_Campaign() throws Exception;
|
||||
|
||||
/** Column name C_DocType_ID */
|
||||
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
||||
|
||||
/** Set Document Type.
|
||||
* Document type or rules
|
||||
*/
|
||||
public void setC_DocType_ID (int C_DocType_ID);
|
||||
|
||||
/** Get Document Type.
|
||||
* Document type or rules
|
||||
*/
|
||||
public int getC_DocType_ID();
|
||||
public I_C_Campaign getC_Campaign() throws RuntimeException;
|
||||
|
||||
/** Column name C_DocTypeTarget_ID */
|
||||
public static final String COLUMNNAME_C_DocTypeTarget_ID = "C_DocTypeTarget_ID";
|
||||
|
@ -138,6 +129,19 @@ public interface I_PP_Cost_Collector
|
|||
*/
|
||||
public int getC_DocTypeTarget_ID();
|
||||
|
||||
/** Column name C_DocType_ID */
|
||||
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
||||
|
||||
/** Set Document Type.
|
||||
* Document type or rules
|
||||
*/
|
||||
public void setC_DocType_ID (int C_DocType_ID);
|
||||
|
||||
/** Get Document Type.
|
||||
* Document type or rules
|
||||
*/
|
||||
public int getC_DocType_ID();
|
||||
|
||||
/** Column name C_Project_ID */
|
||||
public static final String COLUMNNAME_C_Project_ID = "C_Project_ID";
|
||||
|
||||
|
@ -151,7 +155,7 @@ public interface I_PP_Cost_Collector
|
|||
*/
|
||||
public int getC_Project_ID();
|
||||
|
||||
public I_C_Project getC_Project() throws Exception;
|
||||
public I_C_Project getC_Project() throws RuntimeException;
|
||||
|
||||
/** Column name C_UOM_ID */
|
||||
public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID";
|
||||
|
@ -166,7 +170,20 @@ public interface I_PP_Cost_Collector
|
|||
*/
|
||||
public int getC_UOM_ID();
|
||||
|
||||
public I_C_UOM getC_UOM() throws Exception;
|
||||
public I_C_UOM getC_UOM() throws RuntimeException;
|
||||
|
||||
/** Column name CostCollectorType */
|
||||
public static final String COLUMNNAME_CostCollectorType = "CostCollectorType";
|
||||
|
||||
/** Set Cost Collector Type.
|
||||
* Transaction Type for Manufacturing Management
|
||||
*/
|
||||
public void setCostCollectorType (String CostCollectorType);
|
||||
|
||||
/** Get Cost Collector Type.
|
||||
* Transaction Type for Manufacturing Management
|
||||
*/
|
||||
public String getCostCollectorType();
|
||||
|
||||
/** Column name DateAcct */
|
||||
public static final String COLUMNNAME_DateAcct = "DateAcct";
|
||||
|
@ -223,19 +240,19 @@ public interface I_PP_Cost_Collector
|
|||
/** Column name DurationReal */
|
||||
public static final String COLUMNNAME_DurationReal = "DurationReal";
|
||||
|
||||
/** Set DurationReal */
|
||||
/** Set Duration Real */
|
||||
public void setDurationReal (BigDecimal DurationReal);
|
||||
|
||||
/** Get DurationReal */
|
||||
/** Get Duration Real */
|
||||
public BigDecimal getDurationReal();
|
||||
|
||||
/** Column name IsBatchTime */
|
||||
public static final String COLUMNNAME_IsBatchTime = "IsBatchTime";
|
||||
|
||||
/** Set IsBatchTime */
|
||||
/** Set Is BatchTime */
|
||||
public void setIsBatchTime (boolean IsBatchTime);
|
||||
|
||||
/** Get IsBatchTime */
|
||||
/** Get Is BatchTime */
|
||||
public boolean isBatchTime();
|
||||
|
||||
/** Column name M_AttributeSetInstance_ID */
|
||||
|
@ -264,6 +281,36 @@ public interface I_PP_Cost_Collector
|
|||
*/
|
||||
public int getM_Locator_ID();
|
||||
|
||||
/** Column name M_Product_ID */
|
||||
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
|
||||
|
||||
/** Set Product.
|
||||
* Product, Service, Item
|
||||
*/
|
||||
public void setM_Product_ID (int M_Product_ID);
|
||||
|
||||
/** Get Product.
|
||||
* Product, Service, Item
|
||||
*/
|
||||
public int getM_Product_ID();
|
||||
|
||||
public I_M_Product getM_Product() throws RuntimeException;
|
||||
|
||||
/** Column name M_Warehouse_ID */
|
||||
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";
|
||||
|
||||
/** Set Warehouse.
|
||||
* Storage Warehouse and Service Point
|
||||
*/
|
||||
public void setM_Warehouse_ID (int M_Warehouse_ID);
|
||||
|
||||
/** Get Warehouse.
|
||||
* Storage Warehouse and Service Point
|
||||
*/
|
||||
public int getM_Warehouse_ID();
|
||||
|
||||
public I_M_Warehouse getM_Warehouse() throws RuntimeException;
|
||||
|
||||
/** Column name MovementDate */
|
||||
public static final String COLUMNNAME_MovementDate = "MovementDate";
|
||||
|
||||
|
@ -290,48 +337,58 @@ public interface I_PP_Cost_Collector
|
|||
*/
|
||||
public BigDecimal getMovementQty();
|
||||
|
||||
/** Column name MovementType */
|
||||
public static final String COLUMNNAME_MovementType = "MovementType";
|
||||
/** Column name PP_Cost_Collector_ID */
|
||||
public static final String COLUMNNAME_PP_Cost_Collector_ID = "PP_Cost_Collector_ID";
|
||||
|
||||
/** Set Movement Type.
|
||||
* Method of moving the inventory
|
||||
*/
|
||||
public void setMovementType (String MovementType);
|
||||
/** Set Manufacturing Cost Collector */
|
||||
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID);
|
||||
|
||||
/** Get Movement Type.
|
||||
* Method of moving the inventory
|
||||
*/
|
||||
public String getMovementType();
|
||||
/** Get Manufacturing Cost Collector */
|
||||
public int getPP_Cost_Collector_ID();
|
||||
|
||||
/** Column name M_Product_ID */
|
||||
public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
|
||||
/** Column name PP_Order_BOMLine_ID */
|
||||
public static final String COLUMNNAME_PP_Order_BOMLine_ID = "PP_Order_BOMLine_ID";
|
||||
|
||||
/** Set Product.
|
||||
* Product, Service, Item
|
||||
*/
|
||||
public void setM_Product_ID (int M_Product_ID);
|
||||
/** Set Manufacturing Order BOM Line */
|
||||
public void setPP_Order_BOMLine_ID (int PP_Order_BOMLine_ID);
|
||||
|
||||
/** Get Product.
|
||||
* Product, Service, Item
|
||||
*/
|
||||
public int getM_Product_ID();
|
||||
/** Get Manufacturing Order BOM Line */
|
||||
public int getPP_Order_BOMLine_ID();
|
||||
|
||||
public I_M_Product getM_Product() throws Exception;
|
||||
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws RuntimeException;
|
||||
|
||||
/** Column name M_Warehouse_ID */
|
||||
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";
|
||||
/** Column name PP_Order_ID */
|
||||
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
|
||||
|
||||
/** Set Warehouse.
|
||||
* Storage Warehouse and Service Point
|
||||
*/
|
||||
public void setM_Warehouse_ID (int M_Warehouse_ID);
|
||||
/** Set Manufacturing Order */
|
||||
public void setPP_Order_ID (int PP_Order_ID);
|
||||
|
||||
/** Get Warehouse.
|
||||
* Storage Warehouse and Service Point
|
||||
*/
|
||||
public int getM_Warehouse_ID();
|
||||
/** Get Manufacturing Order */
|
||||
public int getPP_Order_ID();
|
||||
|
||||
public I_M_Warehouse getM_Warehouse() throws Exception;
|
||||
public org.eevolution.model.I_PP_Order getPP_Order() throws RuntimeException;
|
||||
|
||||
/** Column name PP_Order_Node_ID */
|
||||
public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID";
|
||||
|
||||
/** Set Manufacturing Order Activity */
|
||||
public void setPP_Order_Node_ID (int PP_Order_Node_ID);
|
||||
|
||||
/** Get Manufacturing Order Activity */
|
||||
public int getPP_Order_Node_ID();
|
||||
|
||||
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException;
|
||||
|
||||
/** Column name PP_Order_Workflow_ID */
|
||||
public static final String COLUMNNAME_PP_Order_Workflow_ID = "PP_Order_Workflow_ID";
|
||||
|
||||
/** Set Manufacturing Order Workflow */
|
||||
public void setPP_Order_Workflow_ID (int PP_Order_Workflow_ID);
|
||||
|
||||
/** Get Manufacturing Order Workflow */
|
||||
public int getPP_Order_Workflow_ID();
|
||||
|
||||
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws RuntimeException;
|
||||
|
||||
/** Column name Posted */
|
||||
public static final String COLUMNNAME_Posted = "Posted";
|
||||
|
@ -346,59 +403,6 @@ public interface I_PP_Cost_Collector
|
|||
*/
|
||||
public boolean isPosted();
|
||||
|
||||
/** Column name PP_Cost_Collector_ID */
|
||||
public static final String COLUMNNAME_PP_Cost_Collector_ID = "PP_Cost_Collector_ID";
|
||||
|
||||
/** Set PP_Cost_Collector_ID */
|
||||
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID);
|
||||
|
||||
/** Get PP_Cost_Collector_ID */
|
||||
public int getPP_Cost_Collector_ID();
|
||||
|
||||
/** Column name PP_Order_BOMLine_ID */
|
||||
public static final String COLUMNNAME_PP_Order_BOMLine_ID = "PP_Order_BOMLine_ID";
|
||||
|
||||
/** Set PP_Order_BOMLine_ID */
|
||||
public void setPP_Order_BOMLine_ID (int PP_Order_BOMLine_ID);
|
||||
|
||||
/** Get PP_Order_BOMLine_ID */
|
||||
public int getPP_Order_BOMLine_ID();
|
||||
|
||||
public org.eevolution.model.I_PP_Order_BOMLine getPP_Order_BOMLine() throws Exception;
|
||||
|
||||
/** Column name PP_Order_ID */
|
||||
public static final String COLUMNNAME_PP_Order_ID = "PP_Order_ID";
|
||||
|
||||
/** Set PP_Order_ID */
|
||||
public void setPP_Order_ID (int PP_Order_ID);
|
||||
|
||||
/** Get PP_Order_ID */
|
||||
public int getPP_Order_ID();
|
||||
|
||||
public org.eevolution.model.I_PP_Order getPP_Order() throws Exception;
|
||||
|
||||
/** Column name PP_Order_Node_ID */
|
||||
public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID";
|
||||
|
||||
/** Set Manufacturing Order Activity */
|
||||
public void setPP_Order_Node_ID (int PP_Order_Node_ID);
|
||||
|
||||
/** Get Manufacturing Order Activity */
|
||||
public int getPP_Order_Node_ID();
|
||||
|
||||
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws Exception;
|
||||
|
||||
/** Column name PP_Order_Workflow_ID */
|
||||
public static final String COLUMNNAME_PP_Order_Workflow_ID = "PP_Order_Workflow_ID";
|
||||
|
||||
/** Set PP_Order_Workflow_ID */
|
||||
public void setPP_Order_Workflow_ID (int PP_Order_Workflow_ID);
|
||||
|
||||
/** Get PP_Order_Workflow_ID */
|
||||
public int getPP_Order_Workflow_ID();
|
||||
|
||||
public org.eevolution.model.I_PP_Order_Workflow getPP_Order_Workflow() throws Exception;
|
||||
|
||||
/** Column name Processed */
|
||||
public static final String COLUMNNAME_Processed = "Processed";
|
||||
|
||||
|
@ -424,10 +428,10 @@ public interface I_PP_Cost_Collector
|
|||
/** Column name QtyReject */
|
||||
public static final String COLUMNNAME_QtyReject = "QtyReject";
|
||||
|
||||
/** Set QtyReject */
|
||||
/** Set Qty Reject */
|
||||
public void setQtyReject (BigDecimal QtyReject);
|
||||
|
||||
/** Get QtyReject */
|
||||
/** Get Qty Reject */
|
||||
public BigDecimal getQtyReject();
|
||||
|
||||
/** Column name Reversal_ID */
|
||||
|
@ -443,6 +447,21 @@ public interface I_PP_Cost_Collector
|
|||
*/
|
||||
public int getReversal_ID();
|
||||
|
||||
/** Column name S_Resource_ID */
|
||||
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
||||
|
||||
/** Set Resource.
|
||||
* Resource
|
||||
*/
|
||||
public void setS_Resource_ID (int S_Resource_ID);
|
||||
|
||||
/** Get Resource.
|
||||
* Resource
|
||||
*/
|
||||
public int getS_Resource_ID();
|
||||
|
||||
public I_S_Resource getS_Resource() throws RuntimeException;
|
||||
|
||||
/** Column name ScrappedQty */
|
||||
public static final String COLUMNNAME_ScrappedQty = "ScrappedQty";
|
||||
|
||||
|
@ -459,27 +478,12 @@ public interface I_PP_Cost_Collector
|
|||
/** Column name SetupTimeReal */
|
||||
public static final String COLUMNNAME_SetupTimeReal = "SetupTimeReal";
|
||||
|
||||
/** Set SetupTimeReal */
|
||||
/** Set Setup Time Real */
|
||||
public void setSetupTimeReal (BigDecimal SetupTimeReal);
|
||||
|
||||
/** Get SetupTimeReal */
|
||||
/** Get Setup Time Real */
|
||||
public BigDecimal getSetupTimeReal();
|
||||
|
||||
/** Column name S_Resource_ID */
|
||||
public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID";
|
||||
|
||||
/** Set Resource.
|
||||
* Resource
|
||||
*/
|
||||
public void setS_Resource_ID (int S_Resource_ID);
|
||||
|
||||
/** Get Resource.
|
||||
* Resource
|
||||
*/
|
||||
public int getS_Resource_ID();
|
||||
|
||||
public I_S_Resource getS_Resource() throws Exception;
|
||||
|
||||
/** Column name User1_ID */
|
||||
public static final String COLUMNNAME_User1_ID = "User1_ID";
|
||||
|
||||
|
|
|
@ -214,8 +214,7 @@ public class MPPCostCollector extends X_PP_Cost_Collector implements DocAction
|
|||
}
|
||||
|
||||
// Update Order Line
|
||||
MDocType doctype = MDocType.get(getCtx(), getC_DocType_ID());
|
||||
if(!doctype.getDocBaseType().equals(MDocType.DOCBASETYPE_ManufacturingOperationActivity))
|
||||
if(getCostCollectorType() == MPPCostCollector.COSTCOLLECTORTYPE_ActivityControlReport)
|
||||
{
|
||||
// Stock Movement
|
||||
MProduct product = MProduct.get(getCtx(), getM_Product_ID());
|
||||
|
@ -323,7 +322,7 @@ public class MPPCostCollector extends X_PP_Cost_Collector implements DocAction
|
|||
}
|
||||
}
|
||||
// Operation Activity
|
||||
if(doctype.getDocBaseType().equals(MDocType.DOCBASETYPE_ManufacturingOperationActivity))
|
||||
if(getCostCollectorType() == MPPCostCollector.COSTCOLLECTORTYPE_ActivityControlReport)
|
||||
{
|
||||
MPPOrderNode onodeact = getPP_Order_Node();
|
||||
onodeact.setDocStatus(DOCSTATUS_Completed);
|
||||
|
@ -546,7 +545,7 @@ public class MPPCostCollector extends X_PP_Cost_Collector implements DocAction
|
|||
costnew.setDateAcct(getDateAcct());
|
||||
costnew.setMovementQty(getMovementQty());
|
||||
//costnew.setDurationUnit(getDurationUnit());
|
||||
costnew.setMovementType(getMovementType());
|
||||
costnew.setCostCollectorType(getCostCollectorType());
|
||||
//
|
||||
costnew.setPP_Order_Node_ID(PP_Order_Node_ID);
|
||||
costnew.setDurationReal(duration);
|
||||
|
@ -573,8 +572,7 @@ public class MPPCostCollector extends X_PP_Cost_Collector implements DocAction
|
|||
|
||||
private void closeNew(int PP_Order_ID, int PP_Order_Node_ID)
|
||||
{
|
||||
MDocType dt = MDocType.get(getCtx(), getC_DocType_ID());
|
||||
if(MDocType.DOCBASETYPE_ManufacturingOperationActivity.equals(dt.getDocBaseType()))
|
||||
if(getCostCollectorType()==MPPCostCollector.COSTCOLLECTORTYPE_ActivityControlReport)
|
||||
{
|
||||
String whereClause = COLUMNNAME_PP_Order_ID+"=?";
|
||||
List<MPPCostCollector> list = new Query(getCtx(), Table_Name, whereClause, get_TrxName())
|
||||
|
@ -592,8 +590,7 @@ public class MPPCostCollector extends X_PP_Cost_Collector implements DocAction
|
|||
|
||||
protected void completeNew(int PP_Order_ID)
|
||||
{
|
||||
MDocType dt = MDocType.get(getCtx(), getC_DocType_ID());
|
||||
if(MDocType.DOCBASETYPE_ManufacturingOperationActivity.equals(dt.getDocBaseType()))
|
||||
if(getCostCollectorType()==MPPCostCollector.COSTCOLLECTORTYPE_ActivityControlReport)
|
||||
{
|
||||
String whereClause = COLUMNNAME_PP_Order_ID+"=?"
|
||||
+" AND "+COLUMNNAME_DocStatus+"<>'"+DOCSTATUS_Completed+"'"
|
||||
|
@ -796,4 +793,14 @@ public class MPPCostCollector extends X_PP_Cost_Collector implements DocAction
|
|||
{
|
||||
return getMovementType().charAt(1) == '+';
|
||||
}
|
||||
|
||||
public String getMovementType()
|
||||
{
|
||||
if (getCostCollectorType()==MPPCostCollector.COSTCOLLECTORTYPE_MaterialReceipt)
|
||||
return MTransaction.MOVEMENTTYPE_WorkOrderPlus;
|
||||
else if(getCostCollectorType()==MPPCostCollector.COSTCOLLECTORTYPE_ComponentIssue)
|
||||
return MTransaction.MOVEMENTTYPE_WorkOrder_;
|
||||
|
||||
return null;
|
||||
}
|
||||
} // MPPCostCollector
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -54,24 +54,6 @@ public class CreateDocType extends SvrProcess
|
|||
createDocType("Manufacturing Order Planning","Order Planning",
|
||||
MDocType.DOCBASETYPE_ManufacturingOrder, null,
|
||||
0, 0, 81000, GL_Manufacturing);
|
||||
createDocType("Manufacturing Order Receipt", "Order Receipt",
|
||||
MDocType.DOCBASETYPE_ManufacturingOrderReceipt, null,
|
||||
0, 0, 82000, GL_Manufacturing);
|
||||
createDocType("Manufacturing Order Issue","Order Issue",
|
||||
MDocType.DOCBASETYPE_ManufacturingOrderIssue, null,
|
||||
0, 0, 83000, GL_Manufacturing);
|
||||
createDocType("Manufacturing Order Method Variance", "Method Variance",
|
||||
MDocType.DOCBASETYPE_ManufacturingOrderMethodVariance, null,
|
||||
0, 0, 84000, GL_Manufacturing);
|
||||
createDocType("Manufacturing Order Use Variance", "Use Variance",
|
||||
MDocType.DOCBASETYPE_ManufacturingOrderUseVariance, null,
|
||||
0, 0, 84100, GL_Manufacturing);
|
||||
createDocType("Manufacturing Order Rate Variance","Rate Variance",
|
||||
MDocType.DOCBASETYPE_ManufacturingOrderRateVariance, null,
|
||||
0, 0, 84200, GL_Manufacturing);
|
||||
createDocType("Manufacturing Operation Activity","Operation Activity",
|
||||
MDocType.DOCBASETYPE_ManufacturingOperationActivity, null,
|
||||
0, 0, 85000, GL_Manufacturing);
|
||||
createDocType("Maintenance Order","Maintenance Order",
|
||||
MDocType.DOCBASETYPE_MaintenanceOrder, null,
|
||||
0, 0, 86000, GL_Manufacturing);
|
||||
|
|
|
@ -1110,9 +1110,9 @@ public class VOrderReceiptIssue extends CPanel implements FormPanel,
|
|||
getM_AttributeSetInstance_ID(),
|
||||
movementDate,
|
||||
toDeliverQty, scrapQty, rejectQty,
|
||||
getDocType(X_C_DocType.DOCBASETYPE_ManufacturingOrderReceipt),
|
||||
getDocType(MDocType.DOCBASETYPE_ManufacturingOrder),
|
||||
0, // PP_Order_BOMLine_ID
|
||||
MPPCostCollector.MOVEMENTTYPE_ProductionPlus);
|
||||
MPPCostCollector.COSTCOLLECTORTYPE_MaterialReceipt);
|
||||
}
|
||||
|
||||
if (ADialog.ask(m_WindowNo, this,
|
||||
|
@ -1173,17 +1173,18 @@ public class VOrderReceiptIssue extends CPanel implements FormPanel,
|
|||
MPPOrderBOMLine PP_orderbomLine = new MPPOrderBOMLine(Env.getCtx(), PP_OrderBOMLine_ID, null);
|
||||
if (issue.signum() > 0 || qtyScrap.signum() > 0 || qtyReject.signum() > 0)
|
||||
{
|
||||
int C_DocType_ID = 0;
|
||||
String CostCollectorType = null;
|
||||
int C_DocType_ID = getDocType(MDocType.DOCBASETYPE_ManufacturingOrder);
|
||||
// Method Variance
|
||||
if (PP_orderbomLine.getQtyBatch().signum() == 0
|
||||
&& PP_orderbomLine.getQtyBOM().signum() == 0)
|
||||
{
|
||||
C_DocType_ID = getDocType(MDocType.DOCBASETYPE_ManufacturingOrderMethodVariance);
|
||||
CostCollectorType = MPPCostCollector.COSTCOLLECTORTYPE_MethodChangeVariance;
|
||||
}
|
||||
// Order Issue
|
||||
else
|
||||
{
|
||||
C_DocType_ID = getDocType(MDocType.DOCBASETYPE_ManufacturingOrderIssue);
|
||||
CostCollectorType = MPPCostCollector.COSTCOLLECTORTYPE_ComponentIssue;
|
||||
}
|
||||
//
|
||||
createCollector (
|
||||
|
@ -1194,7 +1195,7 @@ public class VOrderReceiptIssue extends CPanel implements FormPanel,
|
|||
issue, qtyScrap, qtyReject,
|
||||
C_DocType_ID,
|
||||
PP_OrderBOMLine_ID,
|
||||
MPPCostCollector.MOVEMENTTYPE_Production_ // Production "-"
|
||||
CostCollectorType // Production "-"
|
||||
);
|
||||
|
||||
}
|
||||
|
@ -1221,7 +1222,7 @@ public class VOrderReceiptIssue extends CPanel implements FormPanel,
|
|||
BigDecimal reject,
|
||||
int C_DocType_ID,
|
||||
int PP_Order_BOMLine_ID,
|
||||
String MovementType
|
||||
String CostCollectorType
|
||||
)
|
||||
{
|
||||
MPPOrder pp_order = getPP_Order();
|
||||
|
@ -1233,7 +1234,7 @@ public class VOrderReceiptIssue extends CPanel implements FormPanel,
|
|||
PP_Cost_Collector.setC_Campaign_ID(pp_order.getC_Campaign_ID());
|
||||
PP_Cost_Collector.setC_DocType_ID(C_DocType_ID);
|
||||
PP_Cost_Collector.setC_DocTypeTarget_ID(C_DocType_ID);
|
||||
PP_Cost_Collector.setMovementType(MovementType);
|
||||
PP_Cost_Collector.setCostCollectorType(CostCollectorType);
|
||||
PP_Cost_Collector.setC_Project_ID(pp_order.getC_Project_ID());
|
||||
PP_Cost_Collector.setDescription(pp_order.getDescription());
|
||||
PP_Cost_Collector.setDocAction(MPPCostCollector.ACTION_Complete);
|
||||
|
|
|
@ -0,0 +1,221 @@
|
|||
-- Dec 8, 2008 9:17:03 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53712,0,'CostCollectorType',TO_DATE('2008-12-08 21:16:59','YYYY-MM-DD HH24:MI:SS'),0,'Transaction Type for Manufacturing Management','EE01','Y','Cost Collector Type','Cost Collector Type',TO_DATE('2008-12-08 21:16:59','YYYY-MM-DD HH24:MI:SS'),0)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:17:03 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53712 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:20:29 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,VFormat,ValidationType) VALUES (0,0,53287,TO_DATE('2008-12-08 21:20:27','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','PP_CostCollectorType Transaction Manufacturing Management',TO_DATE('2008-12-08 21:20:27','YYYY-MM-DD HH24:MI:SS'),0,' ','L')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:20:29 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
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=53287 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:32:54 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53442,53287,TO_DATE('2008-12-08 21:32:51','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Receipt Material',TO_DATE('2008-12-08 21:32:51','YYYY-MM-DD HH24:MI:SS'),0,'100')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:32:54 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53442 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:34:41 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53443,53287,TO_DATE('2008-12-08 21:34:40','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Component Issue',TO_DATE('2008-12-08 21:34:40','YYYY-MM-DD HH24:MI:SS'),0,'110')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:34:41 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53443 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:38:41 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Ref_List SET Name='Material Receipt',Updated=TO_DATE('2008-12-08 21:38:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53442
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:38:41 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53442
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:40:03 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53444,53287,TO_DATE('2008-12-08 21:40:02','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Usege Variance',TO_DATE('2008-12-08 21:40:02','YYYY-MM-DD HH24:MI:SS'),0,'120')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:40:03 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53444 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:43:53 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53445,53287,TO_DATE('2008-12-08 21:43:52','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Method Change Variance',TO_DATE('2008-12-08 21:43:52','YYYY-MM-DD HH24:MI:SS'),0,'130')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:43:53 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53445 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:44:06 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53446,53287,TO_DATE('2008-12-08 21:44:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Rate Variance',TO_DATE('2008-12-08 21:44:05','YYYY-MM-DD HH24:MI:SS'),0,'140')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:44:06 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53446 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:44:23 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53447,53287,TO_DATE('2008-12-08 21:44:22','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Mix Variance',TO_DATE('2008-12-08 21:44:22','YYYY-MM-DD HH24:MI:SS'),0,'150')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:44:23 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53447 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:52:18 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Column SET AD_Element_ID=53712, AD_Reference_Value_ID=53287, ColumnName='CostCollectorType', Description='Transaction Type for Manufacturing Management', Help=NULL, Name='Cost Collector Type',Updated=TO_DATE('2008-12-08 21:52:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53827
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:52:18 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=53827
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:52:19 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET Name='Cost Collector Type', Description='Transaction Type for Manufacturing Management', Help=NULL WHERE AD_Column_ID=53827 AND IsCentrallyMaintained='Y'
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:03 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=54082
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:04 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=54106
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:04 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=54107
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:04 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54108
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:04 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54109
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:04 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=54110
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:19 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-12-08 22:01:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54082
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:02:35 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-12-08 22:02:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54082
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:03:21 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53448,53287,TO_DATE('2008-12-08 22:03:20','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Activity Control Report',TO_DATE('2008-12-08 22:03:20','YYYY-MM-DD HH24:MI:SS'),0,'160')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:03:21 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53448 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:24 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53231
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:24 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53231
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:33 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53233
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:33 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53233
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:42 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53234
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:42 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53234
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:49 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53236
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:49 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53236
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:53 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53237
|
||||
;
|
||||
|
||||
|
||||
-- Dec 8, 2008 10:07:53 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53237
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:57 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53238
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:57 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53238
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:08:27 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Ref_Table SET WhereClause='C_DocType.AD_Client_ID=@#AD_Client_ID@ AND C_DocType.DocBaseType IN (''MOP'',''MOF'',''MQO'') ',Updated=TO_DATE('2008-12-08 22:08:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53233
|
||||
;
|
||||
|
|
@ -0,0 +1,220 @@
|
|||
-- Dec 8, 2008 9:17:03 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53712,0,'CostCollectorType',TO_TIMESTAMP('2008-12-08 21:16:59','YYYY-MM-DD HH24:MI:SS'),0,'Transaction Type for Manufacturing Management','EE01','Y','Cost Collector Type','Cost Collector Type',TO_TIMESTAMP('2008-12-08 21:16:59','YYYY-MM-DD HH24:MI:SS'),0)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:17:03 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53712 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:20:29 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,VFormat,ValidationType) VALUES (0,0,53287,TO_TIMESTAMP('2008-12-08 21:20:27','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','PP_CostCollectorType Transaction Manufacturing Management',TO_TIMESTAMP('2008-12-08 21:20:27','YYYY-MM-DD HH24:MI:SS'),0,' ','L')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:20:29 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
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=53287 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:32:54 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53442,53287,TO_TIMESTAMP('2008-12-08 21:32:51','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Receipt Material',TO_TIMESTAMP('2008-12-08 21:32:51','YYYY-MM-DD HH24:MI:SS'),0,'100')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:32:54 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53442 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:34:41 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53443,53287,TO_TIMESTAMP('2008-12-08 21:34:40','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Component Issue',TO_TIMESTAMP('2008-12-08 21:34:40','YYYY-MM-DD HH24:MI:SS'),0,'110')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:34:41 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53443 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:38:41 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Ref_List SET Name='Material Receipt',Updated=TO_TIMESTAMP('2008-12-08 21:38:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53442
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:38:41 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53442
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:40:03 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53444,53287,TO_TIMESTAMP('2008-12-08 21:40:02','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Usege Variance',TO_TIMESTAMP('2008-12-08 21:40:02','YYYY-MM-DD HH24:MI:SS'),0,'120')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:40:03 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53444 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:43:53 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53445,53287,TO_TIMESTAMP('2008-12-08 21:43:52','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Method Change Variance',TO_TIMESTAMP('2008-12-08 21:43:52','YYYY-MM-DD HH24:MI:SS'),0,'130')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:43:53 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53445 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:44:06 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53446,53287,TO_TIMESTAMP('2008-12-08 21:44:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Rate Variance',TO_TIMESTAMP('2008-12-08 21:44:05','YYYY-MM-DD HH24:MI:SS'),0,'140')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:44:06 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53446 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:44:23 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53447,53287,TO_TIMESTAMP('2008-12-08 21:44:22','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Mix Variance',TO_TIMESTAMP('2008-12-08 21:44:22','YYYY-MM-DD HH24:MI:SS'),0,'150')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:44:23 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53447 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:52:18 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Column SET AD_Element_ID=53712, AD_Reference_Value_ID=53287, ColumnName='CostCollectorType', Description='Transaction Type for Manufacturing Management', Help=NULL, Name='Cost Collector Type',Updated=TO_TIMESTAMP('2008-12-08 21:52:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53827
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:52:18 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=53827
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 9:52:19 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET Name='Cost Collector Type', Description='Transaction Type for Manufacturing Management', Help=NULL WHERE AD_Column_ID=53827 AND IsCentrallyMaintained='Y'
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:03 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=54082
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:04 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=54106
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:04 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=54107
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:04 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54108
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:04 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54109
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:04 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=54110
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:01:19 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2008-12-08 22:01:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54082
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:02:35 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2008-12-08 22:02:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54082
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:03:21 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53448,53287,TO_TIMESTAMP('2008-12-08 22:03:20','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Activity Control Report',TO_TIMESTAMP('2008-12-08 22:03:20','YYYY-MM-DD HH24:MI:SS'),0,'160')
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:03:21 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53448 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:24 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53231
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:24 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53231
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:33 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53233
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:33 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53233
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:42 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53234
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:42 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53234
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:49 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53236
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:49 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53236
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:53 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53237
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:53 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53237
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:57 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List_Trl WHERE AD_Ref_List_ID=53238
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:07:57 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
DELETE FROM AD_Ref_List WHERE AD_Ref_List_ID=53238
|
||||
;
|
||||
|
||||
-- Dec 8, 2008 10:08:27 PM ECT
|
||||
-- Cost Collector Type Manufacturing Management
|
||||
UPDATE AD_Ref_Table SET WhereClause='C_DocType.AD_Client_ID=@#AD_Client_ID@ AND C_DocType.DocBaseType IN (''MOP'',''MOF'',''MQO'') ',Updated=TO_TIMESTAMP('2008-12-08 22:08:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53233
|
||||
;
|
||||
|
Loading…
Reference in New Issue