Class InvoiceLogic
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.invoice.server.logic.InvoiceLogic
-
Method Summary
Modifier and TypeMethodDescriptioncreateInvoice
(Session session, ExecutionErrorAccumulator eea, String invoiceTypeName, Party billFrom, PartyContactMechanism billFromPartyContactMechanism, Party billTo, PartyContactMechanism billToPartyContactMechanism, Currency currency, GlAccount glAccount, Term term, FreeOnBoard freeOnBoard, String reference, String description, Long invoicedTime, Long dueTime, Long paidTime, BasePK createdBy) createInvoiceLine
(ExecutionErrorAccumulator eea, Invoice invoice, Integer invoiceLineSequence, InvoiceLine parentInvoiceLine, Long amount, InvoiceLineType invoiceLineType, GlAccount glAccount, String description, BasePK createdBy) getDueTime
(Session session, Term term, String termTypeName, Long invoicedTime) static InvoiceLogic
getInvoiceCurrency
(Invoice invoice) getInvoiceFreeOnBoard
(ExecutionErrorAccumulator eea, Party billFrom, FreeOnBoard freeOnBoard) getInvoiceName
(ExecutionErrorAccumulator eea, InvoiceType invoiceType) getInvoiceRoleTypeByName
(ExecutionErrorAccumulator eea, String invoiceRoleTypeName) getInvoiceSequence
(ExecutionErrorAccumulator eea, InvoiceType invoiceType) getInvoiceSequenceType
(ExecutionErrorAccumulator eea, InvoiceType invoiceType) getInvoiceTerm
(ExecutionErrorAccumulator eea, Party billFrom, Term term) getInvoiceTypeByName
(ExecutionErrorAccumulator eea, String invoiceTypeName) getPaidTime
(Session session, String termTypeName) getTermTypeName
(Term term) Methods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
Method Details
-
getInstance
-
getInvoiceCurrency
-
getInvoiceTypeByName
-
getInvoiceRoleTypeByName
public InvoiceRoleType getInvoiceRoleTypeByName(ExecutionErrorAccumulator eea, String invoiceRoleTypeName) -
getInvoiceSequenceType
-
getInvoiceSequence
-
getInvoiceName
-
getInvoiceTerm
-
getInvoiceFreeOnBoard
public FreeOnBoard getInvoiceFreeOnBoard(ExecutionErrorAccumulator eea, Party billFrom, FreeOnBoard freeOnBoard) -
getTermTypeName
-
getDueTime
-
getPaidTime
-
createInvoice
public Invoice createInvoice(Session session, ExecutionErrorAccumulator eea, String invoiceTypeName, Party billFrom, PartyContactMechanism billFromPartyContactMechanism, Party billTo, PartyContactMechanism billToPartyContactMechanism, Currency currency, GlAccount glAccount, Term term, FreeOnBoard freeOnBoard, String reference, String description, Long invoicedTime, Long dueTime, Long paidTime, BasePK createdBy) -
createInvoiceLine
public InvoiceLine createInvoiceLine(ExecutionErrorAccumulator eea, Invoice invoice, Integer invoiceLineSequence, InvoiceLine parentInvoiceLine, Long amount, InvoiceLineType invoiceLineType, GlAccount glAccount, String description, BasePK createdBy)
-