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 Type
    Method
    Description
    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
  • 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 Date
      shipDate - Shipment Date
      AD_Org_ID -
      M_Warehouse_ID -
      billC_BPartner_Location_ID - Bill to location
      shipC_BPartner_Location_ID - Ship to location
      IsSOTrx -
      deliveryViaRule - Order/Invoice's Delivery Via Rule
      trxName -
      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 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)
      trxName -
      Returns:
      C_Tax_ID