public class CRMUIFinancialTransactionBean extends CRMUI
Constructor and Description |
---|
CRMUIFinancialTransactionBean()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction |
calculateAmounts(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTransaction)
Calculates amounts for a financial transaction.
|
com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction |
calculateAmountsFromTotals(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTrasaction)
Calculates amounts from totals for a financial transaction amounts.
|
com.crm.dataobject.financialtransactions.CRMDOFinTransactionLine |
calculateLineAmounts(com.crm.dataobject.financialtransactions.CRMDOFinTransactionLine line)
Calculates the line's amounts for a financial transaction line.
|
com.crm.framework.main.LookupBuilder |
getDiscountOptions(java.lang.String emptyValue)
Loads a lookup builder of discount types.
|
com.crm.framework.main.LookupBuilder |
getDiscountOptions(java.lang.String emptyValue,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Loads a lookup builder of discount types.
|
com.crm.framework.main.LookupBuilder |
getLifeCycleStateOptions()
Loads a lookup builder of financial transaction life cycle states.
|
com.crm.framework.main.LookupBuilder |
getLifeCycleStateOptions(java.lang.String emptyValue)
Loads a lookup builder of financial transaction life cycle states.
|
com.crm.framework.main.LookupBuilder |
getRejectionReasonOptions(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTransaction)
Loads a lookup builder of rejection reasons.
|
com.crm.framework.main.LookupBuilder |
getUnsettledInvoiceOptions(com.crm.dataobject.accounts.CRMDOAccountReceivable account)
Loads a lookup builder of unsettled invoices.
|
java.lang.Boolean |
isValidCreditLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Validates the credit limit of the account receivable.
|
com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction |
loadAccountInfo(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTransaction)
Loads account information for on a financial transaction.
|
FinTransactionRejectionForm |
loadFinTransactionRejectionForm(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTransaction)
Loads a financial transaction form to add a rejection reason to a financial transaction.
|
com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction |
loadPrimaryAccount(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTransaction)
Loads account information for a financial transaction.
|
com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction |
resetDiscount(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTransaction,
com.crm.dataobject.financialtransactions.CRMDOFinTransactionLine finTransactionLine)
Reset the discount amount or discount percentage based on the discount option of the financial transaction line
|
void |
submitFinTransactionRejectionButton(FinTransactionRejectionForm finTransactionRejectForm)
Submits financial transaction rejection reason.
|
addAttachmentButton, addExistingAttachmentButton, addExistingAttachmentsButton, 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, getOrganisationGroupBackgroundTypeOptions, getOrganisationGroupBackgroundTypeOptions, getStateOptions, getStringFormattingOptions, getStringFormattingOptions, getTimeOfDayOptions, getTimeOfDayOptions, getTrueFalseOptions, getTrueFalseOptions, getUnitOfTimeOptions, getUnitOfTimeOptions, getUnitOfTimeOptions, getWeekEndDate, getWeekStartDate, getYesNoOptions, getYesNoOptions, invoke, load, loadAchivedData, loadAttachmentsTab, loadDaysOfMonthOptions, loadDaysOfMonthOptions, loadEntityAttributeTranslations, loadMonthNumberOptions, loadMonthNumberOptions, loadMonthOptions, loadMonthOptions, readFileContent, removeAttachmentButton, setDefaultLanguage, setDtoAsNotEditable, setDtoAsNotModified, setLanguageTranslations, setMandatoryField, setMandatoryFields, setOwnerGroup
deepCopy, dispatch, getCRMSession, getCRMSessionHandle, getCurrentDate, getEJBHomeInterface, getInitialContext, getSessionContext, loadEntityCategories, loadEntityNumber, loadEntityStates, loadEntityStatuses, loadEntityTypes, rollback, setCRMSessionHandle, setInitialContext, setSessionContext
public CRMUIFinancialTransactionBean()
public com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction loadAccountInfo(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTransaction) throws java.lang.Exception
financialTransaction
- the financial transactionjava.lang.Exception
public com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction loadPrimaryAccount(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTransaction) throws java.lang.Exception
financialTransaction
- the financial transactionjava.lang.Exception
public com.crm.framework.main.LookupBuilder getRejectionReasonOptions(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTransaction) throws java.lang.Exception
financialTransaction
- the financial transactionjava.lang.Exception
public FinTransactionRejectionForm loadFinTransactionRejectionForm(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTransaction) throws java.lang.Exception
financialTransaction
- the financial transaction to add rejection reasonjava.lang.Exception
public void submitFinTransactionRejectionButton(FinTransactionRejectionForm finTransactionRejectForm) throws java.lang.Exception
finTransactionRejectForm
- the loaded financial transactionjava.lang.Exception
public com.crm.dataobject.financialtransactions.CRMDOFinTransactionLine calculateLineAmounts(com.crm.dataobject.financialtransactions.CRMDOFinTransactionLine line) throws java.lang.Exception
line
- a financial transaction linejava.lang.Exception
public com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction calculateAmounts(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTransaction) throws java.lang.Exception
financialTransaction
- a financial transaction to calculatejava.lang.Exception
public com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction calculateAmountsFromTotals(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTrasaction) throws java.lang.Exception
financialTrasaction
- a financial transaction to calculatejava.lang.Exception
public com.crm.framework.main.LookupBuilder getDiscountOptions(java.lang.String emptyValue) throws java.lang.Exception
emptyValue
- a valuejava.lang.Exception
public com.crm.framework.main.LookupBuilder getDiscountOptions(java.lang.String emptyValue, com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
emptyValue
- a valuejava.lang.Exception
public com.crm.framework.main.LookupBuilder getUnsettledInvoiceOptions(com.crm.dataobject.accounts.CRMDOAccountReceivable account) throws java.lang.Exception
account
- an Accounts Receivablejava.lang.Exception
public com.crm.framework.main.LookupBuilder getLifeCycleStateOptions() throws java.lang.Exception
java.lang.Exception
public com.crm.framework.main.LookupBuilder getLifeCycleStateOptions(java.lang.String emptyValue) throws java.lang.Exception
java.lang.Exception
public com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction resetDiscount(com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction financialTransaction, com.crm.dataobject.financialtransactions.CRMDOFinTransactionLine finTransactionLine) throws java.lang.Exception
financialTransaction
- the financial transaction of the invoice linefinTransactionLine
- the financial transaction line to reset the discount amount or percentagejava.lang.Exception
public java.lang.Boolean isValidCreditLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to validatejava.lang.Exception