Class PARWriteoffBeanImpl

All Implemented Interfaces:
PARWriteoffBean, PIACollectionBean, PControllerBean, Serializable, Remote, Unreferenced

public class PARWriteoffBeanImpl extends PIAComponentCollectionBean implements PARWriteoffBean
Version:
%version: 7 % %date_modified: Wed Nov 28 13:23:24 2001 %
Author:
simonw
See Also:
  • Field Details

    • FAIL_PERMISSION

      public static String FAIL_PERMISSION
    • FAIL_BACKDATE

      public static String FAIL_BACKDATE
    • FAIL_EBUFEXCEPTION

      public static String FAIL_EBUFEXCEPTION
    • SUCCESS_STR

      public static String SUCCESS_STR
    • FAIL_GENERAL

      public static String FAIL_GENERAL
  • Constructor Details

  • Method Details

    • getBillARBillInfoPoids

      public HashSet getBillARBillInfoPoids()
      Gets a list of all the different AR billinfo poids
      Returns:
    • writeoff

      public String writeoff(boolean separateTax, Date transDate, String notes, String prog_name, String level) throws RemoteException
      Writes-off at account, bill or item level
      Specified by:
      writeoff in interface PARWriteoffBean
      Parameters:
      separateTax - creates a separate Portal event for tax or not
      transDate - effective date
      notes - write-off comments
      prog_name - program name initiating write-off
      level - writo-off level, value is "account", "bill" or "item"
      tranxDate - effective date
      Returns:
      success or reason of failure
      Throws:
      RemoteException - if an error occurs
    • getWriteOffStatus

      public Vector getWriteOffStatus()
      Get the status for Account Write Off possibility.
      Returns:
      Vector, index 0 contains - Flag to indicate whether write-off is possible or not (If the total account due is > 0 then this flag will be returned as true). index 1 contains - Total due of the account.