Media Object System Function

daveschultz

Well Known Member
I am trying to create a text media object from a form using the media object system functions. I don't see any error, but nothing gets inserted into the F00165. I am using a custom data structure with only 1 member. Here is the code I'm using

Media Object Structures(GT5501001, FC Media Object Rej Reason Text, <Save>, VA frm_55cStatus_EV01, BC Address Number (F0101)(AN8))

This is what I get when I run it with Debug

29 May 2014 10:48:42,303 [Line -1] [APP ] DSCHULTZ - [RUNTIME] P5501012_W5501012A, at ER Line = 1, Executed System Function : Generic Text on Media Object Control, Time : 0ms
29 May 2014 10:48:42,303 [Line -1] [APP ] DSCHULTZ - [RUNTIME] SysFunc Params :
29 May 2014 10:48:42,303 [Line -1] [APP ] DSCHULTZ - [RUNTIME] Param index : 0 Param value = GT5501001
29 May 2014 10:48:42,303 [Line -1] [APP ] DSCHULTZ - [RUNTIME] Param index : 1 Param value = FC[465] (This is the FC that I am typing into)
29 May 2014 10:48:42,303 [Line -1] [APP ] DSCHULTZ - [RUNTIME] Param index : 2 Param value = F
29 May 2014 10:48:42,303 [Line -1] [APP ] DSCHULTZ - [RUNTIME] Param index : 3 Param value = VA[115]
(This is the variable for status)
29 May 2014 10:48:42,303 [Line -1] [APP ] DSCHULTZ - [RUNTIME] Param index : 4 Param value = 163343
(This is the value of the one member I'm passing in)
29 May 2014 10:48:42,303 [Line -1] [APP ] DSCHULTZ - [RUNTIME] Param index : 5 Param value = -3
(Don't know what this is)
29 May 2014 10:48:42,303 [Line -1] [APP ] DSCHULTZ - [RUNTIME] Number of params processed :6


Any help would be appreciated.
Dave
E19.0.2
Tools 9.0.1.4
 

Krishna M

Member
The number of parameters on the Function call does not match with the number in the log snippet. You may have to revisit the log and find the correct function call and dump of the parameter values.
 
Top