ERP/2.50/Developers Guide/Database Model/org.openbravo.model.common.businesspartner/C BP Withholding
C_BP_Withholding
The Withholding Tab defines any withholding information for this business partner.
- Name:BusinessPartnerWithholding
- Classname:Withholding
This table contains the following columns:
Name | Nullable | Data Type | Description |
C_BP_Withholding_ID | N | VARCHAR2(32) | null |
C_BPartner_ID | N | VARCHAR2(32) | Anyone who takes part in daily business operations by acting as a customer, employee, etc. |
C_Withholding_ID | N | VARCHAR2(32) | Withholding |
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 |
IsMandatoryWithholding | N | CHAR(1) | Monies must be withheld |
IsTemporaryExempt | N | CHAR(1) | Temporarily do not withhold taxes |
ExemptReason | Y | NVARCHAR2(20) | Reason for not withholding |
IS_Percent_Wh | Y | CHAR(1) | Is Percent of Base Amount |
WH_Percent | Y | NUMBER(10, 0) | Percentage of Base Amount |
Include_Tax | Y | CHAR(1) | Include Tax Inps |
C_Tax_ID | N | VARCHAR2(32) | The percentage of money requested by the government for this specified product or transaction. |
Isdefault | Y | CHAR(1) | A value that is shown whenever a record is created. |
Other Info
Check constraints
These are the check constraints for this table:
- C_BP_WITHHOLDING_ISACTIVE_CHK: ISACTIVE IN ('Y', 'N')
- C_BP_WITHHOLDING_ISMANDATO_CHK: ISMANDATORYWITHHOLDING IN ('Y', 'N')
- C_BP_WITHHOLDING_ISTEMPORA_CHK: ISTEMPORARYEXEMPT 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_BP_WITHHOLDING_BPARTNER_W_UN
- C_BP_WITHHOLDING_KEY
Columns
C_BP_Withholding_ID
- Physical column name: C_BP_Withholding_ID
- Property Name: id
- Reference: ID
Business Partner
- Physical column name: C_BPartner_ID
- Property Name: businessPartner
- Reference: Search
- 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_BPartner table, (column: C_BPartner_ID)
Withholding
- Physical column name: C_Withholding_ID
- Property Name: withholding
- Reference: TableDir
- This column is part of the table's identifier
Foreign key column to C_Withholding table, (column: C_Withholding_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)
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
Creation Date
The Created field indicates the date that this record was created.
- Physical column name: Created
- Property Name: creationDate
- Reference: DateTime
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
Updated By
- Physical column name: UpdatedBy
- Property Name: updatedBy
- Reference: Search
Foreign key column to AD_User table, (column: AD_User_ID)
Mandatory Withholding
The Mandatory Withholding checkbox indicates that monies must be withheld from this employee.
- Physical column name: IsMandatoryWithholding
- Property Name: mandatoryWithholding
- Reference: YesNo
Temporarily Exempt
The Temporary Exempt checkbox indicates that for a limited time, taxes will not be withheld for this employee.
- Physical column name: IsTemporaryExempt
- Property Name: temporarilyExempt
- Reference: YesNo
Exempt Reason
The Exempt Reason indicates the reason that monies are not withheld from this employee.
- Physical column name: ExemptReason
- Property Name: exemptReason
- Reference: String
Is Percent
Is Percent of Base Amount for calculate the Whitholding
- Physical column name: IS_Percent_Wh
- Property Name: isPercent
- Reference: YesNo
Percent of Base Amount
Percent of Base Amount for calculate the Whitholding
- Physical column name: WH_Percent
- Property Name: percentOfBaseAmount
- Reference: Number
Include Tax
Include Tax Inps
- Physical column name: Include_Tax
- Property Name: includeTax
- Reference: YesNo
Tax
- Physical column name: C_Tax_ID
- Property Name: tax
- Reference: TableDir
Foreign key column to C_Tax table, (column: C_Tax_ID)
Default
The Default Checkbox indicates if this record will be used as a default value.
- Physical column name: Isdefault
- Property Name: default
- Reference: YesNo
- Default value: N