FA Depreciation Methods Report
SELECT Mtd.Method_Code,
Mtd.Name Method_Description,
Mtd.Life_In_Months,
Trunc(Mtd.Life_In_Months / 12) Life_Years,
MOD(Mtd.Life_In_Months, 12) Life_Months,
Mtd.Rate_Source_Rule Rate_Source,
Mtd.Deprn_Basis_Rule Deprn_Basis,
Mtd.Prorate_Periods_Per_Year Periods_Per_Year,
Frt.Year Table_Year,
Frt.Period_Placed_In_Service Table_Month,
Frt.Rate Table_Rate,
to_char(Mtd.Creation_Date ,'mm/dd/yyyy hh:mi:ss AM') Method_Creation_Date,
to_char(Mtd.Last_Update_Date ,'mm/dd/yyyy hh:mi:ss AM') Method_Last_Updt_Date,
to_char(Frt.Creation_Date ,'mm/dd/yyyy hh:mi:ss AM') Rate_Creation_Date,
to_char(Frt.Last_Update_Date ,'mm/dd/yyyy hh:mi:ss AM') Rate_Last_Updt_Date
FROM Fa_Methods Mtd
, Fa_Rates Frt
WHERE Frt.Method_Id(+) = Mtd.Method_Id
AND Mtd.Method_Code = nvl(:P_METHOD_CODE,Mtd.Method_Code)
AND Mtd.Life_In_Months = nvl(:P_LIFE_IN_MONTHS,Mtd.Life_In_Months)
No comments:
Post a Comment