public abstract class CRMProcessNonSystemAccountReceivableBean extends CRMProcess
Constructor and Description |
---|
CRMProcessNonSystemAccountReceivableBean()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
activate(com.crm.dataobject.accounts.CRMDOAccountReceivable account)
Activates an account.
|
com.crm.dataobject.accounts.CRMDOAccountReceivableMember |
addMemberInAGroup(com.crm.dataobject.accounts.CRMDOAccountReceivable parentAccountReceivable,
com.crm.dataobject.accounts.CRMDOAccountReceivable memberAccountReceivable,
com.crm.dataobject.accounts.AccountReceivableMemberFundingScope fundingScope,
java.util.ArrayList<com.crm.dataobject.products.CRMDOProduct> products,
java.util.ArrayList<com.crm.dataobject.products.CRMDOProductType> productTypes,
java.util.ArrayList<com.crm.dataobject.products.CRMDOProductFamily> productFamilies)
Add Member Accounts Receivable in an account group
At least on of the following must be specified: products, productTypes, productFamilies
|
void |
anonymizeContactAccounts(com.crm.dataobject.contactinfo.CRMDOContactInformation contact)
Anonymizes the given contact information account
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
applyCommonOperations(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Executes the common operations of the Account Receivable.
|
java.util.Date |
applyCreditPeriodRules(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
java.util.Date postedDate)
Calculates a date based on credit period rules.
|
abstract com.crm.dataobject.CRMDO |
applyOnEntity(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.CRMDO crmdo)
Associates an Accounts Receivable to a account based entity.
|
java.math.BigDecimal |
calculateAllowedExceededUsageAllowance(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.Date validityDate,
com.crm.dataobject.billing.CRMDOUsageAuthorisation usageAuthorisation)
Calculate allowed exceeded Usage Allowance.
|
java.math.BigDecimal |
calculateBalance(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Calculate the balance for an account.
|
java.math.BigDecimal |
calculateBalance(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.Date asOfDate)
Calculate the balance for an account.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
calculateConsumedUsageAllowance(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.Date validityDate,
com.crm.dataobject.billing.CRMDOUsageAuthorisation usageAuthorisation)
Calculate Consumed Usage Allowance.
|
java.math.BigDecimal |
calculateCreditLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Return the credit limit on an account.
|
java.math.BigDecimal |
calculateCreditLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition)
Return the credit limit on an account.
|
com.crm.dataobject.accounts.CreditLimitStatus |
calculateCreditLimitStatus(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Calculate the credit limit status for an account.
|
java.math.BigDecimal |
calculateOutstandingAmount(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Calculate the outstanding amount for an account.
|
java.math.BigDecimal |
calculateOutstandingAmount(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.Date asOfDate)
Calculate the outstanding amount for an account.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
calculateRemainingUsageAllowance(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.Date validityDate,
com.crm.dataobject.billing.CRMDOUsageAuthorisation usageAuthorisation)
Calculate Consumed Usage Allowance.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
calculateRemainingUsageAllowanceWithoutLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.Date validityDate,
com.crm.dataobject.billing.CRMDOUsageAuthorisation usageAuthorisation)
Calculate remaining usage allowance limit without limit.
|
abstract java.lang.Boolean |
canBeActivated(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Determine if a customer accounts receivable can be activated.
|
java.lang.Boolean |
canBeAddedInAGroupAsMember(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Determine if accounts receivable can be added in a group as a member
|
java.lang.Boolean |
canBeAddedInAGroupAsParent(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Determine if accounts receivable can be added in a group as a parent
|
abstract java.lang.Boolean |
canBeSuspended(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Determine if a customer accounts receivable can be suspended.
|
abstract java.lang.Boolean |
canBeTerminated(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Determine if a customer accounts receivable can be terminated.
|
abstract java.lang.Boolean |
canBeUpdated(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Determine if a customer accounts receivable can be updated.
|
abstract java.lang.Boolean |
canBeWrittenOff(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Determine if a customer accounts receivable can be written off.
|
abstract void |
changeParentAccountOfAGroup(com.crm.dataobject.accounts.CRMDOAccountReceivable newParentAccountReceivable,
com.crm.dataobject.accounts.CRMDOAccountReceivable oldParentAccountReceivable)
Change Parent Accounts Receivable of an account group
Loads all members of the old parent account and updates their parent
|
abstract void |
changeParentAccountOfAGroup(com.crm.dataobject.accounts.CRMDOAccountReceivable newParentAccountReceivable,
com.crm.dataobject.accounts.CRMDOAccountReceivable oldParentAccountReceivable,
java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMember> members)
Change Parent Accounts Receivable of an account group
|
void |
closePeriod(java.lang.String accountReceivableID,
java.lang.String accountReceivableNumber,
java.math.BigDecimal openingBalance,
com.crm.dataobject.accounts.CRMDOAccountingPeriod openAccountingPeriod,
com.crm.dataobject.accounts.CRMDOAccountingPeriod newAccountingPeriod,
java.util.Date closedDate)
Closes the Accounting Period for the Accounts Receivable
|
abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimit |
createUsageAllowanceLimit(com.crm.dataobject.billing.CRMDOUsageAllowanceLimit usageAllowanceLimit)
Create Usage Allowance Limit
|
abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimit |
getUsageAllowanceLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Returns usage allowance limit for an account receivable.
|
abstract com.crm.dataobject.accounts.AutomaticRecurringPaymentAutoTopUpRule |
getValidWalletTopUpRule(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Returns a valid auto top up rule
|
com.crm.dataobject.contactinfo.CRMDOContactInfoAddress |
identifyBillingLocation(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Sets a primary account.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
initialize(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Initializes the Accounts Receivable with default values when needed.
|
abstract java.lang.Boolean |
isAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Determines if a Accounts Receivable is retrievable.
|
abstract java.lang.Boolean |
isAccountMemberAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.CRMDOAccountReceivableMember accountReceivableMember)
Determine if an accounts receivable member is accessible.
|
abstract java.lang.Boolean |
isActivePaymentPreferenceAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.CRMDOAccountPaymentPreference accountPaymentPreference)
Determine if an active payment preference is accessible.
|
abstract java.lang.Boolean |
isActivePresentmentPreferenceAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference accountPresentmentPreference)
Determine if an active payment preference is accessible.
|
abstract java.lang.Boolean |
isBillingAddressAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Determine if a billing address is accessible.
|
abstract java.lang.Boolean |
isCreditLimitExceeded(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Determine if a accounts receivable credit limit is exceeded.
|
abstract java.lang.Boolean |
isFundedServiceAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.CRMDOAccountReceivableMemberProduct accountReceivableMemberProduct)
Determine if an accounts receivable funded services is accessible.
|
abstract java.lang.Boolean |
isInactivePaymentPreferenceAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.CRMDOAccountPaymentPreference accountPaymentPreference)
Determine if an inactive payment preference is accessible.
|
abstract java.lang.Boolean |
isInactivePresentmentPreferenceAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference accountPresentmentPreference)
Determine if an inactive presentment preference is accessible.
|
abstract java.lang.Boolean |
isUsageAllowanceLimitAccessible(com.crm.dataobject.billing.CRMDOUsageAllowanceLimit usageAllowanceLimit)
Determine if a usage allowance limit is accessible.
|
abstract java.lang.Boolean |
isUsageAllowanceLimitsPerServiceAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.billing.CRMDOUsageAllowanceLimitProduct usageAllowanceLimitProduct)
Determine if a usage allowance limit per service is accessible.
|
java.lang.Boolean |
isUsedByGroupOrUnit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Determines if an Accounts Receivable is used by partner group or unit.
|
abstract java.util.ArrayList<com.crm.dataobject.accesstokens.CRMDOAccessToken> |
listAccessTokens(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
List Access Tokens.
|
abstract java.util.ArrayList<com.crm.dataobject.accesstokens.CRMDOAccessToken> |
listAccessTokens(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.ArrayList<java.lang.String> associations)
List Access Tokens.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMemberProduct> |
listAccountGroupMemberFundedServices(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
List Accounts Receivable Funded Services.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMemberProduct> |
listAccountGroupMemberFundedServices(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.ArrayList<java.lang.String> associations)
List Accounts Receivable Funded Services.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMemberProduct> |
listAccountGroupMemberFundedServices(com.crm.dataobject.accounts.CRMDOAccountReceivableMember accountReceivableMember)
List Accounts Receivable Funded Services.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMemberProduct> |
listAccountGroupMemberFundedServices(com.crm.dataobject.accounts.CRMDOAccountReceivableMember accountReceivableMember,
java.util.ArrayList<java.lang.String> associations)
List Accounts Receivable Funded Services.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMember> |
listAccountGroupMembers(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
List Account Group Members.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMember> |
listAccountGroupMembers(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.AccountReceivableMemberFundingScope fundingScope,
java.lang.Integer numberOfResults,
java.lang.Integer offSet)
List Account Group Members.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMember> |
listAccountGroupMembers(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.ArrayList<java.lang.String> associations)
List Account Group Members.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> |
listActivePaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Lists Account Payment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> |
listActivePaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.ArrayList<java.lang.String> associations)
Lists Account Payment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference> |
listActivePresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Lists Account Presentment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference> |
listActivePresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.ArrayList<java.lang.String> associations)
Lists Account Presentment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableAllowedWalletTopUpProduct> |
listAllowedWalletTopUpProducts(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
List Allowed Wallet Top Up Products by account receivable.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableAllowedWalletTopUpProduct> |
listAllowedWalletTopUpProducts(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.ArrayList<java.lang.String> associations)
List Allowed Wallet Top Up Products by account receivable.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> |
listInactivePaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Lists Account Payment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> |
listInactivePaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.ArrayList<java.lang.String> associations)
Lists Account Payment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference> |
listInactivePresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Lists Account Presentment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference> |
listInactivePresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.ArrayList<java.lang.String> associations)
Lists Account Presentment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.paymentgateway.CRMDOPaymentGatewayCard> |
listPaymentGatewayCards(com.crm.dataobject.accounts.CRMDOAccountPaymentPreference accountPaymentPreference)
List Payment Gateway Cards by Account Payment Preference.
|
abstract java.util.ArrayList<com.crm.dataobject.paymentgateway.CRMDOPaymentGatewayCard> |
listPaymentGatewayCards(com.crm.dataobject.accounts.CRMDOAccountPaymentPreference accountPaymentPreference,
java.util.ArrayList<java.lang.String> associations)
List Payment Gateway Cards by Account Payment Preference.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> |
listPaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Lists Account Payment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> |
listPaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.ArrayList<java.lang.String> associations)
Lists Account Payment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> |
listPaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.paymentgateway.CRMDOPaymentGatewaySetting paymentGatewaySetting,
com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition,
java.util.ArrayList<java.lang.String> associations)
Lists Account Payment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference> |
listPresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Lists Account Presentment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference> |
listPresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.ArrayList<java.lang.String> associations)
Lists Account Presentment Preference objects based on the given account.
|
abstract java.util.ArrayList<com.crm.dataobject.billing.CRMDOUsageAllowanceLimitProduct> |
listUsageAllowanceLimitsPerService(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
List Accounts Receivable Usage Allowance Limits per Service
|
abstract java.util.ArrayList<com.crm.dataobject.billing.CRMDOUsageAllowanceLimitProduct> |
listUsageAllowanceLimitsPerService(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.ArrayList<java.lang.String> associations)
List Accounts Receivable Usage Allowance Limits per Service
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivableAllowedWalletTopUpProduct |
newAccountAllowedWalletTopUpProduct(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Instantiates and initializes a new account allowed wallet top up product.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference |
newAccountPaymentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Instantiates and initializes a new account payment preference.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference |
newAccountPresentmentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Instantiates and initializes a new account presentment preference.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
newAccountReceivable()
Instantiates and initializes a new Accounts Receivable.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
newAccountReceivable(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
Instantiates and initializes a new Accounts Receivable.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivableMember |
newAccountReceivableMember(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Instantiates and initializes a new account receivable member.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivableMemberProduct |
newAccountReceivableMemberProduct(com.crm.dataobject.accounts.CRMDOAccountReceivableMember accountReceivableMember)
Instantiates and initializes a new account receivable member product.
|
abstract com.crm.dataobject.paymentgateway.CRMDOPaymentGatewayCard |
newPaymentGatewayCard(com.crm.dataobject.accounts.CRMDOAccountPaymentPreference accountPaymentPreference)
Instantiates and initializes a new payment gateway card.
|
abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimitProduct |
newUsageAllowanceLimitProduct(com.crm.dataobject.billing.CRMDOUsageAllowanceLimit usageAllowanceLimit)
Instantiates and initializes a new usage allowance limit product.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
read(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Reads an account receivable.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
read(java.lang.String uniqueIdentifier)
Reads an account receivable by id.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
read(java.lang.String uniqueIdentifier,
java.util.ArrayList<java.lang.String> associations)
Reads an account receivable by id.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivableMember |
readAccountMember(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Reads an account receivable member by the member account receivable.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivableMember |
readAccountMember(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.ArrayList<java.lang.String> associations,
java.util.ArrayList<java.lang.String> productAssociations)
Reads an account receivable member by the member account receivable.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference |
readActivePaymentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.lang.String uniqueIdentifier)
Read an Active Payment Preference by id.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference |
readActivePaymentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.lang.String uniqueIdentifier,
java.util.ArrayList<java.lang.String> associations)
Read an Active Payment Preference by id.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference |
readActivePaymentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.PaymentPreferenceType type)
Read an Active Payment Preference by type.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference |
readActivePaymentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.PaymentPreferenceType type,
java.util.ArrayList<java.lang.String> associations)
Read an Active Payment Preference by type.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference |
readActivePresentmentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.lang.String uniqueIdentifier)
Read an Active Presentment Preference by id.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference |
readActivePresentmentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.lang.String uniqueIdentifier,
java.util.ArrayList<java.lang.String> associations)
Read an Active Presentment Preference by id.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference |
readActivePresentmentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.PresentmentMethod type)
Read an Active Presentment Preference by type.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference |
readActivePresentmentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.PresentmentMethod type,
java.util.ArrayList<java.lang.String> associations)
Read an Active Presentment Preference by type.
|
abstract com.crm.dataobject.contactinfo.CRMDOContactInfoAddress |
readBillingAddress(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.lang.String uniqueIdentifier)
Reads a billing address by id.
|
abstract com.crm.dataobject.contactinfo.CRMDOContactInfoAddress |
readBillingAddress(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.lang.String uniqueIdentifier,
java.util.ArrayList<java.lang.String> associations)
Reads a billing address by id.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
readByName(java.lang.String uniqueIdentifier)
Reads an account receivable by name.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
readByName(java.lang.String uniqueIdentifier,
java.util.ArrayList<java.lang.String> associations)
Reads an account receivable by name.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
readByNumber(java.lang.String uniqueIdentifier)
Reads an account receivable by number.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
readByNumber(java.lang.String uniqueIdentifier,
java.util.ArrayList<java.lang.String> associations)
Reads an account receivable by number.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference |
readInactivePaymentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.lang.String uniqueIdentifier)
Read an Inactive Payment Preference by id.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference |
readInactivePaymentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.lang.String uniqueIdentifier,
java.util.ArrayList<java.lang.String> associations)
Read an Inactive Payment Preference by id.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference |
readInactivePaymentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.PaymentPreferenceType type)
Read an Inactive Payment Preference by type.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference |
readInactivePaymentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.PaymentPreferenceType type,
java.util.ArrayList<java.lang.String> associations)
Read an Inactive Payment Preference by type.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference |
readInactivePresentmentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.lang.String uniqueIdentifier)
Read an Inactive Presentment Preference by id.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference |
readInactivePresentmentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.lang.String uniqueIdentifier,
java.util.ArrayList<java.lang.String> associations)
Read an Inactive Presentment Preference by id.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference |
readInactivePresentmentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.PresentmentMethod type)
Read an Inactive Presentment Preference by type.
|
abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference |
readInactivePresentmentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.PresentmentMethod type,
java.util.ArrayList<java.lang.String> associations)
Read an Inactive Presentment Preference by type.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
readPrimary(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation)
Reads the primary account receivable of a contact.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
readPrimary(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation,
java.util.ArrayList<java.lang.String> associations)
Reads the primary account receivable of a contact.
|
abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimit |
readUsageAllowanceLimits(java.lang.String uniqueIdentifier)
Read Accounts Receivable Usage Allowance Limits
|
abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimit |
readUsageAllowanceLimits(java.lang.String uniqueIdentifier,
java.util.ArrayList<java.lang.String> associations)
Read Accounts Receivable Usage Allowance Limits
|
abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimit |
readUsageAllowanceLimitsByAccount(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Read Accounts Receivable Usage Allowance Limits
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
removeMemberFromAGroup(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Remove Member Accounts Receivable from an account group
|
void |
resetAccountingPeriod(java.lang.String accountReceivableID,
com.crm.dataobject.accounts.CRMDOAccountingPeriod accountingPeriod)
Resets the Accounting Period for the Accounts Receivable given
|
void |
resetAccountingPeriodBalance(java.lang.String accountReceivableID,
java.util.ArrayList<com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction> transactions,
java.util.ArrayList<com.crm.dataobject.CRMDO> allAccountingPeriods,
java.util.Date asOfDate)
Resets the Accounting Period Balance for the Accounts Receivable given
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
resetUsageAllowanceLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Removes the usage allowance limits of the given account receivable.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
resetUsageAllowanceLimitBasedOnCurrency(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Reset the usage allowance limit for an account receivable based on the currency.
|
abstract java.math.BigDecimal |
revertAmountToDefaultCurrency(java.math.BigDecimal amount,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Revert amount to default currency
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
setAsPrimary(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Sets a primary account.
|
com.crm.dataobject.contactinfo.CRMDOContactInformation |
setContactInformationAddresses(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) |
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
setUpRecurringPaymentSettings(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Set up recurring payment settings
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
setUsageAllowanceLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Creates a usage allowance limit for an account receivable.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
suspendAccount(com.crm.dataobject.accounts.CRMDOAccountReceivable account)
Suspends an account.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
terminateAccount(com.crm.dataobject.accounts.CRMDOAccountReceivable account)
Terminates an account.
|
com.crm.dataobject.financialtransactions.CRMDOInvoice |
transferMoneyToWallet(com.crm.dataobject.wallets.CRMDOWalletDefinition walletDefinition,
com.crm.dataobject.accounts.CRMDOAccountReceivable account,
java.math.BigDecimal amount)
Transfers money from an account to the account wallet
Creates an invoice based on the On Transferring Money From Account To Wallet cause configured on active the wallet definition
Creates a credit wallet transaction for the account wallet with the given amount
and based on the On Transferring Money From Account To Wallet cause configured on active the wallet definition
Posts the created invoice
|
com.crm.dataobject.financialtransactions.CRMDOInvoice |
transferMoneyToWallet(com.crm.dataobject.wallets.CRMDOWalletDefinition walletDefinition,
com.crm.dataobject.accounts.CRMDOAccountReceivable account,
java.math.BigDecimal amount,
com.crm.dataobject.wallets.CRMDOWallet wallet)
Transfers money from an account to the account wallet
Creates a credit wallet transaction for the account wallet with the given amount and based on the On Transferring Money From Account To Wallet cause configured on active the wallet definition
Creates an invoice based on WALLET RULES - CREDITING WALLETS - "Debit the Related Accounts Receivable due to transfer Money" configured on active the wallet definition
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivable |
update(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Update Accounts Receivable
|
void |
updateAccountPaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Update the payment preferences of an account.
|
void |
updateAccountPresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Update the presentment preferences of an account.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
updateCreditLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable account,
java.math.BigDecimal newCreditLimit,
com.crm.dataobject.accounts.CreditRating newCreditRatingCode)
Update the credit limit of an account.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
updateCreditPeriod(com.crm.dataobject.accounts.CRMDOAccountReceivable account,
com.crm.dataobject.accounts.CreditPeriodOperator newCreditPeriodOperator,
java.lang.Integer newCreditPeriod,
com.crm.framework.util.UnitOfTime newCreditPeriodUOT)
Update the credit period of an account.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
updateCreditTerms(com.crm.dataobject.accounts.CRMDOAccountReceivable account,
java.math.BigDecimal newCreditLimit,
com.crm.dataobject.accounts.CreditRating newCreditRatingCode,
com.crm.dataobject.accounts.CreditPeriodOperator newCreditPeriodOperator,
java.lang.Integer newCreditPeriod)
Update the credit terms of an account.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
updateCreditTerms(com.crm.dataobject.accounts.CRMDOAccountReceivable account,
java.math.BigDecimal newCreditLimit,
com.crm.dataobject.accounts.CreditRating newCreditRatingCode,
com.crm.dataobject.accounts.CreditPeriodOperator newCreditPeriodOperator,
java.lang.Integer newCreditPeriod,
com.crm.framework.util.UnitOfTime newCreditPeriodUOT)
Update the credit terms of an account.
|
abstract com.crm.dataobject.accounts.CRMDOAccountReceivableMember |
updateMembershipInformation(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.accounts.AccountReceivableMemberFundingScope fundingScope,
java.util.ArrayList<com.crm.dataobject.products.CRMDOProduct> products,
java.util.ArrayList<com.crm.dataobject.products.CRMDOProductType> productTypes,
java.util.ArrayList<com.crm.dataobject.products.CRMDOProductFamily> productFamilies,
java.util.ArrayList<com.crm.dataobject.products.CRMDOProduct> removedProducts,
java.util.ArrayList<com.crm.dataobject.products.CRMDOProductType> removedProductTypes,
java.util.ArrayList<com.crm.dataobject.products.CRMDOProductFamily> removedProductFamilies)
Update membership information of a member
|
abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimit |
updateUsageAllowanceLimit(com.crm.dataobject.billing.CRMDOUsageAllowanceLimit usageAllowanceLimit)
Update Usage Allowance Limit
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
writeOff(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable)
Write off an account receivable.
|
createCronExpressionFromDate, createCronExpressionFromDate, setMandatoryField
deepCopy, dispatch, getCRMSession, getCRMSessionHandle, getCurrentDate, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, loadEntityCategories, loadEntityNumber, loadEntityStates, loadEntityStatuses, loadEntityTypes, rollback, setCRMSessionHandle, setInitialContext, setSessionContext
public CRMProcessNonSystemAccountReceivableBean()
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable newAccountReceivable() throws java.lang.Exception
java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable newAccountReceivable(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation) throws java.lang.Exception
contactInformation
- - the Contact Information for which the account will be created(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable update(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to update(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable applyCommonOperations(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the Account Receivable for which common operations will be executed(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable initialize(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the Accounts Receivable to initialize(mandatory)java.lang.Exception
public abstract java.lang.Boolean isAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the Accounts Receivable to determine whether it is accessible or not(mandatory)java.lang.Exception
public abstract java.lang.Boolean isCreditLimitExceeded(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the Accounts Receivable to determine whether credit limit is exceeded or not(mandatory)java.lang.Exception
public abstract java.lang.Boolean isBillingAddressAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the Accounts Receivable to determine whether the billing address it is accessible or not(mandatory)java.lang.Exception
public abstract java.lang.Boolean isActivePaymentPreferenceAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.CRMDOAccountPaymentPreference accountPaymentPreference) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)accountPaymentPreference
- - the active account payment preference to determine whether is accessible or not(mandatory)java.lang.Exception
public abstract java.lang.Boolean isInactivePaymentPreferenceAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.CRMDOAccountPaymentPreference accountPaymentPreference) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)accountPaymentPreference
- - the inactive account payment preference to determine whether is accessible or not(mandatory)java.lang.Exception
public abstract java.lang.Boolean isActivePresentmentPreferenceAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference accountPresentmentPreference) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)accountPresentmentPreference
- - the active account presentment preference to determine whether is accessible or not(mandatory)java.lang.Exception
public abstract java.lang.Boolean isInactivePresentmentPreferenceAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference accountPresentmentPreference) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)accountPresentmentPreference
- - the inactive account presentment preference to determine whether is accessible or not(mandatory)java.lang.Exception
public abstract java.lang.Boolean isFundedServiceAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.CRMDOAccountReceivableMemberProduct accountReceivableMemberProduct) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)accountReceivableMemberProduct
- - the active accounts receivable funded service to determine whether is accessible or not(mandatory)java.lang.Exception
public abstract java.lang.Boolean isUsageAllowanceLimitAccessible(com.crm.dataobject.billing.CRMDOUsageAllowanceLimit usageAllowanceLimit) throws java.lang.Exception
usageAllowanceLimit
- - the usage allowance limit to determine whether is accessible or not(mandatory)java.lang.Exception
public abstract java.lang.Boolean isUsageAllowanceLimitsPerServiceAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.billing.CRMDOUsageAllowanceLimitProduct usageAllowanceLimitProduct) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)usageAllowanceLimitProduct
- - the usage allowance limit per service to determine whether is accessible or not(mandatory)java.lang.Exception
public abstract java.lang.Boolean canBeActivated(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to determine if it can be activated(mandatory)java.lang.Exception
public abstract java.lang.Boolean canBeSuspended(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to determine if it can be suspended(mandatory)java.lang.Exception
public abstract java.lang.Boolean canBeTerminated(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to determine if it can be terminated(mandatory)java.lang.Exception
public abstract java.lang.Boolean canBeUpdated(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to determine if it can be updated(mandatory)java.lang.Exception
public abstract java.lang.Boolean canBeWrittenOff(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to determine if it can be written off(mandatory)java.lang.Exception
public abstract com.crm.dataobject.CRMDO applyOnEntity(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.CRMDO crmdo) throws java.lang.Exception
accountReceivable
- - the Accounts Receivable to associate to an entity(mandatory)crmdo
- - the entity to relate the account with(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable read(java.lang.String uniqueIdentifier) throws java.lang.Exception
uniqueIdentifier
- - the account receivable unique identifier(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable read(java.lang.String uniqueIdentifier, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
uniqueIdentifier
- - the account receivable unique identifier(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable readByName(java.lang.String uniqueIdentifier) throws java.lang.Exception
uniqueIdentifier
- - the account receivable unique identifier(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable readByName(java.lang.String uniqueIdentifier, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
uniqueIdentifier
- - the account receivable unique identifier(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable readByNumber(java.lang.String uniqueIdentifier) throws java.lang.Exception
uniqueIdentifier
- - the account receivable unique identifier(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable readByNumber(java.lang.String uniqueIdentifier, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
uniqueIdentifier
- - the account receivable unique identifier(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable readPrimary(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation) throws java.lang.Exception
contactInformation
- - the contact to load the primary account receivablejava.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable readPrimary(com.crm.dataobject.contactinfo.CRMDOContactInformation contactInformation, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
contactInformation
- - the contact to load the primary account receivableassociations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable read(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)java.lang.Exception
com.crm.exception.CannotAccessEntityException
public com.crm.dataobject.accounts.CRMDOAccountReceivable writeOff(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception, com.crm.exception.CannotAccessEntityException, com.crm.exception.accounts.CannotWriteOffAccountException
accountReceivable
- - the account receivable to write off(mandatory)java.lang.Exception
com.crm.exception.CannotAccessEntityException
com.crm.exception.accounts.CannotWriteOffAccountException
public java.math.BigDecimal calculateOutstandingAmount(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account to return the outstanding amount forjava.lang.Exception
public java.math.BigDecimal calculateOutstandingAmount(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.Date asOfDate) throws java.lang.Exception
accountReceivable
- - the account to return the outstanding amount forasOfDate
- - the as of date to return the outstanding amountjava.lang.Exception
public java.math.BigDecimal calculateBalance(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account to return the outstanding amount forjava.lang.Exception
public java.math.BigDecimal calculateBalance(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.Date asOfDate) throws java.lang.Exception
accountReceivable
- - the account to return the balance forasOfDate
- - the as of date to return the balancejava.lang.Exception
public com.crm.dataobject.accounts.CreditLimitStatus calculateCreditLimitStatus(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account to return the credit limit status forjava.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivable updateCreditLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable account, java.math.BigDecimal newCreditLimit, com.crm.dataobject.accounts.CreditRating newCreditRatingCode) throws java.lang.Exception
account
- - the account to change the credit limit fornewCreditLimit
- - the credit limit to setnewCreditRatingCode
- - the credit rating code to setjava.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivable updateCreditPeriod(com.crm.dataobject.accounts.CRMDOAccountReceivable account, com.crm.dataobject.accounts.CreditPeriodOperator newCreditPeriodOperator, java.lang.Integer newCreditPeriod, com.crm.framework.util.UnitOfTime newCreditPeriodUOT) throws java.lang.Exception
account
- - the account to set the credit period fornewCreditPeriodOperator
- - the credit period operator to setnewCreditPeriod
- - the credit period to setjava.lang.Exception
public java.util.Date applyCreditPeriodRules(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition, java.util.Date postedDate) throws java.lang.Exception
accountReceivable
- - the account receivable to get the information fromaccountDefinition
- - the account definition to get the information frompostedDate
- - the posted date to apply the changesjava.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivable calculateConsumedUsageAllowance(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.Date validityDate, com.crm.dataobject.billing.CRMDOUsageAuthorisation usageAuthorisation) throws java.lang.Exception
accountReceivable
- - the account receivable to calculate the consumed usage allowancevalidityDate
- - the date to calculate the consumed usage allowanceusageAuthorisation
- - the usage authorisation to excludejava.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivable calculateRemainingUsageAllowance(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.Date validityDate, com.crm.dataobject.billing.CRMDOUsageAuthorisation usageAuthorisation) throws java.lang.Exception
accountReceivable
- - the account receivable to calculate the remaining usage allowancevalidityDate
- - the date to calculate the remaining usage allowanceusageAuthorisation
- - the usage authorisation to excludejava.lang.Exception
public java.math.BigDecimal calculateAllowedExceededUsageAllowance(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.Date validityDate, com.crm.dataobject.billing.CRMDOUsageAuthorisation usageAuthorisation) throws java.lang.Exception
accountReceivable
- - the account receivable to calculate the allowed exceeded usage allowancevalidityDate
- - the date to calculate the allowed exceeded usage allowanceusageAuthorisation
- - the usage authorisation to excludejava.lang.Exception
public abstract com.crm.dataobject.contactinfo.CRMDOContactInfoAddress readBillingAddress(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.lang.String uniqueIdentifier) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)uniqueIdentifier
- - the contact info address unique identifier(mandatory)java.lang.Exception
public abstract com.crm.dataobject.contactinfo.CRMDOContactInfoAddress readBillingAddress(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.lang.String uniqueIdentifier, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)uniqueIdentifier
- - the contact info address unique identifier(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference readActivePaymentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.lang.String uniqueIdentifier) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)uniqueIdentifier
- - the account payment preference unique identifier(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference readActivePaymentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.lang.String uniqueIdentifier, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)uniqueIdentifier
- - the account payment preference unique identifier(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference readActivePaymentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.PaymentPreferenceType type) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)type
- - the payment preference type(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference readActivePaymentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.PaymentPreferenceType type, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)type
- - the payment preference type(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> listActivePaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Payment Preference objects(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> listActivePaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Payment Preference objects(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference readInactivePaymentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.lang.String uniqueIdentifier) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)uniqueIdentifier
- - the account payment preference unique identifier(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference readInactivePaymentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.lang.String uniqueIdentifier, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)uniqueIdentifier
- - the account payment preference unique identifier(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference readInactivePaymentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.PaymentPreferenceType type) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)type
- - the payment preference type(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference readInactivePaymentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.PaymentPreferenceType type, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)type
- - the payment preference type(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> listInactivePaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Payment Preference objects(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> listInactivePaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Payment Preference objects(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> listPaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Payment Preference objects(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> listPaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Payment Preference objects(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference readActivePresentmentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.lang.String uniqueIdentifier) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)uniqueIdentifier
- - the account presentment preference unique identifier(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference readActivePresentmentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.lang.String uniqueIdentifier, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)uniqueIdentifier
- - the account presentment preference unique identifier(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference readActivePresentmentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.PresentmentMethod type) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)type
- - the presentment preference type(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference readActivePresentmentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.PresentmentMethod type, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)type
- - the presentment preference type(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference> listActivePresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Presentment Preference objects(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference> listActivePresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Presentment Preference objects(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference readInactivePresentmentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.lang.String uniqueIdentifier) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)uniqueIdentifier
- - the account presentment preference unique identifier(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference readInactivePresentmentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.lang.String uniqueIdentifier, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)uniqueIdentifier
- - the account presentment preference unique identifier(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference readInactivePresentmentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.PresentmentMethod type) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)type
- - the presentment preference type(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference readInactivePresentmentPreferenceByType(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.PresentmentMethod type, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)type
- - the presentment preference type(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference> listInactivePresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Presentment Preference objects(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference> listInactivePresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Presentment Preference objects(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference> listPresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Presentment Preference objects(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference> listPresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Presentment Preference objects(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimit readUsageAllowanceLimitsByAccount(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)java.lang.Exception
public abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimit readUsageAllowanceLimits(java.lang.String uniqueIdentifier) throws java.lang.Exception
uniqueIdentifier
- - the usage allowance limit unique identifier(mandatory)java.lang.Exception
public abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimit readUsageAllowanceLimits(java.lang.String uniqueIdentifier, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
uniqueIdentifier
- - the usage allowance limit unique identifier(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.billing.CRMDOUsageAllowanceLimitProduct> listUsageAllowanceLimitsPerService(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.billing.CRMDOUsageAllowanceLimitProduct> listUsageAllowanceLimitsPerService(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPaymentPreference newAccountPaymentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to create a new account payment preference(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountPresentmentPreference newAccountPresentmentPreference(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to create a new account presentment preference(mandatory)java.lang.Exception
public java.lang.Boolean canBeAddedInAGroupAsMember(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to determine if it can be added in a group as a member(mandatory)java.lang.Exception
public java.lang.Boolean canBeAddedInAGroupAsParent(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to determine if it can be added in a group as a parent(mandatory)java.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivableMember addMemberInAGroup(com.crm.dataobject.accounts.CRMDOAccountReceivable parentAccountReceivable, com.crm.dataobject.accounts.CRMDOAccountReceivable memberAccountReceivable, com.crm.dataobject.accounts.AccountReceivableMemberFundingScope fundingScope, java.util.ArrayList<com.crm.dataobject.products.CRMDOProduct> products, java.util.ArrayList<com.crm.dataobject.products.CRMDOProductType> productTypes, java.util.ArrayList<com.crm.dataobject.products.CRMDOProductFamily> productFamilies) throws java.lang.Exception
parentAccountReceivable
- - the parent account receivable(mandatory)memberAccountReceivable
- - the account receivable to add as member(mandatory)fundingScope
- - the funding scope of the member(mandatory)products
- - the products to add on the member(optional)productTypes
- - the product types to add on the member(optional)productFamilies
- - the product families to add on the member(optional)java.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivable removeMemberFromAGroup(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to remove from group(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivableMember newAccountReceivableMember(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to create a new account receivable member(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivableMemberProduct newAccountReceivableMemberProduct(com.crm.dataobject.accounts.CRMDOAccountReceivableMember accountReceivableMember) throws java.lang.Exception
accountReceivableMember
- - the account receivable member to create a new account receivable member product(mandatory)java.lang.Exception
public abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimitProduct newUsageAllowanceLimitProduct(com.crm.dataobject.billing.CRMDOUsageAllowanceLimit usageAllowanceLimit) throws java.lang.Exception
usageAllowanceLimit
- - the usage allowance limit to create a new usage allowance limit product(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivableAllowedWalletTopUpProduct newAccountAllowedWalletTopUpProduct(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to create a new account allowed wallet top up product(mandatory)java.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivable suspendAccount(com.crm.dataobject.accounts.CRMDOAccountReceivable account) throws java.lang.Exception
account
- - the account to suspendjava.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivable activate(com.crm.dataobject.accounts.CRMDOAccountReceivable account) throws java.lang.Exception
account
- - the account to activatejava.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivable terminateAccount(com.crm.dataobject.accounts.CRMDOAccountReceivable account) throws java.lang.Exception
account
- - the account to terminatejava.lang.Exception
public abstract void changeParentAccountOfAGroup(com.crm.dataobject.accounts.CRMDOAccountReceivable newParentAccountReceivable, com.crm.dataobject.accounts.CRMDOAccountReceivable oldParentAccountReceivable) throws java.lang.Exception
newParentAccountReceivable
- - the account receivable to set as parent of a group(mandatory)oldParentAccountReceivable
- - the account receivable to remove from parent of a group(mandatory)java.lang.Exception
public abstract void changeParentAccountOfAGroup(com.crm.dataobject.accounts.CRMDOAccountReceivable newParentAccountReceivable, com.crm.dataobject.accounts.CRMDOAccountReceivable oldParentAccountReceivable, java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMember> members) throws java.lang.Exception
newParentAccountReceivable
- - the account receivable to set as parent of a group(mandatory)oldParentAccountReceivable
- - the account receivable to remove from parent of a group(mandatory)members
- - the members to move(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivableMember updateMembershipInformation(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.AccountReceivableMemberFundingScope fundingScope, java.util.ArrayList<com.crm.dataobject.products.CRMDOProduct> products, java.util.ArrayList<com.crm.dataobject.products.CRMDOProductType> productTypes, java.util.ArrayList<com.crm.dataobject.products.CRMDOProductFamily> productFamilies, java.util.ArrayList<com.crm.dataobject.products.CRMDOProduct> removedProducts, java.util.ArrayList<com.crm.dataobject.products.CRMDOProductType> removedProductTypes, java.util.ArrayList<com.crm.dataobject.products.CRMDOProductFamily> removedProductFamilies) throws java.lang.Exception
accountReceivable
- - the account receivable to add as member(mandatory)fundingScope
- - the funding scope of the member(optional)products
- - the products to add on the member(optional)productTypes
- - the product types to add on the member(optional)productFamilies
- - the product families to add on the member(optional)removedProducts
- - the products to remove from member(optional)removedProductTypes
- - the product types to remove from member(optional)removedProductFamilies
- - the product families to remove from member(optional)java.lang.Exception
public abstract java.lang.Boolean isAccountMemberAccessible(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.CRMDOAccountReceivableMember accountReceivableMember) throws java.lang.Exception
accountReceivable
- - the account receivable(mandatory)accountReceivableMember
- - the accounts receivable member to determine whether is accessible or not(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivableMember readAccountMember(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the member account receivable(mandatory)java.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivableMember readAccountMember(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.ArrayList<java.lang.String> associations, java.util.ArrayList<java.lang.String> productAssociations) throws java.lang.Exception
accountReceivable
- - the member account receivable(mandatory)associations
- - a list of associations(optional)associations
- - a list of associations(optional)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMember> listAccountGroupMembers(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Group Members objects(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMember> listAccountGroupMembers(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Group Members objects(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMemberProduct> listAccountGroupMemberFundedServices(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Group Member Funded Services objects(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMemberProduct> listAccountGroupMemberFundedServices(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Group Member Funded Services objects(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accesstokens.CRMDOAccessToken> listAccessTokens(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Access Token objects(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accesstokens.CRMDOAccessToken> listAccessTokens(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Access Token objects(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public com.crm.dataobject.financialtransactions.CRMDOInvoice transferMoneyToWallet(com.crm.dataobject.wallets.CRMDOWalletDefinition walletDefinition, com.crm.dataobject.accounts.CRMDOAccountReceivable account, java.math.BigDecimal amount) throws java.lang.Exception
walletDefinition
- - the active wallet definitionaccount
- - the account to transfer money fromamount
- - the amount of money to transferjava.lang.Exception
public com.crm.dataobject.financialtransactions.CRMDOInvoice transferMoneyToWallet(com.crm.dataobject.wallets.CRMDOWalletDefinition walletDefinition, com.crm.dataobject.accounts.CRMDOAccountReceivable account, java.math.BigDecimal amount, com.crm.dataobject.wallets.CRMDOWallet wallet) throws java.lang.Exception
walletDefinition
- - the active wallet definitionaccount
- - the account to transfer money fromamount
- - the amount of money to transferwallet
- - the wallet to transfer money tojava.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable setUsageAllowanceLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the accountReceivable to usejava.lang.Exception
public abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimit getUsageAllowanceLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the accountReceivable to usejava.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable resetUsageAllowanceLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to remove the usage allowance limits forjava.lang.Exception
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable setUpRecurringPaymentSettings(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account receivable to set up recurring payment settingsjava.lang.Exception
public abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimit createUsageAllowanceLimit(com.crm.dataobject.billing.CRMDOUsageAllowanceLimit usageAllowanceLimit) throws java.lang.Exception
usageAllowanceLimit
- - the usage allowance limit to create(mandatory)java.lang.Exception
com.crm.exception.CannotCreateException
public abstract com.crm.dataobject.billing.CRMDOUsageAllowanceLimit updateUsageAllowanceLimit(com.crm.dataobject.billing.CRMDOUsageAllowanceLimit usageAllowanceLimit) throws java.lang.Exception
usageAllowanceLimit
- - the usage allowance limit to create(mandatory)java.lang.Exception
com.crm.exception.CannotUpdateEntityException
public abstract com.crm.dataobject.accounts.CRMDOAccountReceivable resetUsageAllowanceLimitBasedOnCurrency(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account to usejava.lang.Exception
public abstract com.crm.dataobject.paymentgateway.CRMDOPaymentGatewayCard newPaymentGatewayCard(com.crm.dataobject.accounts.CRMDOAccountPaymentPreference accountPaymentPreference) throws java.lang.Exception
accountPaymentPreference
- - the account payment preference to create a new payment gateway card(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableAllowedWalletTopUpProduct> listAllowedWalletTopUpProducts(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Allowed Wallet Top Up Products objects(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableAllowedWalletTopUpProduct> listAllowedWalletTopUpProducts(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Allowed Wallet Top Up Products objects(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract com.crm.dataobject.accounts.AutomaticRecurringPaymentAutoTopUpRule getValidWalletTopUpRule(com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition, com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountDefinition
- - the account definitionaccountReceivable
- - the accounts receivablejava.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMemberProduct> listAccountGroupMemberFundedServices(com.crm.dataobject.accounts.CRMDOAccountReceivableMember accountReceivableMember) throws java.lang.Exception
accountReceivableMember
- - the criteria that will be used to load the Account Group Member Funded Services objects(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMemberProduct> listAccountGroupMemberFundedServices(com.crm.dataobject.accounts.CRMDOAccountReceivableMember accountReceivableMember, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivableMember
- - the criteria that will be used to load the Account Group Member Funded Services objects(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.paymentgateway.CRMDOPaymentGatewayCard> listPaymentGatewayCards(com.crm.dataobject.accounts.CRMDOAccountPaymentPreference accountPaymentPreference) throws java.lang.Exception
accountPaymentPreference
- - the criteria that will be used to load the Payment Gateway Card objects(mandatory)java.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.paymentgateway.CRMDOPaymentGatewayCard> listPaymentGatewayCards(com.crm.dataobject.accounts.CRMDOAccountPaymentPreference accountPaymentPreference, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountPaymentPreference
- - the criteria that will be used to load the Payment Gateway Card objects(mandatory)associations
- - a list of associations(optional)java.lang.Exception
public abstract java.math.BigDecimal revertAmountToDefaultCurrency(java.math.BigDecimal amount, com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
amount
- - the amount to revertaccountReceivable
- - the account receivable to check the currencyjava.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivable updateCreditTerms(com.crm.dataobject.accounts.CRMDOAccountReceivable account, java.math.BigDecimal newCreditLimit, com.crm.dataobject.accounts.CreditRating newCreditRatingCode, com.crm.dataobject.accounts.CreditPeriodOperator newCreditPeriodOperator, java.lang.Integer newCreditPeriod) throws java.lang.Exception
account
- - the account to change the credit limit fornewCreditLimit
- - the credit limit to setnewCreditRatingCode
- - the credit rating code to setnewCreditPeriodOperator
- - the credit period operator to setnewCreditPeriod
- - the new credit period in days to setjava.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivable updateCreditTerms(com.crm.dataobject.accounts.CRMDOAccountReceivable account, java.math.BigDecimal newCreditLimit, com.crm.dataobject.accounts.CreditRating newCreditRatingCode, com.crm.dataobject.accounts.CreditPeriodOperator newCreditPeriodOperator, java.lang.Integer newCreditPeriod, com.crm.framework.util.UnitOfTime newCreditPeriodUOT) throws java.lang.Exception
account
- - the account to change the credit limit fornewCreditLimit
- - the credit limit to setnewCreditRatingCode
- - the credit rating code to setnewCreditPeriodOperator
- - the credit period operator to setnewCreditPeriod
- - the new credit period in days to setjava.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivable calculateRemainingUsageAllowanceWithoutLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, java.util.Date validityDate, com.crm.dataobject.billing.CRMDOUsageAuthorisation usageAuthorisation) throws java.lang.Exception
accountReceivable
- - the account receivable to calculate the allowed exceeded usage allowancevalidityDate
- - the date to calculate the allowed exceeded usage allowanceusageAuthorisation
- - the usage authorisation to excludejava.lang.Exception
public void updateAccountPaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account to update the payment preferences forjava.lang.Exception
public void updateAccountPresentmentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account to update the presentment preferences forjava.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountReceivableMember> listAccountGroupMembers(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.AccountReceivableMemberFundingScope fundingScope, java.lang.Integer numberOfResults, java.lang.Integer offSet) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Group Members objects(mandatory)fundingScope
- - the founding scope(optional)numberOfResults
- - the number or results(optional)offSet
- - the offset(optional)java.lang.Exception
public com.crm.dataobject.accounts.CRMDOAccountReceivable setAsPrimary(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account to set as primaryjava.lang.Exception
public com.crm.dataobject.contactinfo.CRMDOContactInfoAddress identifyBillingLocation(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account to set as primaryjava.lang.Exception
public abstract java.util.ArrayList<com.crm.dataobject.accounts.CRMDOAccountPaymentPreference> listPaymentPreferences(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.paymentgateway.CRMDOPaymentGatewaySetting paymentGatewaySetting, com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
accountReceivable
- - the criteria that will be used to load the Account Payment Preference objects(mandatory)paymentGatewaySetting
- - the criteria that will be used to load the Account Payment Preference objects(optional)accountDefinition
- - the criteria that will be used to load the Account Payment Preference objects(optional)associations
- - a list of associations(optional)java.lang.Exception
public java.math.BigDecimal calculateCreditLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the account to return the credit limit forjava.lang.Exception
public java.math.BigDecimal calculateCreditLimit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.accounts.CRMDOAccountDefinition accountDefinition) throws java.lang.Exception
accountReceivable
- - the account to return the credit limit foraccountDefinition
- - the account definition to get the definition credit limitjava.lang.Exception
public java.lang.Boolean isUsedByGroupOrUnit(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
accountReceivable
- - the Accounts Receivable to determine whether it is used or not by partner group or unit(mandatory)java.lang.Exception
public void anonymizeContactAccounts(com.crm.dataobject.contactinfo.CRMDOContactInformation contact) throws java.lang.Exception
contact
- - the contact information to anonymize its accountjava.lang.Exception
public void resetAccountingPeriodBalance(java.lang.String accountReceivableID, java.util.ArrayList<com.crm.dataobject.financialtransactions.CRMDOFinancialTransaction> transactions, java.util.ArrayList<com.crm.dataobject.CRMDO> allAccountingPeriods, java.util.Date asOfDate) throws java.lang.Exception
accountReceivableID
- - the Accounts Receivable to Reset the Accounting Period Balance fortransactions
- - the FT of the Accounts Receivable to Reset the Accounting Period Balance forallAccountingPeriods
- -all of the Accounting PeriodsasOfDate
- - the date to help reset the balancejava.lang.Exception
public void resetAccountingPeriod(java.lang.String accountReceivableID, com.crm.dataobject.accounts.CRMDOAccountingPeriod accountingPeriod) throws java.lang.Exception
accountReceivableID
- - the Accounts Receivable to Reset the Accounting Period foraccountingPeriod
- - the Accounting Period to set to the Accounts Receivablejava.lang.Exception
public void closePeriod(java.lang.String accountReceivableID, java.lang.String accountReceivableNumber, java.math.BigDecimal openingBalance, com.crm.dataobject.accounts.CRMDOAccountingPeriod openAccountingPeriod, com.crm.dataobject.accounts.CRMDOAccountingPeriod newAccountingPeriod, java.util.Date closedDate) throws java.lang.Exception
accountReceivableID
- - the Accounts Receivable ID to close the Accounting Period foraccountReceivableNumber
- - the Accounts Receivable Number to close the Accounting Period foropeningBalance
- - the Accounts Receivable Opening balance to close the Accounting Period foropenAccountingPeriod-
- the Open Accounting Period to closenewAccountingPeriod-
- the New Open Accounting PeriodclosedDate-the
- closed Date of the Accounting Periodjava.lang.Exception
public com.crm.dataobject.contactinfo.CRMDOContactInformation setContactInformationAddresses(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable) throws java.lang.Exception
java.lang.Exception