ERP/3.0/Developers Guide/Database Model/org.openbravo.model.financialmgmt.tax/C Withholding
C_Withholding
- Name:C_Withholding
- Classname:FinancialMgmtWithholding
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. |
Beneficiary | Yes | VARCHAR (32) | The Beneficiary indicates the Business Partner to whom payment will be made. This field is only displayed if the Paid to Third Party checkbox is selected. |
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. |
FixAmt | Yes | DECIMAL | The Fixed Amount indicates a fixed amount to be levied or paid. |
MaxAmt | Yes | DECIMAL | The Maximum Amount indicates the maximum amount in invoice currency. |
MinAmt | Yes | DECIMAL | The Minimum amount indicates the minimum amount as stated in the currency of the invoice. |
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_PaymentTerm_ID | Yes | VARCHAR (32) | Payment Terms identify the method and timing of payment for this transaction. |
IsPaidTo3Party | No | CHAR (1) | The Paid to Third Party checkbox indicates that the amounts are paid to someone other than the Business Partner. |
Percent | Yes | DECIMAL | The Percent indicates the percentage used for withholding. |
IsTaxProrated | No | CHAR (1) | The Prorate Tax checkbox indicates if this tax is prorated. |
Rate | Yes | DECIMAL | The Rate indicates the percentage to be multiplied by the source to arrive at the tax or exchange amount. |
IsTaxWithholding | No | CHAR (1) | The Tax Withholding checkbox indicates if this withholding is tax related. |
ThresholdMax | Yes | DECIMAL | The Threshold maximum indicates the maximum gross amount to be used in the withholding calculation . A value of 0 indicates there is no limit. |
Thresholdmin | Yes | DECIMAL | The Threshold Minimum indicates the minimum gross amount to be used in the withholding calculation. |
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. |
C_Withholding_ID | No | VARCHAR (32) | The Withholding indicates the type of withholding to be calculated. |
IsPercentWithholding | No | CHAR (1) | The Percent Withholding checkbox indicates if the withholding amount is a percentage of the invoice amount. |
Columns
Active
- Physical column name: IsActive
- Property Name: active
- Reference: YesNo
- Default value: Y
Beneficiary
- Physical column name: Beneficiary
- Property Name: beneficiary
- Reference: Table
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
Description
- Physical column name: Description
- Property Name: description
- Reference: String
Fix Amount
- Physical column name: FixAmt
- Property Name: fixAmount
- Reference: Amount
- Default value: 0
Max. Amount
- Physical column name: MaxAmt
- Property Name: maxAmount
- Reference: Amount
- Default value: 0
Min. Amount
- Physical column name: MinAmt
- Property Name: minAmount
- Reference: Amount
- Default value: 0
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)
Payment Terms
- Physical column name: C_PaymentTerm_ID
- Property Name: paymentTerms
- Reference: TableDir
Foreign key column to C_PaymentTerm table, (column: C_PaymentTerm_ID)
Payment to External Party
- Physical column name: IsPaidTo3Party
- Property Name: paymentToExternalParty
- Reference: YesNo
- Default value: Y
Percent
- Physical column name: Percent
- Property Name: percent
- Reference: Number
- Default value: 0
Prorate Tax
- Physical column name: IsTaxProrated
- Property Name: prorateTax
- Reference: YesNo
- Default value: N
Rate
- Physical column name: Rate
- Property Name: rate
- Reference: Number
- Default value: 0
Tax Withholding
- Physical column name: IsTaxWithholding
- Property Name: taxWithholding
- Reference: YesNo
- Default value: Y
Threshold Max
- Physical column name: ThresholdMax
- Property Name: thresholdMax
- Reference: Amount
- Default value: 0
Threshold Min
- Physical column name: Thresholdmin
- Property Name: thresholdMin
- Reference: Amount
- Default value: 0
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)
Withholding
- Physical column name: C_Withholding_ID
- Property Name: id
- Reference: ID
Withholding Percentage
- Physical column name: IsPercentWithholding
- Property Name: withholdingPercentage
- Reference: YesNo
- Default value: Y
Other Info
Check Constraints
These are the check constraints for this table:
- C_WITHHOLDING_ISACTIVE_CHECK: ISACTIVE IN ('Y', 'N')
- C_WITHHOLDING_ISPAIDTO3PAR_CHK: ISPAIDTO3PARTY IN ('Y', 'N')
- C_WITHHOLDING_ISPERCENTWIT_CHK: ISPERCENTWITHHOLDING IN ('Y', 'N')
- C_WITHHOLDING_ISTAXPRORATE_CHK: ISTAXPRORATED IN ('Y', 'N')
- C_WITHHOLDING_ISTAXWITHHOL_CHK: ISTAXWITHHOLDING IN ('Y', 'N')