Class CalloutInvoiceBatch

  • All Implemented Interfaces:
    Callout

    public class CalloutInvoiceBatch
    extends CalloutEngine
    Callouts for Invoice Batch
    Version:
    $Id: CalloutInvoiceBatch.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
    Author:
    Jorg Janke
    • Constructor Detail

      • CalloutInvoiceBatch

        public CalloutInvoiceBatch()
    • Method Detail

      • date

        public String date​(Properties ctx,
                           int WindowNo,
                           GridTab mTab,
                           GridField mField,
                           Object value)
        Invoice Batch Line - DateInvoiced. - updates DateAcct
        Parameters:
        ctx - context
        WindowNo - window no
        mTab - tab
        mField - field
        value - value
        Returns:
        null or error message
      • bPartner

        public String bPartner​(Properties ctx,
                               int WindowNo,
                               GridTab mTab,
                               GridField mField,
                               Object value)
        Invoice Batch Line - BPartner. - C_BPartner_Location_ID - AD_User_ID - PaymentRule - C_PaymentTerm_ID
        Parameters:
        ctx - context
        WindowNo - window no
        mTab - tab
        mField - field
        value - value
        Returns:
        null or error message
      • docType

        public String docType​(Properties ctx,
                              int WindowNo,
                              GridTab mTab,
                              GridField mField,
                              Object value)
        Document Type. - called from DocType
        Parameters:
        ctx - context
        WindowNo - window no
        mTab - tab
        mField - field
        value - value
        Returns:
        null or error message
      • charge

        public String charge​(Properties ctx,
                             int WindowNo,
                             GridTab mTab,
                             GridField mField,
                             Object value)
        Invoice Batch Line - Charge. - updates PriceEntered from Charge Calles tax
        Parameters:
        ctx - context
        WindowNo - window no
        mTab - tab
        mField - field
        value - value
        Returns:
        null or error message
      • tax

        public String tax​(Properties ctx,
                          int WindowNo,
                          GridTab mTab,
                          GridField mField,
                          Object value)
        Invoice Line - Tax. - basis: Charge, BPartner Location - sets C_Tax_ID Calles Amount
        Parameters:
        ctx - context
        WindowNo - window no
        mTab - tab
        mField - field
        value - value
        Returns:
        null or error message
      • amt

        public String amt​(Properties ctx,
                          int WindowNo,
                          GridTab mTab,
                          GridField mField,
                          Object value)
        Invoice - Amount. - called from QtyEntered, PriceEntered - calculates LineNetAmt
        Parameters:
        ctx - context
        WindowNo - window no
        mTab - tab
        mField - field
        value - value
        Returns:
        null or error message