ERP/3.0/Developers Guide/Database Model/org.openbravo.model.pricing.volumediscount/M Rappel Bpartner
M_Rappel_Bpartner
- Name:M_Rappel_Bpartner
- Classname:PricingVolumeDiscountBusinessPartner
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. |
M_Rappel_Bpartner_ID | No | VARCHAR (32) | The ID identifies a unique rappel for the partner |
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. |
GenerateInvoice | Yes | CHAR (1) | A button that generates all the invoices as a result of the activity of the business partner during a period of time |
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. |
IsSOTrx | No | CHAR (1) | The Sales Transaction checkbox indicates if this item is a Sales Transaction. |
SeqNo | Yes | DECIMAL (10,0) | The Sequence indicates the order of records |
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. |
ValidFrom | No | TIMESTAMP (7) | The Valid From date indicates the first day of a date range |
ValidTo | Yes | TIMESTAMP (7) | The Valid To date indicates the last day of a date range |
M_Rappel_ID | No | VARCHAR (32) | The ID identifies a unique volume discount |
Columns
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
BP Volume Discount
- Physical column name: M_Rappel_Bpartner_ID
- Property Name: id
- Reference: ID
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
Generate Invoices
- Physical column name: GenerateInvoice
- Property Name: generateInvoices
- Reference: Button
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
Foreign key column to AD_Org table, (column: AD_Org_ID)
Sales Transaction
- Physical column name: IsSOTrx
- Property Name: salesTransaction
- Reference: YesNo
- Default value: Y
Sequence Number
- Physical column name: SeqNo
- Property Name: sequenceNumber
- Reference: Integer
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)
Valid from Date
- Physical column name: ValidFrom
- Property Name: validFromDate
- Reference: Date
Valid to Date
- Physical column name: ValidTo
- Property Name: validToDate
- Reference: Date
Volume Discount
- Physical column name: M_Rappel_ID
- Property Name: volumeDiscount
- 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 M_Rappel table, (column: M_Rappel_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):
- M_RAPPELBPARTNER_BPARTNER_IDX Not Unique. Columns:
- C_BPARTNER_ID
- M_RAPPELBPARTNER_RAPPEL_IDX Not Unique. Columns:
- M_RAPPEL_ID
Check Constraints
These are the check constraints for this table:
- M_RAPPEL_BPARTNER_ISACTIVE_CHK: ISACTIVE IN ('Y', 'N')
- M_RAPPEL_BPARTNER_ISSOTRX_CHK: ISSOTRX IN ('Y', 'N')