Class DefaultTaxLookup

java.lang.Object
org.adempiere.base.DefaultTaxLookup
All Implemented Interfaces:
ITaxLookup

public class DefaultTaxLookup extends Object implements ITaxLookup
Default ITaxLookup implementation for core.
Delegate to the static get methods in Tax.
Author:
hengsin
  • Constructor Summary

    Constructors
    Constructor
    Description
    default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    get(Properties ctx, int C_TaxCategory_ID, boolean IsSOTrx, Timestamp shipDate, int shipFromC_Location_ID, int shipToC_Location_ID, int dropshipC_Location_ID, Timestamp billDate, int billFromC_Location_ID, int billToC_Location_ID, String trxName)
    Find C_Tax_ID
    int
    get(Properties ctx, int C_TaxCategory_ID, boolean IsSOTrx, Timestamp shipDate, int shipFromC_Location_ID, int shipToC_Location_ID, Timestamp billDate, int billFromC_Location_ID, int billToC_Location_ID, String trxName)
    Find C_Tax_ID
    int
    get(Properties ctx, int M_Product_ID, int C_Charge_ID, Timestamp billDate, Timestamp shipDate, int AD_Org_ID, int M_Warehouse_ID, int billC_BPartner_Location_ID, int shipC_BPartner_Location_ID, boolean IsSOTrx, String deliveryViaRule, String trxName)
    Find C_Tax_ID by Product/Charge + Warehouse Location + BPartner Location + DeliveryViaRule
    int
    get(Properties ctx, int M_Product_ID, int C_Charge_ID, Timestamp billDate, Timestamp shipDate, int AD_Org_ID, int M_Warehouse_ID, int billC_BPartner_Location_ID, int shipC_BPartner_Location_ID, int dropshipC_BPartner_Location_ID, boolean IsSOTrx, String deliveryViaRule, String trxName)
    Find C_Tax_ID by Product/Charge + Warehouse Location + BPartner Location + DeliveryViaRule

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultTaxLookup

      public DefaultTaxLookup()
      default constructor
  • Method Details

    • get

      public int get(Properties ctx, int M_Product_ID, int C_Charge_ID, Timestamp billDate, Timestamp shipDate, int AD_Org_ID, int M_Warehouse_ID, int billC_BPartner_Location_ID, int shipC_BPartner_Location_ID, boolean IsSOTrx, String deliveryViaRule, String trxName)
      Description copied from interface: ITaxLookup
      Find C_Tax_ID by Product/Charge + Warehouse Location + BPartner Location + DeliveryViaRule
      Specified by:
      get in interface ITaxLookup
      billDate - Billing Date
      shipDate - Shipment Date
      billC_BPartner_Location_ID - Bill to location
      shipC_BPartner_Location_ID - Ship to location
      deliveryViaRule - Order/Invoice's Delivery Via Rule
      Returns:
      C_Tax_ID
    • get

      public int get(Properties ctx, int M_Product_ID, int C_Charge_ID, Timestamp billDate, Timestamp shipDate, int AD_Org_ID, int M_Warehouse_ID, int billC_BPartner_Location_ID, int shipC_BPartner_Location_ID, int dropshipC_BPartner_Location_ID, boolean IsSOTrx, String deliveryViaRule, String trxName)
      Description copied from interface: ITaxLookup
      Find C_Tax_ID by Product/Charge + Warehouse Location + BPartner Location + DeliveryViaRule
      Specified by:
      get in interface ITaxLookup
      billDate - Billing Date
      shipDate - Shipment Date
      billC_BPartner_Location_ID - Bill to location
      shipC_BPartner_Location_ID - Ship to location
      dropshipC_BPartner_Location_ID - Drop Ship to location (ignored if not implemented)
      deliveryViaRule - Order/Invoice's Delivery Via Rule
      Returns:
      C_Tax_ID
    • get

      public int get(Properties ctx, int C_TaxCategory_ID, boolean IsSOTrx, Timestamp shipDate, int shipFromC_Location_ID, int shipToC_Location_ID, Timestamp billDate, int billFromC_Location_ID, int billToC_Location_ID, String trxName)
      Description copied from interface: ITaxLookup
      Find C_Tax_ID
      Specified by:
      get in interface ITaxLookup
      shipDate - Shipment Date
      shipFromC_Location_ID - Shipping from (not use in default lookup implementation)
      shipToC_Location_ID - Shipping to (not use in default lookup implementation)
      billDate - Billing Date
      billFromC_Location_ID - Billing from (Tax Location from)
      billToC_Location_ID - Billing to (Tax Location to)
      Returns:
      C_Tax_ID
    • get

      public int get(Properties ctx, int C_TaxCategory_ID, boolean IsSOTrx, Timestamp shipDate, int shipFromC_Location_ID, int shipToC_Location_ID, int dropshipC_Location_ID, Timestamp billDate, int billFromC_Location_ID, int billToC_Location_ID, String trxName)
      Description copied from interface: ITaxLookup
      Find C_Tax_ID
      Specified by:
      get in interface ITaxLookup
      shipDate - Shipment Date
      shipFromC_Location_ID - Shipping from (not use in default lookup implementation)
      shipToC_Location_ID - Shipping to (not use in default lookup implementation)
      dropshipC_Location_ID - Drop Ship location
      billDate - Billing Date
      billFromC_Location_ID - Billing from (Tax Location from)
      billToC_Location_ID - Billing to (Tax Location to)
      Returns:
      C_Tax_ID