MCRLedgerJournal Class [AX 2012]
The MCRLedgerJournal class constructs classes to help create and post ledgerjournal records for general journals, customer payment , vendor payments.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createLedgerJournalTable | Returns a created LedgerJournalTable record. |
| createLedgerJournalTrans | Creates a new LedgerJournalTrans record. |
| deleteJournal | Deletes the ledger journal. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getLedgerJournalTable | Finds the ledger journal based on the passed buffer. |
| getNumOfLines | Returns a count of the number of ledgerJournalTransrecords tied to the ledgerJournalTable record. |
| getNumVouchersBooked | Returns the number of posted vouchers. |
| getNumVouchersInError | Returns the number of vouchers that have errors. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initAXLedgerJournalTrans | Initializes the LedgerJournalTrans table record. |
| initParmValues | Initializes the parm variables to default values in some cases so these variables are never null, blank or zero. |
| new | Creates a new instance of this 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.) |
| parmAccountNum | Sets the account number value if creating a journal for a customer or a vendor. |
| parmApproved | Sets and returns a Boolean value to indicate if the journal has been approved or not. |
| parmApprover | Sets the approver and retuns the same. |
| parmBankReconRecord | Sets and returns a Boolean value to indicate if the journal is a bank reconciliation record. |
| parmBankTransType | Sets the bank transaction type. |
| parmCCBankReconId | Sets the MCRBankReconId on the LedgerJournalTrans table record. |
| parmCurrencyCode | Sets currency code on the ledgerjournalTrans table record. |
| parmDefaultDimension | Sets the default dimension of the LedgerJournalTrans table record. |
| parmDocumentDate | Gets or sets the DocumentDate parameter. |
| parmDueDate | Gets or sets the DueDate parameter. |
| parmExchRate | Gets or sets the ExchRate parameter. |
| parmInvoice | Sets the InvoiceId on the LedgerJournalTrans table record. |
| parmLedgerAccount | Gets or sets the LedgerAccount parameter. |
| parmLedgerAccountType | Gets or sets the LedgerAccountType parameter. |
| parmLedgerJournalTable | Sets the LedgerJournalTable record to the passed in value. |
| parmledgerOffsetAccount | Gets or sets the ledgerOffsetAccount parameter. |
| parmLedgerOffsetAccountType | Gets or sets the LedgerOffsetAccountType parameter. |
| parmLineNum | Gets or sets the LineNum parameter. |
| parmMCRCCGeneralLedgerId | Gets or sets the MCRCCGeneralLedgerId parameter. |
| parmMCRPaymOrderID | Sets the MCRPaymOrderID on the LedgerJournalTrans table record. |
| parmMCRRefPaymID | Gets or sets the MCRRefPaymID parameter. |
| parmName | Gets or sets the Name parameter. |
| parmOffsetDefaultDimension | Gets or sets the OffsetDefaultDimension parameter. |
| parmPaymentStatus | Gets or sets the PaymentStatus parameter. |
| parmPaymMode | Gets or sets the PaymMode parameter. |
| parmPaymReference | Gets or sets the PaymReference parameter. |
| parmPaymTermId | Gets or sets the PaymTermId parameter. |
| parmPosted | Gets whether the journal has been posted. |
| parmPostingProfile | Gets or sets the PostingProfile parameter. |
| parmPrePayment | Gets or sets the PrePayment parameter. |
| parmTransactionType | Gets or sets the TransactionType parameter. |
| parmTransDate | Gets or sets the TransDate parameter. |
| parmTransTxt | Gets or sets the TransTxt parameter. |
| parmVoucherNum | Gets or sets the VoucherNum parameter. |
| post | Posts the ledger journal. |
| 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.) |
| validateInputLedgerJourTable | Validates the journal name on the journal table record. |
| validateInputLedgerJourTrans | Validates the journal credit and debit amounts on the journal trasaction record. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Contructs the appropriate MCRLedgerJournal object based on the passed in LedgerJournalType value. |
Community Additions
ADD
Show: