When I use COM API in my application, and fetching data using RData, I get some errors for some fields.
Specifically looking up PLNTE152008250.U with field TR.OPWMidDelta. However, when I lookup the field and security via excel, it returns an expected number.
I have tested with Dex2Sample from Fundamental and Reference Data example. It can return the data properly.
Refer to this question, to access Eikon v4 style fields (TR.xxx) using DEX2 API, you need to initialize DEX2 API with DEX2_MetadataCaller::DE_MC_ADC_POWERLINK.
MyDex2Cookie = (MyDex2Mgr as IDex2Mgr2).Initialize(DEX2_MetadataCaller.DE_MC_ADC_POWERLINK);