Class MInOutLineConfirm

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_M_InOutLineConfirm, I_Persistent, Evaluatee

public class MInOutLineConfirm extends X_M_InOutLineConfirm
Shipment Confirmation Line Model
Version:
$Id: MInOutLineConfirm.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MInOutLineConfirm

      public MInOutLineConfirm(Properties ctx, String M_InOutLineConfirm_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      M_InOutLineConfirm_UU - UUID key
      trxName - Transaction
    • MInOutLineConfirm

      public MInOutLineConfirm(Properties ctx, int M_InOutLineConfirm_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      M_InOutLineConfirm_ID - id
      trxName - transaction
    • MInOutLineConfirm

      public MInOutLineConfirm(Properties ctx, ResultSet rs, String trxName)
      Load Construvtor
      Parameters:
      ctx - context
      rs - result set
      trxName - transaction
    • MInOutLineConfirm

      public MInOutLineConfirm(MInOutConfirm header)
      Parent Construvtor
      Parameters:
      header - parent
  • Method Details

    • setInOutLine

      public void setInOutLine(MInOutLine line)
      Set Shipment Line
      Parameters:
      line - shipment line
    • getLine

      public MInOutLine getLine()
      Get Shipment Line
      Returns:
      line
    • processLine

      public boolean processLine(boolean isSOTrx, String confirmType)
      Process Confirmation Line.
      - Update InOut Line
      Parameters:
      isSOTrx - true for sales trx, false otherwise
      confirmType - type (MInOutConfirm.CONFIRMTYPE_*)
      Returns:
      success
    • isFullyConfirmed

      public boolean isFullyConfirmed()
      Is Fully Confirmed
      Returns:
      true if Target = Confirmed qty
    • beforeDelete

      protected boolean beforeDelete()
      Description copied from class: PO
      Execute before Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeDelete in class PO
      Returns:
      true if record can be deleted
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - true if it is a new record
      Returns:
      true if record can be saved