Class MCOFInvoiceDeducaoMateriais

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

public class MCOFInvoiceDeducaoMateriais extends X_COF_InvoiceDeducaoMateriais
See Also:
  • Constructor Details

    • MCOFInvoiceDeducaoMateriais

      public MCOFInvoiceDeducaoMateriais(Properties ctx, int COF_InvoiceDeducaoMateriais_ID, String trxName)
    • MCOFInvoiceDeducaoMateriais

      public MCOFInvoiceDeducaoMateriais(Properties ctx, int COF_InvoiceDeducaoMateriais_ID, String trxName, String... virtualColumns)
    • MCOFInvoiceDeducaoMateriais

      public MCOFInvoiceDeducaoMateriais(Properties ctx, String COF_InvoiceDeducaoMateriais_UU, String trxName)
    • MCOFInvoiceDeducaoMateriais

      public MCOFInvoiceDeducaoMateriais(Properties ctx, String COF_InvoiceDeducaoMateriais_UU, String trxName, String... virtualColumns)
    • MCOFInvoiceDeducaoMateriais

      public MCOFInvoiceDeducaoMateriais(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
    • getValorDeducaoByInvoice

      public static BigDecimal getValorDeducaoByInvoice(MInvoice invoice)
    • getValorDeducaoByInvoiceLine

      public static BigDecimal getValorDeducaoByInvoiceLine(MInvoiceLine invoiceLine)
    • getListByInvoiceLine

      public static List<MCOFInvoiceDeducaoMateriais> getListByInvoiceLine(MInvoiceLine iLine)