public class PurchaseInvoice extends ADocWithTaxesPayments implements IDocWarehouse
Model of Vendor Invoice.
| Modifier and Type | Field and Description |
|---|---|
static int |
SOURSE_IS_IN_USE
There is withdrawals from this source!
It arises when theRest != quantity for non-reversed item source
|
static int |
THERE_IS_NO_GOODS
There is no goods in stock.
|
| Constructor and Description |
|---|
PurchaseInvoice() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
constTypeCode()
OOP friendly Constant of code type 1.
|
List<PurchaseInvoiceLine> |
getItsLines()
Geter for itsLines.
|
EWarehouseMovementType |
getLinesWarehouseType()
If owned lines make warehouse entries this return
their type.
|
PrepaymentTo |
getPrepaymentTo()
Getter for prepaymentTo.
|
List<PurchaseInvoiceServiceLine> |
getServices()
Getter for services.
|
List<PurchaseInvoiceTaxLine> |
getTaxesLines()
Geter for taxesLines.
|
DebtorCreditor |
getVendor()
Geter for vendor.
|
void |
setItsLines(List<PurchaseInvoiceLine> pItsLines)
Setter for itsLines.
|
void |
setPrepaymentTo(PrepaymentTo pPrepaymentTo)
Setter for prepaymentTo.
|
void |
setServices(List<PurchaseInvoiceServiceLine> pServices)
Setter for services.
|
void |
setTaxesLines(List<PurchaseInvoiceTaxLine> pTaxesLines)
Setter for taxesLines.
|
void |
setVendor(DebtorCreditor pVendor)
Setter for vendor.
|
getPayByDate, getPaymentDescription, getPaymentTotal, setPayByDate, setPaymentDescription, setPaymentTotalgetSubtotal, getTotalTaxes, setSubtotal, setTotalTaxesgetDescription, getHasMadeAccEntries, getItsDate, getItsTotal, getReversedId, getReversedIdDatabaseBirth, setDescription, setHasMadeAccEntries, setItsDate, setItsTotal, setReversedId, setReversedIdDatabaseBirthgetItsVersion, setItsVersiongetIdBirth, getIdDatabaseBirth, getItsId, setIdBirth, setIdDatabaseBirth, setItsIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getHasMadeAccEntries, getItsDate, getItsTotal, getReversedId, getReversedIdDatabaseBirth, setDescription, setHasMadeAccEntries, setItsDate, setItsTotal, setReversedId, setReversedIdDatabaseBirthpublic static final int THERE_IS_NO_GOODS
There is no goods in stock.
public static final int SOURSE_IS_IN_USE
There is withdrawals from this source! It arises when theRest != quantity for non-reversed item source
public final Integer constTypeCode()
OOP friendly Constant of code type 1.
constTypeCode in interface org.beigesoft.model.IHasTypeCodepublic final EWarehouseMovementType getLinesWarehouseType()
If owned lines make warehouse entries this return their type.
getLinesWarehouseType in interface IDocWarehousepublic final DebtorCreditor getVendor()
Geter for vendor.
public final void setVendor(DebtorCreditor pVendor)
Setter for vendor.
pVendor - referencepublic final PrepaymentTo getPrepaymentTo()
Getter for prepaymentTo.
public final void setPrepaymentTo(PrepaymentTo pPrepaymentTo)
Setter for prepaymentTo.
pPrepaymentTo - referencepublic final List<PurchaseInvoiceLine> getItsLines()
Geter for itsLines.
public final void setItsLines(List<PurchaseInvoiceLine> pItsLines)
Setter for itsLines.
pItsLines - referencepublic final List<PurchaseInvoiceServiceLine> getServices()
Getter for services.
public final void setServices(List<PurchaseInvoiceServiceLine> pServices)
Setter for services.
pServices - referencepublic final List<PurchaseInvoiceTaxLine> getTaxesLines()
Geter for taxesLines.
public final void setTaxesLines(List<PurchaseInvoiceTaxLine> pTaxesLines)
Setter for taxesLines.
pTaxesLines - referenceCopyright © 2016–2018. All rights reserved.