EInvoiceMailSender_MX Class [AX 2012]
The EInvoiceMailSender_MX class is responsible for sending the electronic invoice to a customer in XML and PDF formats.
| Method | Description | |
|---|---|---|
| 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.) |
| getCustTableFromEinvoiceJour | Identifies the origin of the Eletronic invoice. If it was created from a CustInvoiceJouror a ProjInvoiceJour and returns the corresponding customer related to the invoice. |
| getEInvoiceMail | Returns an instance of an EInvoiceMail_MX class. |
| getPartyEmail | Retrieves the email from a given customer. |
| getTempFileName | Formats a windows path for the temporary xml file. |
| getTimeKey | Formats a time key based on the current machine time. |
| 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 | Creates a new instance of the EInvoiceMailSender_MX 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.) |
| sendEinvoiceMail | Sends the e-mail with the attachment. |
| sendMail | Sends an XML file and/or a PDF file by email, according to the electronic invoice parameters |
| sendReportFile | Calls the EInvoice report to generate a PDF file to send. |
| sendReportFromCustInvoiceJour | Calls the EInvoice report from a CustInvoiceJour record to generate a PDF file to send. |
| sendReportFromProjInvoiceJour | Calls the EInvoice report from a ProjInvoiceJour record to generate a PDF file to send. |
| sendXMLFile | Creates the email message and attaches the XML file that should be sent by the job. |
| 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.) |
| writeOnServer | |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Initializes a new instance of the EInvoiceMailSender_MX class. |
Community Additions
ADD
Show: