Search in sources :

Example 1 with AssetExtension

use of edu.cornell.kfs.module.cam.businessobject.AssetExtension in project cu-kfs by CU-CommunityApps.

the class CuAssetGlobalServiceImpl method setupAsset.

// KFSUPGRADE-535
// if we need to implement service rate ind, then it can be populated from detail to assetext too.
@Override
protected Asset setupAsset(AssetGlobal assetGlobal, AssetGlobalDetail assetGlobalDetail, boolean separate) {
    Asset asset = super.setupAsset(assetGlobal, assetGlobalDetail, separate);
    AssetExtension ae = (AssetExtension) asset.getExtension();
    ae.setCapitalAssetNumber(asset.getCapitalAssetNumber());
    return asset;
}
Also used : AssetExtension(edu.cornell.kfs.module.cam.businessobject.AssetExtension) Asset(org.kuali.kfs.module.cam.businessobject.Asset)

Aggregations

AssetExtension (edu.cornell.kfs.module.cam.businessobject.AssetExtension)1 Asset (org.kuali.kfs.module.cam.businessobject.Asset)1