* <p>
* @param record Type: BusinessClass
* @param template Type: BusinessQuery
*/
public void initializeDates(BusinessClass record, BusinessQuery template) {
DateTimeNullable emptyDate = new DateTimeNullable();
int recStat = record.getInstanceStatus();
for (int i = 1; i <= template.getNumAttrs(BusinessQuery.ATTR_DB); i++) {
DataValue attr = record.getAttr(i);
if (attr != null && attr instanceof DateTimeNullable) {