Date
Parent
LICENSE: L_ID, Duration (# of months), other stuff
Child
LICENSE_PERIOD, LP_ID, L_ID, Cost, Expire_Date
Issue:
I already have a double field index on LP_ID and Expire_date in the child so that a duplicate will not be posted but...
How to:
How to add an additional validation so that the Expire Date is not less than or more than the Previous Expire_Date +/- Duration from parent table.
Would this be to complicated to validate? Thanks guys!
Parent
LICENSE: L_ID, Duration (# of months), other stuff
Child
LICENSE_PERIOD, LP_ID, L_ID, Cost, Expire_Date
Issue:
I already have a double field index on LP_ID and Expire_date in the child so that a duplicate will not be posted but...
How to:
How to add an additional validation so that the Expire Date is not less than or more than the Previous Expire_Date +/- Duration from parent table.
Would this be to complicated to validate? Thanks guys!