BF [ 2852104 ] Duplicated elements found

https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2852104&group_id=176962

Generate A_Asset_Change model + related method names case changes
This commit is contained in:
teo_sarca 2009-09-06 09:14:33 +00:00
parent 0050e3ad72
commit 3dafd5957f
6 changed files with 54 additions and 40 deletions

View File

@ -289,8 +289,8 @@ public class AssetSplit extends SvrProcess
MRefList RefList = new MRefList (getCtx(), 0, null); MRefList RefList = new MRefList (getCtx(), 0, null);
change.setTextDetails(RefList.getListDescription (getCtx(),"A_Update_Type" , "SPL")); change.setTextDetails(RefList.getListDescription (getCtx(),"A_Update_Type" , "SPL"));
change.setLot(AssetNew.getLot()); change.setLot(AssetNew.getLot());
change.setSerno(AssetNew.getSerNo()); change.setSerNo(AssetNew.getSerNo());
change.setVersionno(AssetNew.getVersionNo()); change.setVersionNo(AssetNew.getVersionNo());
change.setUseLifeMonths(AssetNew.getUseLifeMonths()); change.setUseLifeMonths(AssetNew.getUseLifeMonths());
change.setUseLifeYears(AssetNew.getUseLifeYears()); change.setUseLifeYears(AssetNew.getUseLifeYears());
change.setLifeUseUnits(AssetNew.getLifeUseUnits()); change.setLifeUseUnits(AssetNew.getLifeUseUnits());
@ -413,8 +413,8 @@ public class AssetSplit extends SvrProcess
MRefList RefList = new MRefList (getCtx(), 0, null); MRefList RefList = new MRefList (getCtx(), 0, null);
change.setTextDetails(RefList.getListDescription (getCtx(),"A_Update_Type" , "SPL")); change.setTextDetails(RefList.getListDescription (getCtx(),"A_Update_Type" , "SPL"));
change.setLot(AssetNew.getLot()); change.setLot(AssetNew.getLot());
change.setSerno(AssetNew.getSerNo()); change.setSerNo(AssetNew.getSerNo());
change.setVersionno(AssetNew.getVersionNo()); change.setVersionNo(AssetNew.getVersionNo());
change.setUseLifeMonths(AssetNew.getUseLifeMonths()); change.setUseLifeMonths(AssetNew.getUseLifeMonths());
change.setUseLifeYears(AssetNew.getUseLifeYears()); change.setUseLifeYears(AssetNew.getUseLifeYears());
change.setLifeUseUnits(AssetNew.getLifeUseUnits()); change.setLifeUseUnits(AssetNew.getLifeUseUnits());

View File

@ -226,8 +226,8 @@ public class CreateGLAsset extends SvrProcess
change.setIsDepreciated(asset.isDepreciated()); change.setIsDepreciated(asset.isDepreciated());
change.setIsFullyDepreciated(asset.isFullyDepreciated()); change.setIsFullyDepreciated(asset.isFullyDepreciated());
change.setLot(asset.getLot()); change.setLot(asset.getLot());
change.setSerno(asset.getSerNo()); change.setSerNo(asset.getSerNo());
change.setVersionno(asset.getVersionNo()); change.setVersionNo(asset.getVersionNo());
change.setUseLifeMonths(asset.getUseLifeMonths()); change.setUseLifeMonths(asset.getUseLifeMonths());
change.setUseLifeYears(asset.getUseLifeYears()); change.setUseLifeYears(asset.getUseLifeYears());
change.setLifeUseUnits(asset.getLifeUseUnits()); change.setLifeUseUnits(asset.getLifeUseUnits());

View File

@ -246,8 +246,8 @@ public class CreateInvoicedAsset extends SvrProcess
change.setIsDepreciated(asset.isDepreciated()); change.setIsDepreciated(asset.isDepreciated());
change.setIsFullyDepreciated(asset.isFullyDepreciated()); change.setIsFullyDepreciated(asset.isFullyDepreciated());
change.setLot(asset.getLot()); change.setLot(asset.getLot());
change.setSerno(asset.getSerNo()); change.setSerNo(asset.getSerNo());
change.setVersionno(asset.getVersionNo()); change.setVersionNo(asset.getVersionNo());
change.setUseLifeMonths(asset.getUseLifeMonths()); change.setUseLifeMonths(asset.getUseLifeMonths());
change.setUseLifeYears(asset.getUseLifeYears()); change.setUseLifeYears(asset.getUseLifeYears());
change.setLifeUseUnits(asset.getLifeUseUnits()); change.setLifeUseUnits(asset.getLifeUseUnits());

View File

@ -703,14 +703,18 @@ public interface I_A_Asset_Change
*/ */
public String getPostingType(); public String getPostingType();
/** Column name Serno */ /** Column name SerNo */
public static final String COLUMNNAME_Serno = "Serno"; public static final String COLUMNNAME_SerNo = "SerNo";
/** Set Serno */ /** Set Serial No.
public void setSerno (String Serno); * Product Serial Number
*/
public void setSerNo (String SerNo);
/** Get Serno */ /** Get Serial No.
public String getSerno(); * Product Serial Number
*/
public String getSerNo();
/** Column name TextDetails */ /** Column name TextDetails */
public static final String COLUMNNAME_TextDetails = "TextDetails"; public static final String COLUMNNAME_TextDetails = "TextDetails";
@ -776,12 +780,16 @@ public interface I_A_Asset_Change
*/ */
public int getUseUnits(); public int getUseUnits();
/** Column name Versionno */ /** Column name VersionNo */
public static final String COLUMNNAME_Versionno = "Versionno"; public static final String COLUMNNAME_VersionNo = "VersionNo";
/** Set Versionno */ /** Set Version No.
public void setVersionno (String Versionno); * Version Number
*/
public void setVersionNo (String VersionNo);
/** Get Versionno */ /** Get Version No.
public String getVersionno(); * Version Number
*/
public String getVersionNo();
} }

View File

@ -599,8 +599,8 @@ public class MAsset extends X_A_Asset
change.setIsDepreciated(isDepreciated()); change.setIsDepreciated(isDepreciated());
change.setIsFullyDepreciated(isFullyDepreciated()); change.setIsFullyDepreciated(isFullyDepreciated());
change.setLot(getLot()); change.setLot(getLot());
change.setSerno(getSerNo()); change.setSerNo(getSerNo());
change.setVersionno(getVersionNo()); change.setVersionNo(getVersionNo());
change.setUseLifeMonths(getUseLifeMonths()); change.setUseLifeMonths(getUseLifeMonths());
change.setUseLifeYears(getUseLifeYears()); change.setUseLifeYears(getUseLifeYears());
change.setLifeUseUnits(getLifeUseUnits()); change.setLifeUseUnits(getLifeUseUnits());
@ -713,8 +713,8 @@ public class MAsset extends X_A_Asset
MRefList RefList = new MRefList (getCtx(), 0, get_TrxName()); MRefList RefList = new MRefList (getCtx(), 0, get_TrxName());
change.setTextDetails(RefList.getListDescription (getCtx(),"A_Update_Type" , "UPD")); change.setTextDetails(RefList.getListDescription (getCtx(),"A_Update_Type" , "UPD"));
change.setLot(getLot()); change.setLot(getLot());
change.setSerno(getSerNo()); change.setSerNo(getSerNo());
change.setVersionno(getVersionNo()); change.setVersionNo(getVersionNo());
change.setA_Parent_Asset_ID(getA_Parent_Asset_ID()); change.setA_Parent_Asset_ID(getA_Parent_Asset_ID());
change.setUseLifeMonths(getUseLifeMonths()); change.setUseLifeMonths(getUseLifeMonths());
change.setUseLifeYears(getUseLifeYears()); change.setUseLifeYears(getUseLifeYears());

View File

@ -1237,18 +1237,21 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return (String)get_Value(COLUMNNAME_PostingType); return (String)get_Value(COLUMNNAME_PostingType);
} }
/** Set Serno. /** Set Serial No.
@param Serno Serno */ @param SerNo
public void setSerno (String Serno) Product Serial Number
*/
public void setSerNo (String SerNo)
{ {
set_ValueNoCheck (COLUMNNAME_Serno, Serno); set_ValueNoCheck (COLUMNNAME_SerNo, SerNo);
} }
/** Get Serno. /** Get Serial No.
@return Serno */ @return Product Serial Number
public String getSerno () */
public String getSerNo ()
{ {
return (String)get_Value(COLUMNNAME_Serno); return (String)get_Value(COLUMNNAME_SerNo);
} }
/** Set Details. /** Set Details.
@ -1325,17 +1328,20 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue(); return ii.intValue();
} }
/** Set Versionno. /** Set Version No.
@param Versionno Versionno */ @param VersionNo
public void setVersionno (String Versionno) Version Number
*/
public void setVersionNo (String VersionNo)
{ {
set_ValueNoCheck (COLUMNNAME_Versionno, Versionno); set_ValueNoCheck (COLUMNNAME_VersionNo, VersionNo);
} }
/** Get Versionno. /** Get Version No.
@return Versionno */ @return Version Number
public String getVersionno () */
public String getVersionNo ()
{ {
return (String)get_Value(COLUMNNAME_Versionno); return (String)get_Value(COLUMNNAME_VersionNo);
} }
} }