|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.Tax
public class Tax
Tax Handling
| Constructor Summary | |
|---|---|
Tax()
|
|
| Method Summary | |
|---|---|
protected static int |
get(Ctx ctx,
int C_TaxCategory_ID,
boolean IsSOTrx,
Timestamp shipDate,
int shipFromC_Locction_ID,
int shipToC_Location_ID,
Timestamp billDate,
int billFromC_Location_ID,
int billToC_Location_ID)
Get Tax ID (Detail). |
static int |
get(Ctx 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)
Get Tax ID - converts parameters to call Get Tax. |
static int |
getCharge(Ctx ctx,
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)
Get Tax ID - converts parameters to call Get Tax. |
static int |
getProduct(Ctx ctx,
int M_Product_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)
Get Tax ID - converts parameters to call Get Tax. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tax()
| Method Detail |
|---|
public static int get(Ctx 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)
M_Product_ID/C_Charge_ID -> C_TaxCategory_ID
billDate, shipDate -> billDate, shipDate
AD_Org_ID -> billFromC_Location_ID
M_Warehouse_ID -> shipFromC_Location_ID
billC_BPartner_Location_ID -> billToC_Location_ID
shipC_BPartner_Location_ID -> shipToC_Location_ID
if IsSOTrx is false, bill and ship are reversed
ctx - contextM_Product_ID - productC_Charge_ID - productbillDate - invoice dateshipDate - ship dateAD_Org_ID - orgM_Warehouse_ID - warehousebillC_BPartner_Location_ID - invoice locationshipC_BPartner_Location_ID - ship locationIsSOTrx - is a sales trx
public static int getCharge(Ctx ctx,
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)
C_Charge_ID -> C_TaxCategory_ID
billDate, shipDate -> billDate, shipDate
AD_Org_ID -> billFromC_Location_ID
M_Warehouse_ID -> shipFromC_Location_ID
billC_BPartner_Location_ID -> billToC_Location_ID
shipC_BPartner_Location_ID -> shipToC_Location_ID
if IsSOTrx is false, bill and ship are reversed
ctx - contextC_Charge_ID - productbillDate - invoice dateshipDate - ship dateAD_Org_ID - orgM_Warehouse_ID - warehousebillC_BPartner_Location_ID - invoice locationshipC_BPartner_Location_ID - ship locationIsSOTrx - is a sales trx
public static int getProduct(Ctx ctx,
int M_Product_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)
M_Product_ID -> C_TaxCategory_ID
billDate, shipDate -> billDate, shipDate
AD_Org_ID -> billFromC_Location_ID
M_Warehouse_ID -> shipFromC_Location_ID
billC_BPartner_Location_ID -> billToC_Location_ID
shipC_BPartner_Location_ID -> shipToC_Location_ID
if IsSOTrx is false, bill and ship are reversed
ctx - contextM_Product_ID - productbillDate - invoice dateshipDate - ship dateAD_Org_ID - orgM_Warehouse_ID - warehousebillC_BPartner_Location_ID - invoice locationshipC_BPartner_Location_ID - ship locationIsSOTrx - is a sales trx
protected static int get(Ctx ctx,
int C_TaxCategory_ID,
boolean IsSOTrx,
Timestamp shipDate,
int shipFromC_Locction_ID,
int shipToC_Location_ID,
Timestamp billDate,
int billFromC_Location_ID,
int billToC_Location_ID)
ctx - contextC_TaxCategory_ID - tax categoryIsSOTrx - Sales Order TrxshipDate - ship date (ignored)shipFromC_Locction_ID - ship from (ignored)shipToC_Location_ID - ship to (ignored)billDate - invoice datebillFromC_Location_ID - invoice frombillToC_Location_ID - invoice to
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||