|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomerInvoiceDetailService
This class provides services related to the customer invoice document
Method Summary | |
---|---|
String |
getAccountsReceivableObjectCodeBasedOnReceivableParameter(CustomerInvoiceDetail customerInvoiceDetail)
This method returns the correct accounts receivable object code based on a receivable parameter. |
CustomerInvoiceDetail |
getCustomerInvoiceDetail(String documentNumber,
Integer sequenceNumber)
This method returns a customer invoice detail based on invoice document number and invoice item sequence number |
CustomerInvoiceDetail |
getCustomerInvoiceDetailFromCustomerInvoiceItemCode(String invoiceItemCode,
String chartOfAccountsCode,
String organizationCode)
This method... |
CustomerInvoiceDetail |
getCustomerInvoiceDetailFromCustomerInvoiceItemCodeForCurrentUser(String invoiceItemCode)
This method returns a customer invoice detail from a customer invoice item code for a current user |
CustomerInvoiceDetail |
getCustomerInvoiceDetailFromOrganizationAccountingDefault(Integer universityFiscalYear,
String chartOfAccountsCode,
String organizationCode)
This method returns a customer invoice detail for use on the CustomerInvoiceDocumentAction. |
CustomerInvoiceDetail |
getCustomerInvoiceDetailFromOrganizationAccountingDefaultForCurrentYear()
This method returns a customer invoice detail for current user and current fiscal year for use on the CustomerInvoiceDocumentAction. |
Collection<CustomerInvoiceDetail> |
getCustomerInvoiceDetailsForInvoice(CustomerInvoiceDocument customerInvoiceDocument)
|
Collection<CustomerInvoiceDetail> |
getCustomerInvoiceDetailsForInvoice(String customerInvoiceDocumentNumber)
|
Collection<CustomerInvoiceDetail> |
getCustomerInvoiceDetailsForInvoiceWithCaching(String customerInvoiceDocumentNumber)
Cached for better performance... |
List<String> |
getCustomerInvoiceDocumentNumbersByAccountNumber(String accountNumber)
This method ... |
CustomerInvoiceDetail |
getDiscountCustomerInvoiceDetail(CustomerInvoiceDetail customerInvoiceDetail,
Integer universityFiscalYear,
String chartOfAccountsCode,
String organizationCode)
This method returns a discount customer invoice detail based on a customer invoice detail, the chart of accounts code |
CustomerInvoiceDetail |
getDiscountCustomerInvoiceDetailForCurrentYear(CustomerInvoiceDetail customerInvoiceDetail,
CustomerInvoiceDocument customerInvoiceDocument)
This method returns a discount customer invoice detail for the current year |
void |
prepareCustomerInvoiceDetailForAdd(CustomerInvoiceDetail customerInvoiceDetail,
CustomerInvoiceDocument customerInvoiceDocument)
This method is used to make sure the amounts are calculated correctly and the correct AR object code is in place |
void |
recalculateCustomerInvoiceDetail(CustomerInvoiceDocument document,
CustomerInvoiceDetail customerInvoiceDetail)
This method is used to recalculate a customer invoice detail based on updated values |
void |
updateAccountsForCorrespondingDiscount(CustomerInvoiceDetail parentDiscountCustomerInvoiceDetail)
This method is used to update account for corresponding discount line based on parent line's account |
void |
updateAccountsReceivableObjectCode(CustomerInvoiceDetail customerInvoiceDetail)
This method is used to update the accounts receivable object code if receivable options 1 or 2 are selected. |
Method Detail |
---|
CustomerInvoiceDetail getCustomerInvoiceDetailFromOrganizationAccountingDefault(Integer universityFiscalYear, String chartOfAccountsCode, String organizationCode)
CustomerInvoiceDetail getCustomerInvoiceDetailFromOrganizationAccountingDefaultForCurrentYear()
List<String> getCustomerInvoiceDocumentNumbersByAccountNumber(String accountNumber)
accountNumber
-
CustomerInvoiceDetail getCustomerInvoiceDetailFromCustomerInvoiceItemCodeForCurrentUser(String invoiceItemCode)
invoiceItemCode
-
CustomerInvoiceDetail getCustomerInvoiceDetailFromCustomerInvoiceItemCode(String invoiceItemCode, String chartOfAccountsCode, String organizationCode)
invoiceItemCode
- chartOfAccountsCode
- organizationCode
-
CustomerInvoiceDetail getDiscountCustomerInvoiceDetail(CustomerInvoiceDetail customerInvoiceDetail, Integer universityFiscalYear, String chartOfAccountsCode, String organizationCode)
customerInvoiceDetail
- chartOfAccountsCode
- organizationCode
-
CustomerInvoiceDetail getDiscountCustomerInvoiceDetailForCurrentYear(CustomerInvoiceDetail customerInvoiceDetail, CustomerInvoiceDocument customerInvoiceDocument)
customerInvoiceDetail
- chartOfAccountsCode
- organizationCode
-
CustomerInvoiceDetail getCustomerInvoiceDetail(String documentNumber, Integer sequenceNumber)
documentNumber
- sequenceNumber
-
void recalculateCustomerInvoiceDetail(CustomerInvoiceDocument document, CustomerInvoiceDetail customerInvoiceDetail)
customerInvoiceDetail
- void updateAccountsForCorrespondingDiscount(CustomerInvoiceDetail parentDiscountCustomerInvoiceDetail)
parentDiscountCustomerInvoiceDetail
- void updateAccountsReceivableObjectCode(CustomerInvoiceDetail customerInvoiceDetail)
customerInvoiceDetail
- String getAccountsReceivableObjectCodeBasedOnReceivableParameter(CustomerInvoiceDetail customerInvoiceDetail)
void prepareCustomerInvoiceDetailForAdd(CustomerInvoiceDetail customerInvoiceDetail, CustomerInvoiceDocument customerInvoiceDocument)
customerInvoiceDetail
- customerInvoiceDocument
- Collection<CustomerInvoiceDetail> getCustomerInvoiceDetailsForInvoice(CustomerInvoiceDocument customerInvoiceDocument)
customerInvoiceDocument
-
Collection<CustomerInvoiceDetail> getCustomerInvoiceDetailsForInvoice(String customerInvoiceDocumentNumber)
customerInvoiceDocumentNumber
-
Collection<CustomerInvoiceDetail> getCustomerInvoiceDetailsForInvoiceWithCaching(String customerInvoiceDocumentNumber)
customerInvoiceDocumentNumber
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |