ERP/3.0/Developers Guide/Database Model/org.openbravo.model.pos/C ExternalPOS
C_ExternalPOS
- Name:C_ExternalPOS
- Classname:ExternalPOS
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. |
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. |
Description | Yes | NVARCHAR (255) | A description is limited to 255 characters. |
C_DocType_ID | No | VARCHAR (32) | The Document Type determines document sequence and processing rules |
C_Externalpos_ID | No | VARCHAR (32) | External Point of Sales |
Include_Product | Yes | VARCHAR (60) | If it is checked the selected products will be included else they will be excluded. |
Include_Product_Category | Yes | VARCHAR (60) | If it is checked the selected categories will be included else they will be excluded. |
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. |
Perform_Post | Yes | CHAR (1) | |
M_PriceList_ID | No | VARCHAR (32) |
Price Lists are used to determine the pricing, margin and cost of items purchased or sold. |
SalesRep_ID | No | VARCHAR (32) | Indicates the sales representative responsible for the transaction that the document specifies . A valid sales representative is a business partner marked as an employee and a sales representative. |
Value | No | NVARCHAR (40) | A search key allows for a fast method of finding a particular record. If you leave the search key empty, the system automatically creates a numeric number originating from a document sequence defined in the "Document Sequence" window. The sequence naming convention follows a rule "DocumentNo_TableName", where TableName is the actual name of the database table (e.g. C_Order).
Usually, company's internal identifiers for various records (products, customers, etc) are stored here. |
M_Shipper_ID | No | VARCHAR (32) | The Shipper is any entity which will provide shipping to or shipping from an Organization. |
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. |
M_Warehouse_ID | No | VARCHAR (32) | The Warehouse identifies a unique Warehouse where products are stored or Services are provided. |
Columns
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Business Partner
- Physical column name: C_BPartner_ID
- Property Name: businessPartner
- Reference: Search
Foreign key column to C_BPartner table, (column: C_BPartner_ID)
Callout: SE_ExternalPOS_BPartner
This column has a callout associated.
It is implemented by [1] Java Class.
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
Description
- Physical column name: Description
- Property Name: description
- Reference: Text
Document Type
- Physical column name: C_DocType_ID
- Property Name: documentType
- Reference: Table
Foreign key column to C_DocType table, (column: C_DocType_ID)
It has a validation "C_DocType PO/SO", with the following code
C_DocType.DocBaseType IN ('SOO', 'POO') AND C_DocType.IsSOTrx='@IsSOTrx@'
AND (AD_ISORGINCLUDED(@AD_Org_ID@,C_DocType.AD_Org_ID, @#AD_Client_ID@) <> '-1' OR COALESCE(@AD_Org_ID@,'-1')='-1') AND COALESCE(@isReturnMaterial@, 'N') = C_DocType.IsReturn AND ((@isQuotation@='Y' AND docsubtypeso like 'OB') OR ((@isQuotation@='N' OR @isQuotation@ is null) AND (docsubtypeso is null OR docsubtypeso not like 'OB')))
External POS
- Physical column name: C_Externalpos_ID
- Property Name: id
- Reference: ID
Included Product
- Physical column name: Include_Product
- Property Name: includedProduct
- Reference: List
List values: Offers
The allowed values for this list are:
- N (Only those defined)
- Y (All excluding defined)
Included Product Categories
- Physical column name: Include_Product_Category
- Property Name: includedProductCategories
- Reference: List
List values: Offers
The allowed values for this list are:
- N (Only those defined)
- Y (All excluding defined)
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)
Perform_Post
- Physical column name: Perform_Post
- Property Name: performPost
- Reference: YesNo
- Default value: N
Price List
- Physical column name: M_PriceList_ID
- Property Name: priceList
- Reference: TableDir
Foreign key column to M_PriceList table, (column: M_PriceList_ID)
Sales Representative
- Physical column name: SalesRep_ID
- Property Name: salesRepresentative
- Reference: Table
Foreign key column to AD_User table, (column: AD_User_ID)
Search Key
- Physical column name: Value
- Property Name: searchKey
- Reference: String
- This column is part of the table's identifier
Shipping Company
- Physical column name: M_Shipper_ID
- Property Name: shippingCompany
- Reference: TableDir
Foreign key column to M_Shipper table, (column: M_Shipper_ID)
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)
Warehouse
- Physical column name: M_Warehouse_ID
- Property Name: warehouse
- Reference: TableDir
Foreign key column to M_Warehouse table, (column: M_Warehouse_ID)
Other Info
![]() | Back to org.openbravo.model.pos |