Class MOrderPaySchedule

    • Constructor Detail

      • MOrderPaySchedule

        public MOrderPaySchedule​(Properties ctx,
                                 int C_OrderPaySchedule_ID,
                                 String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        C_OrderPaySchedule_ID - id
        trxName - transaction
      • MOrderPaySchedule

        public MOrderPaySchedule​(Properties ctx,
                                 ResultSet rs,
                                 String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MOrderPaySchedule

        public MOrderPaySchedule​(MOrder order,
                                 MPaySchedule paySchedule)
        Parent Constructor
        Parameters:
        order - order
        paySchedule - payment schedule
    • Method Detail

      • getOrderPaySchedule

        public static MOrderPaySchedule[] getOrderPaySchedule​(Properties ctx,
                                                              int C_Order_ID,
                                                              int C_OrderPaySchedule_ID,
                                                              String trxName)
        Get Payment Schedule of the Order
        Parameters:
        ctx - context
        C_Order_ID - order id (direct)
        C_OrderPaySchedule_ID - id (indirect)
        trxName - transaction
        Returns:
        array of schedule
      • getParent

        public MOrder getParent()
        Returns:
        Returns the parent.
      • setParent

        public void setParent​(MOrder parent)
        Parameters:
        parent - The parent to set.
      • beforeSave

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

        protected boolean afterSave​(boolean newRecord,
                                    boolean success)
        After Save
        Overrides:
        afterSave in class PO
        Parameters:
        newRecord - new
        success - success
        Returns:
        success
      • afterDelete

        protected boolean afterDelete​(boolean success)
        Description copied from class: PO
        Executed after Delete operation.
        Overrides:
        afterDelete in class PO
        Parameters:
        success - true if record deleted
        Returns:
        true if delete is a success