Class CashJournalLine
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.financialmgmt.cashmgmt.CashJournalLine
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class CashJournalLine extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity FinancialMgmtJournalLine (stored in table C_CashLine).
Help: The Cash Line Tab defines the individual lines for this journal.
NOTE: This class should not be instantiated directly. To instantiate this class theOBProvider
should be used.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENTITY_NAME
static String
PROPERTY_ACTIVE
Property active stored in column IsActive in table C_CashLinestatic String
PROPERTY_AMOUNT
Property amount stored in column Amount in table C_CashLinestatic String
PROPERTY_CASHJOURNAL
Property cashJournal stored in column C_Cash_ID in table C_CashLine
Help: The Cash Journal uniquely identifies a Cash Journal. The Cash Journal will record transactions for the cash bank accountstatic String
PROPERTY_CASHTYPE
Property cashType stored in column CashType in table C_CashLine
Help: The Cash Type indicates the source for this Cash Journal Line.static String
PROPERTY_CHARGE
Property charge stored in column C_Charge_ID in table C_CashLine
Help: The Charge indicates a type of Charge (Handling, Shipping, Restocking)static String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table C_CashLinestatic String
PROPERTY_CREATEAPAYMENTINADVANCE
Property createAPaymentInAdvance stored in column PayInAdvance in table C_CashLine
Help: Create a payment in advancestatic String
PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table C_CashLinestatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table C_CashLinestatic String
PROPERTY_CURRENCY
Property currency stored in column C_Currency_ID in table C_CashLine
Help: Indicates the currency to be used when processing this document.static String
PROPERTY_DESCRIPTION
Property description stored in column Description in table C_CashLine
Help: A description is limited to 255 characters.static String
PROPERTY_DISCOUNTAMOUNT
Property discountAmount stored in column DiscountAmt in table C_CashLine
Help: The Discount Amount indicates the discount amount for a document or line.static String
PROPERTY_GENERATED
Property generated stored in column IsGenerated in table C_CashLine
Help: The Generated checkbox identifies a journal line that was generated from a source document. Lines could also be entered manually or imported.static String
PROPERTY_GLITEM
Property gLItem stored in column C_Glitem_ID in table C_CashLine
Help: General ledger item.static String
PROPERTY_ID
Property id stored in column C_CashLine_ID in table C_CashLine
Help: The Cash Journal Line indicates a unique line in a cash journal.static String
PROPERTY_LINENO
Property lineNo stored in column Line in table C_CashLinestatic String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table C_CashLinestatic String
PROPERTY_PAYMENT
Property payment stored in column C_Debt_Payment_ID in table C_CashLine
Help: Refers to the amount of money to be paid or collected.static String
PROPERTY_SALESORDER
Property salesOrder stored in column C_Order_ID in table C_CashLine
Help: Unique identifier and a reference to a Sales Order originating from the document sequence defined for this document type.static String
PROPERTY_UPDATED
Property updated stored in column Updated in table C_CashLinestatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table C_CashLinestatic String
PROPERTY_WRITEOFFAMOUNT
Property writeoffAmount stored in column WriteOffAmt in table C_CashLine
Help: The Write Off Amount indicates the amount to be written off as uncollectible.static String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description CashJournalLine()
-
Method Summary
-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, get, get, get, getEntity, getIdentifier, getValue, isAllowRead, isNewOBObject, isOrgClientAccessCheckEnabled, isWriteAccessCheckEnabled, set, setAccessChecks, setAllowRead, setDefaultValue, setId, setNewOBObject, setValue, toString, validate
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
- See Also:
- Constant Field Values
-
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_ID
public static final String PROPERTY_ID
Property id stored in column C_CashLine_ID in table C_CashLine
Help: The Cash Journal Line indicates a unique line in a cash journal.- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table C_CashLine- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table C_CashLine- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column IsActive in table C_CashLine- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table C_CashLine- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table C_CashLine- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table C_CashLine- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table C_CashLine- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CASHJOURNAL
public static final String PROPERTY_CASHJOURNAL
Property cashJournal stored in column C_Cash_ID in table C_CashLine
Help: The Cash Journal uniquely identifies a Cash Journal. The Cash Journal will record transactions for the cash bank account- See Also:
- Constant Field Values
-
PROPERTY_LINENO
public static final String PROPERTY_LINENO
Property lineNo stored in column Line in table C_CashLine- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
Property description stored in column Description in table C_CashLine
Help: A description is limited to 255 characters.- See Also:
- Constant Field Values
-
PROPERTY_CASHTYPE
public static final String PROPERTY_CASHTYPE
Property cashType stored in column CashType in table C_CashLine
Help: The Cash Type indicates the source for this Cash Journal Line.- See Also:
- Constant Field Values
-
PROPERTY_CHARGE
public static final String PROPERTY_CHARGE
Property charge stored in column C_Charge_ID in table C_CashLine
Help: The Charge indicates a type of Charge (Handling, Shipping, Restocking)- See Also:
- Constant Field Values
-
PROPERTY_CURRENCY
public static final String PROPERTY_CURRENCY
Property currency stored in column C_Currency_ID in table C_CashLine
Help: Indicates the currency to be used when processing this document.- See Also:
- Constant Field Values
-
PROPERTY_AMOUNT
public static final String PROPERTY_AMOUNT
Property amount stored in column Amount in table C_CashLine- See Also:
- Constant Field Values
-
PROPERTY_DISCOUNTAMOUNT
public static final String PROPERTY_DISCOUNTAMOUNT
Property discountAmount stored in column DiscountAmt in table C_CashLine
Help: The Discount Amount indicates the discount amount for a document or line.- See Also:
- Constant Field Values
-
PROPERTY_WRITEOFFAMOUNT
public static final String PROPERTY_WRITEOFFAMOUNT
Property writeoffAmount stored in column WriteOffAmt in table C_CashLine
Help: The Write Off Amount indicates the amount to be written off as uncollectible.- See Also:
- Constant Field Values
-
PROPERTY_GENERATED
public static final String PROPERTY_GENERATED
Property generated stored in column IsGenerated in table C_CashLine
Help: The Generated checkbox identifies a journal line that was generated from a source document. Lines could also be entered manually or imported.- See Also:
- Constant Field Values
-
PROPERTY_SALESORDER
public static final String PROPERTY_SALESORDER
Property salesOrder stored in column C_Order_ID in table C_CashLine
Help: Unique identifier and a reference to a Sales Order originating from the document sequence defined for this document type.- See Also:
- Constant Field Values
-
PROPERTY_PAYMENT
public static final String PROPERTY_PAYMENT
Property payment stored in column C_Debt_Payment_ID in table C_CashLine
Help: Refers to the amount of money to be paid or collected.- See Also:
- Constant Field Values
-
PROPERTY_GLITEM
public static final String PROPERTY_GLITEM
Property gLItem stored in column C_Glitem_ID in table C_CashLine
Help: General ledger item.- See Also:
- Constant Field Values
-
PROPERTY_CREATEAPAYMENTINADVANCE
public static final String PROPERTY_CREATEAPAYMENTINADVANCE
Property createAPaymentInAdvance stored in column PayInAdvance in table C_CashLine
Help: Create a payment in advance- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityName
public String getEntityName()
- Specified by:
getEntityName
in interfaceIdentifiable
- Specified by:
getEntityName
in classBaseOBObject
-
getId
public String getId()
- Specified by:
getId
in interfaceBaseOBObjectDef
- Specified by:
getId
in interfaceIdentifiable
- Overrides:
getId
in classBaseOBObject
- See Also:
PROPERTY_ID
-
setId
public void setId(String id)
- See Also:
PROPERTY_ID
-
getClient
public Client getClient()
Description copied from interface:ClientEnabled
Client field- Specified by:
getClient
in interfaceClientEnabled
- Returns:
- client
- See Also:
PROPERTY_CLIENT
-
setClient
public void setClient(Client client)
Description copied from interface:ClientEnabled
Client field- Specified by:
setClient
in interfaceClientEnabled
- See Also:
PROPERTY_CLIENT
-
getOrganization
public Organization getOrganization()
Description copied from interface:OrganizationEnabled
Gets organization field- Specified by:
getOrganization
in interfaceOrganizationEnabled
- Returns:
- organization
- See Also:
PROPERTY_ORGANIZATION
-
setOrganization
public void setOrganization(Organization organization)
Description copied from interface:OrganizationEnabled
Sets organization field- Specified by:
setOrganization
in interfaceOrganizationEnabled
- See Also:
PROPERTY_ORGANIZATION
-
isActive
public Boolean isActive()
Description copied from interface:ActiveEnabled
Gets active field- Specified by:
isActive
in interfaceActiveEnabled
- Returns:
- active
- See Also:
PROPERTY_ACTIVE
-
setActive
public void setActive(Boolean active)
Description copied from interface:ActiveEnabled
Sets active field- Specified by:
setActive
in interfaceActiveEnabled
- See Also:
PROPERTY_ACTIVE
-
getCreationDate
public Date getCreationDate()
Description copied from interface:Traceable
Creation date of audit- Specified by:
getCreationDate
in interfaceTraceable
- Returns:
- Date of creation
- See Also:
PROPERTY_CREATIONDATE
-
setCreationDate
public void setCreationDate(Date creationDate)
Description copied from interface:Traceable
Creation date of audit- Specified by:
setCreationDate
in interfaceTraceable
- See Also:
PROPERTY_CREATIONDATE
-
getCreatedBy
public User getCreatedBy()
Description copied from interface:Traceable
Created by audit user- Specified by:
getCreatedBy
in interfaceTraceable
- Returns:
- User
- See Also:
PROPERTY_CREATEDBY
-
setCreatedBy
public void setCreatedBy(User createdBy)
Description copied from interface:Traceable
Created by audit user- Specified by:
setCreatedBy
in interfaceTraceable
- See Also:
PROPERTY_CREATEDBY
-
getUpdated
public Date getUpdated()
Description copied from interface:Traceable
Update date of audit- Specified by:
getUpdated
in interfaceTraceable
- Returns:
- Date of update
- See Also:
PROPERTY_UPDATED
-
setUpdated
public void setUpdated(Date updated)
Description copied from interface:Traceable
Update date of audit- Specified by:
setUpdated
in interfaceTraceable
- See Also:
PROPERTY_UPDATED
-
getUpdatedBy
public User getUpdatedBy()
Description copied from interface:Traceable
Update by audit user- Specified by:
getUpdatedBy
in interfaceTraceable
- Returns:
- User who updated
- See Also:
PROPERTY_UPDATEDBY
-
setUpdatedBy
public void setUpdatedBy(User updatedBy)
Description copied from interface:Traceable
Update by audit user- Specified by:
setUpdatedBy
in interfaceTraceable
- See Also:
PROPERTY_UPDATEDBY
-
getCashJournal
public CashJournal getCashJournal()
- See Also:
PROPERTY_CASHJOURNAL
-
setCashJournal
public void setCashJournal(CashJournal cashJournal)
- See Also:
PROPERTY_CASHJOURNAL
-
getLineNo
public Long getLineNo()
- See Also:
PROPERTY_LINENO
-
setLineNo
public void setLineNo(Long lineNo)
- See Also:
PROPERTY_LINENO
-
getDescription
public String getDescription()
- See Also:
PROPERTY_DESCRIPTION
-
setDescription
public void setDescription(String description)
- See Also:
PROPERTY_DESCRIPTION
-
getCashType
public String getCashType()
- See Also:
PROPERTY_CASHTYPE
-
setCashType
public void setCashType(String cashType)
- See Also:
PROPERTY_CASHTYPE
-
getCharge
public GLCharge getCharge()
- See Also:
PROPERTY_CHARGE
-
setCharge
public void setCharge(GLCharge charge)
- See Also:
PROPERTY_CHARGE
-
getCurrency
public Currency getCurrency()
- See Also:
PROPERTY_CURRENCY
-
setCurrency
public void setCurrency(Currency currency)
- See Also:
PROPERTY_CURRENCY
-
getAmount
public BigDecimal getAmount()
- See Also:
PROPERTY_AMOUNT
-
setAmount
public void setAmount(BigDecimal amount)
- See Also:
PROPERTY_AMOUNT
-
getDiscountAmount
public BigDecimal getDiscountAmount()
- See Also:
PROPERTY_DISCOUNTAMOUNT
-
setDiscountAmount
public void setDiscountAmount(BigDecimal discountAmount)
- See Also:
PROPERTY_DISCOUNTAMOUNT
-
getWriteoffAmount
public BigDecimal getWriteoffAmount()
- See Also:
PROPERTY_WRITEOFFAMOUNT
-
setWriteoffAmount
public void setWriteoffAmount(BigDecimal writeoffAmount)
- See Also:
PROPERTY_WRITEOFFAMOUNT
-
isGenerated
public Boolean isGenerated()
- See Also:
PROPERTY_GENERATED
-
setGenerated
public void setGenerated(Boolean generated)
- See Also:
PROPERTY_GENERATED
-
getSalesOrder
public Order getSalesOrder()
- See Also:
PROPERTY_SALESORDER
-
setSalesOrder
public void setSalesOrder(Order salesOrder)
- See Also:
PROPERTY_SALESORDER
-
getPayment
public DebtPayment getPayment()
- See Also:
PROPERTY_PAYMENT
-
setPayment
public void setPayment(DebtPayment payment)
- See Also:
PROPERTY_PAYMENT
-
getGLItem
public GLItem getGLItem()
- See Also:
PROPERTY_GLITEM
-
setGLItem
public void setGLItem(GLItem gLItem)
- See Also:
PROPERTY_GLITEM
-
isCreateAPaymentInAdvance
public Boolean isCreateAPaymentInAdvance()
- See Also:
PROPERTY_CREATEAPAYMENTINADVANCE
-
setCreateAPaymentInAdvance
public void setCreateAPaymentInAdvance(Boolean createAPaymentInAdvance)
- See Also:
PROPERTY_CREATEAPAYMENTINADVANCE
-
-