ERP/2.50/Developers Guide/Database Model/org.openbravo.model.project/C ProjectProposal
C_ProjectProposal
Contains the budgets assigned to business partners and a project
- Name:ProjectProposal
- Classname:ProjectProposal
This table contains the following columns:
Name | Nullable | Data Type | Description |
C_Projectproposal_ID | N | VARCHAR2(32) | null |
AD_Client_ID | N | VARCHAR2(32) | Client for this installation. |
AD_Org_ID | N | VARCHAR2(32) | Organizational entity within client |
IsActive | N | CHAR(1) | A flag indicating whether this record is available for use or de-activated. |
Created | N | DATE | The date that this record is completed. |
CreatedBy | N | VARCHAR2(32) | User who created this records |
Updated | N | DATE | x not implemented |
UpdatedBy | N | VARCHAR2(32) | User who updated this records |
C_Project_ID | N | VARCHAR2(32) | Identifier of a project defined within the Project & Service Management module. |
C_BPartner_ID | Y | VARCHAR2(32) | Anyone who takes part in daily business operations by acting as a customer, employee, etc. |
Datesend | Y | DATE | null |
C_BPartner_Location_ID | Y | VARCHAR2(32) | The location of the selected business partner. |
AD_User_ID | Y | VARCHAR2(32) | An acquaintance to reach for information related to the business partner. |
CopyFrom | Y | CHAR(1) | Copy Lines from Project |
HeaderNote | Y | NVARCHAR2(2000) | null |
FootNote | Y | NVARCHAR2(2000) | null |
IsSOTrx | Y | CHAR(1) | An indication that a transfer of goods and money between business partners is occurring. |
C_PaymentTerm_ID | Y | VARCHAR2(32) | The setup and timing defined to complete a specified payment. |
PaymentRule | Y | VARCHAR2(60) | The method used for payment of this transaction. |
Projectwon | Y | CHAR(1) | Award contract to project |
FIN_Paymentmethod_ID | Y | VARCHAR2(32) | It is the method by which payment is expected to be made or received. |
Other Info
Check constraints
These are the check constraints for this table:
- C_PROJECTPROPOS_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
Indexes
These are the indexes for this table (for each index there is a list of all the columns included within it):
Unique
- C_PROJECTPROPOSAL_KEY
Columns
Project Proposal
The ID identifies a unique proposal for the project
- Physical column name: C_Projectproposal_ID
- Property Name: id
- Reference: ID
Client
- Physical column name: AD_Client_ID
- Property Name: client
- Reference: TableDir
- Default value: @AD_CLIENT_ID@
Foreign key column to AD_Client table, (column: AD_Client_ID)
Organization
- Physical column name: AD_Org_ID
- Property Name: organization
- Reference: TableDir
- Default value: @AD_ORG_ID@
Foreign key column to AD_Org table, (column: AD_Org_ID)
Validation Rule AD_Org Trx Security validation: null. With the following code:
AD_Org.AD_Org_ID<> '0' AND AD_Org.IsReady='Y'
Active
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.
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
- Default value: @#Date@
Created By
- Physical column name: CreatedBy
- Property Name: createdBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Updated
The Updated field indicates the date that this record was updated.
- Physical column name: Updated
- Property Name: updated
- Reference: DateTime
- Default value: @#Date@
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Project
- Physical column name: C_Project_ID
- Property Name: project
- Reference: TableDir
- This column is part of the table's identifier
- This column is a child for a buisiness object (is Parent)
Foreign key column to C_Project table, (column: C_Project_ID)
Business Partner
- Physical column name: C_BPartner_ID
- Property Name: businessPartner
- Reference: Search
- This column is part of the table's identifier
Foreign key column to C_BPartner table, (column: C_BPartner_ID)
Callout: SE_Proposal_BPartner
This element is linked to a callout.
It is implemented by org.openbravo.erpCommon.ad_callouts.SE_Proposal_BPartner Java class.
Date Sent
The date of the proposal was sent
- Physical column name: Datesend
- Property Name: dateSent
- Reference: Date
Partner Address
- Physical column name: C_BPartner_Location_ID
- Property Name: partnerAddress
- Reference: TableDir
Foreign key column to C_BPartner_Location table, (column: C_BPartner_Location_ID)
Validation Rule C_BPartner Location: null. With the following code:
C_BPartner_Location.C_BPartner_ID=@C_BPartner_ID@
User/Contact
- Physical column name: AD_User_ID
- Property Name: userContact
- Reference: TableDir
Foreign key column to AD_User table, (column: AD_User_ID)
Validation Rule AD_User C_BPartner User/Contacts: null. With the following code:
AD_User.C_BPartner_ID=@C_BPartner_ID@
Copy Lines from Project
Copy Lines from Project
- Physical column name: CopyFrom
- Property Name: copyFrom
- Reference: Button
Header Note
Using this field you can write a text that will show on the header of the document when you print it
- Physical column name: HeaderNote
- Property Name: headerNote
- Reference: Text
Using this field you can write a text that will show on the foot of the document when you print it
- Physical column name: FootNote
- Property Name: footer
- Reference: Text
Sales Transaction
The Sales Transaction checkbox indicates if this item is a Sales Transaction.
- Physical column name: IsSOTrx
- Property Name: salesTransaction
- Reference: YesNo
- Default value: Y
Payment Terms
- Physical column name: C_PaymentTerm_ID
- Property Name: paymentTerms
- Reference: TableDir
Foreign key column to C_PaymentTerm table, (column: C_PaymentTerm_ID)
Form of Payment
Form of Payment indicates the method of payment used for this transaction (eg. cash, wire transfer, etc.)
- Physical column name: PaymentRule
- Property Name: formOfPayment
- Reference: List
List values: All_Payment Rule
The allowed values for this list are:
- 1 (Wire Transfer): Wire Transfer
- 2 (Check): Check
- 3 (Promissory Note): Promissory Note
- 4 (Money Order)
- 5 (Bank Deposit)
- B (Cash): Cash payments that generate an automatic accounting line.
- C (Cash on Delivery): Cash on Delivery
- K (Credit Card)
- P (On Credit): Cash payments that do not generate an automatic accounting line. Its is not an automatic cash entry.
- R (Bank Remittance)
- T (Transfer (ACH))
- W (Withholding)
Project Bid Won
Award contract to project
- Physical column name: Projectwon
- Property Name: projectBidWon
- Reference: Button
Payment Method
- Physical column name: FIN_Paymentmethod_ID
- Property Name: paymentMethod
- Reference: TableDir
Foreign key column to FIN_Paymentmethod table, (column: Fin_Paymentmethod_ID)
Validation Rule FIN_PaymentMethodsWithAccount: Filters only the payment methods that belong to a financial account. With the following code:
EXISTS (SELECT 1 FROM FIN_FinAcc_PaymentMethod fapm WHERE FIN_PaymentMethod.FIN_PaymentMethod_ID=fapm.FIN_PaymentMethod_ID)
Related tables
Tables that link this table: