c2g.CODASalesCreditNoteAttachEmailControllerglobal with sharing class CODASalesCreditNoteAttachEmailController The controller class associated with codaSalesCreditNoteStandardAttachEmail global component, which is used for generating sales credit note pdf that can be sent by email or visualized as a document. This controller can be used by a custom component. Date2016 Methods
setCreditNoteAttrglobal void setCreditNoteAttr(c2g__codaCreditNote__c creditNote) Set credit note and reset credit note lines Input Parameters
getCreditNoteglobal c2g__codaCreditNote__c getCreditNote() Get credit note Return ValueThe credit note loaded getFormattedCreditNoteNetTotalglobal string getFormattedCreditNoteNetTotal() getFormattedCreditNoteTaxTotalglobal string getFormattedCreditNoteTaxTotal() getFormattedCreditNoteWithholdingTotalglobal string getFormattedCreditNoteWithholdingTotal() getFormattedCreditNoteTotalglobal string getFormattedCreditNoteTotal() getOwnerCompanyglobal c2g__codaCompany__c getOwnerCompany() Get credit note owner company Return ValueThe company that owns the credit note for which we want to generate the pdf getCompanyRecordTypeglobal RecordType getCompanyRecordType() Get credit note owner company record type Return ValueThe record type of thecompany that owns the credit note for which we want to generate the pdf (VAT,SUT,GST) getCreditNoteCurrencyglobal c2g__codaAccountingCurrency__c getCreditNoteCurrency() Get credit note currency Return ValueThe currency of the credit note for which we want to generate the pdf getCreditNoteAccountglobal Account getCreditNoteAccount() Get credit note account Return ValueThe account of the credit note for which we want to generate the pdf getCreditNoteLineItemsglobal c2g__codaCreditNoteLineItem__c[] getCreditNoteLineItems() Get credit note lines Return ValueThe lines of the credit note for which we want to generate the pdf getFontglobal String getFont() |