Class X_C_Withholding

    • Constructor Detail

      • X_C_Withholding

        public X_C_Withholding​(Properties ctx,
                               int C_Withholding_ID,
                               String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        3 - Client - Org
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setBeneficiary

        public void setBeneficiary​(int Beneficiary)
        Set Beneficiary.
        Specified by:
        setBeneficiary in interface I_C_Withholding
        Parameters:
        Beneficiary - Business Partner to whom payment is made
      • getBeneficiary

        public int getBeneficiary()
        Get Beneficiary.
        Specified by:
        getBeneficiary in interface I_C_Withholding
        Returns:
        Business Partner to whom payment is made
      • setC_PaymentTerm_ID

        public void setC_PaymentTerm_ID​(int C_PaymentTerm_ID)
        Set Payment Term.
        Specified by:
        setC_PaymentTerm_ID in interface I_C_Withholding
        Parameters:
        C_PaymentTerm_ID - The terms of Payment (timing, discount)
      • getC_PaymentTerm_ID

        public int getC_PaymentTerm_ID()
        Get Payment Term.
        Specified by:
        getC_PaymentTerm_ID in interface I_C_Withholding
        Returns:
        The terms of Payment (timing, discount)
      • setC_Withholding_ID

        public void setC_Withholding_ID​(int C_Withholding_ID)
        Set Withholding.
        Specified by:
        setC_Withholding_ID in interface I_C_Withholding
        Parameters:
        C_Withholding_ID - Withholding type defined
      • getC_Withholding_ID

        public int getC_Withholding_ID()
        Get Withholding.
        Specified by:
        getC_Withholding_ID in interface I_C_Withholding
        Returns:
        Withholding type defined
      • setC_Withholding_UU

        public void setC_Withholding_UU​(String C_Withholding_UU)
        Set C_Withholding_UU.
        Specified by:
        setC_Withholding_UU in interface I_C_Withholding
        Parameters:
        C_Withholding_UU - C_Withholding_UU
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_C_Withholding
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_C_Withholding
        Returns:
        Optional short description of the record
      • setFixAmt

        public void setFixAmt​(BigDecimal FixAmt)
        Set Fix amount.
        Specified by:
        setFixAmt in interface I_C_Withholding
        Parameters:
        FixAmt - Fix amounted amount to be levied or paid
      • setIsPaidTo3Party

        public void setIsPaidTo3Party​(boolean IsPaidTo3Party)
        Set Paid to third party.
        Specified by:
        setIsPaidTo3Party in interface I_C_Withholding
        Parameters:
        IsPaidTo3Party - Amount paid to someone other than the Business Partner
      • isPaidTo3Party

        public boolean isPaidTo3Party()
        Get Paid to third party.
        Specified by:
        isPaidTo3Party in interface I_C_Withholding
        Returns:
        Amount paid to someone other than the Business Partner
      • setIsPercentWithholding

        public void setIsPercentWithholding​(boolean IsPercentWithholding)
        Set Percent withholding.
        Specified by:
        setIsPercentWithholding in interface I_C_Withholding
        Parameters:
        IsPercentWithholding - Withholding amount is a percentage of the invoice amount
      • isPercentWithholding

        public boolean isPercentWithholding()
        Get Percent withholding.
        Specified by:
        isPercentWithholding in interface I_C_Withholding
        Returns:
        Withholding amount is a percentage of the invoice amount
      • setIsTaxProrated

        public void setIsTaxProrated​(boolean IsTaxProrated)
        Set Prorate tax.
        Specified by:
        setIsTaxProrated in interface I_C_Withholding
        Parameters:
        IsTaxProrated - Tax is Prorated
      • isTaxProrated

        public boolean isTaxProrated()
        Get Prorate tax.
        Specified by:
        isTaxProrated in interface I_C_Withholding
        Returns:
        Tax is Prorated
      • setIsTaxWithholding

        public void setIsTaxWithholding​(boolean IsTaxWithholding)
        Set Tax withholding.
        Specified by:
        setIsTaxWithholding in interface I_C_Withholding
        Parameters:
        IsTaxWithholding - This is a tax related withholding
      • isTaxWithholding

        public boolean isTaxWithholding()
        Get Tax withholding.
        Specified by:
        isTaxWithholding in interface I_C_Withholding
        Returns:
        This is a tax related withholding
      • setMaxAmt

        public void setMaxAmt​(BigDecimal MaxAmt)
        Set Max Amount.
        Specified by:
        setMaxAmt in interface I_C_Withholding
        Parameters:
        MaxAmt - Maximum Amount in invoice currency
      • setMinAmt

        public void setMinAmt​(BigDecimal MinAmt)
        Set Min Amount.
        Specified by:
        setMinAmt in interface I_C_Withholding
        Parameters:
        MinAmt - Minimum Amount in invoice currency
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_C_Withholding
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_C_Withholding
        Returns:
        Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setThresholdMax

        public void setThresholdMax​(BigDecimal ThresholdMax)
        Set Threshold max.
        Specified by:
        setThresholdMax in interface I_C_Withholding
        Parameters:
        ThresholdMax - Maximum gross amount for withholding calculation (0=no limit)
      • getThresholdMax

        public BigDecimal getThresholdMax()
        Get Threshold max.
        Specified by:
        getThresholdMax in interface I_C_Withholding
        Returns:
        Maximum gross amount for withholding calculation (0=no limit)
      • setThresholdmin

        public void setThresholdmin​(BigDecimal Thresholdmin)
        Set Threshold min.
        Specified by:
        setThresholdmin in interface I_C_Withholding
        Parameters:
        Thresholdmin - Minimum gross amount for withholding calculation