Class InternalConsumption
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.materialmgmt.transaction.InternalConsumption
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class InternalConsumption extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity MaterialMgmtInternalConsumption (stored in table M_Internal_Consumption).
Help: Contains all the material transactions due to maintenance without a shipment
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 M_Internal_Consumptionstatic String
PROPERTY_ACTIVITY
Property activity stored in column C_Activity_ID in table M_Internal_Consumption
Help: Activities indicate tasks that are performed and used to utilize Activity based Costingstatic String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table M_Internal_Consumptionstatic String
PROPERTY_COSTCENTER
Property costCenter stored in column C_Costcenter_ID in table M_Internal_Consumption
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 M_Internal_Consumptionstatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table M_Internal_Consumptionstatic String
PROPERTY_DESCRIPTION
Property description stored in column Description in table M_Internal_Consumption
Help: A description is limited to 255 characters.static String
PROPERTY_ID
Property id stored in column M_Internal_Consumption_ID in table M_Internal_Consumption
Help: Identifies an internal consumption of products.static String
PROPERTY_MATERIALMGMTINTERNALCONSUMPTIONLINELIST
Property materialMgmtInternalConsumptionLineList stored in table M_Internal_Consumptionstatic String
PROPERTY_MOVEMENTDATE
Property movementDate stored in column MovementDate in table M_Internal_Consumption
Help: The Movement Date indicates the date that a product moved in or out of inventory. This is the result of a shipment, receipt or inventory movement.static String
PROPERTY_NAME
Property name stored in column Name in table M_Internal_Consumptionstatic String
PROPERTY_NDDIMENSION
Property ndDimension stored in column User2_ID in table M_Internal_Consumption
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 M_Internal_Consumptionstatic String
PROPERTY_POSTED
Property posted stored in column Posted in table M_Internal_Consumption
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_PROCESSED
Property processed stored in column Processed in table M_Internal_Consumption
Help: The Processed checkbox indicates that a document has been processed.static String
PROPERTY_PROCESSNOW
Property processNow stored in column Processing in table M_Internal_Consumption
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 M_Internal_Consumption
Help: Identifier of a project defined within the Project & Service Management module.static String
PROPERTY_SALESCAMPAIGN
Property salesCampaign stored in column C_Campaign_ID in table M_Internal_Consumption
Help: The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign.static String
PROPERTY_STATUS
Property status stored in column Status in table M_Internal_Consumption
Help: Identifies the Status of the documentstatic String
PROPERTY_STDIMENSION
Property stDimension stored in column User1_ID in table M_Internal_Consumption
Help: The user defined element displays the optional elements that have been defined for this account combination.static String
PROPERTY_TRXORGANIZATION
Property trxOrganization stored in column AD_Orgtrx_ID in table M_Internal_Consumption
Help: The organization which performs or initiates this transaction (for another organization). The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.static String
PROPERTY_UPDATED
Property updated stored in column Updated in table M_Internal_Consumptionstatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column Updatedby in table M_Internal_Consumptionstatic String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description InternalConsumption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ABCActivity
getActivity()
Client
getClient()
Client fieldCostcenter
getCostCenter()
User
getCreatedBy()
Created by audit userDate
getCreationDate()
Creation date of auditString
getDescription()
String
getEntityName()
String
getId()
List<InternalConsumptionLine>
getMaterialMgmtInternalConsumptionLineList()
Help: The table defines the individual product that comprise an internal consumption lineDate
getMovementDate()
String
getName()
UserDimension2
getNdDimension()
Organization
getOrganization()
Gets organization fieldString
getPosted()
Project
getProject()
Campaign
getSalesCampaign()
String
getStatus()
UserDimension1
getStDimension()
Organization
getTrxOrganization()
Date
getUpdated()
Update date of auditUser
getUpdatedBy()
Update by audit userBoolean
isActive()
Gets active fieldBoolean
isProcessed()
Boolean
isProcessNow()
void
setActive(Boolean active)
Sets active fieldvoid
setActivity(ABCActivity activity)
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
setId(String id)
void
setMaterialMgmtInternalConsumptionLineList(List<InternalConsumptionLine> materialMgmtInternalConsumptionLineList)
Help: The table defines the individual product that comprise an internal consumption linevoid
setMovementDate(Date movementDate)
void
setName(String name)
void
setNdDimension(UserDimension2 ndDimension)
void
setOrganization(Organization organization)
Sets organization fieldvoid
setPosted(String posted)
void
setProcessed(Boolean processed)
void
setProcessNow(Boolean processNow)
void
setProject(Project project)
void
setSalesCampaign(Campaign salesCampaign)
void
setStatus(String status)
void
setStDimension(UserDimension1 stDimension)
void
setTrxOrganization(Organization trxOrganization)
void
setUpdated(Date updated)
Update date of auditvoid
setUpdatedBy(User updatedBy)
Update by audit user-
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 M_Internal_Consumption_ID in table M_Internal_Consumption
Help: Identifies an internal consumption of products.- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table M_Internal_Consumption- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table M_Internal_Consumption- See Also:
OrganizationEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column IsActive in table M_Internal_Consumption- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table M_Internal_Consumption- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column Createdby in table M_Internal_Consumption- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table M_Internal_Consumption- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column Updatedby in table M_Internal_Consumption- See Also:
Traceable
, Constant Field Values
-
PROPERTY_NAME
public static final String PROPERTY_NAME
Property name stored in column Name in table M_Internal_Consumption- See Also:
- Constant Field Values
-
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
Property description stored in column Description in table M_Internal_Consumption
Help: A description is limited to 255 characters.- See Also:
- Constant Field Values
-
PROPERTY_MOVEMENTDATE
public static final String PROPERTY_MOVEMENTDATE
Property movementDate stored in column MovementDate in table M_Internal_Consumption
Help: The Movement Date indicates the date that a product moved in or out of inventory. This is the result of a shipment, receipt or inventory movement.- See Also:
- Constant Field Values
-
PROPERTY_POSTED
public static final String PROPERTY_POSTED
Property posted stored in column Posted in table M_Internal_Consumption
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_PROCESSED
public static final String PROPERTY_PROCESSED
Property processed stored in column Processed in table M_Internal_Consumption
Help: The Processed checkbox indicates that a document has been processed.- See Also:
- Constant Field Values
-
PROPERTY_PROCESSNOW
public static final String PROPERTY_PROCESSNOW
Property processNow stored in column Processing in table M_Internal_Consumption
Help: When this field is set as 'Y' a process is being performed on this record.- See Also:
- Constant Field Values
-
PROPERTY_STATUS
public static final String PROPERTY_STATUS
Property status stored in column Status in table M_Internal_Consumption
Help: Identifies the Status of the document- See Also:
- Constant Field Values
-
PROPERTY_TRXORGANIZATION
public static final String PROPERTY_TRXORGANIZATION
Property trxOrganization stored in column AD_Orgtrx_ID in table M_Internal_Consumption
Help: The organization which performs or initiates this transaction (for another organization). The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.- See Also:
- Constant Field Values
-
PROPERTY_PROJECT
public static final String PROPERTY_PROJECT
Property project stored in column C_Project_ID in table M_Internal_Consumption
Help: Identifier of a project defined within the Project & Service Management module.- See Also:
- Constant Field Values
-
PROPERTY_SALESCAMPAIGN
public static final String PROPERTY_SALESCAMPAIGN
Property salesCampaign stored in column C_Campaign_ID in table M_Internal_Consumption
Help: The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign.- See Also:
- Constant Field Values
-
PROPERTY_ACTIVITY
public static final String PROPERTY_ACTIVITY
Property activity stored in column C_Activity_ID in table M_Internal_Consumption
Help: Activities indicate tasks that are performed and used to utilize Activity based Costing- See Also:
- Constant Field Values
-
PROPERTY_STDIMENSION
public static final String PROPERTY_STDIMENSION
Property stDimension stored in column User1_ID in table M_Internal_Consumption
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 M_Internal_Consumption
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 M_Internal_Consumption
Help: Division that adds to the cost of an organization. Internal structure for cost allocation.- See Also:
- Constant Field Values
-
PROPERTY_MATERIALMGMTINTERNALCONSUMPTIONLINELIST
public static final String PROPERTY_MATERIALMGMTINTERNALCONSUMPTIONLINELIST
Property materialMgmtInternalConsumptionLineList stored in table M_Internal_Consumption- 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
-
getName
public String getName()
- See Also:
PROPERTY_NAME
-
setName
public void setName(String name)
- See Also:
PROPERTY_NAME
-
getDescription
public String getDescription()
- See Also:
PROPERTY_DESCRIPTION
-
setDescription
public void setDescription(String description)
- See Also:
PROPERTY_DESCRIPTION
-
getMovementDate
public Date getMovementDate()
- See Also:
PROPERTY_MOVEMENTDATE
-
setMovementDate
public void setMovementDate(Date movementDate)
- See Also:
PROPERTY_MOVEMENTDATE
-
getPosted
public String getPosted()
- See Also:
PROPERTY_POSTED
-
setPosted
public void setPosted(String posted)
- See Also:
PROPERTY_POSTED
-
isProcessed
public Boolean isProcessed()
- See Also:
PROPERTY_PROCESSED
-
setProcessed
public void setProcessed(Boolean processed)
- See Also:
PROPERTY_PROCESSED
-
isProcessNow
public Boolean isProcessNow()
- See Also:
PROPERTY_PROCESSNOW
-
setProcessNow
public void setProcessNow(Boolean processNow)
- See Also:
PROPERTY_PROCESSNOW
-
getStatus
public String getStatus()
- See Also:
PROPERTY_STATUS
-
setStatus
public void setStatus(String status)
- See Also:
PROPERTY_STATUS
-
getTrxOrganization
public Organization getTrxOrganization()
- See Also:
PROPERTY_TRXORGANIZATION
-
setTrxOrganization
public void setTrxOrganization(Organization trxOrganization)
- See Also:
PROPERTY_TRXORGANIZATION
-
getProject
public Project getProject()
- See Also:
PROPERTY_PROJECT
-
setProject
public void setProject(Project project)
- See Also:
PROPERTY_PROJECT
-
getSalesCampaign
public Campaign getSalesCampaign()
- See Also:
PROPERTY_SALESCAMPAIGN
-
setSalesCampaign
public void setSalesCampaign(Campaign salesCampaign)
- See Also:
PROPERTY_SALESCAMPAIGN
-
getActivity
public ABCActivity getActivity()
- See Also:
PROPERTY_ACTIVITY
-
setActivity
public void setActivity(ABCActivity activity)
- See Also:
PROPERTY_ACTIVITY
-
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
-
getMaterialMgmtInternalConsumptionLineList
public List<InternalConsumptionLine> getMaterialMgmtInternalConsumptionLineList()
Help: The table defines the individual product that comprise an internal consumption line- See Also:
InternalConsumptionLine
-
setMaterialMgmtInternalConsumptionLineList
public void setMaterialMgmtInternalConsumptionLineList(List<InternalConsumptionLine> materialMgmtInternalConsumptionLineList)
Help: The table defines the individual product that comprise an internal consumption line- See Also:
InternalConsumptionLine
-
-