Class OrganizationInformation
- java.lang.Object
-
- org.openbravo.base.structure.BaseOBObject
-
- org.openbravo.model.common.enterprise.OrganizationInformation
-
- All Implemented Interfaces:
Serializable
,BaseOBObjectDef
,OBNotSingleton
,OBProvidable
,ActiveEnabled
,ClientEnabled
,DynamicEnabled
,Identifiable
,OrganizationEnabled
,Traceable
public class OrganizationInformation extends BaseOBObject implements Traceable, ClientEnabled, OrganizationEnabled, ActiveEnabled
Entity class for entity OrganizationInformation (stored in table AD_OrgInfo).
Help: The Organization Info Tab is used to define an Organization's address, DUNS number and Tax Identification number
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 AD_OrgInfostatic String
PROPERTY_APRMPAYMENTDESCRIPTION
Property aPRMPaymentDescription stored in column EM_Aprm_Payment_Desc in table AD_OrgInfo
Help: Purchase Invoice's reference to be automatically included into the payment description. Possible values are: - Invoice document number (default). - Supplier reference, which is defined in the invoice's header.static String
PROPERTY_AUTOMATICWRITEOFFAMT
Property automaticWriteoffAmt stored in column Automatic_Writeoff_Amt in table AD_OrgInfo
Help: Outstanding amounts lower than this are automatically proposed to be written off.static String
PROPERTY_BUSINESSPARTNER
Property businessPartner stored in column C_BPartner_ID in table AD_OrgInfo
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_CASHVAT
Property cashVAT stored in column Iscashvat in table AD_OrgInfo
Help: Cash VAT tax ratestatic String
PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table AD_OrgInfostatic String
PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table AD_OrgInfostatic String
PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table AD_OrgInfostatic String
PROPERTY_DUNS
Property dUNS stored in column DUNS in table AD_OrgInfo
Help: Used for EDI - For details see www.dnb.com/dunsno/list.htmstatic String
PROPERTY_ID
Property id stored in column AD_Org_ID in table AD_OrgInfostatic String
PROPERTY_ISDOUBLECASH
Property isDoubleCash stored in column IsDoubleCash in table AD_OrgInfo
Help: Organization is subscribed to the Double Cash criteria. If both the Cash VAT and the Double Cash Criteria flags are set to Yes, the Cash VAT regime will be automatically applied for the purchase flow too.static String
PROPERTY_LOCATIONADDRESS
Property locationAddress stored in column C_Location_ID in table AD_OrgInfo
Help: The Location / Address field defines the location of an entity.static String
PROPERTY_LOGO
Property logo stored in column Logo in table AD_OrgInfostatic String
PROPERTY_NOTTAXDEDUCTABLE
Property notTaxDeductable stored in column Istaxundeductable in table AD_OrgInfo
Help: Check it if the tax is not deductiblestatic String
PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table AD_OrgInfo
Help: An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.static String
PROPERTY_REFERENCEORDER
Property referenceOrder stored in column Reference_Order in table AD_OrgInfo
Help: Uses Order document number as inout numberstatic String
PROPERTY_SALESTAXEXEMPTRATE
Property salesTaxExemptRate stored in column C_Tax_ID in table AD_OrgInfo
Help: The Tax indicates the type of tax for this document line.static String
PROPERTY_TAXID
Property taxID stored in column TaxID in table AD_OrgInfo
Help: The Tax ID field identifies the legal Identification number of this Entity.static String
PROPERTY_UPDATED
Property updated stored in column Updated in table AD_OrgInfostatic String
PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table AD_OrgInfostatic String
PROPERTY_USERCONTACT
Property userContact stored in column AD_User_ID in table AD_OrgInfo
Help: The User identifies a unique user in the system. This could be an internal user or a business partner contactstatic String
PROPERTY_YOURCOMPANYDOCUMENTIMAGE
Property yourCompanyDocumentImage stored in column Your_Company_Document_Image in table AD_OrgInfostatic String
TABLE_NAME
-
Fields inherited from class org.openbravo.base.structure.BaseOBObject
ID
-
-
Constructor Summary
Constructors Constructor Description OrganizationInformation()
-
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 AD_Org_ID in table AD_OrgInfo- See Also:
- Constant Field Values
-
PROPERTY_CLIENT
public static final String PROPERTY_CLIENT
Property client stored in column AD_Client_ID in table AD_OrgInfo- See Also:
ClientEnabled
, Constant Field Values
-
PROPERTY_ACTIVE
public static final String PROPERTY_ACTIVE
Property active stored in column IsActive in table AD_OrgInfo- See Also:
ActiveEnabled
, Constant Field Values
-
PROPERTY_CREATIONDATE
public static final String PROPERTY_CREATIONDATE
Property creationDate stored in column Created in table AD_OrgInfo- See Also:
Traceable
, Constant Field Values
-
PROPERTY_CREATEDBY
public static final String PROPERTY_CREATEDBY
Property createdBy stored in column CreatedBy in table AD_OrgInfo- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATED
public static final String PROPERTY_UPDATED
Property updated stored in column Updated in table AD_OrgInfo- See Also:
Traceable
, Constant Field Values
-
PROPERTY_UPDATEDBY
public static final String PROPERTY_UPDATEDBY
Property updatedBy stored in column UpdatedBy in table AD_OrgInfo- See Also:
Traceable
, Constant Field Values
-
PROPERTY_LOCATIONADDRESS
public static final String PROPERTY_LOCATIONADDRESS
Property locationAddress stored in column C_Location_ID in table AD_OrgInfo
Help: The Location / Address field defines the location of an entity.- See Also:
- Constant Field Values
-
PROPERTY_DUNS
public static final String PROPERTY_DUNS
Property dUNS stored in column DUNS in table AD_OrgInfo
Help: Used for EDI - For details see www.dnb.com/dunsno/list.htm- See Also:
- Constant Field Values
-
PROPERTY_TAXID
public static final String PROPERTY_TAXID
Property taxID stored in column TaxID in table AD_OrgInfo
Help: The Tax ID field identifies the legal Identification number of this Entity.- See Also:
- Constant Field Values
-
PROPERTY_BUSINESSPARTNER
public static final String PROPERTY_BUSINESSPARTNER
Property businessPartner stored in column C_BPartner_ID in table AD_OrgInfo
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_NOTTAXDEDUCTABLE
public static final String PROPERTY_NOTTAXDEDUCTABLE
Property notTaxDeductable stored in column Istaxundeductable in table AD_OrgInfo
Help: Check it if the tax is not deductible- See Also:
- Constant Field Values
-
PROPERTY_SALESTAXEXEMPTRATE
public static final String PROPERTY_SALESTAXEXEMPTRATE
Property salesTaxExemptRate stored in column C_Tax_ID in table AD_OrgInfo
Help: The Tax indicates the type of tax for this document line.- See Also:
- Constant Field Values
-
PROPERTY_LOGO
public static final String PROPERTY_LOGO
Property logo stored in column Logo in table AD_OrgInfo- See Also:
- Constant Field Values
-
PROPERTY_REFERENCEORDER
public static final String PROPERTY_REFERENCEORDER
Property referenceOrder stored in column Reference_Order in table AD_OrgInfo
Help: Uses Order document number as inout number- See Also:
- Constant Field Values
-
PROPERTY_YOURCOMPANYDOCUMENTIMAGE
public static final String PROPERTY_YOURCOMPANYDOCUMENTIMAGE
Property yourCompanyDocumentImage stored in column Your_Company_Document_Image in table AD_OrgInfo- See Also:
- Constant Field Values
-
PROPERTY_AUTOMATICWRITEOFFAMT
public static final String PROPERTY_AUTOMATICWRITEOFFAMT
Property automaticWriteoffAmt stored in column Automatic_Writeoff_Amt in table AD_OrgInfo
Help: Outstanding amounts lower than this are automatically proposed to be written off.- See Also:
- Constant Field Values
-
PROPERTY_USERCONTACT
public static final String PROPERTY_USERCONTACT
Property userContact stored in column AD_User_ID in table AD_OrgInfo
Help: The User identifies a unique user in the system. This could be an internal user or a business partner contact- See Also:
- Constant Field Values
-
PROPERTY_CASHVAT
public static final String PROPERTY_CASHVAT
Property cashVAT stored in column Iscashvat in table AD_OrgInfo
Help: Cash VAT tax rate- See Also:
- Constant Field Values
-
PROPERTY_ISDOUBLECASH
public static final String PROPERTY_ISDOUBLECASH
Property isDoubleCash stored in column IsDoubleCash in table AD_OrgInfo
Help: Organization is subscribed to the Double Cash criteria. If both the Cash VAT and the Double Cash Criteria flags are set to Yes, the Cash VAT regime will be automatically applied for the purchase flow too.- See Also:
- Constant Field Values
-
PROPERTY_APRMPAYMENTDESCRIPTION
public static final String PROPERTY_APRMPAYMENTDESCRIPTION
Property aPRMPaymentDescription stored in column EM_Aprm_Payment_Desc in table AD_OrgInfo
Help: Purchase Invoice's reference to be automatically included into the payment description. Possible values are: - Invoice document number (default). - Supplier reference, which is defined in the invoice's header.- See Also:
- Constant Field Values
-
PROPERTY_ORGANIZATION
public static final String PROPERTY_ORGANIZATION
Property organization stored in column AD_Org_ID in table AD_OrgInfo
Help: An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.- 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
-
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
-
getLocationAddress
public Location getLocationAddress()
- See Also:
PROPERTY_LOCATIONADDRESS
-
setLocationAddress
public void setLocationAddress(Location locationAddress)
- See Also:
PROPERTY_LOCATIONADDRESS
-
getDUNS
public String getDUNS()
- See Also:
PROPERTY_DUNS
-
setDUNS
public void setDUNS(String dUNS)
- See Also:
PROPERTY_DUNS
-
getTaxID
public String getTaxID()
- See Also:
PROPERTY_TAXID
-
setTaxID
public void setTaxID(String taxID)
- See Also:
PROPERTY_TAXID
-
getBusinessPartner
public BusinessPartner getBusinessPartner()
- See Also:
PROPERTY_BUSINESSPARTNER
-
setBusinessPartner
public void setBusinessPartner(BusinessPartner businessPartner)
- See Also:
PROPERTY_BUSINESSPARTNER
-
isNotTaxDeductable
public Boolean isNotTaxDeductable()
- See Also:
PROPERTY_NOTTAXDEDUCTABLE
-
setNotTaxDeductable
public void setNotTaxDeductable(Boolean notTaxDeductable)
- See Also:
PROPERTY_NOTTAXDEDUCTABLE
-
getSalesTaxExemptRate
public TaxRate getSalesTaxExemptRate()
- See Also:
PROPERTY_SALESTAXEXEMPTRATE
-
setSalesTaxExemptRate
public void setSalesTaxExemptRate(TaxRate salesTaxExemptRate)
- See Also:
PROPERTY_SALESTAXEXEMPTRATE
-
getLogo
public String getLogo()
- See Also:
PROPERTY_LOGO
-
setLogo
public void setLogo(String logo)
- See Also:
PROPERTY_LOGO
-
isReferenceOrder
public Boolean isReferenceOrder()
- See Also:
PROPERTY_REFERENCEORDER
-
setReferenceOrder
public void setReferenceOrder(Boolean referenceOrder)
- See Also:
PROPERTY_REFERENCEORDER
-
getYourCompanyDocumentImage
public Image getYourCompanyDocumentImage()
- See Also:
PROPERTY_YOURCOMPANYDOCUMENTIMAGE
-
setYourCompanyDocumentImage
public void setYourCompanyDocumentImage(Image yourCompanyDocumentImage)
- See Also:
PROPERTY_YOURCOMPANYDOCUMENTIMAGE
-
getAutomaticWriteoffAmt
public BigDecimal getAutomaticWriteoffAmt()
- See Also:
PROPERTY_AUTOMATICWRITEOFFAMT
-
setAutomaticWriteoffAmt
public void setAutomaticWriteoffAmt(BigDecimal automaticWriteoffAmt)
- See Also:
PROPERTY_AUTOMATICWRITEOFFAMT
-
getUserContact
public User getUserContact()
- See Also:
PROPERTY_USERCONTACT
-
setUserContact
public void setUserContact(User userContact)
- See Also:
PROPERTY_USERCONTACT
-
isCashVAT
public Boolean isCashVAT()
- See Also:
PROPERTY_CASHVAT
-
setCashVAT
public void setCashVAT(Boolean cashVAT)
- See Also:
PROPERTY_CASHVAT
-
isDoubleCash
public Boolean isDoubleCash()
- See Also:
PROPERTY_ISDOUBLECASH
-
setDoubleCash
public void setDoubleCash(Boolean isDoubleCash)
- See Also:
PROPERTY_ISDOUBLECASH
-
getAPRMPaymentDescription
public String getAPRMPaymentDescription()
- See Also:
PROPERTY_APRMPAYMENTDESCRIPTION
-
setAPRMPaymentDescription
public void setAPRMPaymentDescription(String aPRMPaymentDescription)
- See Also:
PROPERTY_APRMPAYMENTDESCRIPTION
-
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
-
-