LedgerVoucherGroup Class [AX 2012]
The LedgerVoucherGroup class is used to manage a collection of ledger vouchers.
Syntax
class LedgerVoucherGroup
Run On
Server
Methods
Method | Description | |
---|---|---|
addLedgerVoucher | Adds the specified LedgerVoucher object to the ledger voucher group. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
createTransactionLog | Creates TransactionLog records for all companies. | |
end | Validates and posts all LedgerVoucher objects in the collection. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
findLedgerVoucher | Finds the specified LedgerVoucher object in the collection. | |
getInternalCollection | Gets the internal collection of ledgerVoucher entries. | |
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 LedgerVoucherGroup class. | |
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.) | |
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.) | |
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 |
Top
Remarks
This class should be used when you post for multiple companies or multiple number sequence codes.
Each LedgerVoucher object must be a different company or number sequence code.
Inheritance Hierarchy
Object Class
LedgerVoucherGroup Class