psdi.app.inventory

Class InvReservationResTypeUpdateCronTask

  • All Implemented Interfaces:
    CronTask


    public class InvReservationResTypeUpdateCronTask
    extends SimpleCronTask
    CronTask to change an Inventory Reservation from APSOFT to APHARD based on the following conditions: 1. Restype must be APSOFT 2. INVRESERVATION.REQUIREDDATE is before current date + INVENTORY.DELIVERYTIME + MAXVARINPUT.RESBUFFER
    • Constructor Detail

      • InvReservationResTypeUpdateCronTask

        public InvReservationResTypeUpdateCronTask()
    • Method Detail

      • cronAction

        public void cronAction()
        Description copied from class: SimpleCronTask
        This is the CORE METHOD of this class. You should invoke whatever logic you want your CronTask to perform from this method. This method should
        1. check the shutdown variable before invoking any processing logic.
        2. call resetErrorCount() if processing proceeds w/out error.
        3. call incErrorCount() if a serious error occurs during the processing logic.
        Specified by:
        cronAction in interface CronTask
        Specified by:
        cronAction in class SimpleCronTask