public void modified()
{
Table1 Table1;
Table2 Table2;
Super();
select Table1 where Table1.A== Table2.A;
if(Table2.B<= Table1.C)
{
Table2.x_D = Table2.B - Table2.Error_Qty;
}
else
{
Table2.B = 0;
error(strfmt("B should be less than C - %1 " ,Table1.C));
Super();
select Table1 where Table1.A== Table2.A;
if(Table2.B<= Table1.C)
{
Table2.x_D = Table2.B - Table2.Error_Qty;
}
else
{
Table2.B = 0;
error(strfmt("B should be less than C - %1 " ,Table1.C));
error(strfmt(" C is - %1 ",Table1.C));
}
}
}
}
No comments:
Post a Comment