public class CRMUICreditNoteBean extends CRMUIFinancialTransactionBean
| Constructor and Description |
|---|
CRMUICreditNoteBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
addInvoiceButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote,
java.util.ArrayList<java.lang.String> invoiceIDs,
java.util.ArrayList<java.lang.String> associations)
Add invoices to credit note.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
addItemButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote,
java.util.ArrayList<java.lang.String> productIDs)
Adds items to a credit note.
|
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
changeVatRate(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote,
com.crm.dataobject.financialtransactions.CRMDOCreditNoteLine creditNoteLine)
Updates VAT Percentage of a credit note line.
|
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
createButton()
Creates a new credit note.
|
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
createButton(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Creates a new credit note for the given account.
|
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
createButton(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
Creates a new credit note for the given contact.
|
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
editButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
Loads a credit note to edit.
|
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
loadAppliedTaxRates(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
Loads the applied tax rates tab for a credit note.
|
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
loadForm(java.lang.String id)
Loads a credit note based on an ID.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadInvoicesTab(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
Loads the invoices of a credit note.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadItemsTab(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
Loads the items of a credit note.
|
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
postCreditNote(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote) |
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
postCreditNoteButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
Posts credit notes.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
removeInvoiceButton(java.util.ArrayList<com.crm.dataobject.CRMDO> invoiceList)
Removes invoices from a credit note.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
removeItemButton(java.util.ArrayList<com.crm.dataobject.CRMDO> itemList)
Removes items from a credit note.
|
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
reset(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
Resets the invoice
|
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
saveAsDraftButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
Saves the credit note as draft to database.
|
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
saveAsPostedButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
Saves the credit note as posted to database.
|
com.crm.dataobject.financialtransactions.CRMDOCreditNote |
saveButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
Saves the credit note to database.
|
calculateAmounts, calculateAmountsFromTotals, calculateLineAmounts, getDiscountOptions, getLifeCycleStateOptions, getLifeCycleStateOptions, getRejectionReasonOptions, getUnsettledInvoiceOptions, isValidCreditLimit, loadAccountInfo, loadFinTransactionRejectionForm, loadPrimaryAccount, resetDiscount, submitFinTransactionRejectionButtonaddAttachmentButton, addTrace, assignEntity, echoDto, echoDto, echoDto, echoDtos, getAccountsReceivableEntityOptions, getActiveInactiveOptions, getActiveInactiveOptions, getAllowedDeniedOptions, getAllowedDeniedOptions, getApplicationOptions, getArchiveDataEntityOptions, getArchiveDataEntityOptions, getArchiveEntityOptions, getArchiveEntityOptions, getAssignableEntityOptions, getCurrentDateString, getCurrentDay, getCurrentMonth, getCurrentYear, getDayOfWeekOptions, getDayOfWeekOptions, getDtoFromCollection, getEntityCategoryOptions, getEntityFieldOptions, getEntityOptions, getEntityStateOptions, getEntityStatusOptions, getEntityTypeOptions, getExplicitViewingAccessEntityOptions, getHourOptions, getHourOptions, getImplicitViewingAccessEntityOptions, getModuleOptions, getModulePrintoutOptions, getModuleProcessOptions, getMonthEndDate, getMonthStartDate, getOperatorOptions, getOperatorOptions, getStateOptions, getStringFormattingOptions, getStringFormattingOptions, getTimeOfDayOptions, getTimeOfDayOptions, getTrueFalseOptions, getTrueFalseOptions, getUnitOfTimeOptions, getUnitOfTimeOptions, getWeekEndDate, getWeekStartDate, getYesNoOptions, getYesNoOptions, invoke, load, loadAchivedData, loadAttachmentsTab, loadDaysOfMonthOptions, loadMonthNumberOptions, loadMonthNumberOptions, loadMonthOptions, loadMonthOptions, readFileContent, removeAttachmentButton, setDtoAsNotEditable, setDtoAsNotModified, setMandatoryField, setMandatoryFields, setOwnerGrouppublic com.crm.dataobject.financialtransactions.CRMDOCreditNote loadForm(java.lang.String id)
throws java.lang.Exception
id - the credit note IDjava.lang.Exceptionpublic com.crm.dataobject.financialtransactions.CRMDOCreditNote createButton()
throws java.lang.Exception
java.lang.Exceptionpublic com.crm.dataobject.financialtransactions.CRMDOCreditNote createButton(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
throws java.lang.Exception
contactInformation - - the contact for which credit note createdjava.lang.Exceptionpublic com.crm.dataobject.financialtransactions.CRMDOCreditNote createButton(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
throws java.lang.Exception
accountReceivable - - the account for which credit note createdjava.lang.Exceptionpublic com.crm.dataobject.financialtransactions.CRMDOCreditNote saveButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
throws java.lang.Exception
creditNote - the credit note to be saved (required).java.lang.Exceptionpublic com.crm.dataobject.financialtransactions.CRMDOCreditNote saveAsPostedButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
throws java.lang.Exception
creditNote - the credit note to be saved (required).java.lang.Exceptionpublic com.crm.dataobject.financialtransactions.CRMDOCreditNote saveAsDraftButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
throws java.lang.Exception
creditNote - the credit note to be saved (required).java.lang.Exceptionpublic com.crm.dataobject.financialtransactions.CRMDOCreditNote editButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
throws java.lang.Exception
creditNote - the credit note data object (required)java.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadItemsTab(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
throws java.lang.Exception
creditNote - a credit notejava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> addItemButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote,
java.util.ArrayList<java.lang.String> productIDs)
throws java.lang.Exception
creditNote - a credit noteproductIDs - a list of products to addjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> removeItemButton(java.util.ArrayList<com.crm.dataobject.CRMDO> itemList)
throws java.lang.Exception
itemList - a list of items to removejava.lang.Exceptionpublic com.crm.dataobject.financialtransactions.CRMDOCreditNote postCreditNoteButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
throws java.lang.Exception
creditNote - a credit note to postjava.lang.Exceptionpublic com.crm.dataobject.financialtransactions.CRMDOCreditNote postCreditNote(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> loadInvoicesTab(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
throws java.lang.Exception
creditNote - a credit notejava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> addInvoiceButton(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote,
java.util.ArrayList<java.lang.String> invoiceIDs,
java.util.ArrayList<java.lang.String> associations)
throws java.lang.Exception
creditNote - a credit noteinvoiceIDs - a list of invoices to add to the credit noteassociations - a list of associationsjava.lang.Exceptionpublic java.util.ArrayList<com.crm.dataobject.CRMDO> removeInvoiceButton(java.util.ArrayList<com.crm.dataobject.CRMDO> invoiceList)
throws java.lang.Exception
invoiceList - a list of invoices to removejava.lang.Exceptionpublic com.crm.dataobject.financialtransactions.CRMDOCreditNote changeVatRate(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote,
com.crm.dataobject.financialtransactions.CRMDOCreditNoteLine creditNoteLine)
throws java.lang.Exception
creditNote - a credit notecreditNoteLine - a credit note linejava.lang.Exceptionpublic com.crm.dataobject.financialtransactions.CRMDOCreditNote loadAppliedTaxRates(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
throws java.lang.Exception
creditNote - - a credit note (required)java.lang.Exceptionpublic com.crm.dataobject.financialtransactions.CRMDOCreditNote reset(com.crm.dataobject.financialtransactions.CRMDOCreditNote creditNote)
throws java.lang.Exception
creditNote - - the credit note to resetjava.lang.Exception