ERP/3.0/Developers Guide/Database Model/org.openbravo.model.common.businesspartner/C BPartner Location
C_BPartner_Location
- Name:C_BPartner_Location
- Classname:BusinessPartnerLocation
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. |
Phone2 | Yes | NVARCHAR (40) | The 2nd Phone field identifies an alternate telephone number. |
C_BPartner_ID | No | VARCHAR (32) | A Business Partner is anyone with whom you transact. This can include a customer, vendor, employee or any combination of these. |
AD_Client_ID | No | VARCHAR (32) | A Client is a company or a legal entity. You cannot share data between Clients. |
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. |
Isdefault_Billto | No | CHAR (1) | The Default Invoicing Address checkbox indicates if this location is the default Invoicing Address for this Business Partner |
Isdefault_Shipto | No | CHAR (1) | The Default Shipping Address checkbox indicates if this location is the default address to use when shipping orders to this Business Partner. |
Fax | Yes | NVARCHAR (40) | The Fax identifies a facsimile number for this Business Partner or Location |
IsBillTo | No | CHAR (1) | The Invoicing Address checkbox indicates if this location is the Invoicing Address for this Business Partner |
C_Location_ID | No | VARCHAR (32) | The Location / Address field defines the location of an entity. |
Name | No | NVARCHAR (60) | A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length. |
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. |
C_BPartner_Location_ID | No | VARCHAR (32) | The Partner address indicates the location of a Business Partner |
IsPayFrom | No | CHAR (1) | The Pay From Address checkbox indicates if this location is the address the Business Partner pays from. |
Phone | Yes | NVARCHAR (40) | The Phone field identifies a telephone number |
IsRemitTo | No | CHAR (1) | The Remit to Address checkbox indicates if this location is the address to which we should send payments to this Business Partner. |
C_SalesRegion_ID | Yes | VARCHAR (32) | The Sales Region indicates a specific area of sales coverage. |
IsShipTo | No | CHAR (1) | The Shipping Address checkbox indicates if this location is the address to use when shipping orders to this Business Partner. |
IsTaxLocation | No | CHAR (1) | This fieldindicates that this location is a fiscal address. Fiscal addresses are shown in all documents. |
UPC | Yes | NVARCHAR (30) | Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar, Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14, ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode) |
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. |
Columns
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Alternative Phone
- Physical column name: Phone2
- Property Name: alternativePhone
- Reference: String
Business Partner
- Physical column name: C_BPartner_ID
- Property Name: businessPartner
- Reference: Search
- This column is a child for a business object (is Parent)
Foreign key column to C_BPartner table, (column: C_BPartner_ID)
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
Foreign key column to AD_Client table, (column: AD_Client_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
Default Invoice to Address
- Physical column name: Isdefault_Billto
- Property Name: defaultInvoiceToAddress
- Reference: YesNo
- Default value: N
Default Ship to Address
- Physical column name: Isdefault_Shipto
- Property Name: defaultShipToAddress
- Reference: YesNo
- Default value: N
Fax
- Physical column name: Fax
- Property Name: fax
- Reference: String
Invoice to Address
- Physical column name: IsBillTo
- Property Name: invoiceToAddress
- Reference: YesNo
- Default value: Y
Location / Address
- Physical column name: C_Location_ID
- Property Name: locationAddress
- Reference: Search
Foreign key column to C_Location table, (column: C_Location_ID)
Callout: SL_BPartnerLocation
This column has a callout associated.
It is implemented by [1] Java Class.
Name
- Physical column name: Name
- Property Name: name
- Reference: String
- This column is part of the table's identifier
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Partner Address
- Physical column name: C_BPartner_Location_ID
- Property Name: id
- Reference: ID
Pay from Address
- Physical column name: IsPayFrom
- Property Name: payFromAddress
- Reference: YesNo
- Default value: Y
Phone
- Physical column name: Phone
- Property Name: phone
- Reference: String
Remit to Address
- Physical column name: IsRemitTo
- Property Name: remitToAddress
- Reference: YesNo
- Default value: Y
Sales Region
- Physical column name: C_SalesRegion_ID
- Property Name: salesRegion
- Reference: TableDir
Foreign key column to C_SalesRegion table, (column: C_SalesRegion_ID)
Ship to Address
- Physical column name: IsShipTo
- Property Name: shipToAddress
- Reference: YesNo
- Default value: Y
Tax Location
- Physical column name: IsTaxLocation
- Property Name: taxLocation
- Reference: YesNo
- Default value: N
Callout: SL_BPartnerLocation
This column has a callout associated.
It is implemented by [2] Java Class.
UPC/EAN
- Physical column name: UPC
- Property Name: uPCEAN
- 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)
Other Info
Indices
These are the indices for this table (for each index there is a list of all the columns included within it):
- C_BPLOCATION_BPARTNER Not Unique. Columns:
- C_BPARTNER_ID
- C_BPLOCATION_LOCATION Not Unique. Columns:
- C_LOCATION_ID
- C_BPLOCATION_UPDATED Not Unique. Columns:
- UPDATED
Check Constraints
These are the check constraints for this table:
- C_BP_LOC_ISDEFAULT_BILLTO_CHK: ISDEFAULT_BILLTO IN ('Y', 'N')
- C_BP_LOC_ISDEFAULT_SHIPTO_CHK: ISDEFAULT_SHIPTO IN ('Y', 'N')
- C_BPARTNER_LOCATION_ISACTI_CHK: ISACTIVE IN ('Y', 'N')
- C_BPARTNER_LOCATION_ISBILL_CHK: ISBILLTO IN ('Y', 'N')
- C_BPARTNER_LOCATION_ISPAYF_CHK: ISPAYFROM IN ('Y', 'N')
- C_BPARTNER_LOCATION_ISREMI_CHK: ISREMITTO IN ('Y', 'N')
- C_BPARTNER_LOCATION_ISSHIP_CHK: ISSHIPTO IN ('Y', 'N')