Package org.adempiere.base
Class DefaultTaxLookup
java.lang.Object
org.adempiere.base.DefaultTaxLookup
- All Implemented Interfaces:
ITaxLookup
- Author:
- hengsin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
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_IDint
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_IDint
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 + DeliveryViaRuleint
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
-
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 interfaceITaxLookup
billDate
- Billing DateshipDate
- Shipment DatebillC_BPartner_Location_ID
- Bill to locationshipC_BPartner_Location_ID
- Ship to locationdeliveryViaRule
- 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 interfaceITaxLookup
billDate
- Billing DateshipDate
- Shipment DatebillC_BPartner_Location_ID
- Bill to locationshipC_BPartner_Location_ID
- Ship to locationdropshipC_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 interfaceITaxLookup
shipDate
- Shipment DateshipFromC_Location_ID
- Shipping from (not use in default lookup implementation)shipToC_Location_ID
- Shipping to (not use in default lookup implementation)billDate
- Billing DatebillFromC_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 interfaceITaxLookup
shipDate
- Shipment DateshipFromC_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 locationbillDate
- Billing DatebillFromC_Location_ID
- Billing from (Tax Location from)billToC_Location_ID
- Billing to (Tax Location to)- Returns:
- C_Tax_ID
-