Class MCOFOrderDeducaoMateriais

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

public class MCOFOrderDeducaoMateriais extends X_COF_OrderDeducaoMateriais
See Also:
  • Constructor Details

    • MCOFOrderDeducaoMateriais

      public MCOFOrderDeducaoMateriais(Properties ctx, int COF_OrderDeducaoMateriais_ID, String trxName)
    • MCOFOrderDeducaoMateriais

      public MCOFOrderDeducaoMateriais(Properties ctx, int COF_OrderDeducaoMateriais_ID, String trxName, String... virtualColumns)
    • MCOFOrderDeducaoMateriais

      public MCOFOrderDeducaoMateriais(Properties ctx, String COF_OrderDeducaoMateriais_UU, String trxName)
    • MCOFOrderDeducaoMateriais

      public MCOFOrderDeducaoMateriais(Properties ctx, String COF_OrderDeducaoMateriais_UU, String trxName, String... virtualColumns)
    • MCOFOrderDeducaoMateriais

      public MCOFOrderDeducaoMateriais(Properties ctx, ResultSet rs, String trxName)
  • Method Details

    • afterSave

      protected boolean afterSave(boolean newRecord, boolean success)
      Description copied from class: PO
      Called after Save for Post-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterSave in class PO
      Parameters:
      newRecord - true if it is a new record
      success - true if save operation was success
      Returns:
      if save was a success
    • afterDelete

      protected boolean afterDelete(boolean success)
      Description copied from class: PO
      Execute after Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterDelete in class PO
      Parameters:
      success - true if record deleted
      Returns:
      true if delete is a success
    • getValorDeducaoByOrder

      public static BigDecimal getValorDeducaoByOrder(MOrder order)
    • getValorDeducaoByOrderLine

      public static BigDecimal getValorDeducaoByOrderLine(MOrderLine orderLine)
    • getListByOrderLine

      public static List<MCOFOrderDeducaoMateriais> getListByOrderLine(MOrderLine oLine)