ERROR MESSAGE: Object doesn't support property or method 'mthGETCOMPOSITEKEYSTRING'
Posted: Fri Nov 17, 2017 2:51 am
I create a customs instance list that extends from #VF_AC0120. I used 'ExecuteDefaultCommand' to show the default command. The code below appears to work fine before the EPC upgrade.
After installing EPC141050-034, I got error "Object doesn't support property or method 'mthGETCOMPOSITEKEYSTRING' " on line 00285.
In another post, I saw suggestion to use #DataItem.avExecuteDefaultCommand but it wont accept.
What is the proper way to trigger the default command with this EPC?
Code: Select all
00274 Evtroutine Handling(#CodesList.ItemGotFocus)
00275
00276 Define_Com Class(#vf_lm003O) Name(#DataItem) Reference(*DYNAMIC)
00277
00278 #DataItem <= #CodesList.CurrentItem.RelatedReference *As #VF_LM003O
00279
00280 * Make this the current item
00281
00282 #DataItem.avIsCurrent := True
00282
00284 * Show the default command handler
00285 #DataItem.avBusinessObjectReference.ExecuteDefaultCommand Atreferencelevel(1) Usebusypanel(#AVLISTMANAGER.RootVF_FR003Owner.CurrentVF_UM010O.BusyPanel) Withinstancereferencekey(#DataItem.GetCompositeKeyString) Ignoreenablement(False)
00286 Endroutine
After installing EPC141050-034, I got error "Object doesn't support property or method 'mthGETCOMPOSITEKEYSTRING' " on line 00285.
In another post, I saw suggestion to use #DataItem.avExecuteDefaultCommand but it wont accept.
What is the proper way to trigger the default command with this EPC?