ERP/3.0/Developers Guide/Database Model/org.openbravo.model.common.enterprise/AD OrgInfo
AD_OrgInfo
- Name:AD_OrgInfo
- Classname:OrganizationInformation
This table contains the following columns:
Name | Nullable | Data Type | Description
|
IsActive | No | CHAR (1) | There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:
(1) The system requires the record for auditing purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions. |
Automatic_Writeoff_Amt | Yes | DECIMAL | Outstanding amounts lower than this are automatically proposed to be written off. |
C_BPartner_ID | Yes | VARCHAR (32) | A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these. |
Iscashvat | No | CHAR (1) | Cash VAT tax rate |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
Company_Logo | Yes | VARCHAR (32) | This logo will be used in the login screen and inside all Openbravo applications |
Company_Logo_Dark | Yes | VARCHAR (32) | 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. |
Company_Logo_For_Docs | Yes | VARCHAR (32) | Company Logo used to be printed in invoices or other documents |
Company_Logo_For_Receipts | Yes | VARCHAR (32) | 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. |
Company_Logo_Submark | Yes | VARCHAR (32) | 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 |
Company_Logo_Submark_Dark | Yes | VARCHAR (32) | 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. |
CreatedBy | No | VARCHAR (32) | The Created By field indicates the user who created this record. |
Created | No | TIMESTAMP (7) | The Created field indicates the date that this record was created. |
DUNS | Yes | CHAR (11) | Used for EDI - For details see www.dnb.com/dunsno/list.htm |
EM_Aprm_Payment_Desc | No | VARCHAR (60) | 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. |
IsDoubleCash | No | CHAR (1) | 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. |
C_Location_ID | Yes | VARCHAR (32) | The Location / Address field defines the location of an entity. |
Logo | Yes | NVARCHAR (200) | |
Istaxundeductable | No | CHAR (1) | Check it if the tax is not deductible |
AD_Org_ID | No | VARCHAR (32) | An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. |
Reference_Order | Yes | CHAR (1) | Uses Order document number as inout number |
C_Tax_ID | Yes | VARCHAR (32) | The Tax indicates the type of tax for this document line. |
TaxID | No | VARCHAR (20) | The Tax ID field identifies the legal Identification number of this Entity. |
Updated | No | TIMESTAMP (7) | The Updated field indicates the date that this record was updated. |
UpdatedBy | No | VARCHAR (32) | The Updated By field indicates the user who updated this record. |
AD_User_ID | Yes | VARCHAR (32) | The User identifies a unique user in the system. This could be an internal user or a business partner contact |
Your_Company_Document_Image | Yes | VARCHAR (32) |
Columns
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Automatic_Writeoff_Amt
- Physical column name: Automatic_Writeoff_Amt
- Property Name: automaticWriteoffAmt
- Reference: Amount
Business Partner
- Physical column name: C_BPartner_ID
- Property Name: businessPartner
- Reference: Search
Foreign key column to C_BPartner table, (column: C_BPartner_ID)
Cash VAT
- Physical column name: Iscashvat
- Property Name: cashVAT
- Reference: YesNo
- Default value: N
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_ID)
It has a validation "AD_Client Security validation", with the following code
AD_Client.AD_Client_ID in (@#User_Client@)
Company_Logo
- Physical column name: Company_Logo
- Property Name: companyLogo
- Reference: Image BLOB
Foreign key column to AD_Image table, (column: AD_Image_ID)
Company_Logo_Dark
- Physical column name: Company_Logo_Dark
- Property Name: companyLogoDark
- Reference: Image BLOB
Foreign key column to AD_Image table, (column: AD_Image_ID)
Company_Logo_For_Docs
- Physical column name: Company_Logo_For_Docs
- Property Name: companyLogoForDocs
- Reference: Image BLOB
Foreign key column to AD_Image table, (column: AD_Image_ID)
Company_Logo_For_Receipts
- Physical column name: Company_Logo_For_Receipts
- Property Name: companyLogoForReceipts
- Reference: Image BLOB
Foreign key column to AD_Image table, (column: AD_Image_ID)
Company_Logo_Submark
- Physical column name: Company_Logo_Submark
- Property Name: companyLogoSubmark
- Reference: Image BLOB
Foreign key column to AD_Image table, (column: AD_Image_ID)
Company_Logo_Submark_Dark
- Physical column name: Company_Logo_Submark_Dark
- Property Name: companyLogoSubmarkDark
- Reference: Image BLOB
Foreign key column to AD_Image table, (column: AD_Image_ID)
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Creation Date
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: SYSDATE
D-U-N-S
- Physical column name: DUNS
- Property Name: dUNS
- Reference: String
EM_APRM_Payment Description
- Physical column name: EM_Aprm_Payment_Desc
- Property Name: aPRMPaymentDescription
- Reference: List
- Default value: Invoice Document Number
List values: Payment description
The allowed values for this list are:
- Invoice Document Number (Invoice Document Number): Use Invoice Document Number
- Supplier Reference (Supplier Reference): Use invoice's supplier reference. If empty, it uses the invoice's document number
IsDoubleCash
- Physical column name: IsDoubleCash
- Property Name: isDoubleCash
- Reference: YesNo
- Default value: N
Location / Address
- Physical column name: C_Location_ID
- Property Name: locationAddress
- Reference: Search
Foreign key column to C_Location table, (column: C_Location_ID)
Logo
- Physical column name: Logo
- Property Name: logo
- Reference: String
Not Tax Deductable
- Physical column name: Istaxundeductable
- Property Name: notTaxDeductable
- Reference: YesNo
- Default value: N
Callout: SE_Organization_NotTaxDeductable
This column has a callout associated.
It is implemented by [1] Java Class.
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
- This column is part of the table's identifier
- This column is a child for a business object (is Parent)
Foreign key column to AD_Org table, (column: AD_Org_ID)
Reference Order
- Physical column name: Reference_Order
- Property Name: referenceOrder
- Reference: YesNo
SalesTaxExemptRate
- Physical column name: C_Tax_ID
- Property Name: salesTaxExemptRate
- Reference: TableDir
Foreign key column to C_Tax table, (column: C_Tax_ID)
It has a validation "SalesTaxExemptRate", with the following code
(C_TAX.SOPOTYPE = 'S' OR C_TAX.SOPOTYPE = 'B') AND C_TAX.ISTAXEXEMPT = 'Y' AND C_TAX.AD_CLIENT_ID=@AD_CLIENT_ID@
Tax ID
- Physical column name: TaxID
- Property Name: taxID
- Reference: String
Updated
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: SYSDATE
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
User/Contact
- Physical column name: AD_User_ID
- Property Name: userContact
- Reference: OBUISEL_Selector Reference
Foreign key column to AD_User table, (column: AD_User_ID)
Your Company Document Image
- Physical column name: Your_Company_Document_Image
- Property Name: yourCompanyDocumentImage
- Reference: Image BLOB
Foreign key column to AD_Image table, (column: AD_Image_ID)
Other Info
Check Constraints
These are the check constraints for this table:
- AD_ORGINFO_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- AD_ORGINFO_ISCASHVAT_CH: ISCASHVAT = 'Y' AND ISTAXUNDEDUCTABLE = 'N' OR ISCASHVAT = 'N'
- AD_ORGINFO_ISDOUBLE_CH: ISDOUBLECASH IN ('Y', 'N')
- AD_ORGINFO_ISTAXUNDEDUCTABLE: ISTAXUNDEDUCTABLE IN ('Y', 'N')