Class X_C_InvoiceSchedule

    • Constructor Detail

      • X_C_InvoiceSchedule

        public X_C_InvoiceSchedule​(Properties ctx,
                                   int C_InvoiceSchedule_ID,
                                   String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        3 - Client - Org
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setC_InvoiceSchedule_ID

        public void setC_InvoiceSchedule_ID​(int C_InvoiceSchedule_ID)
        Set Invoice Schedule.
        Specified by:
        setC_InvoiceSchedule_ID in interface I_C_InvoiceSchedule
        Parameters:
        C_InvoiceSchedule_ID - Schedule for generating Invoices
      • setC_InvoiceSchedule_UU

        public void setC_InvoiceSchedule_UU​(String C_InvoiceSchedule_UU)
        Set C_InvoiceSchedule_UU.
        Specified by:
        setC_InvoiceSchedule_UU in interface I_C_InvoiceSchedule
        Parameters:
        C_InvoiceSchedule_UU - C_InvoiceSchedule_UU
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_C_InvoiceSchedule
        Parameters:
        Description - Optional short description of the record
      • setEvenInvoiceWeek

        public void setEvenInvoiceWeek​(boolean EvenInvoiceWeek)
        Set Invoice on even weeks.
        Specified by:
        setEvenInvoiceWeek in interface I_C_InvoiceSchedule
        Parameters:
        EvenInvoiceWeek - Send invoices on even weeks
      • isEvenInvoiceWeek

        public boolean isEvenInvoiceWeek()
        Get Invoice on even weeks.
        Specified by:
        isEvenInvoiceWeek in interface I_C_InvoiceSchedule
        Returns:
        Send invoices on even weeks
      • setInvoiceDay

        public void setInvoiceDay​(int InvoiceDay)
        Set Invoice Day.
        Specified by:
        setInvoiceDay in interface I_C_InvoiceSchedule
        Parameters:
        InvoiceDay - Day of Invoice Generation
      • setInvoiceDayCutoff

        public void setInvoiceDayCutoff​(int InvoiceDayCutoff)
        Set Invoice day cut-off.
        Specified by:
        setInvoiceDayCutoff in interface I_C_InvoiceSchedule
        Parameters:
        InvoiceDayCutoff - Last day for including shipments
      • getInvoiceDayCutoff

        public int getInvoiceDayCutoff()
        Get Invoice day cut-off.
        Specified by:
        getInvoiceDayCutoff in interface I_C_InvoiceSchedule
        Returns:
        Last day for including shipments
      • setInvoiceFrequency

        public void setInvoiceFrequency​(String InvoiceFrequency)
        Set Invoice Frequency.
        Specified by:
        setInvoiceFrequency in interface I_C_InvoiceSchedule
        Parameters:
        InvoiceFrequency - How often invoices will be generated
      • setInvoiceWeekDay

        public void setInvoiceWeekDay​(String InvoiceWeekDay)
        Set Invoice Week Day.
        Specified by:
        setInvoiceWeekDay in interface I_C_InvoiceSchedule
        Parameters:
        InvoiceWeekDay - Day to generate invoices
      • setInvoiceWeekDayCutoff

        public void setInvoiceWeekDayCutoff​(String InvoiceWeekDayCutoff)
        Set Invoice weekday cutoff.
        Specified by:
        setInvoiceWeekDayCutoff in interface I_C_InvoiceSchedule
        Parameters:
        InvoiceWeekDayCutoff - Last day in the week for shipments to be included
      • setIsAmount

        public void setIsAmount​(boolean IsAmount)
        Set Amount Limit.
        Specified by:
        setIsAmount in interface I_C_InvoiceSchedule
        Parameters:
        IsAmount - Send invoices only if the amount exceeds the limit
      • isAmount

        public boolean isAmount()
        Get Amount Limit.
        Specified by:
        isAmount in interface I_C_InvoiceSchedule
        Returns:
        Send invoices only if the amount exceeds the limit
      • setIsDefault

        public void setIsDefault​(boolean IsDefault)
        Set Default.
        Specified by:
        setIsDefault in interface I_C_InvoiceSchedule
        Parameters:
        IsDefault - Default value
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_C_InvoiceSchedule
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair