Package org.adempiere.base
Interface ITaxLookup
- All Known Implementing Classes:
DefaultTaxLookup
public interface ITaxLookup
Interface to lookup C_Tax record id (C_Tax_ID)
- Author:
- hengsin
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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_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 + DeliveryViaRuledefault 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
-
Method Details
-
get
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- Parameters:
ctx
-M_Product_ID
-C_Charge_ID
-billDate
- Billing DateshipDate
- Shipment DateAD_Org_ID
-M_Warehouse_ID
-billC_BPartner_Location_ID
- Bill to locationshipC_BPartner_Location_ID
- Ship to locationIsSOTrx
-deliveryViaRule
- Order/Invoice's Delivery Via RuletrxName
-- Returns:
- C_Tax_ID
-
get
default 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- Parameters:
ctx
-M_Product_ID
-C_Charge_ID
-billDate
- Billing DateshipDate
- Shipment DateAD_Org_ID
-M_Warehouse_ID
-billC_BPartner_Location_ID
- Bill to locationshipC_BPartner_Location_ID
- Ship to locationdropshipC_BPartner_Location_ID
- Drop Ship to location (ignored if not implemented)IsSOTrx
-deliveryViaRule
- Order/Invoice's Delivery Via RuletrxName
-- Returns:
- C_Tax_ID
-
get
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- Parameters:
ctx
-C_TaxCategory_ID
-IsSOTrx
-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)trxName
-- Returns:
- C_Tax_ID
-
get
default 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- Parameters:
ctx
-C_TaxCategory_ID
-IsSOTrx
-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)trxName
-- Returns:
- C_Tax_ID
-