Class Sheet
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.timeandexpense.Sheet
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class Sheet extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity TimeAndExpenseSheet (stored in table S_TimeExpense).
Help: Contains the time and expenses for the Employee or Contractor (Business Partner)
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
COMPUTED_COLUMN_PROCESSEDLOGIC
Computed column for property processedLogic
Help: The Processed checkbox indicates that a document has been processed.
Computed from:
select processed from S_TimeExpense TE where TE.S_TimeExpense_id=S_TimeExpense_id
static String
ENTITY_NAME
static String
PROPERTY__COMPUTEDCOLUMNS
Property _computedColumns stored in column _computedColumns in table S_TimeExpensestatic String
PROPERTY_ACTIVE
Property active stored in column IsActive in table S_TimeExpensestatic String
PROPERTY_ASSET
Property asset stored in column A_Asset_ID in table S_TimeExpense
Help: Any item of economic value owned by the corporation, especially that which could be converted to cash.static String
PROPERTY_BUSINESSPARTNER
Property businessPartner stored in column C_BPartner_ID in table S_TimeExpense
Help: A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.static String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table S_TimeExpensestatic String
PROPERTY_COSTCENTER
Property costCenter stored in column C_Costcenter_ID in table S_TimeExpense
Help: Division that adds to the cost of an organization. Internal structure for cost allocation.static String
PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table S_TimeExpensestatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table S_TimeExpensestatic String
PROPERTY_DESCRIPTION
Property description stored in column Description in table S_TimeExpense
Help: A description is limited to 255 characters.static String
PROPERTY_DOCUMENTNO
Property documentNo stored in column DocumentNo in table S_TimeExpensestatic String
PROPERTY_ID
Property id stored in column S_TimeExpense_ID in table S_TimeExpense
Help: The ID identifies a unique record for the expense reportstatic String
PROPERTY_NDDIMENSION
Property ndDimension stored in column User2_ID in table S_TimeExpense
Help: The user defined element displays the optional elements that have been defined for this account combination.static String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table S_TimeExpensestatic String
PROPERTY_POSTED
Property posted stored in column Posted in table S_TimeExpense
Help: An accounting status button that indicates if the transaction has already been posted to the general ledger or not. When doing the accounting manually this button can be used to post or unpost the transaction from the general ledger by hand.static String
PROPERTY_PRICELIST
Property priceList stored in column M_Pricelist_ID in table S_TimeExpense
Help: Price Lists are used to determine the pricing, margin and cost of items purchased or sold.static String
PROPERTY_PROCESSED
Property processed stored in column Processed in table S_TimeExpense
Help: The Processed checkbox indicates that a document has been processed.static String
PROPERTY_PROCESSNOW
Property processNow stored in column Processing in table S_TimeExpense
Help: When this field is set as 'Y' a process is being performed on this record.static String
PROPERTY_PROJECT
Property project stored in column C_Project_ID in table S_TimeExpense
Help: Identifier of a project defined within the Project & Service Management module.static String
PROPERTY_REPORTDATE
Property reportDate stored in column DateReport in table S_TimeExpensestatic String
PROPERTY_STDIMENSION
Property stDimension stored in column User1_ID in table S_TimeExpense
Help: The user defined element displays the optional elements that have been defined for this account combination.static String
PROPERTY_TIMEANDEXPENSESHEETLINELIST
Property timeAndExpenseSheetLineList stored in table S_TimeExpensestatic String
PROPERTY_UPDATED
Property updated stored in column Updated in table S_TimeExpensestatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table S_TimeExpensestatic String
PROPERTY_WAREHOUSE
Property warehouse stored in column M_Warehouse_ID in table S_TimeExpense
Help: The Warehouse identifies a unique Warehouse where products are stored or Services are provided.static String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description Sheet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(String propName)
Returns the value of theProperty
identified by the propName.Sheet_ComputedColumns
get_computedColumns()
Asset
getAsset()
BusinessPartner
getBusinessPartner()
Client
getClient()
Client fieldCostcenter
getCostCenter()
User
getCreatedBy()
Created by audit userDate
getCreationDate()
Creation date of auditString
getDescription()
String
getDocumentNo()
String
getEntityName()
String
getId()
UserDimension2
getNdDimension()
Organization
getOrganization()
Gets organization fieldString
getPosted()
PriceList
getPriceList()
String
getProcessed()
Project
getProject()
Date
getReportDate()
UserDimension1
getStDimension()
List<SheetLine>
getTimeAndExpenseSheetLineList()
Help: Contains all the expense items and billable or non-billable hoursDate
getUpdated()
Update date of auditUser
getUpdatedBy()
Update by audit userWarehouse
getWarehouse()
Boolean
isActive()
Gets active fieldBoolean
isProcessedLogic()
Boolean
isProcessNow()
void
set_computedColumns(Sheet_ComputedColumns _computedColumns)
void
setActive(Boolean active)
Sets active fieldvoid
setAsset(Asset asset)
void
setBusinessPartner(BusinessPartner businessPartner)
void
setClient(Client client)
Client fieldvoid
setCostCenter(Costcenter costCenter)
void
setCreatedBy(User createdBy)
Created by audit uservoid
setCreationDate(Date creationDate)
Creation date of auditvoid
setDescription(String description)
void
setDocumentNo(String documentNo)
void
setId(String id)
void
setNdDimension(UserDimension2 ndDimension)
void
setOrganization(Organization organization)
Sets organization fieldvoid
setPosted(String posted)
void
setPriceList(PriceList priceList)
void
setProcessed(String processed)
void
setProcessedLogic(Boolean processedLogic)
void
setProcessNow(Boolean processNow)
void
setProject(Project project)
void
setReportDate(Date reportDate)
void
setStDimension(UserDimension1 stDimension)
void
setTimeAndExpenseSheetLineList(List<SheetLine> timeAndExpenseSheetLineList)
Help: Contains all the expense items and billable or non-billable hoursvoid
setUpdated(Date updated)
Update date of auditvoid
setUpdatedBy(User updatedBy)
Update by audit uservoid
setWarehouse(Warehouse warehouse)
-
Methods inherited from class org.openbravo.base.structure.BaseOBObject
checkDerivedReadable, 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 S_TimeExpense_ID in table S_TimeExpense
Help: The ID identifies a unique record for the expense report- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table S_TimeExpense- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table S_TimeExpense- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column IsActive in table S_TimeExpense- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table S_TimeExpense- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table S_TimeExpense- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table S_TimeExpense- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table S_TimeExpense- See Also:
Traceable
, Constant Field Values
-
PROPERTY_DOCUMENTNO
public static final String PROPERTY_DOCUMENTNO
Property documentNo stored in column DocumentNo in table S_TimeExpense- See Also:
- Constant Field Values
-
PROPERTY_BUSINESSPARTNER
public static final String PROPERTY_BUSINESSPARTNER
Property businessPartner stored in column C_BPartner_ID in table S_TimeExpense
Help: A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these.- See Also:
- Constant Field Values
-
PROPERTY_REPORTDATE
public static final String PROPERTY_REPORTDATE
Property reportDate stored in column DateReport in table S_TimeExpense- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
Property description stored in column Description in table S_TimeExpense
Help: A description is limited to 255 characters.- See Also:
- Constant Field Values
-
PROPERTY_PROCESSNOW
public static final String PROPERTY_PROCESSNOW
Property processNow stored in column Processing in table S_TimeExpense
Help: When this field is set as 'Y' a process is being performed on this record.- See Also:
- Constant Field Values
-
PROPERTY_PROCESSED
public static final String PROPERTY_PROCESSED
Property processed stored in column Processed in table S_TimeExpense
Help: The Processed checkbox indicates that a document has been processed.- See Also:
- Constant Field Values
-
PROPERTY_PRICELIST
public static final String PROPERTY_PRICELIST
Property priceList stored in column M_Pricelist_ID in table S_TimeExpense
Help: Price Lists are used to determine the pricing, margin and cost of items purchased or sold.- See Also:
- Constant Field Values
-
PROPERTY_WAREHOUSE
public static final String PROPERTY_WAREHOUSE
Property warehouse stored in column M_Warehouse_ID in table S_TimeExpense
Help: The Warehouse identifies a unique Warehouse where products are stored or Services are provided.- See Also:
- Constant Field Values
-
PROPERTY_POSTED
public static final String PROPERTY_POSTED
Property posted stored in column Posted in table S_TimeExpense
Help: An accounting status button that indicates if the transaction has already been posted to the general ledger or not. When doing the accounting manually this button can be used to post or unpost the transaction from the general ledger by hand.- See Also:
- Constant Field Values
-
PROPERTY_STDIMENSION
public static final String PROPERTY_STDIMENSION
Property stDimension stored in column User1_ID in table S_TimeExpense
Help: The user defined element displays the optional elements that have been defined for this account combination.- See Also:
- Constant Field Values
-
PROPERTY_NDDIMENSION
public static final String PROPERTY_NDDIMENSION
Property ndDimension stored in column User2_ID in table S_TimeExpense
Help: The user defined element displays the optional elements that have been defined for this account combination.- See Also:
- Constant Field Values
-
PROPERTY_COSTCENTER
public static final String PROPERTY_COSTCENTER
Property costCenter stored in column C_Costcenter_ID in table S_TimeExpense
Help: Division that adds to the cost of an organization. Internal structure for cost allocation.- See Also:
- Constant Field Values
-
PROPERTY_ASSET
public static final String PROPERTY_ASSET
Property asset stored in column A_Asset_ID in table S_TimeExpense
Help: Any item of economic value owned by the corporation, especially that which could be converted to cash.- See Also:
- Constant Field Values
-
PROPERTY_PROJECT
public static final String PROPERTY_PROJECT
Property project stored in column C_Project_ID in table S_TimeExpense
Help: Identifier of a project defined within the Project & Service Management module.- See Also:
- Constant Field Values
-
PROPERTY__COMPUTEDCOLUMNS
public static final String PROPERTY__COMPUTEDCOLUMNS
Property _computedColumns stored in column _computedColumns in table S_TimeExpense- See Also:
- Constant Field Values
-
PROPERTY_TIMEANDEXPENSESHEETLINELIST
public static final String PROPERTY_TIMEANDEXPENSESHEETLINELIST
Property timeAndExpenseSheetLineList stored in table S_TimeExpense- See Also:
- Constant Field Values
-
COMPUTED_COLUMN_PROCESSEDLOGIC
public static final String COMPUTED_COLUMN_PROCESSEDLOGIC
Computed column for property processedLogic
Help: The Processed checkbox indicates that a document has been processed.
Computed from:
select processed from S_TimeExpense TE where TE.S_TimeExpense_id=S_TimeExpense_id
- 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
-
getDocumentNo
public String getDocumentNo()
- See Also:
PROPERTY_DOCUMENTNO
-
setDocumentNo
public void setDocumentNo(String documentNo)
- See Also:
PROPERTY_DOCUMENTNO
-
getBusinessPartner
public BusinessPartner getBusinessPartner()
- See Also:
PROPERTY_BUSINESSPARTNER
-
setBusinessPartner
public void setBusinessPartner(BusinessPartner businessPartner)
- See Also:
PROPERTY_BUSINESSPARTNER
-
getReportDate
public Date getReportDate()
- See Also:
PROPERTY_REPORTDATE
-
setReportDate
public void setReportDate(Date reportDate)
- See Also:
PROPERTY_REPORTDATE
-
getDescription
public String getDescription()
- See Also:
PROPERTY_DESCRIPTION
-
setDescription
public void setDescription(String description)
- See Also:
PROPERTY_DESCRIPTION
-
isProcessNow
public Boolean isProcessNow()
- See Also:
PROPERTY_PROCESSNOW
-
setProcessNow
public void setProcessNow(Boolean processNow)
- See Also:
PROPERTY_PROCESSNOW
-
getProcessed
public String getProcessed()
- See Also:
PROPERTY_PROCESSED
-
setProcessed
public void setProcessed(String processed)
- See Also:
PROPERTY_PROCESSED
-
getPriceList
public PriceList getPriceList()
- See Also:
PROPERTY_PRICELIST
-
setPriceList
public void setPriceList(PriceList priceList)
- See Also:
PROPERTY_PRICELIST
-
getWarehouse
public Warehouse getWarehouse()
- See Also:
PROPERTY_WAREHOUSE
-
setWarehouse
public void setWarehouse(Warehouse warehouse)
- See Also:
PROPERTY_WAREHOUSE
-
getPosted
public String getPosted()
- See Also:
PROPERTY_POSTED
-
setPosted
public void setPosted(String posted)
- See Also:
PROPERTY_POSTED
-
getStDimension
public UserDimension1 getStDimension()
- See Also:
PROPERTY_STDIMENSION
-
setStDimension
public void setStDimension(UserDimension1 stDimension)
- See Also:
PROPERTY_STDIMENSION
-
getNdDimension
public UserDimension2 getNdDimension()
- See Also:
PROPERTY_NDDIMENSION
-
setNdDimension
public void setNdDimension(UserDimension2 ndDimension)
- See Also:
PROPERTY_NDDIMENSION
-
getCostCenter
public Costcenter getCostCenter()
- See Also:
PROPERTY_COSTCENTER
-
setCostCenter
public void setCostCenter(Costcenter costCenter)
- See Also:
PROPERTY_COSTCENTER
-
getAsset
public Asset getAsset()
- See Also:
PROPERTY_ASSET
-
setAsset
public void setAsset(Asset asset)
- See Also:
PROPERTY_ASSET
-
getProject
public Project getProject()
- See Also:
PROPERTY_PROJECT
-
setProject
public void setProject(Project project)
- See Also:
PROPERTY_PROJECT
-
isProcessedLogic
public Boolean isProcessedLogic()
- See Also:
COMPUTED_COLUMN_PROCESSEDLOGIC
-
setProcessedLogic
public void setProcessedLogic(Boolean processedLogic)
- See Also:
COMPUTED_COLUMN_PROCESSEDLOGIC
-
get_computedColumns
public Sheet_ComputedColumns get_computedColumns()
- See Also:
PROPERTY__COMPUTEDCOLUMNS
-
set_computedColumns
public void set_computedColumns(Sheet_ComputedColumns _computedColumns)
- See Also:
PROPERTY__COMPUTEDCOLUMNS
-
getTimeAndExpenseSheetLineList
public List<SheetLine> getTimeAndExpenseSheetLineList()
Help: Contains all the expense items and billable or non-billable hours- See Also:
SheetLine
-
setTimeAndExpenseSheetLineList
public void setTimeAndExpenseSheetLineList(List<SheetLine> timeAndExpenseSheetLineList)
Help: Contains all the expense items and billable or non-billable hours- See Also:
SheetLine
-
get
public Object get(String propName)
Description copied from class:BaseOBObject
Returns the value of theProperty
identified by the propName. This method does security checking. If a security violation occurs then a OBSecurityException is thrown.- Specified by:
get
in interfaceBaseOBObjectDef
- Specified by:
get
in interfaceDynamicEnabled
- Overrides:
get
in classBaseOBObject
- Parameters:
propName
- the name of theProperty
for which the value is requested- See Also:
BaseOBObject.get(String, Language)
-
-