AssetDepBookTableDepConv_HalfYearStart Class [AX 2012]
The AssetDepBookTableDepConv class calculates the asset depreciation amounts for fixed assets that use a half-year depreciation convention.
Syntax
class AssetDepBookTableDepConv_HalfYearStart extends AssetDepBookTableDepConv
Run On
Called
Methods
Method | Description | |
---|---|---|
adjustLastDepreciationDate | Adjusts the projected depreciation date, based on a given depreciation convention. (Overrides the adjustLastDepreciationDate Method.) | |
adjustLastDepreciationDatePartialPeriod | Adjusts the projected depreciation date, based on the specified depreciation convention for a depreciation book that has a partial period. (Inherited from AssetDepBookTableDepConv.) | |
adjustLifeTimeRest | Rounds the Life Time Remaining value. (Overrides the adjustLifeTimeRest Method.) | |
calc_RB | Calculates the "reducing balance" type period depreciation amount for the asset's current transaction. (Overrides the calc_RB Method.) | |
calc_ReducingBalance | (Inherited from AssetDepBookTableDepConv.) | |
calc_SL | Calculates the "straight line" type period depreciation amount for the asset's current transaction. (Overrides the calc_SL Method.) | |
calc_SLP_IN | Calculates the “Straight line percentage” type period depreciation amount for the asset's current transaction. (Inherited from AssetDepBookTableDepConv.) | |
calc_StraightLine | (Inherited from AssetDepBookTableDepConv.) | |
calc_StraightLinePercentage_IN | Is the base calculation for the “reducing balance” depreciation methods. (Inherited from AssetDepBookTableDepConv.) | |
calcCurrencyAmount | Calculates the asset's period depreciation amount in the correct currency. (Overrides the calcCurrencyAmount Method.) | |
calcDisposalNumberDepreciationPeriods | Calculates the number of depreciation periods that are used in the final year of the disposal. (Inherited from AssetDepBookTableDepConv.) | |
calcRestPeriod | Calculates the adjustment to the remaining life of the asset. (Overrides the calcRestPeriod Method.) | |
calcStartDate | Calculates the starting depreciation date of the asset. (Overrides the calcStartDate Method.) | |
calculateDisposalDepreciationAdjRatio | Calculates the portion of the depreciation that is allowed for a given period, based on the date of the disposal. (Overrides the calculateDisposalDepreciationAdjRatio Method.) | |
calculateFirstYearDepreciation | ||
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
checkIsFirstYear | (Inherited from AssetDepBookTableDepConv.) | |
checkIsLastYear | (Inherited from AssetDepBookTableDepConv.) | |
depreciationPercentage_SL | (Inherited from AssetDepBookTableDepConv.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getDateOfLastDepreciation | Gets the date of the last depreciation for a given value model. (Overrides the getDateOfLastDepreciation Method.) | |
getNumberOfPeriodsInYear | Calculates the total number of depreciation periods that are used in a given year of the disposal. (Inherited from AssetDepBookTableDepConv.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
new | Initializes a new instance of the Object class. (Inherited from Object.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
parmIsOtherAdjustments | Gets or sets the IsOtherAdjustments parameter. (Inherited from AssetDepBookTableDepConv.) | |
parmIsPartialMonthCalculation | Gets or sets the IsPartialMonthCalculation parameter. (Inherited from AssetDepBookTableDepConv.) | |
parmIsProratedDaysCalculation | Gets or sets the IsProratedDaysCalculation parameter. (Inherited from AssetDepBookTableDepConv.) | |
parmLastDepreciationDate | Gets or sets the LastDepreciationDate parameter. (Inherited from AssetDepBookTableDepConv.) | |
setAssetPeriodDate | (Inherited from AssetDepBookTableDepConv.) | |
setLastDepreciationDate_HalfYear | Sets the depreciation period for the half-year convention rule for the first and last period. (Inherited from AssetDepBookTableDepConv.) | |
setNumberOfPeriodsInInterval | Sets the correct number of periods that should be taken, in the context of the total number of periods for the asset's current transaction. (Overrides the setNumberOfPeriodsInInterval Method.) | |
setNumberOfPeriodsLeftInYear | Sets the correct number of total periods from the asset's current transaction until the end of the year. (Overrides the setNumberOfPeriodsLeftInYear Method.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
updateDisposalFirstLastYear | Updates class variables to indicate whether the current depreciation is performed in the first or last year of depreciation. (Inherited from AssetDepBookTableDepConv.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::calcPeriodHalfYear_start | Calculates the depreciation amount, based on the Half-Year Start convention rule for the last period. |
Top
Remarks
This class must always be used with the AssetDepBookTableMethod_SL and AssetDepBookTableMethod_RB classes to calculate an asset depreciation amount. This class also calculates the start date of an asset depreciation for fixed assets that use a depreciation convention.
Inheritance Hierarchy
Object Class
AssetDepBookTableDepConv Class
AssetDepBookTableDepConv_HalfYearStart Class