LedgerJournalTransVoucherTemplates Class [AX 2012]
The LedgerJournalTransVoucherTemplates class is used to control the saving of vouchers from journals of type General Journal or Vendor Invoice as voucher templates and to control the copying of voucher templates to create vouchers on journals of type General Journal or Vendor Invoice.
| Method | Description | |
|---|---|---|
| calcDebitCreditAmounts | Calculates the debit or credit amount for the LedgerJournalTrans table record that is being created from a voucher template line. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createJournalLineFromTemplate | Creates a new LedgerJournalTrans table record from a voucher template line. |
| createVoucherFromSelectedTemplate | Performs processing to create a new voucher in the LedgerJournalTrans table, depending on a specified LedgerJournalTransVoucherTemplate table record. |
| createVoucherTemplate | Creates a voucher template record in the LedgerJournalTransVoucherTemplate table, depending on the current LedgerJournalTrans table record. |
| 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.) |
| new | Initializes a new instance of the LedgerJournalTransVoucherTemplates 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.) |
| parmJournalNum | Gets and sets the journalNum variable for the class. |
| parmJournalType | Gets and sets the journalType variable for the class. |
| parmLedgerJournalTrans | Gets and sets the ledgerJournalTrans variable for the class. |
| parmNewVoucher | Gets and sets the newVoucher variable for the class. |
| parmNumberSequenceId | Gets or sets the numberSequenceId variable for the class. |
| parmTemplateAmount | Gets and sets the templateAmount variable for the class. |
| parmTemplateJournalNum | Gets and sets the templateJournalNum variable for the class. |
| parmTemplateVoucher | Gets and sets the templateVoucher variable for the class. |
| parmVoucherTemplateType | Gets and sets the voucherTemplateType variable for the class. |
| saveVoucherTemplate | Opens the save voucher dialog box and performs processing as necessary to create a voucher template record in the LedgerJournalTransVoucherTemplate table, depending on the current LedgerJournalTrans table record. |
| selectVoucherTemplate | Opens the voucher templates form and initiates processing to create a new voucher in the LedgerJournalTrans table, depending on the LedgerJournalTransVoucherTemplate table record that is selected from the voucher templates form. |
| 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.) |
| ::main | Controls the saving of a voucher template or the selection of a voucher template from a calling form. |
Community Additions
ADD
Show: