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()
      Before Delete - do not allow delete
      Overrides:
      beforeDelete in class PO
      Returns:
      false
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Before Save
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new
      Returns:
      true