LedgerShowDebCredController_CN Class [AX 2012]
Class used to handle the show debit/credit column and display negative amounts in red.
| Method | Description | |
|---|---|---|
| addAmountControl | add Amount Column control |
| addAmountCreditControl | add Credit Column control |
| addAmountDebitControl | add Debit Column control |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initControls | initialize controls according to parameter |
| new | Constructor of the LedgerShowDRsCRsController. |
| 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.) |
| parmShowDebitCreditColumn | Gets or sets the ShowDebitCreditColumn parameter. |
| parmShowNegativeInRed | Gets or sets the ShowNegativeInRed parameter. |
| setSignDisplay | Set the signDisplay Property of FormControls. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| setVisibilityOfControl | Set the visiblity of the controls. |
| showNegativeAmountsInRed | To display the debit/credit column which has negative amount in red color. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| 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.) |
| ::construct | Static constructor to create an instance of the LedgerShowDRsCRsController_CN. |
| ::getAmountCurCreditBySign | Get the amount credit by the sign of the amount. |
| ::getAmountCurDebitBySign | Get the amount debit by the sign of the amount. |
| ::getNegativeColor | Static method to get the color to show the negative amount when the 'Negative Amounts In Red' is set. |
| ::isNegativeAmountsInRedFeatureEnabled | Check the parameter 'Show negative amount in red' is enabled and the country region code is CN. |
| ::isShowCustDRsCRsFeatureEnabled_JP | Check the customer parameter 'Show amount in debit/credit column' is enabled, and the country region code is JP. |
| ::isShowDRsCRsFeatureEnabled | Check the parameter 'Show amount in debit/credit column' is enabled, and the country region code is CN. |
| ::isShowVendDRsCRsFeatureEnabled_JP | Check the vendor parameter 'Show amount in debit/credit column' is enabled, and the country region code is JP. |
Community Additions
ADD
Show: