public void clicked()
{
INTC_UnitDetails unitDetails;
MultiSelectionHelper helper = MultiSelectionHelper::construct();
boolean validate;
helper.parmDatasource(INTC_UnitDetails_ds);
unitDetails = helper.getFirst();
while (unitDetails.RecId != 0)
{
if(unitDetails.WCNDate != dateNull() || unitDetails.DLNDate != dateNull())
{
validate = true;
info(strFmt("%1", unitDetails.RecId));
}
else
{
validate = false;
}
unitDetails = helper.getNext();
}
if(validate == true)
{
super();
}
else
{
warning("PCN date or DLN date should not empty");
}
}
{
INTC_UnitDetails unitDetails;
MultiSelectionHelper helper = MultiSelectionHelper::construct();
boolean validate;
helper.parmDatasource(INTC_UnitDetails_ds);
unitDetails = helper.getFirst();
while (unitDetails.RecId != 0)
{
if(unitDetails.WCNDate != dateNull() || unitDetails.DLNDate != dateNull())
{
validate = true;
info(strFmt("%1", unitDetails.RecId));
}
else
{
validate = false;
}
unitDetails = helper.getNext();
}
if(validate == true)
{
super();
}
else
{
warning("PCN date or DLN date should not empty");
}
}