<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");
}
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