Class MLBRTaxDefinition

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_LBR_TaxDefinition, I_Persistent, Evaluatee

public class MLBRTaxDefinition extends X_LBR_TaxDefinition
Model Tax Definition
Version:
$Id: MLBRNCMTax.java, v1.0 2011/11/14 9:38:36 AM, ralexsander Exp $
Author:
Ricardo Santana (Kenos, www.kenos.com.br)
See Also:
  • Constructor Details

    • MLBRTaxDefinition

      public MLBRTaxDefinition(Properties ctx, int ID, String trx)
      Default Constructor
      Parameters:
      Properties - ctx
      int - ID (0 create new)
      String - trx
    • MLBRTaxDefinition

      public MLBRTaxDefinition(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set record
      trxName - transaction
    • MLBRTaxDefinition

      public MLBRTaxDefinition(Properties ctx, int LBR_TaxDefinition_ID, String trxName, String... virtualColumns)
    • MLBRTaxDefinition

      public MLBRTaxDefinition(Properties ctx, String LBR_TaxDefinition_UU, String trxName, String... virtualColumns)
    • MLBRTaxDefinition

      public MLBRTaxDefinition(Properties ctx, String LBR_TaxDefinition_UU, String trxName)
  • Method Details

    • get

      public static MLBRTaxDefinition[] get(int AD_Org_ID, int C_BPartner_ID, int C_BPartner_Location_ID, int C_DocType_ID, int C_Region_ID, int To_Region_ID, int C_City_ID, int cof_CityTo_ID, int LBR_BPartnerCategory_ID, int LBR_FiscalGroup_BPartner_ID, int LBR_FiscalGroup_Product_ID, int LBR_NCM_ID, int LBR_ProductCategory_ID, boolean lbr_IsSubTributaria, boolean isSOTrx, String lbr_TransactionType, Timestamp validFrom, String cof_TaxRegimeCode, String cof_TaxRegimeCodeBP, String cof_IndIE, String cof_TaxIncentive, int M_Product_ID, String lbr_ProductSource, int AD_Client_ID, int M_Product_Category_ID, boolean IsManufactured, String DocBaseType)
      Retorna o grupo mais relevante de impost0
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Called before Save for Pre-Save Operation
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new record
      Returns:
      true if record can be saved