When I try to get data from PriceDiscTable I get old data. In this case I need to reconnect or disable cache in table properties (CacheLookup).
How can I get correct data without disabling CacheLookup property?
I tried
priceDiscTable.disableCache(true);
but problem still exist.
Try priceDiscTable.reread()
. This will query the database to reread the record.