diff --git a/base/src/org/compiere/model/MBPartner.java b/base/src/org/compiere/model/MBPartner.java
index 6d9fc5d3c7..9ae5b58b98 100644
--- a/base/src/org/compiere/model/MBPartner.java
+++ b/base/src/org/compiere/model/MBPartner.java
@@ -24,6 +24,11 @@ import org.compiere.util.*;
/**
* Business Partner Model
+ *
+ * Change log:
+ *
+ * - 2007-01-31 - teo_sarca - [ 1568774 ] Walk-In BP: invalid created/updated values
+ *
*
* @author Jorg Janke
* @version $Id: MBPartner.java,v 1.5 2006/09/23 19:38:07 comdivision Exp $
@@ -61,6 +66,10 @@ public class MBPartner extends X_C_BPartner
template.setAcqusitionCost(Env.ZERO);
template.setShareOfCustomer(0);
template.setSalesVolume(0);
+ // Reset Created, Updated to current system time ( teo_sarca )
+ Timestamp ts = new Timestamp(System.currentTimeMillis());
+ template.set_ValueNoCheck("Created", ts);
+ template.set_ValueNoCheck("Updated", ts);
}
return template;
} // getTemplate