Class MLBRICMSMatrix

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

public class MLBRICMSMatrix extends X_LBR_ICMSMatrix
Model for ICMS Matrix
Version:
$Id: MLBRICMSMatrix.java, v1.0 2011/11/10 15:57:20 PM, ralexsander Exp $, $Id: MICMSMatrix.java, 15/12/2007 14:50:00 mgrigioni
Author:
Mario Grigioni (Kenos, www.kenos.com.br)
See Also:
  • Constructor Details

    • MLBRICMSMatrix

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

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

      public MLBRICMSMatrix(Properties ctx, int LBR_ICMSMatrix_ID, String trxName, String... virtualColumns)
    • MLBRICMSMatrix

      public MLBRICMSMatrix(Properties ctx, String LBR_ICMSMatrix_UU, String trxName, String... virtualColumns)
    • MLBRICMSMatrix

      public MLBRICMSMatrix(Properties ctx, String LBR_ICMSMatrix_UU, String trxName)
  • Method Details

    • get

      public static MLBRICMSMatrix get(Properties ctx, int AD_Org_ID, int C_Region_ID, int To_Region_ID, Timestamp validFrom, String trxName)
      Retorna a configuração da Matriz de ICMS
      Returns:
      MLBRICMSMatrix matriz
    • getLBR_Tax_ID

      public static int getLBR_Tax_ID(Properties ctx, int C_Region_ID, int To_Region_ID, String trx)
      get Matrix_ID
      Returns:
      X_LBR_TaxLine[] lines
    • getICMSRate

      public static BigDecimal getICMSRate(Properties ctx, int C_Region_ID, String trx)