c2g.CODASalesInvoiceAttachEmailControllerglobal with sharing class CODASalesInvoiceAttachEmailController the controller class associated with codasalescreditnotestandardattachemail global component, which is used for generating sales invoice pdf that can be sent by email or visualized as a document. This controller can be used by a custom component. Date2016 Methods
setInvoiceAttrglobal void setInvoiceAttr(c2g__codaInvoice__c invoice) Set invoice and reset invoice lines Input Parameters
getInvoiceAttrglobal c2g__codaInvoice__c getInvoiceAttr() Get invoice Return ValueThe invoice for which we want to generate the pdf getFormattedInvoiceNetTotalglobal string getFormattedInvoiceNetTotal() getFormattedInvoiceTaxTotalglobal string getFormattedInvoiceTaxTotal() getFormattedInvoiceWithholdingTotalglobal string getFormattedInvoiceWithholdingTotal() getFormattedInvoiceTotalglobal string getFormattedInvoiceTotal() getOwnerCompanyglobal c2g__codaCompany__c getOwnerCompany() Get invoice owner company Return ValueThe company that owns the invoice for which we want to generate the pdf getQRAttachmentglobal Id getQRAttachment() Get QR Code Attachment on Sales Invoice Return ValueThe Id of the QR Code Attachment getCompanyRecordTypeglobal RecordType getCompanyRecordType() Get invoice owner company record type Return ValueThe record type of thecompany that owns the invoice for which we want to generate the pdf (VAT,SUT,GST) getInvoiceCurrencyglobal c2g__codaAccountingCurrency__c getInvoiceCurrency() Get invoice currency Return ValueThe currency of the invoice for which we want to generate the pdf getInvoiceAccountglobal Account getInvoiceAccount() Get invoice account Return ValueThe account of the invoice for which we want to generate the pdf getInvoiceGroupingReferenceglobal c2g__codaGroupingReference__c getInvoiceGroupingReference() Get invoice grouping reference Return ValueThe grouping reference of the invoice for which we want to generate the pdf getInvoiceLineItemsglobal c2g__codaInvoiceLineItem__c[] getInvoiceLineItems() Get invoice lines Return ValueThe lines of the invoice for which we want to generate the pdf getInvoiceInstallLineItemsglobal c2g__codaInvoiceInstallmentLineItem__c[] getInvoiceInstallLineItems() Get invoice installment lines Return ValueThe installment lines of the invoice for which we want to generate the pdf getFontglobal String getFont() |