Class PurchaseInvoiceLogic
java.lang.Object
com.echothree.model.control.invoice.server.logic.PurchaseInvoiceLogic
-
Method Summary
Modifier and TypeMethodDescriptioncreateInvoice
(Session session, ExecutionErrorAccumulator eea, Party billFrom, PartyContactMechanism billFromPartyContactMechanism, Party billTo, PartyContactMechanism billToPartyContactMechanism, Currency currency, Term term, FreeOnBoard freeOnBoard, String reference, String description, Long invoicedTime, Long dueTime, Long paidTime, String workflowEntranceName, BasePK createdBy) createInvoiceLine
(ExecutionErrorAccumulator eea, Invoice invoice, Integer invoiceLineSequence, InvoiceLine parentInvoiceLine, Long amount, InvoiceLineType invoiceLineType, GlAccount glAccount, String description, BasePK createdBy) protected GlAccount
getApGlAccount
(ExecutionErrorAccumulator eea, Vendor vendor) static PurchaseInvoiceLogic
getInvoiceByName
(String invoiceName) getPurchaseInvoiceStatusChoices
(String defaultInvoiceStatusChoice, Language language, boolean allowNullChoice, Invoice invoice, PartyPK partyPK) void
setPurchaseInvoiceStatus
(ExecutionErrorAccumulator eea, Invoice invoice, String invoiceStatusChoice, PartyPK modifiedBy) protected void
validateReference
(ExecutionErrorAccumulator eea, Party billFrom, String reference, Vendor vendor)
-
Method Details
-
getInstance
-
getInvoiceByName
-
validateReference
protected void validateReference(ExecutionErrorAccumulator eea, Party billFrom, String reference, Vendor vendor) -
getApGlAccount
-
createInvoice
public Invoice createInvoice(Session session, ExecutionErrorAccumulator eea, Party billFrom, PartyContactMechanism billFromPartyContactMechanism, Party billTo, PartyContactMechanism billToPartyContactMechanism, Currency currency, Term term, FreeOnBoard freeOnBoard, String reference, String description, Long invoicedTime, Long dueTime, Long paidTime, String workflowEntranceName, BasePK createdBy) -
createInvoiceLine
public InvoiceLine createInvoiceLine(ExecutionErrorAccumulator eea, Invoice invoice, Integer invoiceLineSequence, InvoiceLine parentInvoiceLine, Long amount, InvoiceLineType invoiceLineType, GlAccount glAccount, String description, BasePK createdBy) -
getPurchaseInvoiceStatusChoices
public PurchaseInvoiceStatusChoicesBean getPurchaseInvoiceStatusChoices(String defaultInvoiceStatusChoice, Language language, boolean allowNullChoice, Invoice invoice, PartyPK partyPK) -
setPurchaseInvoiceStatus
public void setPurchaseInvoiceStatus(ExecutionErrorAccumulator eea, Invoice invoice, String invoiceStatusChoice, PartyPK modifiedBy)
-