Package org.compiere.model
Class CalloutInvoice
java.lang.Object
org.compiere.model.CalloutEngine
org.compiere.model.CalloutInvoice
- All Implemented Interfaces:
Callout
Invoice Callouts
- Version:
- $Id: CalloutInvoice.java,v 1.4 2006/07/30 00:51:03 jjanke Exp $
- Author:
- Jorg Janke
-
Field Summary
Fields inherited from class org.compiere.model.CalloutEngine
additionalArgs, ARG_SEPARATOR, log, NO_ERROR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionamt
(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Invoice - AmountbPartner
(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Invoice Header- BPartnercharge
(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Invoice Line - ChargedocType
(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Invoice Header - DocTypenavigateInvoiceLine
(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) paymentTerm
(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Deprecated.product
(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Invoice Line - Productqty
(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Invoice Line - Quantitytax
(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Invoice Line - TaxMethods inherited from class org.compiere.model.CalloutEngine
checkPeriodOpen, convert, dateAcct, getGridField, getGridTab, isCalloutActive, rate, setCalloutActive, start
-
Constructor Details
-
CalloutInvoice
public CalloutInvoice()
-
-
Method Details
-
docType
Invoice Header - DocType. - PaymentRule - temporary Document Context: - DocSubTypeSO - HasCharges - (re-sets Business Partner info of required)- Parameters:
ctx
- contextWindowNo
- window nomTab
- tabmField
- fieldvalue
- value- Returns:
- null or error message
-
bPartner
Invoice Header- BPartner. - M_PriceList_ID (+ Context) - C_BPartner_Location_ID - AD_User_ID - POReference - SO_Description - IsDiscountPrinted - PaymentRule - C_PaymentTerm_ID- Parameters:
ctx
- contextWindowNo
- window nomTab
- tabmField
- fieldvalue
- value- Returns:
- null or error message
-
paymentTerm
@Deprecated public String paymentTerm(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) Deprecated.Set Payment Term. Payment Term has changed- Parameters:
ctx
- contextWindowNo
- window nomTab
- tabmField
- fieldvalue
- value- Returns:
- null or error message
-
product
Invoice Line - Product. - reset C_Charge_ID / M_AttributeSetInstance_ID - PriceList, PriceStd, PriceLimit, C_Currency_ID, EnforcePriceLimit - UOM Calls Tax- Parameters:
ctx
- contextWindowNo
- window nomTab
- tabmField
- fieldvalue
- value- Returns:
- null or error message
-
charge
Invoice Line - Charge. - updates PriceActual from Charge - sets PriceLimit, PriceList to zero Calles tax- Parameters:
ctx
- contextWindowNo
- window nomTab
- tabmField
- fieldvalue
- value- Returns:
- null or error message
-
tax
Invoice Line - Tax. - basis: Product, Charge, BPartner Location - sets C_Tax_ID Calls Amount- Parameters:
ctx
- contextWindowNo
- window nomTab
- tabmField
- fieldvalue
- value- Returns:
- null or error message
-
amt
Invoice - Amount. - called from QtyInvoiced, PriceActual - calculates LineNetAmt- Parameters:
ctx
- contextWindowNo
- window nomTab
- tabmField
- fieldvalue
- value- Returns:
- null or error message
-
qty
Invoice Line - Quantity. - called from C_UOM_ID, QtyEntered, QtyInvoiced - enforces qty UOM relationship- Parameters:
ctx
- contextWindowNo
- window nomTab
- tabmField
- fieldvalue
- value- Returns:
- null or error message
-