psdi.app.mr

Class FldMRRequiredDate

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldMRRequiredDate
    extends MboValueAdapter
    Behaviour of the requireddate field in the mr object. These are the rules when required date is changed on the MR Header
    1. If the user inputs a date on the Header then this date is defaulted on the lines(add() of the lines).
    2. If the user does not input a date on the header then the dates on the lines are nulls.
    3. If the user changes an existing date on the Header(to null or any other date),the dates on the lines having the same previous dates(as the header) are changed to the present date.As for the lines that dont have the same previous dates(as the header),they remain unaffected.
    4. If the date on the line is changed(to null or any other date),the date on the header remains unaffected.