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_COMPANYLOGO
Property companyLogo stored in column Company_Logo in table AD_OrgInfo
Help: This logo will be used in the login screen and inside all Openbravo applicationsstatic String
PROPERTY_COMPANYLOGODARK
Property companyLogoDark stored in column Company_Logo_Dark in table AD_OrgInfo
Help: This logo will be used in the login screen and inside all Openbravo applications when they use a Dark theme. Note that this logo should have different colors or more contrast than the original logo in order to be seen properly in a dark background.static String
PROPERTY_COMPANYLOGOFORDOCS
Property companyLogoForDocs stored in column Company_Logo_For_Docs in table AD_OrgInfo
Help: Company Logo used to be printed in invoices or other documentsstatic String
PROPERTY_COMPANYLOGOFORRECEIPTS
Property companyLogoForReceipts stored in column Company_Logo_For_Receipts in table AD_OrgInfo
Help: Company Logo used to be printed in receipts. Usually those receipts are printed using only black ink, so this logo should be adapted to be able to print it properly using only one ink.static String
PROPERTY_COMPANYLOGOSUBMARK
Property companyLogoSubmark stored in column Company_Logo_Submark in table AD_OrgInfo
Help: The submark logo is a simplified version of the Company Logo which is consistent with your brand and can be used to replace the Company Logo in places where this logo does not fit, such as in an application in a narrow screen where the Company Logo has no room to be showed properlystatic String
PROPERTY_COMPANYLOGOSUBMARKDARK
Property companyLogoSubmarkDark stored in column Company_Logo_Submark_Dark in table AD_OrgInfo
Help: The submark logo is a simplified version of the Company Logo which is consistent with your brand and can be used to replace the Company Logo in places where this logo does not fit, such as in an application on a narrow screen where the Company Logo has no room to be showed properly. Note that this logo should have different colors or more contrast than the original logo in order to be seen properly over a dark background.static 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
Deprecated.Property marked as deprecated on field Development Statusstatic 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
@Deprecated public static final String PROPERTY_YOURCOMPANYDOCUMENTIMAGE
Deprecated.Property marked as deprecated on field Development StatusProperty 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_COMPANYLOGO
public static final String PROPERTY_COMPANYLOGO
Property companyLogo stored in column Company_Logo in table AD_OrgInfo
Help: This logo will be used in the login screen and inside all Openbravo applications- 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_COMPANYLOGODARK
public static final String PROPERTY_COMPANYLOGODARK
Property companyLogoDark stored in column Company_Logo_Dark in table AD_OrgInfo
Help: This logo will be used in the login screen and inside all Openbravo applications when they use a Dark theme. Note that this logo should have different colors or more contrast than the original logo in order to be seen properly in a dark background.- See Also:
- Constant Field Values
-
PROPERTY_COMPANYLOGOSUBMARK
public static final String PROPERTY_COMPANYLOGOSUBMARK
Property companyLogoSubmark stored in column Company_Logo_Submark in table AD_OrgInfo
Help: The submark logo is a simplified version of the Company Logo which is consistent with your brand and can be used to replace the Company Logo in places where this logo does not fit, such as in an application in a narrow screen where the Company Logo has no room to be showed properly- See Also:
- Constant Field Values
-
PROPERTY_COMPANYLOGOSUBMARKDARK
public static final String PROPERTY_COMPANYLOGOSUBMARKDARK
Property companyLogoSubmarkDark stored in column Company_Logo_Submark_Dark in table AD_OrgInfo
Help: The submark logo is a simplified version of the Company Logo which is consistent with your brand and can be used to replace the Company Logo in places where this logo does not fit, such as in an application on a narrow screen where the Company Logo has no room to be showed properly. Note that this logo should have different colors or more contrast than the original logo in order to be seen properly over a dark background.- 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_COMPANYLOGOFORDOCS
public static final String PROPERTY_COMPANYLOGOFORDOCS
Property companyLogoForDocs stored in column Company_Logo_For_Docs in table AD_OrgInfo
Help: Company Logo used to be printed in invoices or other documents- See Also:
- Constant Field Values
-
PROPERTY_COMPANYLOGOFORRECEIPTS
public static final String PROPERTY_COMPANYLOGOFORRECEIPTS
Property companyLogoForReceipts stored in column Company_Logo_For_Receipts in table AD_OrgInfo
Help: Company Logo used to be printed in receipts. Usually those receipts are printed using only black ink, so this logo should be adapted to be able to print it properly using only one ink.- 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
@Deprecated public Image getYourCompanyDocumentImage()
Deprecated.Property marked as deprecated on field Development Status- See Also:
PROPERTY_YOURCOMPANYDOCUMENTIMAGE
-
setYourCompanyDocumentImage
@Deprecated public void setYourCompanyDocumentImage(Image yourCompanyDocumentImage)
Deprecated.Property marked as deprecated on field Development Status- 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
-
getCompanyLogo
public Image getCompanyLogo()
- See Also:
PROPERTY_COMPANYLOGO
-
setCompanyLogo
public void setCompanyLogo(Image companyLogo)
- See Also:
PROPERTY_COMPANYLOGO
-
isDoubleCash
public Boolean isDoubleCash()
- See Also:
PROPERTY_ISDOUBLECASH
-
setDoubleCash
public void setDoubleCash(Boolean isDoubleCash)
- See Also:
PROPERTY_ISDOUBLECASH
-
getCompanyLogoDark
public Image getCompanyLogoDark()
- See Also:
PROPERTY_COMPANYLOGODARK
-
setCompanyLogoDark
public void setCompanyLogoDark(Image companyLogoDark)
- See Also:
PROPERTY_COMPANYLOGODARK
-
getCompanyLogoSubmark
public Image getCompanyLogoSubmark()
- See Also:
PROPERTY_COMPANYLOGOSUBMARK
-
setCompanyLogoSubmark
public void setCompanyLogoSubmark(Image companyLogoSubmark)
- See Also:
PROPERTY_COMPANYLOGOSUBMARK
-
getCompanyLogoSubmarkDark
public Image getCompanyLogoSubmarkDark()
- See Also:
PROPERTY_COMPANYLOGOSUBMARKDARK
-
setCompanyLogoSubmarkDark
public void setCompanyLogoSubmarkDark(Image companyLogoSubmarkDark)
- See Also:
PROPERTY_COMPANYLOGOSUBMARKDARK
-
getAPRMPaymentDescription
public String getAPRMPaymentDescription()
- See Also:
PROPERTY_APRMPAYMENTDESCRIPTION
-
setAPRMPaymentDescription
public void setAPRMPaymentDescription(String aPRMPaymentDescription)
- See Also:
PROPERTY_APRMPAYMENTDESCRIPTION
-
getCompanyLogoForDocs
public Image getCompanyLogoForDocs()
- See Also:
PROPERTY_COMPANYLOGOFORDOCS
-
setCompanyLogoForDocs
public void setCompanyLogoForDocs(Image companyLogoForDocs)
- See Also:
PROPERTY_COMPANYLOGOFORDOCS
-
getCompanyLogoForReceipts
public Image getCompanyLogoForReceipts()
- See Also:
PROPERTY_COMPANYLOGOFORRECEIPTS
-
setCompanyLogoForReceipts
public void setCompanyLogoForReceipts(Image companyLogoForReceipts)
- See Also:
PROPERTY_COMPANYLOGOFORRECEIPTS
-
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
-
-