|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.rice.kns.document.DocumentBase
org.kuali.rice.kns.document.TransactionalDocumentBase
org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
org.kuali.kfs.sys.document.LedgerPostingDocumentBase
org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase
org.kuali.kfs.sys.document.AccountingDocumentBase
org.kuali.kfs.module.ar.document.CustomerInvoiceDocument
public class CustomerInvoiceDocument
Fields inherited from class org.kuali.kfs.sys.document.AccountingDocumentBase |
---|
dataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLines |
Fields inherited from class org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase |
---|
generalLedgerPendingEntries |
Fields inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase |
---|
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYear |
Fields inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase |
---|
documentHeader |
Fields inherited from class org.kuali.rice.kns.document.DocumentBase |
---|
documentBusinessObject, documentNumber |
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
CustomerInvoiceDocument()
Default constructor. |
Method Summary | |
---|---|
protected void |
addIncomeGLPEs(GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
GeneralLedgerPendingEntrySourceDetail glpeSourceDetail,
boolean hasClaimOnCashOffset)
This method adds pending entry with transaction ledger entry amount set to item price * quantity |
protected void |
addReceivableGLPEs(GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
GeneralLedgerPendingEntrySourceDetail glpeSourceDetail,
boolean hasClaimOnCashOffset)
This method creates the receivable GLPEs for each invoice detail line. |
protected void |
addSalesTaxGLPEs(GeneralLedgerPendingEntrySequenceHelper sequenceHelper,
GeneralLedgerPendingEntrySourceDetail glpeSourceDetail,
boolean hasClaimOnCashOffset)
This method add pending entries for every tax detail that exists for a particular postal code |
boolean |
answerSplitNodeQuestion(String nodeName)
Answers true when invoice recurrence details are provided by the user |
int |
compareTo(CustomerInvoiceDocument customerInvoiceDocument)
|
void |
doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
When document is processed do the following: 1) Set the billingDate to today's date if not already set 2) If there are discounts, create corresponding invoice paid applied rows 3) If the document is a reversal, in addition to reversing paid applied rows, update the open paid applied indicator |
boolean |
generateGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySourceDetail glpeSourceDetail,
GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
This method creates the following GLPE's for the invoice 1. |
AccountsReceivableDocumentHeader |
getAccountsReceivableDocumentHeader()
Gets the accountsReceivableDocumentHeader attribute. |
Integer |
getAge()
This method returns the age of an invoice (i.e. |
Chart |
getBillByChartOfAccount()
Gets the billByChartOfAccount attribute. |
String |
getBillByChartOfAccountCode()
Gets the billByChartOfAccountCode attribute. |
String |
getBilledByChartOfAccCodeAndOrgCode()
Get a string representation for billing chart/organization |
Organization |
getBilledByOrganization()
Gets the billedByOrganization attribute. |
String |
getBilledByOrganizationCode()
Gets the billedByOrganizationCode attribute. |
String |
getBillingAddressInternationalProvinceName()
|
String |
getBillingAddressName()
|
String |
getBillingAddressTypeCode()
|
String |
getBillingCityName()
|
String |
getBillingCountryCode()
|
Date |
getBillingDate()
Gets the billingDate attribute. |
Date |
getBillingDateForDisplay()
This method returns the billing date for display. |
String |
getBillingEmailAddress()
|
String |
getBillingInternationalMailCode()
|
String |
getBillingLine1StreetAddress()
|
String |
getBillingLine2StreetAddress()
|
String |
getBillingStateCode()
|
String |
getBillingZipCode()
|
Date |
getClosedDate()
|
Customer |
getCustomer()
This method returns the customer object for the invoice |
CustomerAddress |
getCustomerBillToAddress()
|
Integer |
getCustomerBillToAddressIdentifier()
Gets the customerBillToAddressIdentifier attribute. |
List<CustomerInvoiceDetail> |
getCustomerInvoiceDetailsWithoutDiscounts()
This method will return all the customer invoice details excluding discount invoice detail lines. |
CustomerInvoiceRecurrenceDetails |
getCustomerInvoiceRecurrenceDetails()
|
String |
getCustomerName()
|
Date |
getCustomerPurchaseOrderDate()
Gets the customerPurchaseOrderDate attribute. |
String |
getCustomerPurchaseOrderNumber()
Gets the customerPurchaseOrderNumber attribute. |
CustomerAddress |
getCustomerShipToAddress()
|
Integer |
getCustomerShipToAddressIdentifier()
Gets the customerShipToAddressIdentifier attribute. |
CustomerProcessingType |
getCustomerSpecialProcessing()
Gets the customerSpecialProcessing attribute. |
String |
getCustomerSpecialProcessingCode()
Gets the customerSpecialProcessingCode attribute. |
List<CustomerInvoiceDetail> |
getDiscounts()
This method will return all the customer invoice details that are discounts |
String |
getDocumentNumber()
Gets the documentNumber attribute. |
GeneralLedgerPendingEntryService |
getGeneralLedgerPendingEntryService()
Returns an implementation of the GeneralLedgerPendingEntryService |
String |
getInvoiceAttentionLineText()
Gets the invoiceAttentionLineText attribute. |
Date |
getInvoiceDueDate()
Gets the invoiceDueDate attribute. |
String |
getInvoiceHeaderText()
Gets the invoiceHeaderText attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getInvoiceItemPreTaxAmountTotal()
This method returns the total of all pre tax amounts for all customer invoice detail lines |
org.kuali.rice.kns.util.KualiDecimal |
getInvoiceItemTaxAmountTotal()
This method returns the total of all tax amounts for all customer invoice detail lines |
protected String |
getInvoiceRecurrenceMaintenanceDocumentTypeName()
|
String |
getInvoiceTermsText()
Gets the invoiceTermsText attribute. |
boolean |
getNoRecurrenceDataFlag()
|
org.kuali.rice.kns.util.KualiDecimal |
getOpenAmount()
This method calculates the outstanding balance on an invoice. |
String |
getOrganizationInvoiceNumber()
Gets the organizationInvoiceNumber attribute. |
String |
getParentInvoiceNumber()
This method... |
CustomerInvoiceDetail |
getParentLineBasedOnDiscountSequenceNumber(Integer discountSequenceNumber)
This method returns parent customer invoice detail based on child discount sequence number |
Account |
getPaymentAccount()
Gets the paymentAccount attribute. |
String |
getPaymentAccountNumber()
Gets the paymentAccountNumber attribute. |
Chart |
getPaymentChartOfAccounts()
Gets the paymentChartOfAccounts attribute. |
String |
getPaymentChartOfAccountsCode()
Gets the paymentChartOfAccountsCode attribute. |
ObjectCode |
getPaymentFinancialObject()
Gets the paymentFinancialObject attribute. |
String |
getPaymentFinancialObjectCode()
Gets the paymentFinancialObjectCode attribute. |
SubObjectCode |
getPaymentFinancialSubObject()
Gets the paymentFinancialSubObject attribute. |
String |
getPaymentFinancialSubObjectCode()
Gets the paymentFinancialSubObjectCode attribute. |
String |
getPaymentOrganizationReferenceIdentifier()
Gets the paymentOrganizationReferenceIdentifier attribute. |
ProjectCode |
getPaymentProject()
Gets the paymentProject attribute. |
String |
getPaymentProjectCode()
Gets the paymentProjectCode attribute. |
SubAccount |
getPaymentSubAccount()
Gets the paymentSubAccount attribute. |
String |
getPaymentSubAccountNumber()
Gets the paymentSubAccountNumber attribute. |
CustomerAddress |
getPrimaryAddressForCustomerNumber()
This method returns the primary customer address for the customer number provided. |
Date |
getPrintDate()
Gets the printDate attribute. |
String |
getPrintInvoiceIndicator()
Gets the printInvoiceIndicator attribute. |
PrintInvoiceOptions |
getPrintInvoiceOption()
|
boolean |
getProcessRecurrenceFlag()
|
boolean |
getRecurredInvoiceIndicator()
|
String |
getShippingAddressInternationalProvinceName()
|
String |
getShippingAddressName()
|
String |
getShippingAddressTypeCode()
|
String |
getShippingCityName()
|
String |
getShippingCountryCode()
|
String |
getShippingEmailAddress()
|
String |
getShippingInternationalMailCode()
|
String |
getShippingLine1StreetAddress()
|
String |
getShippingLine2StreetAddress()
|
String |
getShippingStateCode()
|
String |
getShippingZipCode()
|
Class<CustomerInvoiceDetail> |
getSourceAccountingLineClass()
Returns the default Source accounting line class. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalDollarAmount()
Since one side of the document should match the other and the document should balance, the total dollar amount for the document should either be the expense line or the income line. |
Map |
getValuesMap()
Returns a map with the primitive field names as the key and the primitive values as the map value. |
List<Long> |
getWorkflowEngineDocumentIdsToLock()
|
boolean |
hasAtLeastOneDiscount()
This method returns true if invoice document has at least one discount line |
protected boolean |
hasRecurrence()
Determines whether this document has a Recurrence filled out enough to create an INVR doc. |
protected boolean |
isBatchGenerated()
Determines whether this document was generated from a recurrence batch. |
boolean |
isCustomerRecordAttachmentIndicator()
Gets the customerRecordAttachmentIndicator attribute. |
boolean |
isDebit(GeneralLedgerPendingEntrySourceDetail postable)
This method determines if the passed in GeneralLedgerPendingEntrySourceDetail is a debit or not. |
boolean |
isDiscountLineBasedOnSequenceNumber(Integer sequenceNumber)
This method returns true if line number is discount line number based on sequence number |
boolean |
isInvoiceReversal()
This method returns true if this document is a reversal for another document |
boolean |
isOpenInvoiceIndicator()
Gets the openInvoiceIndicator attribute. |
void |
negateCustomerInvoiceDetailUnitPrices()
This method... |
void |
prepareForSave()
If this invoice is a reversal, set the open indicator to false |
void |
removeDiscountLineBasedOnParentLineIndex(int parentLineIndex)
This method removes the corresponding discount line based on the index of the parent line index. |
void |
setAccountsReceivableDocumentHeader(AccountsReceivableDocumentHeader accountsReceivableDocumentHeader)
Sets the accountsReceivableDocumentHeader attribute. |
void |
setAge(Integer age)
|
void |
setBillByChartOfAccount(Chart billByChartOfAccount)
Deprecated. |
void |
setBillByChartOfAccountCode(String billByChartOfAccountCode)
Sets the billByChartOfAccountCode attribute. |
void |
setBilledByOrganization(Organization billedByOrganization)
Deprecated. |
void |
setBilledByOrganizationCode(String billedByOrganizationCode)
Sets the billedByOrganizationCode attribute. |
void |
setBillingAddressInternationalProvinceName(String billingAddressInternationalProvinceName)
|
void |
setBillingAddressName(String billingAddressName)
|
void |
setBillingAddressTypeCode(String billingAddressTypeCode)
|
void |
setBillingCityName(String billingCityName)
|
void |
setBillingCountryCode(String billingCountryCode)
|
void |
setBillingDate(Date billingDate)
Sets the billingDate attribute. |
void |
setBillingDateForDisplay(Date date)
This method... |
void |
setBillingEmailAddress(String billingEmailAddress)
|
void |
setBillingInternationalMailCode(String billingInternationalMailCode)
|
void |
setBillingLine1StreetAddress(String billingLine1StreetAddress)
|
void |
setBillingLine2StreetAddress(String billingLine2StreetAddress)
|
void |
setBillingStateCode(String billingStateCode)
|
void |
setBillingZipCode(String billingZipCode)
|
void |
setClosedDate(Date closedDate)
|
void |
setCustomerBillToAddress(CustomerAddress customerBillToAddress)
|
void |
setCustomerBillToAddressIdentifier(Integer customerBillToAddressIdentifier)
Sets the customerBillToAddressIdentifier attribute. |
void |
setCustomerBillToAddressOnInvoice(CustomerAddress customerBillToAddress)
Populate Customer Billing Address fields on Customer Invoice. |
void |
setCustomerInvoiceRecurrenceDetails(CustomerInvoiceRecurrenceDetails customerInvoiceRecurrenceDetails)
|
void |
setCustomerName(String customerName)
|
void |
setCustomerPurchaseOrderDate(Date customerPurchaseOrderDate)
Sets the customerPurchaseOrderDate attribute. |
void |
setCustomerPurchaseOrderNumber(String customerPurchaseOrderNumber)
Sets the customerPurchaseOrderNumber attribute. |
void |
setCustomerRecordAttachmentIndicator(boolean customerRecordAttachmentIndicator)
Sets the customerRecordAttachmentIndicator attribute. |
void |
setCustomerShipToAddress(CustomerAddress customerShipToAddress)
|
void |
setCustomerShipToAddressIdentifier(Integer customerShipToAddressIdentifier)
Sets the customerShipToAddressIdentifier attribute. |
void |
setCustomerShipToAddressOnInvoice(CustomerAddress customerShipToAddress)
Populate Customer Shipping Address fields on Customer Invoice. |
void |
setCustomerSpecialProcessing(CustomerProcessingType customerSpecialProcessing)
Deprecated. |
void |
setCustomerSpecialProcessingCode(String customerSpecialProcessingCode)
Sets the customerSpecialProcessingCode attribute. |
void |
setDocumentNumber(String documentNumber)
Sets the documentNumber attribute. |
void |
setInvoiceAttentionLineText(String invoiceAttentionLineText)
Sets the invoiceAttentionLineText attribute. |
void |
setInvoiceDueDate(Date invoiceDueDate)
Sets the invoiceDueDate attribute. |
void |
setInvoiceHeaderText(String invoiceHeaderText)
Sets the invoiceHeaderText attribute. |
void |
setInvoiceTermsText(String invoiceTermsText)
Sets the invoiceTermsText attribute. |
void |
setOpenInvoiceIndicator(boolean openInvoiceIndicator)
Sets the openInvoiceIndicator attribute. |
void |
setOrganizationInvoiceNumber(String organizationInvoiceNumber)
Sets the organizationInvoiceNumber attribute. |
void |
setPaymentAccount(Account paymentAccount)
Deprecated. |
void |
setPaymentAccountNumber(String paymentAccountNumber)
Sets the paymentAccountNumber attribute value. |
void |
setPaymentChartOfAccounts(Chart paymentChartOfAccounts)
Deprecated. |
void |
setPaymentChartOfAccountsCode(String paymentChartOfAccountsCode)
Sets the paymentChartOfAccountsCode attribute value. |
void |
setPaymentFinancialObject(ObjectCode paymentFinancialObject)
Deprecated. |
void |
setPaymentFinancialObjectCode(String paymentFinancialObjectCode)
Sets the paymentFinancialObjectCode attribute value. |
void |
setPaymentFinancialSubObject(SubObjectCode paymentFinancialSubObject)
Deprecated. |
void |
setPaymentFinancialSubObjectCode(String paymentFinancialSubObjectCode)
Sets the paymentFinancialSubObjectCode attribute value. |
void |
setPaymentOrganizationReferenceIdentifier(String paymentOrganizationReferenceIdentifier)
Sets the paymentOrganizationReferenceIdentifier attribute value. |
void |
setPaymentProject(ProjectCode paymentProject)
Deprecated. |
void |
setPaymentProjectCode(String paymentProjectCode)
Sets the paymentProjectCode attribute value. |
void |
setPaymentSubAccount(SubAccount paymentSubAccount)
Deprecated. |
void |
setPaymentSubAccountNumber(String paymentSubAccountNumber)
Sets the paymentSubAccountNumber attribute value. |
void |
setPrintDate(Date printDate)
Sets the printDate attribute. |
void |
setPrintInvoiceIndicator(String printInvoiceIndicator)
Sets the printInvoiceIndicator attribute value. |
void |
setPrintInvoiceOption(PrintInvoiceOptions printInvoiceOption)
|
void |
setRecurredInvoiceIndicator(boolean recurredInvoiceIndicator)
|
void |
setShippingAddressInternationalProvinceName(String shippingAddressInternationalProvinceName)
|
void |
setShippingAddressName(String shippingAddressName)
|
void |
setShippingAddressTypeCode(String shippingAddressTypeCode)
|
void |
setShippingCityName(String shippingCityName)
|
void |
setShippingCountryCode(String shippingCountryCode)
|
void |
setShippingEmailAddress(String shippingEmailAddress)
|
void |
setShippingInternationalMailCode(String shippingInternationalMailCode)
|
void |
setShippingLine1StreetAddress(String shippingLine1StreetAddress)
|
void |
setShippingLine2StreetAddress(String shippingLine2StreetAddress)
|
void |
setShippingStateCode(String shippingStateCode)
|
void |
setShippingZipCode(String shippingZipCode)
|
void |
toCopy()
If we've copied, we need to update the posting period and year |
void |
toErrorCorrection()
Converts this Document instance into an error correction of itself. |
protected LinkedHashMap |
toStringMapper()
|
void |
updateAccountReceivableObjectCodes()
Ensures that all the accounts receivable object codes are correctly updated |
void |
updateDiscountAndParentLineReferences()
This method is called on CustomerInvoiceDocumentAction.execute() to set isDiscount to true if it truly is a discount line |
boolean |
wouldPayOff(org.kuali.rice.kns.util.KualiDecimal additionalAmountToApply)
Returns whether or not the Invoice would be paid off by applying the additional amount, passed in by the parameter. |
Methods inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase |
---|
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setPostingPeriodCode, setPostingYear |
Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase |
---|
getDocumentHeader, processAfterRetrieve, setDocumentHeader |
Methods inherited from class org.kuali.rice.kns.document.TransactionalDocumentBase |
---|
getAllowsCopy, isSessionDocument |
Methods inherited from class org.kuali.rice.kns.document.DocumentBase |
---|
addCopyErrorDocumentNote, addPessimisticLock, afterLookup, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getPessimisticLocks, getXmlForRouteReport, logErrors, populateDocumentForRouting, postProcessSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setNewDocumentHeader, setPessimisticLocks, toString, toStringBuilder, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization |
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
---|
addNote, afterDelete, afterInsert, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes |
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase |
---|
prepareForWorkflow |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPostingDocument |
---|
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries |
Methods inherited from interface org.kuali.kfs.sys.document.LedgerPostingDocument |
---|
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear |
Methods inherited from interface org.kuali.kfs.sys.document.FinancialSystemTransactionalDocument |
---|
getDocumentHeader |
Methods inherited from interface org.kuali.rice.kns.document.Document |
---|
addPessimisticLock, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getPessimisticLocks, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, processAfterRetrieve, refreshPessimisticLocks, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization |
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject |
---|
addNote, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject |
---|
prepareForWorkflow, refresh |
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware |
---|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate |
Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource |
---|
addPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getPostingYear |
Field Detail |
---|
protected static final String HAS_RECCURENCE_NODE
protected static final String BATCH_GENERATED_NODE
protected String invoiceHeaderText
protected String invoiceAttentionLineText
protected Date invoiceDueDate
protected Date billingDate
protected Date closedDate
protected Date billingDateForDisplay
protected String invoiceTermsText
protected String organizationInvoiceNumber
protected String customerPurchaseOrderNumber
protected String printInvoiceIndicator
protected Date customerPurchaseOrderDate
protected String billByChartOfAccountCode
protected String billedByOrganizationCode
protected Integer customerShipToAddressIdentifier
protected Integer customerBillToAddressIdentifier
protected String customerSpecialProcessingCode
protected boolean customerRecordAttachmentIndicator
protected boolean openInvoiceIndicator
protected String paymentChartOfAccountsCode
protected String paymentAccountNumber
protected String paymentSubAccountNumber
protected String paymentFinancialObjectCode
protected String paymentFinancialSubObjectCode
protected String paymentProjectCode
protected String paymentOrganizationReferenceIdentifier
protected Date printDate
protected Integer age
protected String customerName
protected String billingAddressName
protected String billingCityName
protected String billingStateCode
protected String billingZipCode
protected String billingCountryCode
protected String billingAddressInternationalProvinceName
protected String billingInternationalMailCode
protected String billingEmailAddress
protected String billingAddressTypeCode
protected String billingLine1StreetAddress
protected String billingLine2StreetAddress
protected String shippingLine1StreetAddress
protected String shippingLine2StreetAddress
protected String shippingAddressName
protected String shippingCityName
protected String shippingStateCode
protected String shippingZipCode
protected String shippingCountryCode
protected String shippingAddressInternationalProvinceName
protected String shippingInternationalMailCode
protected String shippingEmailAddress
protected String shippingAddressTypeCode
protected boolean recurredInvoiceIndicator
protected AccountsReceivableDocumentHeader accountsReceivableDocumentHeader
protected Chart billByChartOfAccount
protected Organization billedByOrganization
protected CustomerProcessingType customerSpecialProcessing
protected Account paymentAccount
protected Chart paymentChartOfAccounts
protected SubAccount paymentSubAccount
protected ObjectCode paymentFinancialObject
protected SubObjectCode paymentFinancialSubObject
protected ProjectCode paymentProject
protected PrintInvoiceOptions printInvoiceOption
protected CustomerAddress customerShipToAddress
protected CustomerAddress customerBillToAddress
protected CustomerInvoiceRecurrenceDetails customerInvoiceRecurrenceDetails
protected static org.apache.log4j.Logger LOG
Constructor Detail |
---|
public CustomerInvoiceDocument()
Method Detail |
---|
public org.kuali.rice.kns.util.KualiDecimal getOpenAmount()
public String getDocumentNumber()
getDocumentNumber
in interface org.kuali.rice.kns.document.Document
getDocumentNumber
in class org.kuali.rice.kns.document.DocumentBase
public void setDocumentNumber(String documentNumber)
setDocumentNumber
in interface org.kuali.rice.kns.document.Document
setDocumentNumber
in class org.kuali.rice.kns.document.DocumentBase
documentNumber
- The documentNumber to set.public String getInvoiceHeaderText()
public void setInvoiceHeaderText(String invoiceHeaderText)
invoiceHeaderText
- The invoiceHeaderText to set.public String getInvoiceAttentionLineText()
public void setInvoiceAttentionLineText(String invoiceAttentionLineText)
invoiceAttentionLineText
- The invoiceAttentionLineText to set.public Date getInvoiceDueDate()
public void setInvoiceDueDate(Date invoiceDueDate)
invoiceDueDate
- The invoiceDueDate to set.public Date getBillingDate()
public Integer getAge()
public void setAge(Integer age)
public void setBillingDate(Date billingDate)
billingDate
- The billingDate to set.public String getInvoiceTermsText()
public void setInvoiceTermsText(String invoiceTermsText)
invoiceTermsText
- The invoiceTermsText to set.public String getOrganizationInvoiceNumber()
public void setOrganizationInvoiceNumber(String organizationInvoiceNumber)
organizationInvoiceNumber
- The organizationInvoiceNumber to set.public String getCustomerPurchaseOrderNumber()
public void setCustomerPurchaseOrderNumber(String customerPurchaseOrderNumber)
customerPurchaseOrderNumber
- The customerPurchaseOrderNumber to set.public String getPrintInvoiceIndicator()
public void setPrintInvoiceIndicator(String printInvoiceIndicator)
printInvoiceIndicator
- The printInvoiceIndicator to set.public Date getCustomerPurchaseOrderDate()
public void setCustomerPurchaseOrderDate(Date customerPurchaseOrderDate)
customerPurchaseOrderDate
- The customerPurchaseOrderDate to set.public String getBillByChartOfAccountCode()
public void setBillByChartOfAccountCode(String billByChartOfAccountCode)
billByChartOfAccountCode
- The billByChartOfAccountCode to set.public String getBilledByOrganizationCode()
public void setBilledByOrganizationCode(String billedByOrganizationCode)
billedByOrganizationCode
- The billedByOrganizationCode to set.public Integer getCustomerShipToAddressIdentifier()
public void setCustomerShipToAddressIdentifier(Integer customerShipToAddressIdentifier)
customerShipToAddressIdentifier
- The customerShipToAddressIdentifier to set.public Integer getCustomerBillToAddressIdentifier()
public void setCustomerBillToAddressIdentifier(Integer customerBillToAddressIdentifier)
customerBillToAddressIdentifier
- The customerBillToAddressIdentifier to set.public String getCustomerSpecialProcessingCode()
public void setCustomerSpecialProcessingCode(String customerSpecialProcessingCode)
customerSpecialProcessingCode
- The customerSpecialProcessingCode to set.public boolean isCustomerRecordAttachmentIndicator()
public void setCustomerRecordAttachmentIndicator(boolean customerRecordAttachmentIndicator)
customerRecordAttachmentIndicator
- The customerRecordAttachmentIndicator to set.public boolean isOpenInvoiceIndicator()
public void setOpenInvoiceIndicator(boolean openInvoiceIndicator)
openInvoiceIndicator
- The openInvoiceIndicator to set.public String getPaymentAccountNumber()
public void setPaymentAccountNumber(String paymentAccountNumber)
paymentAccountNumber
- The paymentAccountNumber to set.public String getPaymentChartOfAccountsCode()
public void setPaymentChartOfAccountsCode(String paymentChartOfAccountsCode)
paymentChartOfAccountsCode
- The paymentChartOfAccountsCode to set.public String getPaymentFinancialObjectCode()
public void setPaymentFinancialObjectCode(String paymentFinancialObjectCode)
paymentFinancialObjectCode
- The paymentFinancialObjectCode to set.public String getPaymentFinancialSubObjectCode()
public void setPaymentFinancialSubObjectCode(String paymentFinancialSubObjectCode)
paymentFinancialSubObjectCode
- The paymentFinancialSubObjectCode to set.public String getPaymentOrganizationReferenceIdentifier()
public void setPaymentOrganizationReferenceIdentifier(String paymentOrganizationReferenceIdentifier)
paymentOrganizationReferenceIdentifier
- The paymentOrganizationReferenceIdentifier to set.public String getPaymentProjectCode()
public void setPaymentProjectCode(String paymentProjectCode)
paymentProjectCode
- The paymentProjectCode to set.public String getPaymentSubAccountNumber()
public void setPaymentSubAccountNumber(String paymentSubAccountNumber)
paymentSubAccountNumber
- The paymentSubAccountNumber to set.public Date getPrintDate()
public void setPrintDate(Date printDate)
printDate
- The printDate to set.public AccountsReceivableDocumentHeader getAccountsReceivableDocumentHeader()
public void setAccountsReceivableDocumentHeader(AccountsReceivableDocumentHeader accountsReceivableDocumentHeader)
accountsReceivableDocumentHeader
- The accountsReceivableDocumentHeader to set.public String getParentInvoiceNumber()
public Chart getBillByChartOfAccount()
public void setBillByChartOfAccount(Chart billByChartOfAccount)
billByChartOfAccount
- The billByChartOfAccount to set.public Organization getBilledByOrganization()
public void setBilledByOrganization(Organization billedByOrganization)
billedByOrganization
- The billedByOrganization to set.public CustomerProcessingType getCustomerSpecialProcessing()
public void setCustomerSpecialProcessing(CustomerProcessingType customerSpecialProcessing)
customerSpecialProcessing
- The customerSpecialProcessing to set.public Account getPaymentAccount()
public void setPaymentAccount(Account paymentAccount)
paymentAccount
- The paymentAccount to set.public Chart getPaymentChartOfAccounts()
public void setPaymentChartOfAccounts(Chart paymentChartOfAccounts)
paymentChartOfAccounts
- The paymentChartOfAccounts to set.public ObjectCode getPaymentFinancialObject()
public void setPaymentFinancialObject(ObjectCode paymentFinancialObject)
paymentFinancialObject
- The paymentFinancialObject to set.public SubObjectCode getPaymentFinancialSubObject()
public void setPaymentFinancialSubObject(SubObjectCode paymentFinancialSubObject)
paymentFinancialSubObject
- The paymentFinancialSubObject to set.public ProjectCode getPaymentProject()
public void setPaymentProject(ProjectCode paymentProject)
paymentProject
- The paymentProject to set.public SubAccount getPaymentSubAccount()
public void setPaymentSubAccount(SubAccount paymentSubAccount)
paymentSubAccount
- The paymentSubAccount to set.public Date getBillingDateForDisplay()
public void setBillingDateForDisplay(Date date)
date
- public Date getClosedDate()
public void setClosedDate(Date closedDate)
protected LinkedHashMap toStringMapper()
toStringMapper
in class org.kuali.rice.kns.document.DocumentBase
BusinessObjectBase.toStringMapper()
public boolean isInvoiceReversal()
public boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable)
GeneralLedgerPendingEntrySource
isDebit
in interface GeneralLedgerPendingEntrySource
isDebit
in class AccountingDocumentBase
AccountingDocumentBase.isDebit(org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySourceDetail)
public Class<CustomerInvoiceDetail> getSourceAccountingLineClass()
AccountingDocumentBase
getSourceAccountingLineClass
in interface AccountingDocument
getSourceAccountingLineClass
in class AccountingDocumentBase
AccountingDocumentBase.getSourceAccountingLineClass()
public void updateAccountReceivableObjectCodes()
public boolean generateGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySourceDetail glpeSourceDetail, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
generateGeneralLedgerPendingEntries
in interface GeneralLedgerPendingEntrySource
generateGeneralLedgerPendingEntries
in class AccountingDocumentBase
glpeSourceDetail
- the source detail line to generate general ledger pending entries forsequenceHelper
- the sequence helper which will assign sequence number to generated general ledger pending entries
org.kuali.kfs.service.impl.GenericGeneralLedgerPendingEntryGenerationProcessImpl#processGenerateGeneralLedgerPendingEntries(org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource,
org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySourceDetail,
org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)
protected void addReceivableGLPEs(GeneralLedgerPendingEntrySequenceHelper sequenceHelper, GeneralLedgerPendingEntrySourceDetail glpeSourceDetail, boolean hasClaimOnCashOffset)
poster
- sequenceHelper
- postable
- explicitEntry
- protected void addIncomeGLPEs(GeneralLedgerPendingEntrySequenceHelper sequenceHelper, GeneralLedgerPendingEntrySourceDetail glpeSourceDetail, boolean hasClaimOnCashOffset)
poster
- sequenceHelper
- postable
- explicitEntry
- protected void addSalesTaxGLPEs(GeneralLedgerPendingEntrySequenceHelper sequenceHelper, GeneralLedgerPendingEntrySourceDetail glpeSourceDetail, boolean hasClaimOnCashOffset)
sequenceHelper
- glpeSourceDetail
- hasClaimOnCashOffset
- public GeneralLedgerPendingEntryService getGeneralLedgerPendingEntryService()
public Map getValuesMap()
public List<Long> getWorkflowEngineDocumentIdsToLock()
getWorkflowEngineDocumentIdsToLock
in interface org.kuali.rice.kns.document.Document
getWorkflowEngineDocumentIdsToLock
in class org.kuali.rice.kns.document.DocumentBase
public void doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
doRouteStatusChange
in interface org.kuali.rice.kns.document.Document
doRouteStatusChange
in class GeneralLedgerPostingDocumentBase
org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase#doRouteStatusChange()
protected String getInvoiceRecurrenceMaintenanceDocumentTypeName()
public void prepareForSave()
prepareForSave
in interface org.kuali.rice.kns.document.Document
prepareForSave
in class FinancialSystemTransactionalDocumentBase
FinancialSystemTransactionalDocumentBase.prepareForSave()
public boolean getProcessRecurrenceFlag()
public boolean getNoRecurrenceDataFlag()
public void toCopy() throws org.kuali.rice.kew.exception.WorkflowException
LedgerPostingDocumentBase
toCopy
in interface org.kuali.rice.kns.document.Copyable
toCopy
in class AccountingDocumentBase
org.kuali.rice.kew.exception.WorkflowException
AccountingDocumentBase.toCopy()
public void toErrorCorrection() throws org.kuali.rice.kew.exception.WorkflowException
Correctable
toErrorCorrection
in interface Correctable
toErrorCorrection
in class AccountingDocumentBase
org.kuali.rice.kew.exception.WorkflowException
GeneralLedgerPostingDocumentBase.toErrorCorrection()
public void negateCustomerInvoiceDetailUnitPrices()
public boolean hasAtLeastOneDiscount()
public boolean isDiscountLineBasedOnSequenceNumber(Integer sequenceNumber)
sequenceNumber
-
public CustomerInvoiceDetail getParentLineBasedOnDiscountSequenceNumber(Integer discountSequenceNumber)
sequenceNumber
-
public void updateDiscountAndParentLineReferences()
public void removeDiscountLineBasedOnParentLineIndex(int parentLineIndex)
deleteIndex
- public CustomerInvoiceRecurrenceDetails getCustomerInvoiceRecurrenceDetails()
public void setCustomerInvoiceRecurrenceDetails(CustomerInvoiceRecurrenceDetails customerInvoiceRecurrenceDetails)
public CustomerAddress getCustomerShipToAddress()
public void setCustomerShipToAddress(CustomerAddress customerShipToAddress)
public CustomerAddress getCustomerBillToAddress()
public void setCustomerBillToAddress(CustomerAddress customerBillToAddress)
public PrintInvoiceOptions getPrintInvoiceOption()
public void setPrintInvoiceOption(PrintInvoiceOptions printInvoiceOption)
public org.kuali.rice.kns.util.KualiDecimal getInvoiceItemPreTaxAmountTotal()
public org.kuali.rice.kns.util.KualiDecimal getInvoiceItemTaxAmountTotal()
public CustomerAddress getPrimaryAddressForCustomerNumber()
public Customer getCustomer()
public List<CustomerInvoiceDetail> getCustomerInvoiceDetailsWithoutDiscounts()
public List<CustomerInvoiceDetail> getDiscounts()
public int compareTo(CustomerInvoiceDocument customerInvoiceDocument)
compareTo
in interface Comparable<CustomerInvoiceDocument>
public boolean wouldPayOff(org.kuali.rice.kns.util.KualiDecimal additionalAmountToApply)
additionalAmountToApply
- The additional applied amount to test against.
public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmount()
AccountingDocumentBase
getTotalDollarAmount
in interface AmountTotaling
getTotalDollarAmount
in class AccountingDocumentBase
public String getBillingAddressInternationalProvinceName()
public void setBillingAddressInternationalProvinceName(String billingAddressInternationalProvinceName)
public String getBillingAddressName()
public void setBillingAddressName(String billingAddressName)
public String getBillingAddressTypeCode()
public void setBillingAddressTypeCode(String billingAddressTypeCode)
public String getBillingCityName()
public void setBillingCityName(String billingCityName)
public String getBillingCountryCode()
public void setBillingCountryCode(String billingCountryCode)
public String getBillingEmailAddress()
public void setBillingEmailAddress(String billingEmailAddress)
public String getBillingInternationalMailCode()
public void setBillingInternationalMailCode(String billingInternationalMailCode)
public String getBillingStateCode()
public void setBillingStateCode(String billingStateCode)
public String getBillingZipCode()
public void setBillingZipCode(String billingZipCode)
public String getCustomerName()
public void setCustomerName(String customerName)
public String getShippingAddressInternationalProvinceName()
public void setShippingAddressInternationalProvinceName(String shippingAddressInternationalProvinceName)
public String getShippingAddressName()
public void setShippingAddressName(String shippingAddressName)
public String getShippingAddressTypeCode()
public void setShippingAddressTypeCode(String shippingAddressTypeCode)
public String getShippingCityName()
public void setShippingCityName(String shippingCityName)
public String getShippingCountryCode()
public void setShippingCountryCode(String shippingCountryCode)
public String getShippingEmailAddress()
public void setShippingEmailAddress(String shippingEmailAddress)
public String getShippingInternationalMailCode()
public void setShippingInternationalMailCode(String shippingInternationalMailCode)
public String getShippingStateCode()
public void setShippingStateCode(String shippingStateCode)
public String getShippingZipCode()
public void setShippingZipCode(String shippingZipCode)
public String getBillingLine1StreetAddress()
public void setBillingLine1StreetAddress(String billingLine1StreetAddress)
public String getBillingLine2StreetAddress()
public void setBillingLine2StreetAddress(String billingLine2StreetAddress)
public String getShippingLine1StreetAddress()
public void setShippingLine1StreetAddress(String shippingLine1StreetAddress)
public String getShippingLine2StreetAddress()
public void setShippingLine2StreetAddress(String shippingLine2StreetAddress)
public boolean getRecurredInvoiceIndicator()
public void setRecurredInvoiceIndicator(boolean recurredInvoiceIndicator)
public String getBilledByChartOfAccCodeAndOrgCode()
public void setCustomerBillToAddressOnInvoice(CustomerAddress customerBillToAddress)
public void setCustomerShipToAddressOnInvoice(CustomerAddress customerShipToAddress)
public boolean answerSplitNodeQuestion(String nodeName) throws UnsupportedOperationException
answerSplitNodeQuestion
in interface FinancialSystemTransactionalDocument
answerSplitNodeQuestion
in class FinancialSystemTransactionalDocumentBase
UnsupportedOperationException
FinancialSystemTransactionalDocumentBase.answerSplitNodeQuestion(java.lang.String)
protected boolean isBatchGenerated()
protected boolean hasRecurrence()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |