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

View File

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

View File

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

View File

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

View File

@ -599,8 +599,8 @@ public class MAsset extends X_A_Asset
change.setIsDepreciated(isDepreciated());
change.setIsFullyDepreciated(isFullyDepreciated());
change.setLot(getLot());
change.setSerno(getSerNo());
change.setVersionno(getVersionNo());
change.setSerNo(getSerNo());
change.setVersionNo(getVersionNo());
change.setUseLifeMonths(getUseLifeMonths());
change.setUseLifeYears(getUseLifeYears());
change.setLifeUseUnits(getLifeUseUnits());
@ -713,8 +713,8 @@ public class MAsset extends X_A_Asset
MRefList RefList = new MRefList (getCtx(), 0, get_TrxName());
change.setTextDetails(RefList.getListDescription (getCtx(),"A_Update_Type" , "UPD"));
change.setLot(getLot());
change.setSerno(getSerNo());
change.setVersionno(getVersionNo());
change.setSerNo(getSerNo());
change.setVersionNo(getVersionNo());
change.setA_Parent_Asset_ID(getA_Parent_Asset_ID());
change.setUseLifeMonths(getUseLifeMonths());
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);
}
/** Set Serno.
@param Serno Serno */
public void setSerno (String Serno)
/** Set Serial No.
@param SerNo
Product Serial Number
*/
public void setSerNo (String SerNo)
{
set_ValueNoCheck (COLUMNNAME_Serno, Serno);
set_ValueNoCheck (COLUMNNAME_SerNo, SerNo);
}
/** Get Serno.
@return Serno */
public String getSerno ()
/** Get Serial No.
@return Product Serial Number
*/
public String getSerNo ()
{
return (String)get_Value(COLUMNNAME_Serno);
return (String)get_Value(COLUMNNAME_SerNo);
}
/** Set Details.
@ -1325,17 +1328,20 @@ public class X_A_Asset_Change extends PO implements I_A_Asset_Change, I_Persiste
return ii.intValue();
}
/** Set Versionno.
@param Versionno Versionno */
public void setVersionno (String Versionno)
/** Set Version No.
@param VersionNo
Version Number
*/
public void setVersionNo (String VersionNo)
{
set_ValueNoCheck (COLUMNNAME_Versionno, Versionno);
set_ValueNoCheck (COLUMNNAME_VersionNo, VersionNo);
}
/** Get Versionno.
@return Versionno */
public String getVersionno ()
/** Get Version No.
@return Version Number
*/
public String getVersionNo ()
{
return (String)get_Value(COLUMNNAME_Versionno);
return (String)get_Value(COLUMNNAME_VersionNo);
}
}