Hi Bhaskar,
Even for me the same code works fine in Jobs. But the same code was not populating data on the form (though records getting created in tables) when used in DMFProductEntity(class).insertupdate method
I finally cracked the problem.
if(_target.TableId==tableNum(InventItemPurchSetup))
{
ttsBegin;
inventItemPurchsetupSite.initvalue();
inventItemPurchsetupSite.ItemId = entity.ItemId;
inventItemPurchsetupSite.inventdimid = inventDimDefaultSite.inventDimId;
inventItemPurchsetupSite.setInventLocationId(entity.PurchInventLocationId);
inventItemPurchsetupSite.insert();
ttsCommit;
}
This above code is creating records in table and also getting populated on the form.
similar code for other two tables.
Lakshmi