Translate

Monday, February 13, 2012

How to identify the Table associted with called map

<MapName>.TableId == TableNum(TableName) will be able to identify the table which is called to this map.
Ex: In addressmap, there are so many tables mapped, but to update the address only one table is called at a time like CustTable, So to identify whether it is called from custTable, then

we write code as
if(AddressMap.TableId == TableNum(CustTable))
{
info("Cust Table is called to map");
}
else
{
info("Other than custTable, the map is called");
}

No comments:

Post a Comment