FR [2909559] Update Product Cost record when importing Inventory
https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
This commit is contained in:
parent
d12b817c3a
commit
17c6e5db8c
|
@ -78,6 +78,19 @@ public interface I_I_Inventory
|
|||
*/
|
||||
public int getCreatedBy();
|
||||
|
||||
/** Column name CurrentCostPrice */
|
||||
public static final String COLUMNNAME_CurrentCostPrice = "CurrentCostPrice";
|
||||
|
||||
/** Set Current Cost Price.
|
||||
* The currently used cost price
|
||||
*/
|
||||
public void setCurrentCostPrice (BigDecimal CurrentCostPrice);
|
||||
|
||||
/** Get Current Cost Price.
|
||||
* The currently used cost price
|
||||
*/
|
||||
public BigDecimal getCurrentCostPrice();
|
||||
|
||||
/** Column name Description */
|
||||
public static final String COLUMNNAME_Description = "Description";
|
||||
|
||||
|
|
|
@ -74,6 +74,26 @@ public class X_I_Inventory extends PO implements I_I_Inventory, I_Persistent
|
|||
return sb.toString();
|
||||
}
|
||||
|
||||
/** Set Current Cost Price.
|
||||
@param CurrentCostPrice
|
||||
The currently used cost price
|
||||
*/
|
||||
public void setCurrentCostPrice (BigDecimal CurrentCostPrice)
|
||||
{
|
||||
set_Value (COLUMNNAME_CurrentCostPrice, CurrentCostPrice);
|
||||
}
|
||||
|
||||
/** Get Current Cost Price.
|
||||
@return The currently used cost price
|
||||
*/
|
||||
public BigDecimal getCurrentCostPrice ()
|
||||
{
|
||||
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_CurrentCostPrice);
|
||||
if (bd == null)
|
||||
return Env.ZERO;
|
||||
return bd;
|
||||
}
|
||||
|
||||
/** Set Description.
|
||||
@param Description
|
||||
Optional short description of the record
|
||||
|
|
|
@ -22,8 +22,10 @@ import java.sql.ResultSet;
|
|||
import java.sql.Timestamp;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.compiere.model.MAcctSchema;
|
||||
import org.compiere.model.MAttributeSet;
|
||||
import org.compiere.model.MAttributeSetInstance;
|
||||
import org.compiere.model.MCost;
|
||||
import org.compiere.model.MInventory;
|
||||
import org.compiere.model.MInventoryLine;
|
||||
import org.compiere.model.MProduct;
|
||||
|
@ -32,7 +34,7 @@ import org.compiere.util.DB;
|
|||
import org.compiere.util.TimeUtil;
|
||||
|
||||
/**
|
||||
* Import Physical Inventory fom I_Inventory
|
||||
* Import Physical Inventory from I_Inventory
|
||||
*
|
||||
* @author Jorg Janke
|
||||
* @version $Id: ImportInventory.java,v 1.2 2006/07/30 00:51:01 jjanke Exp $
|
||||
|
@ -49,7 +51,20 @@ public class ImportInventory extends SvrProcess
|
|||
private Timestamp p_MovementDate = null;
|
||||
/** Delete old Imported */
|
||||
private boolean p_DeleteOldImported = false;
|
||||
|
||||
|
||||
//@Trifon
|
||||
/** Update Costing */
|
||||
private boolean p_UpdateCosting = false;
|
||||
/** Accounting Schema in which costing to be updated */
|
||||
private int p_C_AcctSchema_ID = 0;
|
||||
MAcctSchema acctSchema = null;
|
||||
/** Cost Type for which costing to be updated */
|
||||
private int p_M_CostType_ID = 0;
|
||||
/** Cost Element for which costing to be updated */
|
||||
private int p_M_CostElement_ID = 0;
|
||||
/** Organization for which Costing record must be updated */
|
||||
private int p_AD_OrgTrx_ID = 0;
|
||||
|
||||
/**
|
||||
* Prepare - e.g., get Parameters.
|
||||
*/
|
||||
|
@ -71,6 +86,16 @@ public class ImportInventory extends SvrProcess
|
|||
p_MovementDate = (Timestamp)para[i].getParameter();
|
||||
else if (name.equals("DeleteOldImported"))
|
||||
p_DeleteOldImported = "Y".equals(para[i].getParameter());
|
||||
else if (name.equals("IsUpdateCosting"))
|
||||
p_UpdateCosting = "Y".equals(para[i].getParameter());
|
||||
else if (name.equals("C_AcctSchema_ID"))
|
||||
p_C_AcctSchema_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else if (name.equals("M_CostType_ID"))
|
||||
p_M_CostType_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else if (name.equals("M_CostElement_ID"))
|
||||
p_M_CostElement_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else if (name.equals("AD_OrgTrx_ID"))
|
||||
p_AD_OrgTrx_ID = ((BigDecimal)para[i].getParameter()).intValue();
|
||||
else
|
||||
log.log(Level.SEVERE, "Unknown Parameter: " + name);
|
||||
}
|
||||
|
@ -85,7 +110,23 @@ public class ImportInventory extends SvrProcess
|
|||
protected String doIt() throws java.lang.Exception
|
||||
{
|
||||
log.info("M_Locator_ID=" + p_M_Locator_ID + ",MovementDate=" + p_MovementDate);
|
||||
//
|
||||
|
||||
if (p_UpdateCosting) {
|
||||
if (p_C_AcctSchema_ID <= 0) {
|
||||
throw new IllegalArgumentException("Accounting Schema required!");
|
||||
}
|
||||
if (p_M_CostType_ID <= 0) {
|
||||
throw new IllegalArgumentException("Cost Type required!");
|
||||
}
|
||||
if (p_M_CostElement_ID <= 0 ) {
|
||||
throw new IllegalArgumentException("Cost Element required!");
|
||||
}
|
||||
if (p_AD_OrgTrx_ID < 0 ) {
|
||||
throw new IllegalArgumentException("AD_OrgTrx required!");
|
||||
}
|
||||
acctSchema = MAcctSchema.get(getCtx(), p_C_AcctSchema_ID, get_TrxName());
|
||||
}
|
||||
|
||||
StringBuffer sql = null;
|
||||
int no = 0;
|
||||
String clientCheck = " AND AD_Client_ID=" + p_AD_Client_ID;
|
||||
|
@ -282,8 +323,21 @@ public class ImportInventory extends SvrProcess
|
|||
imp.setM_Inventory_ID(line.getM_Inventory_ID());
|
||||
imp.setM_InventoryLine_ID(line.getM_InventoryLine_ID());
|
||||
imp.setProcessed(true);
|
||||
if (imp.save())
|
||||
if (imp.save()) {
|
||||
noInsertLine++;
|
||||
//@Trifon update Product cost record if Update costing is enabled
|
||||
if (p_UpdateCosting) {
|
||||
MCost cost = MCost.get (MProduct.get(getCtx(), imp.getM_Product_ID()), /*M_AttributeSetInstance_ID*/ 0
|
||||
, acctSchema, p_AD_OrgTrx_ID, p_M_CostElement_ID, get_TrxName());
|
||||
cost.setCurrentCostPrice( imp.getCurrentCostPrice() );
|
||||
if (cost.save()) {
|
||||
// nothing here.
|
||||
} else {
|
||||
log.log(Level.SEVERE, "Cost not saved!");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
rs.close();
|
||||
|
|
|
@ -0,0 +1,348 @@
|
|||
-- Dec 5, 2009 4:16:56 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58786,1394,0,12,572,'CurrentCostPrice',TO_DATE('2009-12-05 16:16:54','YYYY-MM-DD HH24:MI:SS'),100,'The currently used cost price','D',14,'Y','N','N','N','N','N','N','N','N','N','N','N','Y','Current Cost Price',0,TO_DATE('2009-12-05 16:16:54','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:16:56 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58786 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:17:41 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
ALTER TABLE I_Inventory ADD CurrentCostPrice NUMBER DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:18:42 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58786,58565,0,481,TO_DATE('2009-12-05 16:18:41','YYYY-MM-DD HH24:MI:SS'),100,'The currently used cost price',0,'D','Y','Y','Y','N','N','N','N','N','Current Cost Price',270,0,TO_DATE('2009-12-05 16:18:41','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:18:42 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58565 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:20 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET DisplayLength=14,Updated=TO_DATE('2009-12-05 16:19:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58565
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=6691
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=6696
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8193
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=6692
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=6693
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=8191
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=6700
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=6695
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=6690
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=6694
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=8192
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=6701
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=6709
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=6702
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=6707
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=7064
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=6699
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=6704
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=6708
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=6710
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=6698
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=6711
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=6705
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=6703
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=6706
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=58565
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=6697
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:35:28 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54095,0,'IsUpdateCosting',TO_DATE('2009-12-05 16:35:27','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Update Costing','Update Costing',TO_DATE('2009-12-05 16:35:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:35:28 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
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=54095 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 5, 2009 4:36:06 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,54095,0,219,53374,20,'IsUpdateCosting',TO_DATE('2009-12-05 16:36:06','YYYY-MM-DD HH24:MI:SS'),100,'N','D',1,'Y','Y','N','N','IsUpdateCosting',60,TO_DATE('2009-12-05 16:36:06','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:36:06 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53374 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:36:29 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET Name='Update Costing',Updated=TO_DATE('2009-12-05 16:36:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53374
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:36:29 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53374
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:38:13 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,181,0,219,53375,19,'C_AcctSchema_ID',TO_DATE('2009-12-05 16:38:13','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','Accounting Schema',70,TO_DATE('2009-12-05 16:38:13','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:38:13 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53375 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:41:14 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DefaultValue='$C_AcctSchema_ID',Updated=TO_DATE('2009-12-05 16:41:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53375
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:44:32 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2071,0,219,53376,19,'M_CostType_ID',TO_DATE('2009-12-05 16:44:31','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','Cost Type',80,TO_DATE('2009-12-05 16:44:31','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:44:32 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53376 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:45:30 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2700,0,219,53377,19,'M_CostElement_ID',TO_DATE('2009-12-05 16:45:29','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','Cost Element',90,TO_DATE('2009-12-05 16:45:29','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:45:30 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53377 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:47:15 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='IsUpdateCosting=''Y''',Updated=TO_DATE('2009-12-05 16:47:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53375
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:47:18 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='IsUpdateCosting=''Y''',Updated=TO_DATE('2009-12-05 16:47:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53376
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:47:21 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='IsUpdateCosting=''Y''',Updated=TO_DATE('2009-12-05 16:47:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53377
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:48:43 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic=NULL, ReadOnlyLogic='IsUpdateCosting=''Y''',Updated=TO_DATE('2009-12-05 16:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53377
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:48:48 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic=NULL, ReadOnlyLogic='IsUpdateCosting=''Y''',Updated=TO_DATE('2009-12-05 16:48:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53376
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:48:53 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic=NULL, ReadOnlyLogic='IsUpdateCosting=''Y''',Updated=TO_DATE('2009-12-05 16:48:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53375
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:49:40 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='@IsUpdateCosting@=''Y''', ReadOnlyLogic=NULL,Updated=TO_DATE('2009-12-05 16:49:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53375
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:49:51 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='@IsUpdateCosting@=''Y''', ReadOnlyLogic=NULL,Updated=TO_DATE('2009-12-05 16:49:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53376
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:49:56 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='@IsUpdateCosting@=''Y''', ReadOnlyLogic=NULL,Updated=TO_DATE('2009-12-05 16:49:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53377
|
||||
;
|
||||
|
||||
-- Dec 6, 2009 12:23:41 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,112,0,219,53378,18,276,'AD_OrgTrx_ID',TO_DATE('2009-12-06 12:23:40','YYYY-MM-DD HH24:MI:SS'),100,'0','D',10,'Y','Y','N','N','Organization for Cost Record',100,TO_DATE('2009-12-06 12:23:40','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 6, 2009 12:23:41 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53378 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Dec 6, 2009 12:33:02 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='@IsUpdateCosting@=''Y''',Updated=TO_DATE('2009-12-06 12:33:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53378
|
||||
;
|
||||
|
|
@ -0,0 +1,348 @@
|
|||
-- Dec 5, 2009 4:16:56 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58786,1394,0,12,572,'CurrentCostPrice',TO_TIMESTAMP('2009-12-05 16:16:54','YYYY-MM-DD HH24:MI:SS'),100,'The currently used cost price','D',14,'Y','N','N','N','N','N','N','N','N','N','N','N','Y','Current Cost Price',0,TO_TIMESTAMP('2009-12-05 16:16:54','YYYY-MM-DD HH24:MI:SS'),100,0)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:16:56 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58786 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:17:41 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
ALTER TABLE I_Inventory ADD COLUMN CurrentCostPrice NUMERIC DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:18:42 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58786,58565,0,481,TO_TIMESTAMP('2009-12-05 16:18:41','YYYY-MM-DD HH24:MI:SS'),100,'The currently used cost price',0,'D','Y','Y','Y','N','N','N','N','N','Current Cost Price',270,0,TO_TIMESTAMP('2009-12-05 16:18:41','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:18:42 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58565 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:20 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET DisplayLength=14,Updated=TO_TIMESTAMP('2009-12-05 16:19:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58565
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=6691
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=6696
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=8193
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=6692
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=6693
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=8191
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=6700
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=6695
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=6690
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=6694
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=8192
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=6701
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=6709
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=6702
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=6707
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=7064
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=6699
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=6704
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=6708
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=6710
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=6698
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=6711
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=6705
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=6703
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=6706
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=58565
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:19:35 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=6697
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:35:28 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54095,0,'IsUpdateCosting',TO_TIMESTAMP('2009-12-05 16:35:27','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Update Costing','Update Costing',TO_TIMESTAMP('2009-12-05 16:35:27','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:35:28 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
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=54095 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 5, 2009 4:36:06 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,54095,0,219,53374,20,'IsUpdateCosting',TO_TIMESTAMP('2009-12-05 16:36:06','YYYY-MM-DD HH24:MI:SS'),100,'N','D',1,'Y','Y','N','N','IsUpdateCosting',60,TO_TIMESTAMP('2009-12-05 16:36:06','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:36:06 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53374 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:36:29 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET Name='Update Costing',Updated=TO_TIMESTAMP('2009-12-05 16:36:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53374
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:36:29 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53374
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:38:13 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,181,0,219,53375,19,'C_AcctSchema_ID',TO_TIMESTAMP('2009-12-05 16:38:13','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','Accounting Schema',70,TO_TIMESTAMP('2009-12-05 16:38:13','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:38:13 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53375 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:41:14 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DefaultValue='$C_AcctSchema_ID',Updated=TO_TIMESTAMP('2009-12-05 16:41:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53375
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:44:32 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2071,0,219,53376,19,'M_CostType_ID',TO_TIMESTAMP('2009-12-05 16:44:31','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','Cost Type',80,TO_TIMESTAMP('2009-12-05 16:44:31','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:44:32 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53376 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:45:30 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2700,0,219,53377,19,'M_CostElement_ID',TO_TIMESTAMP('2009-12-05 16:45:29','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','Cost Element',90,TO_TIMESTAMP('2009-12-05 16:45:29','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:45:30 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53377 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:47:15 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='IsUpdateCosting=''Y''',Updated=TO_TIMESTAMP('2009-12-05 16:47:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53375
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:47:18 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='IsUpdateCosting=''Y''',Updated=TO_TIMESTAMP('2009-12-05 16:47:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53376
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:47:21 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='IsUpdateCosting=''Y''',Updated=TO_TIMESTAMP('2009-12-05 16:47:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53377
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:48:43 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic=NULL, ReadOnlyLogic='IsUpdateCosting=''Y''',Updated=TO_TIMESTAMP('2009-12-05 16:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53377
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:48:48 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic=NULL, ReadOnlyLogic='IsUpdateCosting=''Y''',Updated=TO_TIMESTAMP('2009-12-05 16:48:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53376
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:48:53 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic=NULL, ReadOnlyLogic='IsUpdateCosting=''Y''',Updated=TO_TIMESTAMP('2009-12-05 16:48:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53375
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:49:40 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='@IsUpdateCosting@=''Y''', ReadOnlyLogic=NULL,Updated=TO_TIMESTAMP('2009-12-05 16:49:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53375
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:49:51 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='@IsUpdateCosting@=''Y''', ReadOnlyLogic=NULL,Updated=TO_TIMESTAMP('2009-12-05 16:49:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53376
|
||||
;
|
||||
|
||||
-- Dec 5, 2009 4:49:56 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='@IsUpdateCosting@=''Y''', ReadOnlyLogic=NULL,Updated=TO_TIMESTAMP('2009-12-05 16:49:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53377
|
||||
;
|
||||
|
||||
-- Dec 6, 2009 12:23:41 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,112,0,219,53378,18,276,'AD_OrgTrx_ID',TO_TIMESTAMP('2009-12-06 12:23:40','YYYY-MM-DD HH24:MI:SS'),100,'0','D',10,'Y','Y','N','N','Organization for Cost Record',100,TO_TIMESTAMP('2009-12-06 12:23:40','YYYY-MM-DD HH24:MI:SS'),100)
|
||||
;
|
||||
|
||||
-- Dec 6, 2009 12:23:41 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53378 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
|
||||
;
|
||||
|
||||
-- Dec 6, 2009 12:33:02 PM CET
|
||||
-- FR [2909559] Update Product Cost record when importing Inventory
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2909559&group_id=176962&atid=883808
|
||||
UPDATE AD_Process_Para SET DisplayLogic='@IsUpdateCosting@=''Y''',Updated=TO_TIMESTAMP('2009-12-06 12:33:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53378
|
||||
;
|
||||
|
Loading…
Reference in New Issue